swagger.yaml 758 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316
  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.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. common.QueryTableDefineRsp:
  174. properties:
  175. columns:
  176. description: 列头信息数组
  177. items:
  178. $ref: '#/definitions/models.Tablecolumnconfig'
  179. type: array
  180. remark:
  181. description: Remark
  182. type: string
  183. tabelmenu:
  184. description: 列表菜单
  185. type: string
  186. tablekey:
  187. description: 列表Key
  188. type: string
  189. tablename:
  190. description: 列表名称
  191. type: string
  192. tabletype:
  193. description: 列表类型 - 1:管理端 2:终端
  194. type: integer
  195. required:
  196. - tablekey
  197. type: object
  198. common.QueryTraderMenuRsp:
  199. properties:
  200. OperationMenu:
  201. description: 功能菜单
  202. items:
  203. $ref: '#/definitions/models.OperationPrimaryMenu'
  204. type: array
  205. QuoteMenu:
  206. description: 报价牌分类菜单
  207. items:
  208. $ref: '#/definitions/models.QuotePrimaryMenu'
  209. type: array
  210. type: object
  211. cptrade.Cptradepositioncancel:
  212. properties:
  213. accountid:
  214. description: 申请人账户ID
  215. type: integer
  216. applystatus:
  217. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  218. type: integer
  219. applytime:
  220. description: 申请时间
  221. type: string
  222. cancelid:
  223. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  224. type: integer
  225. cancelqty:
  226. description: 注销数量
  227. type: integer
  228. createtime:
  229. description: 创建时间
  230. type: string
  231. creatorid:
  232. description: 创建人ID
  233. type: integer
  234. creatorname:
  235. description: 创建人
  236. type: string
  237. goodscode:
  238. description: 订单商品代码
  239. type: string
  240. goodsid:
  241. description: 商品ID
  242. type: integer
  243. goodsname:
  244. description: 订单商品名称
  245. type: string
  246. goodunit:
  247. description: 报价单位
  248. type: string
  249. handlestatus:
  250. description: 处理状态
  251. type: integer
  252. marketid:
  253. description: 市场ID
  254. type: integer
  255. marketname:
  256. description: 市场名称
  257. type: string
  258. tradedate:
  259. description: 交易日(yyyyMMdd)
  260. type: string
  261. userid:
  262. description: 申请人ID
  263. type: integer
  264. required:
  265. - cancelid
  266. type: object
  267. cptrade.Cptradepresaleapply:
  268. properties:
  269. accountid:
  270. description: 申请人账户ID
  271. type: integer
  272. applyid:
  273. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  274. type: integer
  275. applyremark:
  276. description: 申请备注
  277. type: string
  278. applystatus:
  279. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  280. type: integer
  281. applytime:
  282. description: 申请时间
  283. type: string
  284. attachmenturl:
  285. description: 附件地址
  286. type: string
  287. endtime:
  288. description: 预售结束时间
  289. type: string
  290. goodscode:
  291. description: 商品代码
  292. type: string
  293. goodsid:
  294. description: 商品ID
  295. type: integer
  296. goodsname:
  297. description: 商品名称
  298. type: string
  299. goodunit:
  300. description: 报价单位
  301. type: string
  302. handlestatus:
  303. description: 处理状态
  304. type: integer
  305. marketid:
  306. description: 预售市场ID
  307. type: integer
  308. marketname:
  309. description: 预售市场名称
  310. type: string
  311. presaleqty:
  312. description: 预售数量
  313. type: integer
  314. relatedgoodscode:
  315. description: 关联交易合约代码
  316. type: string
  317. relatedgoodsid:
  318. description: 关联交易合约ID
  319. type: integer
  320. relatedgoodsname:
  321. description: 关联交易合约名称
  322. type: string
  323. starttime:
  324. description: 预售开始时间
  325. type: string
  326. tradedate:
  327. description: 交易日(yyyyMMdd)
  328. type: string
  329. trademode:
  330. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  331. type: integer
  332. userid:
  333. description: 申请人ID
  334. type: integer
  335. required:
  336. - applyid
  337. type: object
  338. cptrade.Cptradeusergoodsdata:
  339. properties:
  340. EnabledQty:
  341. description: 可用量
  342. type: integer
  343. GoodsCode:
  344. description: 订单商品代码
  345. type: string
  346. GoodsName:
  347. description: 订单商品名称
  348. type: string
  349. WRStandardCode:
  350. description: 仓单标准代码
  351. type: string
  352. WRStandardName:
  353. description: 仓单标准名称
  354. type: string
  355. accountid:
  356. description: 账户ID
  357. type: integer
  358. cancelqty:
  359. description: 注销量
  360. type: integer
  361. curpresaleqty:
  362. description: 当前预售量
  363. type: integer
  364. deliveryqty:
  365. description: 交割量
  366. type: integer
  367. freezeamount:
  368. description: 冻结金额
  369. type: number
  370. goodsid:
  371. description: 商品ID
  372. type: integer
  373. goodunit:
  374. description: 报价单位
  375. type: string
  376. hasspotfreeze:
  377. description: 是否有现货冻结 - 0:否 1:有
  378. type: integer
  379. inqty:
  380. description: 转入量(总数量)
  381. type: integer
  382. marketid:
  383. description: 市场ID
  384. type: integer
  385. presaledamount:
  386. description: 已预售总金额
  387. type: integer
  388. presaledqty:
  389. description: 已预售量
  390. type: integer
  391. userid:
  392. description: 用户ID
  393. type: integer
  394. wrstandardid:
  395. description: 仓单标准ID
  396. type: integer
  397. required:
  398. - accountid
  399. - goodsid
  400. type: object
  401. cptrade.QueryCPTradeMyBidRsp:
  402. properties:
  403. accountid:
  404. description: 账户ID[报价币种]
  405. type: integer
  406. goodsid:
  407. description: 商品ID
  408. type: integer
  409. goodunit:
  410. description: 报价单位
  411. type: string
  412. marketid:
  413. description: 市场ID
  414. type: integer
  415. orderid:
  416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  417. type: integer
  418. orderprice:
  419. description: 委托价格
  420. type: number
  421. orderqty:
  422. description: 委托数量
  423. type: integer
  424. ordertime:
  425. description: 委托时间
  426. type: string
  427. ordertotalprice:
  428. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  429. type: number
  430. ordertotalweight:
  431. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  432. type: integer
  433. totaltotalprice:
  434. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  435. type: number
  436. tradeprice:
  437. description: 成交价格
  438. type: number
  439. tradeqty:
  440. description: 成交数量
  441. type: integer
  442. required:
  443. - accountid
  444. - goodsid
  445. - marketid
  446. - orderid
  447. - orderqty
  448. - ordertime
  449. - tradeprice
  450. - tradeqty
  451. type: object
  452. cptrade.QueryCPTradeOrderDetailRsq:
  453. properties:
  454. accountid:
  455. description: 账户ID[报价币种]
  456. type: integer
  457. buildtype:
  458. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  459. type: integer
  460. buyorsell:
  461. description: 买卖 - 0:买 1:卖
  462. type: integer
  463. cancelorderid:
  464. description: 撤单单号(撤单时填写)
  465. type: integer
  466. cancelqty:
  467. description: 撤单数量
  468. type: integer
  469. clientordertime:
  470. description: 客户端委托时间
  471. type: string
  472. clientticket:
  473. description: 客户端流水号
  474. type: string
  475. clienttype:
  476. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  477. type: integer
  478. closeexchagechargevalue:
  479. description: 平仓交易所手续费设置值
  480. type: number
  481. closefeealgorithm:
  482. description: 平仓手续费收取方式 1:比率 2:固定
  483. type: integer
  484. closefreezecharge:
  485. description: 平仓冻结手续费(先建后平操作,需要记录)
  486. type: number
  487. closememberchargevalue:
  488. description: 平仓会员手续费设置值
  489. type: number
  490. closeqty:
  491. description: 平仓数量(先建后平操作 需要记录)
  492. type: integer
  493. closetradeqty:
  494. description: 平仓成交数量(先建后平操作,需要记录)
  495. type: integer
  496. closeunfreezecharge:
  497. description: 平仓解冻手续费(先建后平操作,需要记录)
  498. type: number
  499. delistingtype:
  500. description: 摘牌类型 - 1:价格最优 2:点选成交
  501. type: integer
  502. freezecharge:
  503. description: 冻结手续费
  504. type: number
  505. freezemargin:
  506. description: 冻结保证金(冻结交易金额)
  507. type: number
  508. gcaccountid:
  509. description: 账户ID[合约币种]
  510. type: integer
  511. goodsid:
  512. description: 商品ID
  513. type: integer
  514. isconfirmexercise:
  515. description: 是否确认行权- 0:否 1:是
  516. type: integer
  517. ispreexercise:
  518. description: 是否预申报- 0:否 1:是
  519. type: integer
  520. listingselecttype:
  521. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  522. type: integer
  523. marginalgorithm:
  524. description: 保证金收取方式 1:比率 2:固定
  525. type: integer
  526. marginvalue:
  527. description: 即市保证金设置值
  528. type: number
  529. marketid:
  530. description: 市场ID
  531. type: integer
  532. marketmaxsub:
  533. description: 市价最大偏移范围
  534. type: number
  535. memberuserid:
  536. description: 所属会员UserID
  537. type: integer
  538. openexchagechargevalue:
  539. description: 建仓交易所手续费设置值
  540. type: number
  541. openfeealgorithm:
  542. description: 建仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. openfreezecharge:
  545. description: 开仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. openmemberchargevalue:
  548. description: 建仓会员手续费设置值
  549. type: number
  550. openqty:
  551. description: 开仓数量(先建后平操作,需要记录)
  552. type: integer
  553. opentradeqty:
  554. description: 开仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. openunfreezecharge:
  557. description: 开仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. operatetype:
  560. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  561. type: integer
  562. operatorid:
  563. description: 登录账号(LoginID)
  564. type: integer
  565. optiontype:
  566. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  567. type: integer
  568. orderprice:
  569. description: 委托价格
  570. type: number
  571. orderqty:
  572. description: 委托数量
  573. type: integer
  574. ordersrc:
  575. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  576. type: integer
  577. orderstatus:
  578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. enumdicname:
  856. description: 品类单位名称
  857. type: string
  858. goodscode:
  859. description: 商品代码
  860. type: string
  861. goodsid:
  862. description: 交易合约ID
  863. type: integer
  864. goodsname:
  865. description: 商品名称
  866. type: string
  867. marketid:
  868. description: 市场ID
  869. type: integer
  870. mindeliveryqty:
  871. description: 最小交割系数(K)
  872. type: integer
  873. p2deliveryprice:
  874. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  875. type: number
  876. p2deliveryratio:
  877. description: P2合约系数(p)
  878. type: integer
  879. p2goodsid:
  880. description: P2合约ID
  881. type: integer
  882. p2pricemode:
  883. description: P2合约价格方式 - 1:商品价 2:固定值
  884. type: integer
  885. pdeliveryprice:
  886. description: P合约价格(商品价时填写0,固定值时填写固定值)
  887. type: number
  888. pdeliveryratio:
  889. description: P合约系数(n)
  890. type: integer
  891. pgoodscode:
  892. description: p合约代码
  893. type: string
  894. pgoodsid:
  895. description: P合约ID
  896. type: integer
  897. ppricemode:
  898. description: P合约价格方式 - 1:商品价 2:固定值
  899. type: integer
  900. rratio:
  901. description: 兑换系数(R)
  902. type: integer
  903. rratio1:
  904. description: 兑换系数(交易合约)(R1)
  905. type: integer
  906. rratio2:
  907. description: 兑换系数(仓单标准)(R2)
  908. type: integer
  909. selltemplateid:
  910. description: 卖履约计划模板ID
  911. type: integer
  912. wrstandardid:
  913. description: 仓单标准ID
  914. type: integer
  915. xdeliveryratio:
  916. description: 交易合约系数(m)
  917. type: integer
  918. required:
  919. - begindate
  920. - enddate
  921. - goodsid
  922. - mindeliveryqty
  923. - xdeliveryratio
  924. type: object
  925. ermcp.ExposureDetailRsp:
  926. properties:
  927. areauserid:
  928. description: 机构ID
  929. type: integer
  930. changeQty:
  931. description: 套保变动量
  932. type: number
  933. contracttype:
  934. description: 现货合同类型 - 1:采购 -1:销售
  935. type: integer
  936. convertfactor:
  937. description: 标仓系数
  938. type: number
  939. convertratio:
  940. description: 套保系数
  941. type: number
  942. createtime:
  943. description: 时间
  944. type: string
  945. enumdicname:
  946. description: 现货商品单位名称
  947. type: string
  948. logtype:
  949. description: 类型 - 1:套保计划 2:现货合同
  950. type: integer
  951. middlegoodsId:
  952. description: 套保商品id
  953. type: integer
  954. middlegoodscode:
  955. description: 套保商品代码
  956. type: string
  957. middlegoodsname:
  958. description: 套保商品名称
  959. type: string
  960. qty:
  961. description: 数量
  962. type: number
  963. relateNo:
  964. description: 现货合同/套保计划编号
  965. type: string
  966. wrstandardcode:
  967. description: 现货商品代码
  968. type: string
  969. wrstandardid:
  970. description: 现货商品ID
  971. type: integer
  972. wrstandardname:
  973. description: 现货商品名称
  974. type: string
  975. type: object
  976. ermcp.ExposureHedgePosDetailRsp:
  977. properties:
  978. buyorsell:
  979. description: 买卖方向 0-买 1-卖
  980. type: integer
  981. channelbuildtype:
  982. description: 开平方向 1-建仓 2-平仓
  983. type: integer
  984. goodscode:
  985. description: 商品代码
  986. type: string
  987. goodsname:
  988. description: 商品名称
  989. type: string
  990. hedgegoodsid:
  991. description: 商品id
  992. type: integer
  993. tradeqty:
  994. description: 数量(成交数量)
  995. type: integer
  996. tradetime:
  997. description: 时间(成交时间)
  998. type: string
  999. type: object
  1000. ermcp.ExposureHedgePositionRsp:
  1001. properties:
  1002. accountid:
  1003. description: 资金账号[外部母账户]
  1004. type: integer
  1005. curbuyposition:
  1006. description: 期末买头寸
  1007. type: integer
  1008. cursellposition:
  1009. description: 期末卖头寸
  1010. type: integer
  1011. curtdbuyposition:
  1012. description: 期末今日买头寸
  1013. type: integer
  1014. curtdsellposition:
  1015. description: 期末今日卖头寸
  1016. type: integer
  1017. curydbuyposition:
  1018. description: 期末上日买头寸
  1019. type: integer
  1020. curydsellposition:
  1021. description: 期末上日卖头寸
  1022. type: integer
  1023. decreaseqty:
  1024. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1025. type: integer
  1026. fretdbuyposition:
  1027. description: 冻结今日买头寸
  1028. type: integer
  1029. fretdsellposition:
  1030. description: 冻结今日卖头寸
  1031. type: integer
  1032. freydbuyposition:
  1033. description: 冻结上日买头寸
  1034. type: integer
  1035. freydsellposition:
  1036. description: 冻结上日卖头寸
  1037. type: integer
  1038. goodscode:
  1039. description: 商品代码
  1040. type: string
  1041. goodsid:
  1042. description: 商品id
  1043. type: integer
  1044. goodsname:
  1045. description: 商品名称
  1046. type: string
  1047. hedgeaccountcode:
  1048. description: 对冲账号
  1049. type: string
  1050. hedgegoodsid:
  1051. description: 对冲合约ID
  1052. type: integer
  1053. increaseqty:
  1054. description: 增加数量 = 期末买头寸 - 期初买头寸
  1055. type: integer
  1056. marketid:
  1057. description: 市场ID
  1058. type: integer
  1059. relateduserid:
  1060. description: 关联用户id
  1061. type: integer
  1062. totalcurqty:
  1063. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1064. type: integer
  1065. totalydqty:
  1066. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1067. type: integer
  1068. tradedate:
  1069. description: 交易日(yyyyMMdd)
  1070. type: string
  1071. ydbuyposition:
  1072. description: 期初买头寸
  1073. type: integer
  1074. ydsellposition:
  1075. description: 期初卖头寸
  1076. type: integer
  1077. type: object
  1078. ermcp.ExposureSpotDetailRsp:
  1079. properties:
  1080. contracttype:
  1081. description: 合同类型 1-采购 -1-销售
  1082. type: integer
  1083. createtime:
  1084. description: 创建时间
  1085. type: string
  1086. enumdicname:
  1087. description: 现货商品单位名称
  1088. type: string
  1089. logtype:
  1090. description: 记录类型 1-套保 2-现货合同
  1091. type: integer
  1092. qty:
  1093. description: 数量
  1094. type: number
  1095. recordname:
  1096. description: 类型名称
  1097. type: string
  1098. relatedid:
  1099. description: 套保计划ID/现货合同ID
  1100. type: string
  1101. relatedno:
  1102. description: 编号
  1103. type: string
  1104. strtime:
  1105. description: 时间
  1106. type: string
  1107. wrstandardcode:
  1108. description: 现货商品代码
  1109. type: string
  1110. wrstandardname:
  1111. description: 现货商品名称
  1112. type: string
  1113. type: object
  1114. ermcp.ExposureSpotRsp:
  1115. properties:
  1116. areauserid:
  1117. description: 所属机构
  1118. type: integer
  1119. decreaseqty:
  1120. description: 减少数量=-(销售已定价数量+采购计划数量)
  1121. type: number
  1122. increaseqty:
  1123. description: 增加数量=销售计划数量+采购已定价数量
  1124. type: number
  1125. oritoalspotqty:
  1126. description: 昨日数量
  1127. type: number
  1128. totalspotqty:
  1129. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1130. type: number
  1131. updatetime:
  1132. description: 更新时间
  1133. type: string
  1134. wrstandardcode:
  1135. description: 现货品种代码
  1136. type: string
  1137. wrstandardid:
  1138. description: 现货商品ID
  1139. type: integer
  1140. wrstandardname:
  1141. description: 现货品种
  1142. type: string
  1143. type: object
  1144. ermcp.HisExposureRsp:
  1145. properties:
  1146. data:
  1147. description: 历史敞口
  1148. items:
  1149. $ref: '#/definitions/models.ErmcpHisExposure'
  1150. type: array
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. middlegoodscode:
  1155. description: 套保品种代码
  1156. type: string
  1157. middlegoodsid:
  1158. description: 套保品种ID
  1159. type: integer
  1160. middlegoodsname:
  1161. description: 套保品种名称
  1162. type: string
  1163. type: object
  1164. ermcp.PendingAuditCntRsp:
  1165. properties:
  1166. areastockqty:
  1167. description: '待审核数量: 库存申请'
  1168. type: integer
  1169. businessdjqty:
  1170. description: '待审核数量: 点价'
  1171. type: integer
  1172. businessfpqty:
  1173. description: '待审核数量: 发票'
  1174. type: integer
  1175. businessjsqty:
  1176. description: '待审核数量: 结算'
  1177. type: integer
  1178. businesskxqty:
  1179. description: '待审核数量: 款项'
  1180. type: integer
  1181. hedgeplanqty:
  1182. description: '待审核数量: 套保计划'
  1183. type: integer
  1184. spotcontractqty:
  1185. description: '待审核数量: 现货合同'
  1186. type: integer
  1187. userqty:
  1188. description: '待审核数量: 用户'
  1189. type: integer
  1190. type: object
  1191. ermcp.QryAvalidGPRsp:
  1192. properties:
  1193. goodsgroupid:
  1194. description: 期货品种id
  1195. type: integer
  1196. goodsgroupname:
  1197. description: 期货品种名称
  1198. type: string
  1199. goodunitid:
  1200. description: 品种单位id
  1201. type: integer
  1202. goodunitname:
  1203. description: 品种单位名称
  1204. type: string
  1205. outergroupcode:
  1206. description: 期货品种代码
  1207. type: string
  1208. type: object
  1209. ermcp.QryBusinessDjRsp:
  1210. properties:
  1211. amount:
  1212. description: 点价金额=(点价价格+升贴水)*点价数量
  1213. type: number
  1214. applyid:
  1215. description: 申请人
  1216. type: string
  1217. applyname:
  1218. description: 申请人名称
  1219. type: string
  1220. applystatus:
  1221. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1222. type: integer
  1223. applytime:
  1224. description: 申请时间
  1225. type: string
  1226. attachurl:
  1227. description: 附件
  1228. type: string
  1229. auditid:
  1230. description: 审核人ID
  1231. type: string
  1232. auditname:
  1233. description: 审核人名称
  1234. type: string
  1235. audittime:
  1236. description: 审核时间
  1237. type: string
  1238. buyusername:
  1239. description: 采购方名称
  1240. type: string
  1241. contractno:
  1242. description: 合同编号
  1243. type: string
  1244. contractstatus:
  1245. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1246. type: integer
  1247. contracttype:
  1248. description: 现货合同类型 - 1:采购 -1:销售
  1249. type: integer
  1250. deliverygoodscode:
  1251. description: 现货品种代码
  1252. type: string
  1253. deliverygoodsid:
  1254. description: 现货商品ID
  1255. type: integer
  1256. deliverygoodsname:
  1257. description: 现货品种名称
  1258. type: string
  1259. enumdicname:
  1260. description: 单位名称
  1261. type: string
  1262. goodscode:
  1263. description: 点价合约
  1264. type: string
  1265. goodsname:
  1266. description: 商品名称
  1267. type: string
  1268. operateapplyid:
  1269. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1270. type: string
  1271. operateapplytype:
  1272. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1273. type: integer
  1274. pricedPrice:
  1275. description: 点价价格(非必填)
  1276. type: number
  1277. pricedQty:
  1278. description: 点价数量(非必填)
  1279. type: number
  1280. pricemove:
  1281. description: 升贴水
  1282. type: number
  1283. pricetype:
  1284. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1285. type: integer
  1286. relatedid:
  1287. description: 现货合同ID
  1288. type: string
  1289. sellusername:
  1290. description: 销售方名字
  1291. type: string
  1292. userid:
  1293. description: 用户ID
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 品类代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 品类id
  1300. type: integer
  1301. wrstandardname:
  1302. description: 品类名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryBussinessFpRsp:
  1306. properties:
  1307. applyid:
  1308. description: 申请人
  1309. type: string
  1310. applyname:
  1311. description: 申请人名称
  1312. type: string
  1313. applystatus:
  1314. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1315. type: integer
  1316. applytime:
  1317. description: 申请时间
  1318. type: string
  1319. attachurl:
  1320. description: 附件
  1321. type: string
  1322. auditid:
  1323. description: 审核人ID
  1324. type: string
  1325. auditname:
  1326. description: 审核人名称
  1327. type: string
  1328. audittime:
  1329. description: 审核时间
  1330. type: string
  1331. buyusername:
  1332. description: 采购方名称
  1333. type: string
  1334. contractno:
  1335. description: 合同编号
  1336. type: string
  1337. contractstatus:
  1338. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1339. type: integer
  1340. contracttype:
  1341. description: 现货合同类型 - 1:采购 -1:销售
  1342. type: integer
  1343. deliverygoodscode:
  1344. description: 现货品种代码
  1345. type: string
  1346. deliverygoodsid:
  1347. description: 现货商品ID
  1348. type: integer
  1349. deliverygoodsname:
  1350. description: 现货品种名称
  1351. type: string
  1352. enumdicname:
  1353. description: 单位名称
  1354. type: string
  1355. goodscode:
  1356. description: 点价合约
  1357. type: string
  1358. goodsname:
  1359. description: 商品名称
  1360. type: string
  1361. invoiceAmount:
  1362. description: 已开收票金额(销售为开票,采购为收票)
  1363. type: number
  1364. operateapplyid:
  1365. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1366. type: string
  1367. operateapplytype:
  1368. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1369. type: integer
  1370. pricemove:
  1371. description: 升贴水
  1372. type: number
  1373. pricetype:
  1374. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1375. type: integer
  1376. relatedid:
  1377. description: 现货合同ID
  1378. type: string
  1379. sellusername:
  1380. description: 销售方名字
  1381. type: string
  1382. userid:
  1383. description: 用户ID
  1384. type: integer
  1385. wrstandardcode:
  1386. description: 品类代码
  1387. type: string
  1388. wrstandardid:
  1389. description: 品类id
  1390. type: integer
  1391. wrstandardname:
  1392. description: 品类名称
  1393. type: string
  1394. type: object
  1395. ermcp.QryBussinessJsExRsp:
  1396. properties:
  1397. applyid:
  1398. description: 申请人
  1399. type: string
  1400. applyname:
  1401. description: 申请人名称
  1402. type: string
  1403. applystatus:
  1404. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1405. type: integer
  1406. applytime:
  1407. description: 申请时间
  1408. type: string
  1409. attachurl:
  1410. description: 附件
  1411. type: string
  1412. auditid:
  1413. description: 审核人ID
  1414. type: string
  1415. auditname:
  1416. description: 审核人名称
  1417. type: string
  1418. audittime:
  1419. description: 审核时间
  1420. type: string
  1421. buyusername:
  1422. description: 采购方名称
  1423. type: string
  1424. contractno:
  1425. description: 合同编号
  1426. type: string
  1427. contractstatus:
  1428. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1429. type: integer
  1430. contracttype:
  1431. description: 现货合同类型 - 1:采购 -1:销售
  1432. type: integer
  1433. deliverygoodscode:
  1434. description: 现货品种代码
  1435. type: string
  1436. deliverygoodsid:
  1437. description: 现货商品ID
  1438. type: integer
  1439. deliverygoodsname:
  1440. description: 现货品种名称
  1441. type: string
  1442. enumdicname:
  1443. description: 单位名称
  1444. type: string
  1445. goodscode:
  1446. description: 点价合约
  1447. type: string
  1448. goodsname:
  1449. description: 商品名称
  1450. type: string
  1451. operateapplyid:
  1452. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1453. type: string
  1454. operateapplytype:
  1455. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1456. type: integer
  1457. pricemove:
  1458. description: 升贴水
  1459. type: number
  1460. pricetype:
  1461. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1462. type: integer
  1463. reckontype:
  1464. description: 结算类型
  1465. type: string
  1466. reckonvalue:
  1467. description: 值
  1468. type: number
  1469. relatedid:
  1470. description: 现货合同ID
  1471. type: string
  1472. sellusername:
  1473. description: 销售方名字
  1474. type: string
  1475. userid:
  1476. description: 用户ID
  1477. type: integer
  1478. wrstandardcode:
  1479. description: 品类代码
  1480. type: string
  1481. wrstandardid:
  1482. description: 品类id
  1483. type: integer
  1484. wrstandardname:
  1485. description: 品类名称
  1486. type: string
  1487. type: object
  1488. ermcp.QryBussinessJsRsp:
  1489. properties:
  1490. addmargin:
  1491. description: 追加保证金(非必填)
  1492. type: number
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. decmargin:
  1530. description: 减少保证金(非必填)
  1531. type: number
  1532. deliverygoodscode:
  1533. description: 现货品种代码
  1534. type: string
  1535. deliverygoodsid:
  1536. description: 现货商品ID
  1537. type: integer
  1538. deliverygoodsname:
  1539. description: 现货品种名称
  1540. type: string
  1541. enumdicname:
  1542. description: 单位名称
  1543. type: string
  1544. goodscode:
  1545. description: 点价合约
  1546. type: string
  1547. goodsname:
  1548. description: 商品名称
  1549. type: string
  1550. operateapplyid:
  1551. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1552. type: string
  1553. operateapplytype:
  1554. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1555. type: integer
  1556. pricemove:
  1557. description: 升贴水
  1558. type: number
  1559. pricetype:
  1560. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1561. type: integer
  1562. reckonadjustamount:
  1563. description: 结算调整金额(非必填)
  1564. type: number
  1565. reckonosamount:
  1566. description: 结算溢短金额(非必填)
  1567. type: number
  1568. reckonotheramount:
  1569. description: 结算其他费用(非必填)
  1570. type: number
  1571. reckonrealqty:
  1572. description: 结算实际数量(非必填)
  1573. type: number
  1574. relatedid:
  1575. description: 现货合同ID
  1576. type: string
  1577. sellusername:
  1578. description: 销售方名字
  1579. type: string
  1580. userid:
  1581. description: 用户ID
  1582. type: integer
  1583. wrstandardcode:
  1584. description: 品类代码
  1585. type: string
  1586. wrstandardid:
  1587. description: 品类id
  1588. type: integer
  1589. wrstandardname:
  1590. description: 品类名称
  1591. type: string
  1592. type: object
  1593. ermcp.QryBussinessKxRsp:
  1594. properties:
  1595. applyid:
  1596. description: 申请人
  1597. type: string
  1598. applyname:
  1599. description: 申请人名称
  1600. type: string
  1601. applystatus:
  1602. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1603. type: integer
  1604. applytime:
  1605. description: 申请时间
  1606. type: string
  1607. attachurl:
  1608. description: 附件
  1609. type: string
  1610. auditid:
  1611. description: 审核人ID
  1612. type: string
  1613. auditname:
  1614. description: 审核人名称
  1615. type: string
  1616. audittime:
  1617. description: 审核时间
  1618. type: string
  1619. buyusername:
  1620. description: 采购方名称
  1621. type: string
  1622. contractno:
  1623. description: 合同编号
  1624. type: string
  1625. contractstatus:
  1626. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1627. type: integer
  1628. contracttype:
  1629. description: 现货合同类型 - 1:采购 -1:销售
  1630. type: integer
  1631. deductamount:
  1632. description: 退款(非必填)
  1633. type: number
  1634. deliverygoodscode:
  1635. description: 现货品种代码
  1636. type: string
  1637. deliverygoodsid:
  1638. description: 现货商品ID
  1639. type: integer
  1640. deliverygoodsname:
  1641. description: 现货品种名称
  1642. type: string
  1643. enumdicname:
  1644. description: 单位名称
  1645. type: string
  1646. goodscode:
  1647. description: 点价合约
  1648. type: string
  1649. goodsname:
  1650. description: 商品名称
  1651. type: string
  1652. kxtype:
  1653. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1654. type: integer
  1655. operateapplyid:
  1656. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1657. type: string
  1658. operateapplytype:
  1659. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1660. type: integer
  1661. payamount:
  1662. description: 收付款(非必填)
  1663. type: number
  1664. pricemove:
  1665. description: 升贴水
  1666. type: number
  1667. pricetype:
  1668. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1669. type: integer
  1670. relatedid:
  1671. description: 现货合同ID
  1672. type: string
  1673. sellusername:
  1674. description: 销售方名字
  1675. type: string
  1676. userid:
  1677. description: 用户ID
  1678. type: integer
  1679. wrstandardcode:
  1680. description: 品类代码
  1681. type: string
  1682. wrstandardid:
  1683. description: 品类id
  1684. type: integer
  1685. wrstandardname:
  1686. description: 品类名称
  1687. type: string
  1688. type: object
  1689. ermcp.QryGGCovertCfgRsp:
  1690. properties:
  1691. convertratio:
  1692. description: 折算系数
  1693. type: number
  1694. destgoodsgroupid:
  1695. description: 目标品种ID
  1696. type: integer
  1697. dstcode:
  1698. description: 目录品种代码
  1699. type: string
  1700. dstexchangecode:
  1701. description: 目标期货交易所
  1702. type: string
  1703. dstname:
  1704. description: 目标品种名称
  1705. type: string
  1706. dstunitid:
  1707. description: 目标品种单位ID
  1708. type: integer
  1709. dstunitidname:
  1710. description: 目标品种单位名称
  1711. type: string
  1712. modifytime:
  1713. description: 修改时间
  1714. type: string
  1715. srccode:
  1716. description: 源品种代码
  1717. type: string
  1718. srcexchangecode:
  1719. description: 源期货交易所
  1720. type: string
  1721. srcgoodsgroupid:
  1722. description: 源品种ID
  1723. type: integer
  1724. srcname:
  1725. description: 源品种名称
  1726. type: string
  1727. srcunitid:
  1728. description: 源品种单位ID
  1729. type: integer
  1730. srcunitidname:
  1731. description: 源品种单位名称
  1732. type: string
  1733. type: object
  1734. ermcp.QryMGChangeLogRsp:
  1735. properties:
  1736. aftervalue:
  1737. description: 变更后
  1738. type: number
  1739. applyid:
  1740. description: 操作人
  1741. type: integer
  1742. applyname:
  1743. description: 操作人名称
  1744. type: string
  1745. applysrc:
  1746. description: 操作来源 - 1:管理端 2:终端
  1747. type: integer
  1748. beforevalue:
  1749. description: 变更前
  1750. type: number
  1751. changelogtype:
  1752. description: 变更流水类型 - 1:套保比率变更
  1753. type: integer
  1754. handlestatus:
  1755. description: 处理状态
  1756. type: integer
  1757. logdatetime:
  1758. description: 流水日期
  1759. type: string
  1760. logid:
  1761. description: 流水ID
  1762. type: integer
  1763. logremark:
  1764. description: 流水备注
  1765. type: string
  1766. middlegoodsid:
  1767. description: 套保品种ID
  1768. type: integer
  1769. tradedate:
  1770. description: 交易日(yyyyMMdd)
  1771. type: string
  1772. updatetime:
  1773. description: 更新时间
  1774. type: string
  1775. type: object
  1776. ermcp.QryMiddleGoodsDetailRsp:
  1777. properties:
  1778. cvList:
  1779. description: 期货品种折算列表
  1780. items:
  1781. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1782. type: array
  1783. mg:
  1784. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1785. description: 套保品种基本信息
  1786. wrcList:
  1787. description: 现货品种列表(现货商品折算配置)
  1788. items:
  1789. $ref: '#/definitions/models.WRSConverTDetail'
  1790. type: array
  1791. type: object
  1792. ermcp.QryMiddleGoodsRsp:
  1793. properties:
  1794. areauserid:
  1795. description: 机构用户ID
  1796. type: integer
  1797. createtime:
  1798. description: 修改时间
  1799. type: string
  1800. enumdicname:
  1801. description: 单位名称
  1802. type: string
  1803. evaluateratio:
  1804. description: 估价系数
  1805. type: number
  1806. goodsgroupid:
  1807. description: 关联期货品种ID
  1808. type: integer
  1809. goodsunitid:
  1810. description: 单位ID
  1811. type: integer
  1812. isvalid:
  1813. description: 状态 0-无效(停用) 1-有效(正常)
  1814. type: integer
  1815. middlegoodscode:
  1816. description: 套保品种代码
  1817. type: string
  1818. middlegoodsid:
  1819. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1820. type: integer
  1821. middlegoodsname:
  1822. description: 套保品种名称
  1823. type: string
  1824. modifytime:
  1825. description: 修改时间
  1826. type: string
  1827. needarbitrageratio:
  1828. description: 套利比例
  1829. type: number
  1830. needhedgeratio:
  1831. description: 套保比率
  1832. type: number
  1833. qtydecimalplace:
  1834. description: 数量小数位
  1835. type: integer
  1836. relatedgoodsid:
  1837. description: 关联交易商品ID
  1838. type: integer
  1839. relatedgoodstype:
  1840. description: 关联商品类型 - 1:期货合约 2:现货品种
  1841. type: integer
  1842. remark:
  1843. description: 备注
  1844. type: string
  1845. type: object
  1846. ermcp.QryOPLogRsp:
  1847. properties:
  1848. aftervalue:
  1849. description: 变更后
  1850. type: number
  1851. applyid:
  1852. description: 操作人ID
  1853. type: string
  1854. applyname:
  1855. description: 操作人名称
  1856. type: string
  1857. beforevalue:
  1858. description: 变更前
  1859. type: number
  1860. biztype:
  1861. description: 业务类型 - 1:套保计划 2:现货合同
  1862. type: integer
  1863. contracttype:
  1864. description: 现货合同类型 - 1:采购 -1:销售
  1865. type: integer
  1866. logvalue:
  1867. description: 数值
  1868. type: number
  1869. operatelogtype:
  1870. description: 操作流水类型
  1871. type: integer
  1872. operatelogtypedesc:
  1873. description: 操作流水类型名称
  1874. type: string
  1875. relatedid:
  1876. description: 现货合同ID\套保计划
  1877. type: string
  1878. updatetime:
  1879. description: 更新时间
  1880. type: string
  1881. type: object
  1882. ermcp.QryUserInfoRsp:
  1883. properties:
  1884. address:
  1885. description: 通讯地址
  1886. type: string
  1887. attachment1:
  1888. description: 附件1
  1889. type: string
  1890. audittime:
  1891. description: 审核时间
  1892. type: string
  1893. cardbackphotourl:
  1894. description: 证件反面图片地址
  1895. type: string
  1896. cardfrontphotourl:
  1897. description: 证件正面图片地址
  1898. type: string
  1899. cardnum:
  1900. description: 证件号码
  1901. type: string
  1902. cardtype:
  1903. description: 证件类型
  1904. type: integer
  1905. cardtypename:
  1906. description: 证件类型名称
  1907. type: string
  1908. cityid:
  1909. description: 市
  1910. type: integer
  1911. contactname:
  1912. description: 联系人
  1913. type: string
  1914. countryid:
  1915. description: 国家
  1916. type: integer
  1917. createtime:
  1918. description: 创建时间
  1919. type: string
  1920. customername:
  1921. description: 企业名称
  1922. type: string
  1923. districtid:
  1924. description: 区域
  1925. type: integer
  1926. email:
  1927. description: 邮件
  1928. type: string
  1929. legalpersonname:
  1930. description: 法人姓名(企业)
  1931. type: string
  1932. memberuserid:
  1933. description: 所属机构ID
  1934. type: integer
  1935. mobile:
  1936. description: 手机号码
  1937. type: string
  1938. modifytime:
  1939. description: 修改时间
  1940. type: string
  1941. nickname:
  1942. description: 昵称
  1943. type: string
  1944. provinceid:
  1945. description: 省
  1946. type: integer
  1947. remark:
  1948. description: 备注
  1949. type: string
  1950. status:
  1951. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1952. type: integer
  1953. statusdesc:
  1954. description: 账户状态中文描述
  1955. type: string
  1956. taxpayernum:
  1957. description: 纳税人识别号
  1958. type: string
  1959. telphone:
  1960. description: 联系电话
  1961. type: string
  1962. userid:
  1963. description: 用户ID
  1964. type: integer
  1965. userinfotype:
  1966. description: 客户类型
  1967. type: string
  1968. type: object
  1969. ermcp.QryWarehouseRsp:
  1970. properties:
  1971. address:
  1972. description: 详细地址
  1973. type: string
  1974. areauserid:
  1975. description: 所属机构
  1976. type: integer
  1977. autoid:
  1978. description: 自增ID(仓库ID)
  1979. type: integer
  1980. cityid:
  1981. description: 市
  1982. type: integer
  1983. contactname:
  1984. description: 联系人
  1985. type: string
  1986. contactnum:
  1987. description: 联系电话
  1988. type: string
  1989. countryid:
  1990. description: 国家
  1991. type: integer
  1992. createtime:
  1993. description: 创建时间
  1994. type: string
  1995. districtid:
  1996. description: 区
  1997. type: integer
  1998. hasvideo:
  1999. description: 是否有视频 - 0:无 1:有
  2000. type: integer
  2001. provinceid:
  2002. description: 省
  2003. type: integer
  2004. remark:
  2005. description: 审核备注
  2006. type: string
  2007. videourl:
  2008. description: 视频地址
  2009. type: string
  2010. warehousecode:
  2011. description: 仓库代码
  2012. type: string
  2013. warehousename:
  2014. description: 仓库名称
  2015. type: string
  2016. warehousestatus:
  2017. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2018. type: integer
  2019. warehousetype:
  2020. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2021. type: integer
  2022. type: object
  2023. ermcp.QueryErmcpTradePositionRsp:
  2024. properties:
  2025. agreeunit:
  2026. description: 合约单位
  2027. type: number
  2028. buyorsell:
  2029. description: 方向 - 0:买 1:卖
  2030. type: integer
  2031. curpositionqty:
  2032. description: 持仓(总仓数量, 期末头寸)
  2033. type: integer
  2034. curtdposition:
  2035. description: 今仓数量(期末今日头寸)
  2036. type: integer
  2037. curtdpositionenabled:
  2038. description: 今仓可用
  2039. type: integer
  2040. decimalplace:
  2041. description: 报价小数位
  2042. type: integer
  2043. enableqty:
  2044. description: 可用(总仓可用)
  2045. type: integer
  2046. exexchangename:
  2047. description: 外部交易所名称
  2048. type: string
  2049. goodscode:
  2050. description: 商品代码(内部)
  2051. type: string
  2052. goodsid:
  2053. description: 商品ID(自增ID SEQ_GOODS)
  2054. type: integer
  2055. goodsname:
  2056. description: 商品名称
  2057. type: string
  2058. last:
  2059. description: 现价
  2060. type: number
  2061. marketid:
  2062. description: 所属市场ID
  2063. type: integer
  2064. openaverageprice:
  2065. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2066. type: number
  2067. opencost:
  2068. description: 开仓成本
  2069. type: number
  2070. openpl:
  2071. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2072. type: number
  2073. outgoodscode:
  2074. description: 商品代码(外部)
  2075. type: string
  2076. positionaverageprice:
  2077. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2078. type: number
  2079. positioncost:
  2080. description: 持仓成本
  2081. type: number
  2082. positionpl:
  2083. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2084. type: number
  2085. positionplrate:
  2086. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2087. type: number
  2088. usedmargin:
  2089. description: 占用保证金
  2090. type: number
  2091. type: object
  2092. ermcp.RealtimeExposurePositionRsp:
  2093. properties:
  2094. agreeunit:
  2095. description: 合约单位
  2096. type: string
  2097. areauserid:
  2098. description: 所属机构id
  2099. type: integer
  2100. convertratio:
  2101. description: 期货品种系数(折算系数)
  2102. type: number
  2103. curqty:
  2104. description: 当前持仓
  2105. type: integer
  2106. diffhedgeqty:
  2107. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2108. type: number
  2109. diffqty:
  2110. description: 持仓变动量=当前持仓-昨日持仓
  2111. type: integer
  2112. goodscode:
  2113. description: 商品代码
  2114. type: string
  2115. goodsid:
  2116. description: 商品id
  2117. type: integer
  2118. goodsname:
  2119. description: 商品名称
  2120. type: string
  2121. middlegoodsid:
  2122. description: 套保商品id
  2123. type: integer
  2124. ydqty:
  2125. description: 昨日持仓
  2126. type: integer
  2127. type: object
  2128. ermcp.RealtimeExposureRsp:
  2129. properties:
  2130. AreaUserID:
  2131. description: 所属机构
  2132. type: integer
  2133. BuyFutureQty:
  2134. description: 买入期货数量
  2135. type: number
  2136. BuyPlanQty:
  2137. description: 采购计划数量
  2138. type: number
  2139. BuyPricedQty:
  2140. description: 采购合同已定价数量
  2141. type: number
  2142. MiddleGoodsCode:
  2143. description: 套保品种代码
  2144. type: string
  2145. MiddleGoodsHedgeRatio:
  2146. description: 套保比例
  2147. type: number
  2148. MiddleGoodsID:
  2149. description: 套保品种
  2150. type: integer
  2151. MiddleGoodsName:
  2152. description: 套保品种名称
  2153. type: string
  2154. NeedHedgeExposoure:
  2155. description: 应套保敞口(套保敞口)
  2156. type: number
  2157. NeedHedgeRatio:
  2158. description: 应套保敞口比例
  2159. type: number
  2160. OriBuyFutureQty:
  2161. description: 期初买入期货数量
  2162. type: number
  2163. OriBuyPlanQty:
  2164. description: 期初采购计划数量
  2165. type: number
  2166. OriBuyPricedQty:
  2167. description: 期初采购合同已定价数量
  2168. type: number
  2169. OriSellFutureQty:
  2170. description: 期初卖出期货数量
  2171. type: number
  2172. OriSellPlanQty:
  2173. description: 期初销售计划数量
  2174. type: number
  2175. OriSellPricedQty:
  2176. description: 期初销售合同已定价数量
  2177. type: number
  2178. SellFutureQty:
  2179. description: 卖出期货数量
  2180. type: number
  2181. SellPlanQty:
  2182. description: 销售计划数量
  2183. type: number
  2184. SellPricedQty:
  2185. description: 销售合同已定价数量
  2186. type: number
  2187. TotalExposure:
  2188. description: 总敞口 平安:净敞口
  2189. type: number
  2190. TotalFutureQty:
  2191. description: 期货总量 平安:保值净持仓量
  2192. type: number
  2193. TotalHedgeRatio:
  2194. description: 敞口比例
  2195. type: number
  2196. TotalNeedHedgeQty:
  2197. description: 应套保总量(现货应套保总量)
  2198. type: number
  2199. TotalSpotQty:
  2200. description: 现货总量 平安:采销定价净值
  2201. type: number
  2202. arbitrageqty:
  2203. description: 套利量
  2204. type: number
  2205. diffArbitrageQty:
  2206. description: 套利变动量
  2207. type: number
  2208. diffExposoureQty:
  2209. description: 变动量(套保敞口)
  2210. type: number
  2211. diffFutuQty:
  2212. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2213. type: number
  2214. diffHedgeQty:
  2215. description: 套保变动量
  2216. type: number
  2217. diffQty:
  2218. description: 变动量(总敞口) 平安:净敞口今日变动
  2219. type: number
  2220. diffSpotHedgeQty:
  2221. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2222. type: number
  2223. diffSpotQty:
  2224. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2225. type: number
  2226. enumdicname:
  2227. description: 单位名称
  2228. type: string
  2229. hedgeqty:
  2230. description: 套保量
  2231. type: number
  2232. needarbitrageqty:
  2233. description: 应套利量
  2234. type: number
  2235. needarbitrageratio:
  2236. description: 套利比例
  2237. type: number
  2238. needhedgeqty:
  2239. description: 应套保量
  2240. type: number
  2241. oriTotalFutuQty:
  2242. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2243. type: number
  2244. oriTotalSpotQty:
  2245. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2246. type: number
  2247. oriarbitrageqty:
  2248. description: 期初套利量
  2249. type: number
  2250. orihedgeqty:
  2251. description: 期初套保量
  2252. type: number
  2253. orineedhedgeexposoure:
  2254. description: 期初套保敞口
  2255. type: number
  2256. oritotalexposure:
  2257. description: 期初总敞口
  2258. type: number
  2259. oritotalfutureqty:
  2260. description: 期初期货总量
  2261. type: number
  2262. oritotalneedhedgeqty:
  2263. description: 期初现货应套保量
  2264. type: number
  2265. type: object
  2266. erms2.QueryArbitrageStrategyRsp:
  2267. properties:
  2268. applybasis:
  2269. description: 申请基差
  2270. type: number
  2271. asapplyid:
  2272. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2273. type: string
  2274. asname:
  2275. description: 策略名称
  2276. type: string
  2277. asno:
  2278. description: 策略编号
  2279. type: string
  2280. basischangepl:
  2281. description: 基差变动损益[结算更新]
  2282. type: number
  2283. biztype:
  2284. description: 业务类型 - 1:正向套利 -1:反向套利
  2285. type: integer
  2286. closetradedate:
  2287. description: 完结交易日(yyyyMMdd)
  2288. type: string
  2289. curbasis:
  2290. description: 当前基差[结算更新]
  2291. type: number
  2292. deliverygoodsid:
  2293. description: 现货品种ID
  2294. type: integer
  2295. futureavgprice:
  2296. description: 期货建仓均价
  2297. type: number
  2298. futurecloseamount:
  2299. description: 期货平仓金额
  2300. type: number
  2301. futurecloseqty:
  2302. description: 期货平仓数量
  2303. type: number
  2304. futureopenamount:
  2305. description: 期货开仓金额
  2306. type: number
  2307. futureopenqty:
  2308. description: 期货开仓数量
  2309. type: number
  2310. futurepl:
  2311. description: 期货总盈亏[结算更新]
  2312. type: number
  2313. futureqty:
  2314. description: 期货持仓数量
  2315. type: number
  2316. futurequote:
  2317. description: 期货额度
  2318. type: number
  2319. goodsgroupid:
  2320. description: 期货品种ID
  2321. type: integer
  2322. marketid:
  2323. description: 市场ID
  2324. type: integer
  2325. netexposure:
  2326. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2327. type: number
  2328. netexposurepl:
  2329. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2330. type: number
  2331. netexposurerate:
  2332. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2333. type: number
  2334. openbasis:
  2335. description: 建仓基差
  2336. type: number
  2337. pricedspotqty:
  2338. description: 已定价现货数量
  2339. type: number
  2340. pricedspotqtynotax:
  2341. description: 已定价现货不含税数量
  2342. type: number
  2343. remark:
  2344. description: 备注
  2345. type: string
  2346. spotavgprice:
  2347. description: 现货均价
  2348. type: number
  2349. spotbuyamount:
  2350. description: 现货采购金额
  2351. type: number
  2352. spotbuyqty:
  2353. description: 现货采购数量
  2354. type: number
  2355. spotpl:
  2356. description: 现货总盈亏[结算更新]
  2357. type: number
  2358. spotquota:
  2359. description: 现货额度
  2360. type: number
  2361. spotsellamount:
  2362. description: 现货销售金额
  2363. type: number
  2364. spotsellqty:
  2365. description: 现货销售数量
  2366. type: number
  2367. spotusedquota:
  2368. description: 现货占用资金
  2369. type: number
  2370. strategystatus:
  2371. description: 策略状态 - 0:未结束 1:已结束
  2372. type: integer
  2373. totalpl:
  2374. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2375. type: number
  2376. tradedate:
  2377. description: 交易日(yyyyMMdd)
  2378. type: string
  2379. updatetime:
  2380. description: 更新时间
  2381. type: string
  2382. usedquota:
  2383. description: 已占用资金
  2384. type: number
  2385. userid:
  2386. description: 所属机构
  2387. type: integer
  2388. required:
  2389. - asapplyid
  2390. type: object
  2391. erms2.QueryInnerTradeDetailRsp:
  2392. properties:
  2393. accountid:
  2394. description: 账号ID
  2395. type: integer
  2396. agreeunit:
  2397. description: 合约单位
  2398. type: number
  2399. asapplyid:
  2400. description: 策略申请ID
  2401. type: integer
  2402. asname:
  2403. description: 策略名称
  2404. type: string
  2405. asno:
  2406. description: 策略编号
  2407. type: string
  2408. buyorsell:
  2409. description: 方向 - 0:买 1:卖
  2410. type: integer
  2411. channelbuildtype:
  2412. description: 委托单据类型 0:无 1:建仓 2:平仓
  2413. type: integer
  2414. closetype:
  2415. description: 平仓方式 - 0:无 1:平今 2:平昨
  2416. type: integer
  2417. decimalplace:
  2418. description: 报价小数位
  2419. type: integer
  2420. detailtype:
  2421. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2422. type: integer
  2423. exexchangecode:
  2424. description: 外部交易所代码
  2425. type: string
  2426. exexchangename:
  2427. description: 外部交易所名称
  2428. type: string
  2429. goodscode:
  2430. description: 商品代码(合约)
  2431. type: string
  2432. goodsgroupid:
  2433. description: 商品组ID(品种ID)
  2434. type: integer
  2435. goodsgroupname:
  2436. description: 商品组名称(品种)
  2437. type: string
  2438. goodsid:
  2439. description: 商品ID
  2440. type: integer
  2441. goodsname:
  2442. description: 商品名称(合约)
  2443. type: string
  2444. goodunit:
  2445. description: 报价单位
  2446. type: string
  2447. marketid:
  2448. description: 市场ID
  2449. type: integer
  2450. orderid:
  2451. description: 委托单号
  2452. type: string
  2453. outgoodscode:
  2454. description: 商品代码(外部)
  2455. type: string
  2456. relatedouttradeid:
  2457. description: 关联外部成交单ID
  2458. type: string
  2459. remark:
  2460. description: 备注
  2461. type: string
  2462. spotcontractid:
  2463. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2464. type: integer
  2465. spotcontractno:
  2466. description: 现货合同编号
  2467. type: string
  2468. tradeid:
  2469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2470. type: string
  2471. tradeprice:
  2472. description: 成交价格
  2473. type: number
  2474. tradeqty:
  2475. description: 成交数量
  2476. type: integer
  2477. tradetime:
  2478. description: 成交时间
  2479. type: string
  2480. updatetime:
  2481. description: 更新时间
  2482. type: string
  2483. required:
  2484. - asapplyid
  2485. - buyorsell
  2486. - goodscode
  2487. - goodsgroupid
  2488. - goodsgroupname
  2489. - goodsname
  2490. - tradeid
  2491. type: object
  2492. erms2.QuerySpotContractRsp:
  2493. properties:
  2494. accountid:
  2495. description: 资金账户ID
  2496. type: integer
  2497. areauserid:
  2498. description: 所属机构
  2499. type: integer
  2500. closedate:
  2501. description: 终止日期
  2502. type: string
  2503. closeremark:
  2504. description: 结束备注
  2505. type: string
  2506. closetradedate:
  2507. description: 完结交易日(yyyyMMdd)
  2508. type: string
  2509. closetype:
  2510. description: 终止类型 - 1:违约 2:提前终止
  2511. type: integer
  2512. contractamount:
  2513. description: 合同金额
  2514. type: number
  2515. contractattachment:
  2516. description: 合同附件
  2517. type: string
  2518. contractno:
  2519. description: 现货合同编号
  2520. type: string
  2521. contractqty:
  2522. description: 合同数量(数值) (用于计算)
  2523. type: number
  2524. contractqtychar:
  2525. description: 合同数量\已订价数量 (用于显示)
  2526. type: string
  2527. contractstatus:
  2528. description: 合同状态 - 0:未结束 1:已结束
  2529. type: integer
  2530. contracttype:
  2531. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2532. type: integer
  2533. customeraccountid:
  2534. description: 客户资金账户ID
  2535. type: integer
  2536. customeruserid:
  2537. description: 客户ID
  2538. type: integer
  2539. deliverygoodsdesc:
  2540. description: 品种说明
  2541. type: string
  2542. deliverygoodsid:
  2543. description: 现货品种ID
  2544. type: integer
  2545. handlestatus:
  2546. description: 处理状态
  2547. type: integer
  2548. invoiceatt:
  2549. description: 发票附件
  2550. type: string
  2551. invoicedatetime:
  2552. description: 开收票更新时间
  2553. type: string
  2554. invoiceopentime:
  2555. description: 开票时间
  2556. type: string
  2557. invoiceremark:
  2558. description: 发票备注
  2559. type: string
  2560. invoicestatus:
  2561. description: 开收票状态 - 0:未开票 1:已开票
  2562. type: integer
  2563. lastdate:
  2564. description: 交货时间
  2565. type: string
  2566. marketid:
  2567. description: 市场ID
  2568. type: integer
  2569. paydatetime:
  2570. description: 收付款更新时间
  2571. type: string
  2572. payremark:
  2573. description: 收付款备注
  2574. type: string
  2575. paystatus:
  2576. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2577. type: integer
  2578. positionqty:
  2579. description: 头寸数量 - 合同数量去小数部分
  2580. type: integer
  2581. producttype:
  2582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2583. type: integer
  2584. relatedqty:
  2585. description: 已关联数量
  2586. type: number
  2587. relatedstatus:
  2588. description: 关联完结状态 - 0:未结束 1:已结束
  2589. type: integer
  2590. remark:
  2591. description: 备注
  2592. type: string
  2593. signdate:
  2594. description: 签订日期
  2595. type: string
  2596. spotcontractid:
  2597. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2598. type: string
  2599. spotdatetime:
  2600. description: 收发货更新时间
  2601. type: string
  2602. spotprice:
  2603. description: 价格
  2604. type: number
  2605. spotremark:
  2606. description: 收发货备注
  2607. type: string
  2608. spotstatus:
  2609. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2610. type: integer
  2611. tradedate:
  2612. description: 交易日(yyyyMMdd)
  2613. type: string
  2614. userid:
  2615. description: 业务员用户ID
  2616. type: integer
  2617. warehouseid:
  2618. description: 仓库ID
  2619. type: integer
  2620. wrfactortypeid:
  2621. description: 仓单要素类型ID
  2622. type: integer
  2623. wrstandardid:
  2624. description: 仓单标准ID(SEQ_WRSTANDARD)
  2625. type: integer
  2626. required:
  2627. - spotcontractid
  2628. type: object
  2629. erms3.AddErms2ASApplyReq:
  2630. properties:
  2631. applybasis:
  2632. description: 申请基差
  2633. type: number
  2634. applystatus:
  2635. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2636. type: integer
  2637. asapplyid:
  2638. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2639. type: integer
  2640. asname:
  2641. description: 策略名称
  2642. type: string
  2643. asno:
  2644. description: 策略编号
  2645. type: string
  2646. auditid:
  2647. description: 审核人
  2648. type: integer
  2649. auditremark:
  2650. description: 审核备注
  2651. type: string
  2652. audittime:
  2653. description: 审核时间
  2654. type: string
  2655. biztype:
  2656. description: 业务类型 - 1:正向套利 2:反向套利
  2657. type: integer
  2658. createtime:
  2659. description: 创建时间
  2660. type: string
  2661. creatorid:
  2662. description: 创建人
  2663. type: integer
  2664. deliverygoodsid:
  2665. description: 现货品种ID
  2666. type: integer
  2667. futurequote:
  2668. description: 期货额度
  2669. type: number
  2670. goodsgroupid:
  2671. description: 期货品种ID
  2672. type: integer
  2673. marketid:
  2674. description: 市场ID
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. spotquota:
  2680. description: 现货额度
  2681. type: number
  2682. tradedate:
  2683. description: 交易日(yyyyMMdd)
  2684. type: string
  2685. userid:
  2686. description: 所属机构
  2687. type: integer
  2688. required:
  2689. - asapplyid
  2690. type: object
  2691. erms3.AddErms2SpotTradeApplyReq:
  2692. properties:
  2693. applyjsondetail:
  2694. description: 申请明细(JSON)
  2695. type: string
  2696. applystatus:
  2697. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2698. type: integer
  2699. areauserid:
  2700. description: 所属机构
  2701. type: integer
  2702. auditid:
  2703. description: 审核人
  2704. type: integer
  2705. auditremark:
  2706. description: 审核备注
  2707. type: string
  2708. audittime:
  2709. description: 审核时间
  2710. type: string
  2711. createtime:
  2712. description: 创建时间
  2713. type: string
  2714. creatorid:
  2715. description: 创建人
  2716. type: integer
  2717. deliverygoodsid:
  2718. description: 现货品种ID
  2719. type: integer
  2720. futureaccountid:
  2721. description: 期货资金账户
  2722. type: integer
  2723. goodsgroupid:
  2724. description: 期货品种
  2725. type: integer
  2726. marketid:
  2727. description: 市场ID
  2728. type: integer
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. spotaccountid:
  2733. description: 现货资金账户
  2734. type: integer
  2735. spottradeid:
  2736. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2737. type: integer
  2738. spottradename:
  2739. description: 业务名称
  2740. type: string
  2741. spottradeno:
  2742. description: 业务编号
  2743. type: string
  2744. tradedate:
  2745. description: 交易日(yyyyMMdd)
  2746. type: string
  2747. wrstandardid:
  2748. description: 仓单标准ID
  2749. type: integer
  2750. required:
  2751. - spottradeid
  2752. type: object
  2753. erms3.AddSpotContractApplyReq:
  2754. properties:
  2755. accountid:
  2756. description: 资金账户ID
  2757. type: integer
  2758. areauserid:
  2759. description: 所属机构
  2760. type: integer
  2761. contractattachment:
  2762. description: 合同附件
  2763. type: string
  2764. contractno:
  2765. description: 现货合同编号
  2766. type: string
  2767. contracttype:
  2768. description: 现货合同类型 - 1:采购 -1:销售
  2769. type: integer
  2770. creatorid:
  2771. description: 申请人
  2772. type: integer
  2773. customeraccountid:
  2774. description: 客户资金账户ID
  2775. type: integer
  2776. customeruserid:
  2777. description: 客户ID
  2778. type: integer
  2779. details:
  2780. description: 明细
  2781. items:
  2782. $ref: '#/definitions/erms3.SoptContractDetail'
  2783. type: array
  2784. orimargin:
  2785. description: 初始保证金
  2786. type: number
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. signdate:
  2791. description: 签订日期
  2792. type: string
  2793. required:
  2794. - accountid
  2795. - areauserid
  2796. - contractno
  2797. - contracttype
  2798. - customeraccountid
  2799. - customeruserid
  2800. - details
  2801. - orimargin
  2802. - signdate
  2803. type: object
  2804. erms3.AddSpotContractApplyRsp:
  2805. properties:
  2806. contractno:
  2807. description: 现货合同编号
  2808. type: string
  2809. spotcontractid:
  2810. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2811. type: integer
  2812. required:
  2813. - contractno
  2814. type: object
  2815. erms3.AddUserInfoApplyReq:
  2816. properties:
  2817. accountid:
  2818. description: 交易系统帐号Id (加密存储)
  2819. type: integer
  2820. areacode:
  2821. description: 机构代码
  2822. type: string
  2823. areaid:
  2824. description: 机构Id
  2825. type: integer
  2826. attachment1:
  2827. description: 附件1
  2828. type: string
  2829. attachment2:
  2830. description: 附件2
  2831. type: string
  2832. attachment3:
  2833. description: 附件3
  2834. type: string
  2835. attachment4:
  2836. description: 附件4
  2837. type: string
  2838. attachment5:
  2839. description: 附件5
  2840. type: string
  2841. auditedby:
  2842. description: 审核人
  2843. type: string
  2844. auditime:
  2845. description: 审核时间
  2846. type: string
  2847. auditsrc:
  2848. description: 审核来源 - 1:管理端 2:终端
  2849. type: integer
  2850. bankaccount:
  2851. description: 银行帐号 (加密存储)
  2852. type: string
  2853. bankaccountname:
  2854. description: 收款人名称
  2855. type: string
  2856. bankcardbackphotourl:
  2857. description: 银行卡背面照地址
  2858. type: string
  2859. bankcardfrontphotourl:
  2860. description: 银行卡正面照地址
  2861. type: string
  2862. bankid:
  2863. description: 银行编码
  2864. type: string
  2865. bankname:
  2866. description: 银行名称
  2867. type: string
  2868. bankpictureurl:
  2869. description: 银行卡正面地址
  2870. type: string
  2871. biznature:
  2872. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2873. type: integer
  2874. bizscope:
  2875. description: 企业经营范围(企业)
  2876. type: string
  2877. biztype:
  2878. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2879. type: integer
  2880. brokerid:
  2881. description: 经纪人ID(加密存储)
  2882. type: string
  2883. cardaddress:
  2884. description: 证件地址 (加密存储)
  2885. type: string
  2886. cardbackphotourl:
  2887. description: 背面证件照地址
  2888. type: string
  2889. cardfrontphotourl:
  2890. description: 正面证件照地址
  2891. type: string
  2892. cardnum:
  2893. description: 证件号码 (加密存储)
  2894. type: string
  2895. cardtype:
  2896. description: 证件类型
  2897. type: integer
  2898. cityid:
  2899. description: 市
  2900. type: integer
  2901. company:
  2902. description: 公司(个人)
  2903. type: string
  2904. contactcardbackphotourl:
  2905. description: 联系人证件背面图片地址
  2906. type: string
  2907. contactcardfrontphotourl:
  2908. description: 联系人证件正面图片地址
  2909. type: string
  2910. contactname:
  2911. description: 联系人
  2912. type: string
  2913. countryid:
  2914. description: 国家
  2915. type: integer
  2916. createtime:
  2917. description: 开户申请时间
  2918. type: string
  2919. cusbankid:
  2920. description: 签约类型
  2921. type: string
  2922. cusbankname:
  2923. description: 签约类型名称
  2924. type: string
  2925. customername:
  2926. description: 客户名称(企业名称)
  2927. type: string
  2928. districtid:
  2929. description: 地区
  2930. type: integer
  2931. email:
  2932. description: Email地址(加密存储)
  2933. type: string
  2934. halfbodyphotourl:
  2935. description: 半身照地址
  2936. type: string
  2937. headurl:
  2938. description: 头像地址
  2939. type: string
  2940. ipaddress:
  2941. description: IP地址
  2942. type: string
  2943. isvalidate:
  2944. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2945. type: string
  2946. legalcardbackphotourl:
  2947. description: 法人身份证背面照地址
  2948. type: string
  2949. legalcardfrontphotourl:
  2950. description: 法人身份证正面照地址
  2951. type: string
  2952. legalpersonname:
  2953. description: 法人姓名(企业)
  2954. type: string
  2955. logincode:
  2956. description: 登录帐号 (加密存储)
  2957. type: string
  2958. memberareaid:
  2959. description: 所属会员ID
  2960. type: integer
  2961. mobile2:
  2962. description: 手机号码[明文-尚志]
  2963. type: string
  2964. mobilephone:
  2965. description: 手机号码 (加密存储)
  2966. type: string
  2967. modifiedby:
  2968. description: 修改人帐号
  2969. type: integer
  2970. modifiedtime:
  2971. description: 修改时间
  2972. type: string
  2973. nickname:
  2974. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2975. type: string
  2976. openmode:
  2977. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2978. type: integer
  2979. otherurl:
  2980. description: 其它图片地址[使用分号分隔]
  2981. type: string
  2982. postalcode:
  2983. description: 邮政编码
  2984. type: string
  2985. provinceid:
  2986. description: 省
  2987. type: integer
  2988. proxystatementurl:
  2989. description: 授权委托书
  2990. type: string
  2991. qq:
  2992. description: QQ(加密存储
  2993. type: string
  2994. referral:
  2995. description: 推荐人编码
  2996. type: string
  2997. remark:
  2998. description: 备注
  2999. type: string
  3000. removebeforestatus:
  3001. description: REMOVEBEFORESTATUS
  3002. type: integer
  3003. sex:
  3004. description: 性别 - 0:女 1:男
  3005. type: integer
  3006. signedstatus:
  3007. description: 账户一号签签约状态
  3008. type: integer
  3009. signpdfurl:
  3010. description: 签约pdf文件
  3011. type: string
  3012. subbranch:
  3013. description: 开户支行
  3014. type: string
  3015. taxpayernum:
  3016. description: 纳税人识别号
  3017. type: string
  3018. telphone:
  3019. description: 联系电话(加密存储)
  3020. type: string
  3021. userid:
  3022. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3023. type: integer
  3024. userinfotype:
  3025. description: 用户信息类型 - 1:个人 2:企业
  3026. type: integer
  3027. username:
  3028. description: 用户姓名
  3029. type: string
  3030. userstate:
  3031. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3032. type: integer
  3033. usertype:
  3034. description: 用户类型 - 1:投资者 2:机构
  3035. type: integer
  3036. videourl:
  3037. description: 视频地址
  3038. type: string
  3039. wechat:
  3040. description: 微信号 (加密存储)
  3041. type: string
  3042. required:
  3043. - userid
  3044. type: object
  3045. erms3.CustomerInfo:
  3046. properties:
  3047. accountids:
  3048. description: 资金账户ID列表
  3049. items:
  3050. type: integer
  3051. type: array
  3052. customername:
  3053. description: 名称(企业名称)
  3054. type: string
  3055. mobile:
  3056. description: 手机号码
  3057. type: string
  3058. userid:
  3059. description: 用户ID
  3060. type: integer
  3061. required:
  3062. - userid
  3063. type: object
  3064. erms3.ModifyUserInfoApplyReq:
  3065. properties:
  3066. accountid:
  3067. description: 交易系统帐号Id (加密存储)
  3068. type: integer
  3069. areacode:
  3070. description: 机构代码
  3071. type: string
  3072. areaid:
  3073. description: 机构Id
  3074. type: integer
  3075. attachment1:
  3076. description: 附件1
  3077. type: string
  3078. attachment2:
  3079. description: 附件2
  3080. type: string
  3081. attachment3:
  3082. description: 附件3
  3083. type: string
  3084. attachment4:
  3085. description: 附件4
  3086. type: string
  3087. attachment5:
  3088. description: 附件5
  3089. type: string
  3090. auditedby:
  3091. description: 审核人
  3092. type: string
  3093. auditime:
  3094. description: 审核时间
  3095. type: string
  3096. auditsrc:
  3097. description: 审核来源 - 1:管理端 2:终端
  3098. type: integer
  3099. bankaccount:
  3100. description: 银行帐号 (加密存储)
  3101. type: string
  3102. bankaccountname:
  3103. description: 收款人名称
  3104. type: string
  3105. bankcardbackphotourl:
  3106. description: 银行卡背面照地址
  3107. type: string
  3108. bankcardfrontphotourl:
  3109. description: 银行卡正面照地址
  3110. type: string
  3111. bankid:
  3112. description: 银行编码
  3113. type: string
  3114. bankname:
  3115. description: 银行名称
  3116. type: string
  3117. bankpictureurl:
  3118. description: 银行卡正面地址
  3119. type: string
  3120. biznature:
  3121. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3122. type: integer
  3123. bizscope:
  3124. description: 企业经营范围(企业)
  3125. type: string
  3126. biztype:
  3127. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3128. type: integer
  3129. brokerid:
  3130. description: 经纪人ID(加密存储)
  3131. type: string
  3132. cardaddress:
  3133. description: 证件地址 (加密存储)
  3134. type: string
  3135. cardbackphotourl:
  3136. description: 背面证件照地址
  3137. type: string
  3138. cardfrontphotourl:
  3139. description: 正面证件照地址
  3140. type: string
  3141. cardnum:
  3142. description: 证件号码 (加密存储)
  3143. type: string
  3144. cardtype:
  3145. description: 证件类型
  3146. type: integer
  3147. cityid:
  3148. description: 市
  3149. type: integer
  3150. company:
  3151. description: 公司(个人)
  3152. type: string
  3153. contactcardbackphotourl:
  3154. description: 联系人证件背面图片地址
  3155. type: string
  3156. contactcardfrontphotourl:
  3157. description: 联系人证件正面图片地址
  3158. type: string
  3159. contactname:
  3160. description: 联系人
  3161. type: string
  3162. countryid:
  3163. description: 国家
  3164. type: integer
  3165. createtime:
  3166. description: 开户申请时间
  3167. type: string
  3168. cusbankid:
  3169. description: 签约类型
  3170. type: string
  3171. cusbankname:
  3172. description: 签约类型名称
  3173. type: string
  3174. customername:
  3175. description: 客户名称(企业名称)
  3176. type: string
  3177. districtid:
  3178. description: 地区
  3179. type: integer
  3180. email:
  3181. description: Email地址(加密存储)
  3182. type: string
  3183. halfbodyphotourl:
  3184. description: 半身照地址
  3185. type: string
  3186. headurl:
  3187. description: 头像地址
  3188. type: string
  3189. ipaddress:
  3190. description: IP地址
  3191. type: string
  3192. isvalidate:
  3193. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3194. type: string
  3195. legalcardbackphotourl:
  3196. description: 法人身份证背面照地址
  3197. type: string
  3198. legalcardfrontphotourl:
  3199. description: 法人身份证正面照地址
  3200. type: string
  3201. legalpersonname:
  3202. description: 法人姓名(企业)
  3203. type: string
  3204. logincode:
  3205. description: 登录帐号 (加密存储)
  3206. type: string
  3207. memberareaid:
  3208. description: 所属会员ID
  3209. type: integer
  3210. mobile2:
  3211. description: 手机号码[明文-尚志]
  3212. type: string
  3213. mobilephone:
  3214. description: 手机号码 (加密存储)
  3215. type: string
  3216. modifiedby:
  3217. description: 修改人帐号
  3218. type: integer
  3219. modifiedtime:
  3220. description: 修改时间
  3221. type: string
  3222. nickname:
  3223. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3224. type: string
  3225. openmode:
  3226. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3227. type: integer
  3228. otherurl:
  3229. description: 其它图片地址[使用分号分隔]
  3230. type: string
  3231. postalcode:
  3232. description: 邮政编码
  3233. type: string
  3234. provinceid:
  3235. description: 省
  3236. type: integer
  3237. proxystatementurl:
  3238. description: 授权委托书
  3239. type: string
  3240. qq:
  3241. description: QQ(加密存储
  3242. type: string
  3243. referral:
  3244. description: 推荐人编码
  3245. type: string
  3246. remark:
  3247. description: 备注
  3248. type: string
  3249. removebeforestatus:
  3250. description: REMOVEBEFORESTATUS
  3251. type: integer
  3252. sex:
  3253. description: 性别 - 0:女 1:男
  3254. type: integer
  3255. signedstatus:
  3256. description: 账户一号签签约状态
  3257. type: integer
  3258. signpdfurl:
  3259. description: 签约pdf文件
  3260. type: string
  3261. subbranch:
  3262. description: 开户支行
  3263. type: string
  3264. taxpayernum:
  3265. description: 纳税人识别号
  3266. type: string
  3267. telphone:
  3268. description: 联系电话(加密存储)
  3269. type: string
  3270. userid:
  3271. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3272. type: integer
  3273. userinfotype:
  3274. description: 用户信息类型 - 1:个人 2:企业
  3275. type: integer
  3276. username:
  3277. description: 用户姓名
  3278. type: string
  3279. userstate:
  3280. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3281. type: integer
  3282. usertype:
  3283. description: 用户类型 - 1:投资者 2:机构
  3284. type: integer
  3285. videourl:
  3286. description: 视频地址
  3287. type: string
  3288. wechat:
  3289. description: 微信号 (加密存储)
  3290. type: string
  3291. required:
  3292. - userid
  3293. type: object
  3294. erms3.QryAuditContractRsp:
  3295. properties:
  3296. accountid:
  3297. description: 交易员ID
  3298. type: string
  3299. applystatus:
  3300. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3301. type: integer
  3302. curdeliveryqty:
  3303. description: 未交收量
  3304. type: integer
  3305. customername:
  3306. description: 采购方ID
  3307. type: string
  3308. deliverygoodsid:
  3309. description: 品种ID
  3310. type: string
  3311. deliveryqty:
  3312. description: 交收量
  3313. type: integer
  3314. enumdicname:
  3315. description: 单位名称
  3316. type: string
  3317. matchaccountid:
  3318. description: 业务员ID
  3319. type: string
  3320. matchcustomername:
  3321. description: 销售方ID
  3322. type: string
  3323. pricedqty:
  3324. description: 定价量
  3325. type: number
  3326. signdate:
  3327. description: 签订日期
  3328. type: string
  3329. spotcontractid:
  3330. description: 合同ID
  3331. type: string
  3332. totaldqty:
  3333. description: 合同量
  3334. type: number
  3335. unpricedqty:
  3336. description: 未定价量
  3337. type: number
  3338. wrstandardname:
  3339. description: 商品名称
  3340. type: string
  3341. required:
  3342. - matchcustomername
  3343. - spotcontractid
  3344. type: object
  3345. erms3.QryPendingBizRsp:
  3346. properties:
  3347. accountid:
  3348. description: 现货账户
  3349. type: string
  3350. areaname:
  3351. description: 所属部门
  3352. type: string
  3353. bizid:
  3354. description: 业务ID
  3355. type: string
  3356. bizname:
  3357. description: 业务名称
  3358. type: string
  3359. status:
  3360. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3361. type: integer
  3362. type:
  3363. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3364. type: integer
  3365. type: object
  3366. erms3.QueryBusinessInfoRsp:
  3367. properties:
  3368. businessid:
  3369. description: 业务ID.
  3370. type: integer
  3371. buyamount:
  3372. description: 采购额.
  3373. type: number
  3374. buyqty:
  3375. description: 采购量.
  3376. type: string
  3377. futurepl:
  3378. description: 期货盈亏.
  3379. type: number
  3380. futureqty:
  3381. description: 期货敞口.
  3382. type: string
  3383. goodsid:
  3384. description: 商品名称/商品代码.
  3385. type: string
  3386. hedgingqty:
  3387. description: 套保量.
  3388. type: string
  3389. sellamount:
  3390. description: 销售额.
  3391. type: number
  3392. sellqty:
  3393. description: 销售量.
  3394. type: string
  3395. spotmarketvalue:
  3396. description: 现货市值.
  3397. type: number
  3398. spotpl:
  3399. description: 浮动权益.
  3400. type: number
  3401. spotqty:
  3402. description: 现货量.
  3403. type: string
  3404. statu:
  3405. description: 状态,0-未结束 1-已结束.
  3406. type: integer
  3407. totalpl:
  3408. description: 总盈亏.
  3409. type: number
  3410. totalqty:
  3411. description: 总敞口.
  3412. type: string
  3413. type:
  3414. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3415. type: integer
  3416. type: object
  3417. erms3.QuerySpotContractAppleFormRsp:
  3418. properties:
  3419. goodses:
  3420. description: 合约列表
  3421. items:
  3422. $ref: '#/definitions/models.GoodsIDAndName'
  3423. type: array
  3424. oppositeusers:
  3425. description: 对方账号列表
  3426. items:
  3427. $ref: '#/definitions/erms3.CustomerInfo'
  3428. type: array
  3429. ouruser:
  3430. $ref: '#/definitions/erms3.CustomerInfo'
  3431. description: 我方账号
  3432. warehouseinfos:
  3433. description: 仓库信息列表
  3434. items:
  3435. $ref: '#/definitions/models.Warehouseinfo'
  3436. type: array
  3437. wrstandards:
  3438. description: 仓单标准列表
  3439. items:
  3440. $ref: '#/definitions/models.WRStandardInfo'
  3441. type: array
  3442. type: object
  3443. erms3.QuerySpotContractInfoRsp:
  3444. properties:
  3445. accountid:
  3446. description: 表示交易员ID.
  3447. type: integer
  3448. curdeliveryqty:
  3449. description: 表示未交收量.
  3450. type: number
  3451. customername:
  3452. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3453. type: string
  3454. deliverygoodsid:
  3455. description: 表示品种ID.
  3456. type: string
  3457. deliveryqty:
  3458. description: 表示交收量.
  3459. type: number
  3460. matchaccountid:
  3461. description: 表示业务员ID.
  3462. type: integer
  3463. matchcustomername:
  3464. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3465. type: string
  3466. priceqty:
  3467. description: 表示定价量.
  3468. type: number
  3469. relatedbizid:
  3470. description: 表示业务ID.
  3471. type: string
  3472. signdate:
  3473. description: 表示签订日期.
  3474. type: string
  3475. spotcontractid:
  3476. description: 合同ID
  3477. type: string
  3478. status:
  3479. description: 表示状态,0-履约中 1-已完成.
  3480. type: integer
  3481. totalqty:
  3482. description: 表示合同量.
  3483. type: number
  3484. unpricedqty:
  3485. description: 表示未定价量.
  3486. type: number
  3487. wrstandardname:
  3488. description: 表示商品ID.
  3489. type: string
  3490. type: object
  3491. erms3.QueryUserInfoAppliesRsp:
  3492. properties:
  3493. biznature:
  3494. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3495. type: integer
  3496. contactname:
  3497. description: 联系人
  3498. type: string
  3499. createtime:
  3500. description: 开户申请时间
  3501. type: string
  3502. userid:
  3503. description: 用户ID(自增ID)
  3504. type: integer
  3505. userinfotype:
  3506. description: 用户信息类型 - 1:个人 2:企业
  3507. type: integer
  3508. username:
  3509. description: 用户姓名
  3510. type: string
  3511. userstate:
  3512. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3513. type: integer
  3514. required:
  3515. - userid
  3516. type: object
  3517. erms3.QueryUserInfosRsp:
  3518. properties:
  3519. biznature:
  3520. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3521. type: integer
  3522. contactname:
  3523. description: 联系人
  3524. type: string
  3525. customername:
  3526. description: 客户名称(企业名称)
  3527. type: string
  3528. userid:
  3529. description: 用户ID
  3530. type: integer
  3531. userinfotype:
  3532. description: 用户信息类型 - 1:个人 2:企业
  3533. type: integer
  3534. userstatus:
  3535. description: 用户状态 - 1:正常 2:注销
  3536. type: integer
  3537. required:
  3538. - userid
  3539. type: object
  3540. erms3.SoptContractDetail:
  3541. properties:
  3542. deliverygoodsdesc:
  3543. description: 现货品种说明
  3544. type: string
  3545. deliverygoodsid:
  3546. description: 现货品种ID
  3547. type: integer
  3548. deliverygoodsname:
  3549. description: 现货品种名称
  3550. type: string
  3551. pointdesc:
  3552. description: 点价描述
  3553. type: string
  3554. producttype:
  3555. description: 产品类型 1:标准仓单 2:等标 3:非标
  3556. type: integer
  3557. producttypename:
  3558. description: 产品类型名称
  3559. type: string
  3560. spotPointOrderVoList:
  3561. description: 点价列表
  3562. items:
  3563. $ref: '#/definitions/erms3.SpotPointOrder'
  3564. type: array
  3565. spotPriceOrderList:
  3566. description: 定价列表
  3567. items:
  3568. $ref: '#/definitions/erms3.SpotPriceOrder'
  3569. type: array
  3570. unitname:
  3571. description: 单位名称
  3572. type: string
  3573. warehouseid:
  3574. description: 仓库ID
  3575. type: integer
  3576. warehousename:
  3577. description: 仓库名称
  3578. type: string
  3579. wrstandardid:
  3580. description: 交易标的ID
  3581. type: integer
  3582. wrstandardname:
  3583. description: 交易标的名称
  3584. type: string
  3585. required:
  3586. - deliverygoodsid
  3587. - producttype
  3588. - unitname
  3589. - warehouseid
  3590. - wrstandardid
  3591. - wrstandardname
  3592. type: object
  3593. erms3.SpotPointOrder:
  3594. properties:
  3595. basic:
  3596. description: 基差
  3597. type: number
  3598. deliveryenddate:
  3599. description: 交收结束日期
  3600. type: string
  3601. deliverystartdate:
  3602. description: 交收开始日期
  3603. type: string
  3604. enddate:
  3605. description: 点价结束日期
  3606. type: string
  3607. goodsid:
  3608. description: 商品ID
  3609. type: integer
  3610. goodsname:
  3611. description: 商品名称
  3612. type: string
  3613. qty:
  3614. description: 数量
  3615. type: number
  3616. startdate:
  3617. description: 点价开始日期
  3618. type: string
  3619. required:
  3620. - basic
  3621. - goodsid
  3622. - qty
  3623. type: object
  3624. erms3.SpotPriceOrder:
  3625. properties:
  3626. amount:
  3627. description: 金额
  3628. type: number
  3629. deliveryenddate:
  3630. description: 交收结束日期
  3631. type: string
  3632. deliverystartdate:
  3633. description: 交收开始日期
  3634. type: string
  3635. price:
  3636. description: 价格
  3637. type: number
  3638. qty:
  3639. description: 数量
  3640. type: number
  3641. required:
  3642. - amount
  3643. - price
  3644. - qty
  3645. type: object
  3646. hsby.GetHsbyMyCountRsp:
  3647. properties:
  3648. myCouponCount:
  3649. description: 我的优惠卷数量
  3650. type: integer
  3651. myOrderDetailListingCount:
  3652. description: 我的订单求购中数量
  3653. type: integer
  3654. myOrderDetailPreCount:
  3655. description: 我的订单抢购中数量
  3656. type: integer
  3657. myPackageUnReceiveCount:
  3658. description: 我的包裹待收货数量
  3659. type: integer
  3660. myPackageUnSendCount:
  3661. description: 我的包裹待发货数量
  3662. type: integer
  3663. myPayOrderCount:
  3664. description: 我的订单待付款数量
  3665. type: integer
  3666. type: object
  3667. hsby.QueryProvincesAndCitiesRsp:
  3668. properties:
  3669. cities:
  3670. description: 市
  3671. items:
  3672. $ref: '#/definitions/models.Division'
  3673. type: array
  3674. province:
  3675. $ref: '#/definitions/models.Division'
  3676. description: 省
  3677. type: object
  3678. models.Arearole:
  3679. properties:
  3680. createtime:
  3681. description: 创建时间
  3682. type: string
  3683. creatorid:
  3684. description: 创建人ID
  3685. type: integer
  3686. fromuserid:
  3687. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3688. type: integer
  3689. isreturnscore:
  3690. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3691. type: integer
  3692. modifierid:
  3693. description: 修改人ID
  3694. type: integer
  3695. modifytime:
  3696. description: 修改时间
  3697. type: string
  3698. orgtype:
  3699. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3700. type: integer
  3701. outuserid:
  3702. description: 外部账户[场外期权做市商]
  3703. type: string
  3704. parentuserid:
  3705. description: 上级组织机构(组织机构)
  3706. type: integer
  3707. roletype:
  3708. 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:门店
  3709. type: integer
  3710. rootuserid:
  3711. description: 顶级组织机构用户ID(组织机构)
  3712. type: integer
  3713. shoppassword:
  3714. description: 商城店铺登陆密码(商城店铺角色使用)
  3715. type: string
  3716. sublevelpath:
  3717. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3718. type: string
  3719. suborgtype:
  3720. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3721. type: integer
  3722. tradeaccountid:
  3723. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3724. type: integer
  3725. transurl:
  3726. description: 物流地址(物流机构)
  3727. type: string
  3728. userid:
  3729. description: 机构用户ID其他做市关系,都设置为 1
  3730. type: integer
  3731. required:
  3732. - roletype
  3733. - userid
  3734. type: object
  3735. models.Clientfixedadconfig:
  3736. properties:
  3737. adsort:
  3738. description: 排序
  3739. type: integer
  3740. adtype:
  3741. description: 广告位类型 - 1:新品抢购(HSBY)
  3742. type: integer
  3743. areauserid:
  3744. description: 所属机构ID
  3745. type: integer
  3746. createdate:
  3747. description: 创建时间
  3748. type: string
  3749. creatorid:
  3750. description: 创建人
  3751. type: integer
  3752. imagepath:
  3753. description: 图片
  3754. type: string
  3755. isshow:
  3756. description: 是否展示 - 0:不展示 1:展示
  3757. type: integer
  3758. modifierid:
  3759. description: 操作人
  3760. type: integer
  3761. recsize:
  3762. description: 推荐尺寸
  3763. type: string
  3764. title:
  3765. description: 标题
  3766. type: string
  3767. updatedate:
  3768. description: 更新时间
  3769. type: string
  3770. urlcontent:
  3771. description: 链接(地址或商品ID)
  3772. type: string
  3773. urltype:
  3774. description: 链接类型 - 1:直接地址 2:商品ID
  3775. type: integer
  3776. required:
  3777. - adsort
  3778. - adtype
  3779. type: object
  3780. models.Division:
  3781. properties:
  3782. autoid:
  3783. description: 自增ID
  3784. type: integer
  3785. divisioncode:
  3786. description: 行政代码
  3787. type: string
  3788. divisionlevel:
  3789. description: 行政级别
  3790. type: string
  3791. divisionname:
  3792. description: 行政名称
  3793. type: string
  3794. modifierid:
  3795. description: 修改人
  3796. type: integer
  3797. modifytime:
  3798. description: 修改时间
  3799. type: string
  3800. parentcode:
  3801. description: 上级行政代码
  3802. type: string
  3803. pathname:
  3804. description: 路径名称
  3805. type: string
  3806. postcode:
  3807. description: 邮政编码
  3808. type: string
  3809. separablename:
  3810. description: 可拆分的全称
  3811. type: string
  3812. shortcode:
  3813. description: 地区简码
  3814. type: string
  3815. required:
  3816. - autoid
  3817. - divisioncode
  3818. type: object
  3819. models.Enumdicitem:
  3820. properties:
  3821. autoid:
  3822. description: 自增ID
  3823. type: integer
  3824. bankmappedvalue:
  3825. description: 银行服务对应值
  3826. type: string
  3827. enumdiccode:
  3828. description: 所属枚举代码
  3829. type: string
  3830. enumdicid:
  3831. description: 所属枚举ID
  3832. type: integer
  3833. enumdicname:
  3834. description: 枚举项名称
  3835. type: string
  3836. enumitemname:
  3837. description: 枚举项值
  3838. type: integer
  3839. enumitemstatus:
  3840. description: 枚举项状态 - 1.启用 2.不启用
  3841. type: integer
  3842. enumitemvalue:
  3843. description: 通用值 - [币种通用简写]
  3844. type: string
  3845. param1:
  3846. description: 参数1[币种:币种小数位]
  3847. type: string
  3848. param2:
  3849. description: 参数1[币种:币种显示单位]
  3850. type: string
  3851. remark:
  3852. description: 备注
  3853. type: string
  3854. required:
  3855. - autoid
  3856. - enumdiccode
  3857. - enumdicid
  3858. - enumitemname
  3859. type: object
  3860. models.Ermcp3AreaSpot:
  3861. properties:
  3862. areauserid:
  3863. description: 所属机构
  3864. type: integer
  3865. convertratio:
  3866. description: 套保系数
  3867. type: number
  3868. decreaseqty:
  3869. description: 减少数量=-(销售已定价数量+采购计划数量)
  3870. type: number
  3871. enumdicname:
  3872. description: 单位名称
  3873. type: string
  3874. increaseqty:
  3875. description: 增加数量=销售计划数量+采购已定价数量
  3876. type: number
  3877. oritoalspotqty:
  3878. description: 昨日数量
  3879. type: number
  3880. totalspotqty:
  3881. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3882. type: number
  3883. unitid:
  3884. description: 现货商品单位id
  3885. type: integer
  3886. updatetime:
  3887. description: 更新时间
  3888. type: string
  3889. wrstandardcode:
  3890. description: 现货商品代码
  3891. type: string
  3892. wrstandardid:
  3893. description: 现货商品ID(SEQ_WRSTANDARD)
  3894. type: integer
  3895. wrstandardname:
  3896. description: 现货商品名称
  3897. type: string
  3898. type: object
  3899. models.Ermcp3AreaSpotDetail:
  3900. properties:
  3901. contracttype:
  3902. description: 合同类型 1-采购 -1-销售
  3903. type: integer
  3904. createtime:
  3905. description: 创建时间
  3906. type: string
  3907. enumdicname:
  3908. description: 现货商品单位名称
  3909. type: string
  3910. logtype:
  3911. description: 记录类型 1-套保 2-现货合同
  3912. type: integer
  3913. qty:
  3914. description: 数量
  3915. type: number
  3916. recordname:
  3917. description: 类型名称
  3918. type: string
  3919. relatedid:
  3920. description: 套保计划ID/现货合同ID
  3921. type: string
  3922. relatedno:
  3923. description: 编号
  3924. type: string
  3925. strtime:
  3926. description: 时间
  3927. type: string
  3928. wrstandardcode:
  3929. description: 现货商品代码
  3930. type: string
  3931. wrstandardid:
  3932. description: 现货商品ID(SEQ_WRSTANDARD)
  3933. type: integer
  3934. wrstandardname:
  3935. description: 现货商品名称
  3936. type: string
  3937. type: object
  3938. models.Ermcp3AreaSpotPLReport:
  3939. properties:
  3940. accountid:
  3941. description: 期货账户ID (作废, 默认为0)
  3942. type: integer
  3943. accountname:
  3944. description: 机构名称
  3945. type: string
  3946. actualpl:
  3947. description: 现货损益
  3948. type: number
  3949. areauserid:
  3950. description: 所属机构\交易用户ID
  3951. type: integer
  3952. begindate:
  3953. description: 开始交易日
  3954. type: string
  3955. biztype:
  3956. description: 业务类型 - 1:套保 2:套利
  3957. type: integer
  3958. brandname:
  3959. description: 品牌名称
  3960. type: string
  3961. curamount:
  3962. description: 期末额
  3963. type: number
  3964. curaverageprice:
  3965. description: 期末均价
  3966. type: number
  3967. curbuyamount:
  3968. description: 期末采购总额
  3969. type: number
  3970. curbuyqty:
  3971. description: 期末采购总量
  3972. type: number
  3973. curmarketvalue:
  3974. description: 参考市值(期末市值)
  3975. type: number
  3976. curqty:
  3977. description: 期末量
  3978. type: number
  3979. currencyid:
  3980. description: 结算币种ID【原值】
  3981. type: integer
  3982. currencyname:
  3983. description: 币种名称
  3984. type: string
  3985. cursellamount:
  3986. description: 期末销售总额
  3987. type: number
  3988. cursellqty:
  3989. description: 期末销售总量
  3990. type: number
  3991. curspotprice:
  3992. description: 参考市价(最新价)
  3993. type: number
  3994. cycletime:
  3995. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3996. type: string
  3997. cycletype:
  3998. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3999. type: integer
  4000. deliverygoodscode:
  4001. description: 现货商品代码
  4002. type: string
  4003. deliverygoodsid:
  4004. description: 现货品种ID
  4005. type: integer
  4006. deliverygoodsname:
  4007. description: 现货商品名称
  4008. type: string
  4009. enddate:
  4010. description: 结束交易日
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. floatpl:
  4016. description: 浮动损益
  4017. type: number
  4018. goodsunitid:
  4019. description: 现货商品单位id
  4020. type: integer
  4021. oriamount:
  4022. description: 期初额
  4023. type: number
  4024. oriaverageprice:
  4025. description: 期初均价
  4026. type: number
  4027. oribuyamount:
  4028. description: 期初采购总额
  4029. type: number
  4030. oribuyqty:
  4031. description: 期初采购总量
  4032. type: number
  4033. oriqty:
  4034. description: 期初量
  4035. type: number
  4036. orisellamount:
  4037. description: 期初销售总额
  4038. type: number
  4039. orisellqty:
  4040. description: 期初销售总量
  4041. type: number
  4042. reckondate:
  4043. description: 日照时期(yyyyMMdd)
  4044. type: string
  4045. spotgoodsbrandid:
  4046. description: 现货品牌ID
  4047. type: integer
  4048. todaybuyamount:
  4049. description: 今日采购额(今采购额)
  4050. type: number
  4051. todaybuyaverageprice:
  4052. description: 今日采购均价
  4053. type: number
  4054. todaybuyqty:
  4055. description: 今日采购量(今采购量)
  4056. type: number
  4057. todayinqty:
  4058. description: 今日入库量(今入库量)
  4059. type: number
  4060. todayoutqty:
  4061. description: 今日出库量(今出库量)
  4062. type: number
  4063. todaysellamount:
  4064. description: 今日销售额(今销售额)
  4065. type: number
  4066. todaysellaverageprice:
  4067. description: 今日销售均价
  4068. type: number
  4069. todaysellqty:
  4070. description: 今日销售量(今销售量)
  4071. type: number
  4072. unitid:
  4073. description: 品类单位id
  4074. type: integer
  4075. unitidname:
  4076. description: 品类单位名称
  4077. type: string
  4078. updatetime:
  4079. description: 更新时间
  4080. type: string
  4081. wrfactortypeid:
  4082. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4083. type: integer
  4084. wrstandardcode:
  4085. description: 品类代码
  4086. type: string
  4087. wrstandardid:
  4088. description: 现货品类ID
  4089. type: integer
  4090. wrstandardname:
  4091. description: 品类名称
  4092. type: string
  4093. type: object
  4094. models.Ermcp3AreaStock:
  4095. properties:
  4096. brandname:
  4097. description: 品牌名称
  4098. type: string
  4099. curstock:
  4100. description: 期末库存量(今日量)
  4101. type: number
  4102. deliverygoodscode:
  4103. description: 现货品种代码
  4104. type: string
  4105. deliverygoodsid:
  4106. description: 现货品种id
  4107. type: integer
  4108. deliverygoodsname:
  4109. description: 现货品种名称
  4110. type: string
  4111. enumdicname:
  4112. description: 单位名称
  4113. type: string
  4114. goodsunitid:
  4115. description: 现货商品单位id
  4116. type: integer
  4117. oristock:
  4118. description: 期初库存量(昨日量)
  4119. type: number
  4120. spotgoodsbrandid:
  4121. description: 现货品牌ID
  4122. type: integer
  4123. todaybuyinqty:
  4124. description: 今日采购入库量
  4125. type: number
  4126. todayproduceinqty:
  4127. description: 今日生产入库量
  4128. type: number
  4129. todayproduceoutqty:
  4130. description: 今日生产出库量
  4131. type: number
  4132. todayselloutqty:
  4133. description: 今日销售出库量
  4134. type: number
  4135. unitid:
  4136. description: 单位id
  4137. type: integer
  4138. updatetime:
  4139. description: 更新时间
  4140. type: string
  4141. userid:
  4142. description: 机构ID
  4143. type: integer
  4144. username:
  4145. description: 机构名称
  4146. type: string
  4147. warehousecode:
  4148. description: 仓库代码
  4149. type: string
  4150. warehouseinfoid:
  4151. description: 仓库ID
  4152. type: string
  4153. warehousename:
  4154. description: 仓库名称
  4155. type: string
  4156. warehousetype:
  4157. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4158. type: integer
  4159. wrstandardcode:
  4160. description: 品类代码
  4161. type: string
  4162. wrstandardid:
  4163. description: 品类ID
  4164. type: string
  4165. wrstandardname:
  4166. description: 品类名称
  4167. type: string
  4168. required:
  4169. - userid
  4170. type: object
  4171. models.Ermcp3AreaStockApply:
  4172. properties:
  4173. applyid:
  4174. description: 申请人
  4175. type: integer
  4176. applyname:
  4177. description: 申请人名称
  4178. type: string
  4179. applyremark:
  4180. description: 申请备注
  4181. type: string
  4182. applysrc:
  4183. description: 申请来源 - 1:管理端 2:终端
  4184. type: integer
  4185. applystatus:
  4186. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4187. type: integer
  4188. applytime:
  4189. description: 申请时间
  4190. type: string
  4191. auditid:
  4192. description: 审核人
  4193. type: integer
  4194. auditname:
  4195. description: 审核人名称
  4196. type: string
  4197. auditremark:
  4198. description: 审核备注
  4199. type: string
  4200. auditsrc:
  4201. description: 审核来源 - 1:管理端 2:终端
  4202. type: integer
  4203. audittime:
  4204. description: 审核时间
  4205. type: string
  4206. audittradedate:
  4207. description: 审核交易日(yyyyMMdd)
  4208. type: string
  4209. brandname:
  4210. description: 品牌名称
  4211. type: string
  4212. buynickname:
  4213. description: 采购方昵称
  4214. type: string
  4215. buyuserid:
  4216. description: 采购方userid
  4217. type: integer
  4218. buyusername:
  4219. description: 采购方名称
  4220. type: string
  4221. contractno:
  4222. description: 合同编号
  4223. type: string
  4224. contractqty:
  4225. description: 合同量
  4226. type: number
  4227. contracttype:
  4228. description: 现货合同类型 - 1:采购 -1:销售
  4229. type: integer
  4230. deliverygoodscode:
  4231. description: 现货品种代码
  4232. type: string
  4233. deliverygoodsid:
  4234. description: 现货品种id
  4235. type: integer
  4236. deliverygoodsname:
  4237. description: 现货品种名称
  4238. type: string
  4239. detailjson:
  4240. description: 明细数据
  4241. type: string
  4242. enumdicname:
  4243. description: 现货商品单位名称
  4244. type: string
  4245. inoutapplyid:
  4246. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4247. type: string
  4248. inouttype:
  4249. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4250. type: integer
  4251. pricetype:
  4252. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4253. type: integer
  4254. qty:
  4255. description: 数量
  4256. type: number
  4257. sellnickname:
  4258. description: 销售方昵称
  4259. type: string
  4260. selluserid:
  4261. description: 销售方userid
  4262. type: integer
  4263. sellusername:
  4264. description: 销售方名称
  4265. type: string
  4266. spotcontractid:
  4267. description: 关联现货合同ID
  4268. type: string
  4269. spotgoodsbrandid:
  4270. description: 现货品牌ID
  4271. type: integer
  4272. unitid:
  4273. description: 单位id
  4274. type: integer
  4275. userid:
  4276. description: 机构ID
  4277. type: integer
  4278. warehousecode:
  4279. description: 仓库代码
  4280. type: string
  4281. warehouseinfoid:
  4282. description: 现货仓库ID
  4283. type: string
  4284. warehousename:
  4285. description: 仓库名称
  4286. type: string
  4287. warehousetype:
  4288. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4289. type: integer
  4290. wrstandardcode:
  4291. description: 品类代码
  4292. type: string
  4293. wrstandardid:
  4294. description: 品类ID
  4295. type: integer
  4296. wrstandardname:
  4297. description: 品类名称
  4298. type: string
  4299. type: object
  4300. models.Ermcp3AreaStockApplySum:
  4301. properties:
  4302. brandname:
  4303. description: 品牌名称
  4304. type: string
  4305. inouttype:
  4306. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4307. type: integer
  4308. spotcontractid:
  4309. description: 关联现货合同ID
  4310. type: string
  4311. spotgoodsbrandid:
  4312. description: 品牌id
  4313. type: integer
  4314. totalqty:
  4315. description: 总数量
  4316. type: number
  4317. wrstandardid:
  4318. description: 品类id
  4319. type: integer
  4320. wrstandardname:
  4321. description: 品类名称
  4322. type: string
  4323. type: object
  4324. models.Ermcp3AreaStockReportEx:
  4325. properties:
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. curstock:
  4333. description: 期末库存量
  4334. type: number
  4335. cycletime:
  4336. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4337. type: string
  4338. cycletype:
  4339. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4340. type: integer
  4341. deliverygoodscode:
  4342. description: 现货品种代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货品种id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货品种名称
  4349. type: string
  4350. diffqty:
  4351. description: 库存变化量 = 期末 - 期初
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. goodsunitid:
  4360. description: 现货单位id
  4361. type: integer
  4362. oristock:
  4363. description: 期初库存量
  4364. type: number
  4365. reckondate:
  4366. description: 日照时期(yyyyMMdd)
  4367. type: string
  4368. spotgoodsbrandid:
  4369. description: 现货品牌ID
  4370. type: integer
  4371. todaybuyinqty:
  4372. description: 今采购入库量
  4373. type: number
  4374. todayproduceinqty:
  4375. description: 今内部入库量
  4376. type: number
  4377. todayproduceoutqty:
  4378. description: 今内部出库量
  4379. type: number
  4380. todayselloutqty:
  4381. description: 今销售出库量
  4382. type: number
  4383. unbuyinqty:
  4384. description: 采购未入库量(数据库未找到相关字段?)
  4385. type: number
  4386. unitid:
  4387. description: 品类单位id
  4388. type: integer
  4389. unselloutqty:
  4390. description: 销售未出库量(数据库未找到相关字段?)
  4391. type: number
  4392. updatetime:
  4393. description: 更新时间
  4394. type: string
  4395. userid:
  4396. description: 机构ID
  4397. type: integer
  4398. username:
  4399. description: 机构名称
  4400. type: string
  4401. warehousecode:
  4402. description: 仓库代码
  4403. type: string
  4404. warehouseinfoid:
  4405. description: 仓库ID
  4406. type: string
  4407. warehousename:
  4408. description: 仓库名称
  4409. type: string
  4410. warehousetype:
  4411. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4412. type: integer
  4413. wrstandardcode:
  4414. description: 品类代码
  4415. type: string
  4416. wrstandardid:
  4417. description: 品类ID
  4418. type: integer
  4419. wrstandardname:
  4420. description: 品类名称
  4421. type: string
  4422. type: object
  4423. models.Ermcp3ArealSumPL:
  4424. properties:
  4425. accountname:
  4426. description: 机构名称
  4427. type: string
  4428. areauserid:
  4429. description: 所属机构\交易用户ID
  4430. type: integer
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. currencyid:
  4435. description: 结算币种ID
  4436. type: integer
  4437. currencyname:
  4438. description: 币种名称
  4439. type: string
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. enddate:
  4447. description: 结束交易日
  4448. type: string
  4449. enumdicname:
  4450. description: 单位名称(套保品种)
  4451. type: string
  4452. futureactualpl:
  4453. description: 期货损益
  4454. type: number
  4455. futurefloatpl:
  4456. description: 期货浮动损益
  4457. type: number
  4458. goodsunitid:
  4459. description: 套保品种单位id
  4460. type: integer
  4461. middlegoodscode:
  4462. description: 套保品种代码
  4463. type: string
  4464. middlegoodsid:
  4465. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4466. type: integer
  4467. middlegoodsname:
  4468. description: 套保品种名称
  4469. type: string
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotactualpl:
  4474. description: 现货损益
  4475. type: number
  4476. spotfloatpl:
  4477. description: 现货浮动损益
  4478. type: number
  4479. sumactualpl:
  4480. description: 实际损益 = (ActualPL + FutureActualPL)
  4481. type: number
  4482. sumpl:
  4483. description: 汇总损益
  4484. type: number
  4485. updatetime:
  4486. description: 更新时间
  4487. type: string
  4488. type: object
  4489. models.Ermcp3Brand:
  4490. properties:
  4491. areauserid:
  4492. description: 用户id
  4493. type: integer
  4494. brandid:
  4495. description: 品牌id
  4496. type: integer
  4497. brandname:
  4498. description: 品牌名称
  4499. type: string
  4500. deliverygoodsid:
  4501. description: 品种ID
  4502. type: integer
  4503. type: object
  4504. models.Ermcp3Contract:
  4505. properties:
  4506. accountid:
  4507. description: 期货账户id
  4508. type: string
  4509. amount:
  4510. description: 金额 [1:一口价、3:暂定价]
  4511. type: number
  4512. attachment:
  4513. description: 附件
  4514. type: string
  4515. auditremark:
  4516. description: 审核意见
  4517. type: string
  4518. audittime:
  4519. description: 审核时间
  4520. type: string
  4521. biztype:
  4522. description: 业务类型 1-套保 2-套利
  4523. type: integer
  4524. brandname:
  4525. description: 品牌名称
  4526. type: string
  4527. buynickname:
  4528. description: 销售方昵称
  4529. type: string
  4530. buyuserid:
  4531. description: 采购方ID
  4532. type: integer
  4533. buyusername:
  4534. description: 采购方名称
  4535. type: string
  4536. contracctstatus:
  4537. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4538. type: integer
  4539. contractmargin:
  4540. description: 合同保证金
  4541. type: number
  4542. contractno:
  4543. description: 现货合同编号
  4544. type: string
  4545. contracttype:
  4546. description: 现货合同类型 - 1:采购 -1:销售
  4547. type: integer
  4548. convertfactor:
  4549. description: 标仓系数(品类)
  4550. type: number
  4551. createtime:
  4552. description: 创建时间
  4553. type: string
  4554. currencyid:
  4555. description: 币种id
  4556. type: integer
  4557. currencyname:
  4558. description: 币种名称
  4559. type: string
  4560. deliveryenddate:
  4561. description: 交收期(结束)
  4562. type: string
  4563. deliverygoodscode:
  4564. description: 现货品种代码
  4565. type: string
  4566. deliverygoodsid:
  4567. description: 现货品种ID
  4568. type: integer
  4569. deliverygoodsname:
  4570. description: 现货品种名称
  4571. type: string
  4572. deliverystartdate:
  4573. description: 交收期(开始)
  4574. type: string
  4575. enddate:
  4576. description: 点价结束日期 [2:点价 3:暂定价]
  4577. type: string
  4578. enumdicname:
  4579. description: 单位名称
  4580. type: string
  4581. goodscode:
  4582. description: 点价合约代码
  4583. type: string
  4584. goodsid:
  4585. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4586. type: integer
  4587. goodsname:
  4588. description: 点价商品名称
  4589. type: string
  4590. margin:
  4591. description: 当前保证金
  4592. type: number
  4593. meruserid:
  4594. description: 跟单员id
  4595. type: integer
  4596. meruserlogincode:
  4597. description: 跟单员登录代码
  4598. type: string
  4599. merusername:
  4600. description: 跟单员名称
  4601. type: string
  4602. price:
  4603. description: 价格\暂定价 [1:一口价、3:暂定价]
  4604. type: number
  4605. pricemove:
  4606. description: 升贴水 [2:点价 3:暂定价]
  4607. type: number
  4608. pricetype:
  4609. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4610. type: integer
  4611. producttype:
  4612. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4613. type: integer
  4614. qty:
  4615. description: 数量
  4616. type: number
  4617. remark:
  4618. description: 备注
  4619. type: string
  4620. saleuserid:
  4621. description: 业务员id
  4622. type: integer
  4623. saleuserlogincode:
  4624. description: 业务员登录代码
  4625. type: string
  4626. saleusername:
  4627. description: 业务员名称
  4628. type: string
  4629. sellnickname:
  4630. description: 采购方昵称
  4631. type: string
  4632. selluserid:
  4633. description: 销售方ID
  4634. type: integer
  4635. sellusername:
  4636. description: 销售方名称
  4637. type: string
  4638. spotcontractid:
  4639. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4640. type: string
  4641. spotgoodsbrandid:
  4642. description: 现货品牌ID(DGFactoryItem表的ID)
  4643. type: integer
  4644. spotgoodsdesc:
  4645. description: 商品型号
  4646. type: string
  4647. startdate:
  4648. description: 点价开始日期 [2:点价 3:暂定价]
  4649. type: string
  4650. subjectid:
  4651. description: 交易主体ID
  4652. type: string
  4653. subjectname:
  4654. description: 交易主体名称
  4655. type: string
  4656. tradeuserid:
  4657. description: 交易员id
  4658. type: integer
  4659. tradeuserlogincode:
  4660. description: 交易员登录代码
  4661. type: string
  4662. tradeusername:
  4663. description: 交易员名称
  4664. type: string
  4665. unitid:
  4666. description: 单位id(取品类上的单位id)
  4667. type: integer
  4668. updatetime:
  4669. description: 更新时间
  4670. type: string
  4671. userid:
  4672. description: 所属机构ID
  4673. type: integer
  4674. vatrate:
  4675. description: 增值税率
  4676. type: number
  4677. wrstandardcode:
  4678. description: 品类代码
  4679. type: string
  4680. wrstandardid:
  4681. description: 品类ID
  4682. type: integer
  4683. wrstandardname:
  4684. description: 品类名称
  4685. type: string
  4686. type: object
  4687. models.Ermcp3ExposureContractDetail:
  4688. properties:
  4689. biztype:
  4690. description: 业务类型 1-套保 2-套利
  4691. type: integer
  4692. brandname:
  4693. description: 品牌名称
  4694. type: string
  4695. buyuserid:
  4696. description: 采购方id
  4697. type: integer
  4698. buyusername:
  4699. description: 采购方名称
  4700. type: string
  4701. contractno:
  4702. description: 合同编号
  4703. type: string
  4704. contracttype:
  4705. description: 现货合同类型 - 1:采购 -1:销售
  4706. type: integer
  4707. convertfactor:
  4708. description: 标仓系数
  4709. type: number
  4710. convertratio:
  4711. description: 折算系数(套保品种)
  4712. type: number
  4713. curqty:
  4714. description: 今定价量
  4715. type: number
  4716. deliverygoodscode:
  4717. description: 现货商品代码
  4718. type: string
  4719. deliverygoodsid:
  4720. description: 现货商品id
  4721. type: integer
  4722. deliverygoodsname:
  4723. description: 现货商品名称
  4724. type: string
  4725. diffhedgeqty:
  4726. description: 套保变动量
  4727. type: number
  4728. diffneedhedgeqty:
  4729. description: 应套保变动量
  4730. type: number
  4731. diffqty:
  4732. description: 套保品种今变动量
  4733. type: number
  4734. enumdicname:
  4735. description: 单位名称
  4736. type: string
  4737. mgunitname:
  4738. description: 套保品种单位名称
  4739. type: string
  4740. middlegoodscode:
  4741. description: 套保品种代码
  4742. type: string
  4743. middlegoodsid:
  4744. description: 套保品种id
  4745. type: integer
  4746. middlegoodsname:
  4747. description: 套保品种名称
  4748. type: string
  4749. needarbitrageratio:
  4750. description: 应套利比例
  4751. type: number
  4752. needhedgeratio:
  4753. description: 应套保比例
  4754. type: number
  4755. pricedqty:
  4756. description: 已定价量
  4757. type: number
  4758. qty:
  4759. description: 合同量
  4760. type: number
  4761. selluserid:
  4762. description: 销售方id
  4763. type: integer
  4764. sellusername:
  4765. description: 销售方名称
  4766. type: string
  4767. spotcontractid:
  4768. description: 合同id
  4769. type: string
  4770. todaypricedqty:
  4771. description: 今定价量
  4772. type: number
  4773. tradedate:
  4774. description: 交易日
  4775. type: string
  4776. unitid:
  4777. description: 品类单位id
  4778. type: integer
  4779. userid:
  4780. description: 机构id
  4781. type: integer
  4782. username:
  4783. description: 交易用户
  4784. type: string
  4785. wrstandardcode:
  4786. description: 品类代码
  4787. type: string
  4788. wrstandardid:
  4789. description: 品类id
  4790. type: integer
  4791. wrstandardname:
  4792. description: 品类名称
  4793. type: string
  4794. type: object
  4795. models.Ermcp3ExposureDetail:
  4796. properties:
  4797. areauserid:
  4798. description: 机构ID
  4799. type: integer
  4800. changeQty:
  4801. description: 套保变动量
  4802. type: number
  4803. contracttype:
  4804. description: 现货合同类型 - 1:采购 -1:销售
  4805. type: integer
  4806. convertfactor:
  4807. description: 标仓系数
  4808. type: number
  4809. convertratio:
  4810. description: 折算系数
  4811. type: number
  4812. createtime:
  4813. description: 时间
  4814. type: string
  4815. enumdicname:
  4816. description: 现货商品单位名称
  4817. type: string
  4818. logtype:
  4819. description: 类型 - 1:套保计划 2:现货合同
  4820. type: integer
  4821. mgunitid:
  4822. description: 套保品种单位id
  4823. type: integer
  4824. mgunitidname:
  4825. description: 套保品种单位名称
  4826. type: string
  4827. middlegoodsId:
  4828. description: 套保商品id
  4829. type: integer
  4830. middlegoodscode:
  4831. description: 套保商品代码
  4832. type: string
  4833. middlegoodsname:
  4834. description: 套保商品名称
  4835. type: string
  4836. qty:
  4837. description: 数量
  4838. type: number
  4839. relateNo:
  4840. description: 现货合同/套保计划编号
  4841. type: string
  4842. unitid:
  4843. description: 现货商品单位id
  4844. type: integer
  4845. wrstandardcode:
  4846. description: 现货商品代码
  4847. type: string
  4848. wrstandardid:
  4849. description: 现货商品ID(SEQ_WRSTANDARD)
  4850. type: integer
  4851. wrstandardname:
  4852. description: 现货商品名称
  4853. type: string
  4854. type: object
  4855. models.Ermcp3ExposureFutuDetail:
  4856. properties:
  4857. accountid:
  4858. description: 交易账户id
  4859. type: integer
  4860. accountname:
  4861. description: 交易账户
  4862. type: string
  4863. begindate:
  4864. description: 开始交易日
  4865. type: string
  4866. buyorsell:
  4867. description: 方向 0-买 1-卖
  4868. type: integer
  4869. diffmgqty:
  4870. description: 套保品种今变化量
  4871. type: number
  4872. diffneedqty:
  4873. description: 应套保总量变化量
  4874. type: number
  4875. difftradeqty:
  4876. description: 交易品种今变化量
  4877. type: number
  4878. enddate:
  4879. description: 结束交易日
  4880. type: string
  4881. enumdicname:
  4882. description: 单位名称
  4883. type: string
  4884. goodscode:
  4885. description: 商品代码
  4886. type: string
  4887. goodsid:
  4888. description: 商品id
  4889. type: integer
  4890. goodsname:
  4891. description: 商品名称
  4892. type: string
  4893. holdqty:
  4894. description: 期末持仓量
  4895. type: number
  4896. middlegoodscode:
  4897. description: 套保商品代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保商品id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保商品名称
  4904. type: string
  4905. oriholdqty:
  4906. description: 期初持仓量
  4907. type: number
  4908. todaycloseqty:
  4909. description: 今平仓量
  4910. type: number
  4911. todayopenqty:
  4912. description: 今开仓量
  4913. type: number
  4914. tradedate:
  4915. description: 交易日
  4916. type: string
  4917. type: object
  4918. models.Ermcp3ExposureHedgeplanDetail:
  4919. properties:
  4920. biztype:
  4921. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4922. type: integer
  4923. changqty:
  4924. description: 应套保总量变化量
  4925. type: number
  4926. contracttype:
  4927. description: 计划类型 - 1:采购 -1:销售
  4928. type: integer
  4929. convertratio:
  4930. description: 折算系数(套保品种)
  4931. type: number
  4932. deliverygoodscode:
  4933. description: 现货商品代码
  4934. type: string
  4935. deliverygoodsid:
  4936. description: 现货商品id
  4937. type: integer
  4938. deliverygoodsname:
  4939. description: 现货商吕名称
  4940. type: string
  4941. dgunitid:
  4942. description: 现货商品单位id
  4943. type: integer
  4944. dgunitidname:
  4945. description: 单位名称(现货商品)
  4946. type: string
  4947. diffqty:
  4948. description: 套保品种今变动量
  4949. type: number
  4950. enumdicname:
  4951. description: 单位名称(品类)
  4952. type: string
  4953. hedgeplanid:
  4954. description: 套保计划id
  4955. type: string
  4956. hedgeplanno:
  4957. description: 套保计划名称
  4958. type: string
  4959. hedgeplanstatus:
  4960. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4961. type: integer
  4962. mgunitidname:
  4963. description: 单位名称(套保商品)
  4964. type: string
  4965. middlegoodscode:
  4966. description: 套保品种代码
  4967. type: string
  4968. middlegoodsid:
  4969. description: 套保品种id
  4970. type: integer
  4971. middlegoodsname:
  4972. description: 套保品种名称
  4973. type: string
  4974. needarbitrageratio:
  4975. description: 应套利比例
  4976. type: number
  4977. needhedgeratio:
  4978. description: 应套保比例
  4979. type: number
  4980. pricedqty:
  4981. description: 已定价量
  4982. type: number
  4983. qty:
  4984. description: 合同量
  4985. type: number
  4986. tradedate:
  4987. description: 交易日(登记日)
  4988. type: string
  4989. unitid:
  4990. description: 品类单位id
  4991. type: integer
  4992. userid:
  4993. description: 机构id
  4994. type: integer
  4995. wrstandardcode:
  4996. description: 品类代码
  4997. type: string
  4998. wrstandardid:
  4999. description: 品类id
  5000. type: integer
  5001. wrstandardname:
  5002. description: 品类名称
  5003. type: string
  5004. type: object
  5005. models.Ermcp3ExposureParamChLog:
  5006. properties:
  5007. accountid:
  5008. description: 期货账户ID (作废, 默认为0)
  5009. type: integer
  5010. aftervalue:
  5011. description: 应套保\套利量变更后(调整后应套保总量)
  5012. type: number
  5013. areauserid:
  5014. description: 所属机构\交易用户ID
  5015. type: integer
  5016. beforevalue:
  5017. description: 应套保\套利量变更前(调整前应套保总量)
  5018. type: number
  5019. begindate:
  5020. description: 开始交易日
  5021. type: string
  5022. changelogtype:
  5023. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5024. type: integer
  5025. curvalue:
  5026. description: 当前套保\套利量(套保总量|套利总量)
  5027. type: number
  5028. diffvalue:
  5029. description: 应套保总量变化量
  5030. type: number
  5031. enddate:
  5032. description: 结束交易日
  5033. type: string
  5034. logdatetime:
  5035. description: 流水日期
  5036. type: string
  5037. logid:
  5038. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5039. type: string
  5040. middlegoodscode:
  5041. description: 套保品种代码
  5042. type: string
  5043. middlegoodsid:
  5044. description: 套保品种
  5045. type: integer
  5046. middlegoodsname:
  5047. description: 套保品种名称
  5048. type: string
  5049. paramaftervalue:
  5050. description: 参数变更后(调整后参数值)
  5051. type: number
  5052. parambeforevalue:
  5053. description: 参数变更前(调整前参数值)
  5054. type: number
  5055. tradedate:
  5056. description: 交易日(yyyyMMdd)
  5057. type: string
  5058. type: object
  5059. models.Ermcp3ExpourseReport:
  5060. properties:
  5061. accountid:
  5062. description: 期货账户ID (作废, 默认为0)
  5063. type: integer
  5064. accountname:
  5065. description: 机构名称
  5066. type: string
  5067. arbitrageqty:
  5068. description: 套利量
  5069. type: number
  5070. areauserid:
  5071. description: 所属机构\交易用户ID
  5072. type: integer
  5073. begindate:
  5074. description: 开始交易日
  5075. type: string
  5076. buyfutureqty:
  5077. description: 买入期货数量
  5078. type: number
  5079. buyplanqty:
  5080. description: 采购计划数量
  5081. type: number
  5082. buypricedqty:
  5083. description: 采购合同已定价数量
  5084. type: number
  5085. cycletime:
  5086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5087. type: string
  5088. cycletype:
  5089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5090. type: integer
  5091. diffexposure:
  5092. description: 变动量(套保敞口)
  5093. type: number
  5094. difffutuqty:
  5095. description: 变动量(期货)
  5096. type: number
  5097. diffhedgeqty:
  5098. description: 变动量(现货应套保总量)
  5099. type: number
  5100. diffmgqtya:
  5101. description: 套保变动量
  5102. type: number
  5103. diffmgqtyb:
  5104. description: 套利变动量
  5105. type: number
  5106. diffqty:
  5107. description: 变动量(总敞口)
  5108. type: number
  5109. diffspotqty:
  5110. description: 变动量(现货)
  5111. type: number
  5112. enddate:
  5113. description: 结束交易日
  5114. type: string
  5115. enumdicname:
  5116. description: 单位名称
  5117. type: string
  5118. hedgeqty:
  5119. description: 套保量
  5120. type: number
  5121. mgneedhedgeratio:
  5122. description: 套保比例(套保品的)
  5123. type: number
  5124. middlegoodsid:
  5125. description: 套保品种ID
  5126. type: integer
  5127. middlegoodsname:
  5128. description: 套保商品名称
  5129. type: string
  5130. middlgoodscode:
  5131. description: 套保商品代码
  5132. type: string
  5133. needarbitrageqty:
  5134. description: 应套利量
  5135. type: number
  5136. needarbitrageratio:
  5137. description: 套利比例(套保品的)
  5138. type: number
  5139. needhedgeexposoure:
  5140. description: 应套保敞口(套保敞口)
  5141. type: number
  5142. needhedgeqty:
  5143. description: 应套保量
  5144. type: number
  5145. needhedgeratio:
  5146. description: 应套保敞口比例
  5147. type: number
  5148. oriarbitrageqty:
  5149. description: 期初套利量
  5150. type: number
  5151. oribuyfutureqty:
  5152. description: 期初买入期货数量
  5153. type: number
  5154. oribuyplanqty:
  5155. description: 期初采购计划数量
  5156. type: number
  5157. oribuypricedqty:
  5158. description: 期初采购合同已定价数量
  5159. type: number
  5160. orihedgeqty:
  5161. description: 期初套保量
  5162. type: number
  5163. orineedarbitrageqty:
  5164. description: 期初应套利量
  5165. type: number
  5166. orineedhedgeexposoure:
  5167. description: 期初应套保敞口
  5168. type: number
  5169. orineedhedgeqty:
  5170. description: 期初应套保量
  5171. type: number
  5172. orisellfutureqty:
  5173. description: 期初卖出期货数量
  5174. type: number
  5175. orisellplanqty:
  5176. description: 期初销售计划数量
  5177. type: number
  5178. orisellpricedqty:
  5179. description: 期初销售合同已定价数量
  5180. type: number
  5181. oritotalexposure:
  5182. description: 期初实时总敞口
  5183. type: number
  5184. oritotalfutureqty:
  5185. description: 期初期货头寸总量
  5186. type: number
  5187. oritotalneedhedgeqty:
  5188. description: 期初应套保总量
  5189. type: number
  5190. oritotalspotqty:
  5191. description: 期初现货头寸总量
  5192. type: number
  5193. reckondate:
  5194. description: 日照时期(yyyyMMdd)
  5195. type: string
  5196. sellfutureqty:
  5197. description: 卖出期货数量
  5198. type: number
  5199. sellplanqty:
  5200. description: 销售计划数量
  5201. type: number
  5202. sellpricedqty:
  5203. description: 销售合同已定价数量
  5204. type: number
  5205. totalexposure:
  5206. description: 实时总敞口(总敞口)
  5207. type: number
  5208. totalfutureqty:
  5209. description: 期货头寸总量(期货总量)
  5210. type: number
  5211. totalhedgeratio:
  5212. description: 敞口比例
  5213. type: number
  5214. totalneedhedgeqty:
  5215. description: 应套保总量(现货应套保总量)
  5216. type: number
  5217. totalspotqty:
  5218. description: 现货头寸总量
  5219. type: number
  5220. unitid:
  5221. description: 单位id
  5222. type: integer
  5223. updatetime:
  5224. description: 更新时间
  5225. type: string
  5226. type: object
  5227. models.Ermcp3FinanceReport:
  5228. properties:
  5229. accountname:
  5230. description: 机构名称
  5231. type: string
  5232. areauserid:
  5233. description: 所属机构\交易用户ID
  5234. type: integer
  5235. begindate:
  5236. description: 开始交易日
  5237. type: string
  5238. biztype:
  5239. description: 业务类型 - 1:套保 2:套利
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. buypreinvoicedamount:
  5245. description: 采购预收票额(预收票额)
  5246. type: number
  5247. buyprepaidamount:
  5248. description: 采购预付款额(预付货款额)
  5249. type: number
  5250. buytodayinvoiceamount:
  5251. description: 采购今收票额(今收票额)
  5252. type: number
  5253. buytodayrefundamount:
  5254. description: 采购今收退款额(今收退款额)
  5255. type: number
  5256. buytodaysettleamount:
  5257. description: 采购今付款额(今付货款额)
  5258. type: number
  5259. buyuninvoicedamount:
  5260. description: 采购应收票额(应收票额)
  5261. type: number
  5262. buyunpaidamount:
  5263. description: 采购应付款额(应付货款额)
  5264. type: number
  5265. currencyid:
  5266. description: 结算币种ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. cycletime:
  5272. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5273. type: string
  5274. cycletype:
  5275. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5276. type: integer
  5277. deliverygoodscode:
  5278. description: 现货品种代码
  5279. type: string
  5280. deliverygoodsid:
  5281. description: 现货品种ID
  5282. type: integer
  5283. deliverygoodsname:
  5284. description: 现货品种名称
  5285. type: string
  5286. enddate:
  5287. description: 结束交易日
  5288. type: string
  5289. reckondate:
  5290. description: 日照时期(yyyyMMdd)
  5291. type: string
  5292. sellpreinvoicedamount:
  5293. description: 销售预开票额(预开票额)
  5294. type: number
  5295. sellprepaidamount:
  5296. description: 销售预收款额(预收货款额)
  5297. type: number
  5298. selltodayinvoiceamount:
  5299. description: 销售今开票额(今开票额)
  5300. type: number
  5301. selltodayrefundamount:
  5302. description: 销售今付退款额(今付退款额)
  5303. type: number
  5304. selltodaysettleamount:
  5305. description: 销售今收款额(今收货款额)
  5306. type: number
  5307. selluninvoicedamount:
  5308. description: 销售应开票额(应开票额)
  5309. type: number
  5310. sellunpaidamount:
  5311. description: 销售应收款额(应收货款额)
  5312. type: number
  5313. spotgoodsbrandid:
  5314. description: 现货品牌ID
  5315. type: integer
  5316. todaypaysum:
  5317. description: 今付款合计
  5318. type: number
  5319. todayreceivesum:
  5320. description: 今收款合计
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. wrfactortypeid:
  5326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5327. type: integer
  5328. wrstandardcode:
  5329. description: 品类代码
  5330. type: string
  5331. wrstandardid:
  5332. description: 现货商品ID
  5333. type: integer
  5334. wrstandardname:
  5335. description: 品类名称
  5336. type: string
  5337. type: object
  5338. models.Ermcp3GoodsGroup:
  5339. properties:
  5340. agreeunit:
  5341. description: 合约单位
  5342. type: number
  5343. areauserid:
  5344. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5345. type: integer
  5346. canshort:
  5347. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5348. type: integer
  5349. closepricemode:
  5350. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5351. type: integer
  5352. createtime:
  5353. description: 创建时间
  5354. type: string
  5355. creatorid:
  5356. description: 创建人
  5357. type: integer
  5358. currencyid:
  5359. description: 报价货币ID
  5360. type: integer
  5361. decimalplace:
  5362. description: 报价小数位
  5363. type: integer
  5364. enumdicname:
  5365. description: 单位名称
  5366. type: string
  5367. exchangefullname:
  5368. description: 交易所全称
  5369. type: string
  5370. excludecfg:
  5371. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5372. type: integer
  5373. exexchangecode:
  5374. description: 交易所代码
  5375. type: string
  5376. exexchangeid:
  5377. description: 外部交易所ID[通道交易]
  5378. type: integer
  5379. exexchangename:
  5380. description: 交易所名称
  5381. type: string
  5382. goodsgroupid:
  5383. description: 商品组ID(自增ID)
  5384. type: integer
  5385. goodsgroupname:
  5386. description: 商品组名称
  5387. type: string
  5388. goodsgroupstatus:
  5389. description: 商品组状态 - 1:正常 2:注销
  5390. type: integer
  5391. goodunitid:
  5392. description: 报价单位ID
  5393. type: integer
  5394. groupcategroyid:
  5395. description: 品种分类ID
  5396. type: integer
  5397. innerdealmode:
  5398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5399. type: integer
  5400. marketid:
  5401. description: 所属市场ID
  5402. type: integer
  5403. modifierid:
  5404. description: 修改人
  5405. type: integer
  5406. modifytime:
  5407. description: 修改时间
  5408. type: string
  5409. outerdealmode:
  5410. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5411. type: integer
  5412. outergroupcode:
  5413. description: 外部商品组代码[通道交易]
  5414. type: string
  5415. quoteminunit:
  5416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5417. type: integer
  5418. quotesourcegroupid:
  5419. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5420. type: integer
  5421. syncgoodsqty:
  5422. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5423. type: integer
  5424. required:
  5425. - areauserid
  5426. type: object
  5427. models.Ermcp3HedgePlan:
  5428. properties:
  5429. accountid:
  5430. description: 资金账号
  5431. type: integer
  5432. areauserid:
  5433. description: 用户ID
  5434. type: integer
  5435. auditid:
  5436. description: 审核id
  5437. type: integer
  5438. auditname:
  5439. description: 审核人名称
  5440. type: string
  5441. auditremark:
  5442. description: 审核备注
  5443. type: string
  5444. auditsrc:
  5445. description: 审核来源 1-管理端 2-终端
  5446. type: integer
  5447. audittime:
  5448. description: 审核时间
  5449. type: string
  5450. contracttype:
  5451. description: 计划类型 - 1:采购 -1:销售
  5452. type: integer
  5453. convertfactor:
  5454. description: 标仓系数
  5455. type: number
  5456. createtime:
  5457. description: 创建时间
  5458. type: string
  5459. currencyid:
  5460. description: 币种id
  5461. type: integer
  5462. currencyname:
  5463. description: 币种名称
  5464. type: string
  5465. deliverygoodscode:
  5466. description: 现货品种代码
  5467. type: string
  5468. deliverygoodsid:
  5469. description: 现货品种ID
  5470. type: integer
  5471. deliverygoodsname:
  5472. description: 现货品种名称
  5473. type: string
  5474. enumdicname:
  5475. description: 单位名称(现货商品)
  5476. type: string
  5477. hedgeplanid:
  5478. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5479. type: string
  5480. hedgeplanno:
  5481. description: 套保计划编号(名称)
  5482. type: string
  5483. hedgeplanstatus:
  5484. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5485. type: integer
  5486. planqty:
  5487. description: 计划数量
  5488. type: number
  5489. plantime:
  5490. description: 计划时间
  5491. type: string
  5492. producttype:
  5493. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5494. type: integer
  5495. remark:
  5496. description: 备注
  5497. type: string
  5498. spotgoodsdesc:
  5499. description: 商品型号
  5500. type: string
  5501. taaccountname:
  5502. description: 资金账号名称
  5503. type: string
  5504. tradeuserid:
  5505. description: 交易用户id
  5506. type: integer
  5507. tradeusername:
  5508. description: 交易用户名称
  5509. type: string
  5510. unitid:
  5511. description: 单位id(现货商品)
  5512. type: integer
  5513. updatetime:
  5514. description: 更新时间
  5515. type: string
  5516. vatrate:
  5517. description: 增值税率
  5518. type: number
  5519. wrstandardcode:
  5520. description: 品类代码
  5521. type: string
  5522. wrstandardid:
  5523. description: 品类id
  5524. type: integer
  5525. wrstandardname:
  5526. description: 品类名称
  5527. type: string
  5528. wrunitid:
  5529. description: 品类单位id
  5530. type: integer
  5531. wrunitidame:
  5532. description: 品类单位名称
  5533. type: string
  5534. type: object
  5535. models.Ermcp3InnerTradeLink:
  5536. properties:
  5537. accountid:
  5538. description: 期货账号代码 | 资金账号ID
  5539. type: integer
  5540. buyorsell:
  5541. description: 方向 - 0:买 1:卖
  5542. type: integer
  5543. channelbuildtype:
  5544. description: 委托单据类型 0:无 1:建仓 2:平仓
  5545. type: integer
  5546. currencyid:
  5547. description: 币种id
  5548. type: integer
  5549. currencyname:
  5550. description: 结算币种 名称
  5551. type: string
  5552. goodscode:
  5553. description: 商品代码
  5554. type: string
  5555. goodsid:
  5556. description: 商品ID
  5557. type: integer
  5558. goodsname:
  5559. description: 商品名称
  5560. type: string
  5561. outtradeid:
  5562. description: 外部成交单号
  5563. type: string
  5564. taname:
  5565. description: 期货账户名称
  5566. type: string
  5567. tradeid:
  5568. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5569. type: string
  5570. tradeprice:
  5571. description: 成交价格
  5572. type: number
  5573. tradeqty:
  5574. description: 期货成交数量
  5575. type: integer
  5576. tradetime:
  5577. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5578. type: string
  5579. username:
  5580. description: 用户名称
  5581. type: string
  5582. type: object
  5583. models.Ermcp3OutTradeLink:
  5584. properties:
  5585. buyorsell:
  5586. description: 买卖方向 - 0:买 1:卖
  5587. type: integer
  5588. channelbuildtype:
  5589. description: 开平标志- 0:无 1:建仓 2:平仓
  5590. type: integer
  5591. currencyname:
  5592. description: 币种名称
  5593. type: string
  5594. exexchangecode:
  5595. description: 交易所代码
  5596. type: string
  5597. exexchangename:
  5598. description: 交易所名称
  5599. type: string
  5600. goodscode:
  5601. description: 合约代码
  5602. type: string
  5603. goodsid:
  5604. description: 合约id
  5605. type: integer
  5606. goodsname:
  5607. description: 合约名称
  5608. type: string
  5609. hasinnerorder:
  5610. description: 是否有内部单关联 - 0:无 1:有
  5611. type: integer
  5612. hedgeaccountcode:
  5613. description: 外部账号 | 对冲账号
  5614. type: string
  5615. outtradeid:
  5616. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5617. type: string
  5618. tradeprice:
  5619. description: 成交价格
  5620. type: number
  5621. tradeqty:
  5622. description: 成交数量
  5623. type: integer
  5624. tradetime:
  5625. description: 成交时间
  5626. type: string
  5627. type: object
  5628. models.Ermcp3PaAreaAuditCfg:
  5629. properties:
  5630. areauserid:
  5631. description: 用户ID
  5632. type: integer
  5633. buyinauditflag:
  5634. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5635. type: integer
  5636. costratioauditflag:
  5637. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5638. type: integer
  5639. customerauditflag:
  5640. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5641. type: integer
  5642. deliveryauditflag:
  5643. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5644. type: integer
  5645. invoiceauditflag:
  5646. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5647. type: integer
  5648. mgneedhedgeratioauditflag:
  5649. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5650. type: integer
  5651. moneyauditflag:
  5652. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5653. type: integer
  5654. operatorid:
  5655. description: 操作人
  5656. type: integer
  5657. operatorsrc:
  5658. description: 操作来源 - 1:管理端 2:终端
  5659. type: integer
  5660. pointpriceauditflag:
  5661. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5662. type: integer
  5663. produceinauditflag:
  5664. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5665. type: integer
  5666. produceoutauditflag:
  5667. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5668. type: integer
  5669. selloutauditflag:
  5670. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5671. type: integer
  5672. sgconvertratioauditflag:
  5673. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5674. type: integer
  5675. sgvtaratioauditflag:
  5676. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5677. type: integer
  5678. spotcontractauditflag:
  5679. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5680. type: integer
  5681. updatetime:
  5682. description: 更新时间
  5683. type: string
  5684. type: object
  5685. models.Ermcp3PaAreaSubject:
  5686. properties:
  5687. areauserid:
  5688. description: 所属机构
  5689. type: integer
  5690. canmodify:
  5691. description: 是否可修改 - 0:否 1:是
  5692. type: integer
  5693. createtime:
  5694. description: 创建时间
  5695. type: string
  5696. creatorid:
  5697. description: 创建人ID
  5698. type: string
  5699. creatorsrc:
  5700. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5701. type: integer
  5702. modifierid:
  5703. description: 修改人
  5704. type: string
  5705. modifiersrc:
  5706. description: 修改人来源 - 1:管理端 2:终端
  5707. type: integer
  5708. modifytime:
  5709. description: 修改时间
  5710. type: string
  5711. parentsubjectid:
  5712. description: 上级主体ID
  5713. type: string
  5714. remark:
  5715. description: 备注
  5716. type: string
  5717. subjectid:
  5718. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5719. type: integer
  5720. subjectname:
  5721. description: 主体名称
  5722. type: string
  5723. subjectstatus:
  5724. description: '主体状态 - 1:正常 2: 停用'
  5725. type: integer
  5726. subjecttype:
  5727. description: 主体类型 - 1:交易主体 2:业务部门
  5728. type: integer
  5729. type: object
  5730. models.Ermcp3PaTradeLink:
  5731. properties:
  5732. accountid:
  5733. description: 期货账户代码 | 账号ID
  5734. type: integer
  5735. agreeunit:
  5736. description: 合约乘数
  5737. type: number
  5738. buyorsell:
  5739. description: 方向 - 0:买 1:卖
  5740. type: integer
  5741. channelbuildtype:
  5742. description: 委托单据类型 0:无 1:建仓 2:平仓
  5743. type: integer
  5744. charge:
  5745. description: 手续费
  5746. type: number
  5747. closepl:
  5748. description: 平仓盈亏
  5749. type: number
  5750. closetype:
  5751. description: 平仓方式 - 0:无 1:平今 2:平昨
  5752. type: integer
  5753. convertratio:
  5754. description: 折算系数
  5755. type: number
  5756. enumdicname:
  5757. description: 单位名称
  5758. type: string
  5759. executeprice:
  5760. description: 执行价 [期权]
  5761. type: integer
  5762. goodscode:
  5763. description: 合约代码
  5764. type: string
  5765. goodsgroupid:
  5766. description: 对冲品种ID[期货合约商品组ID]
  5767. type: integer
  5768. goodsid:
  5769. description: 商品ID
  5770. type: integer
  5771. goodsname:
  5772. description: 合约名称
  5773. type: string
  5774. goodunitid:
  5775. description: 单位id
  5776. type: integer
  5777. hedgeflag:
  5778. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5779. type: integer
  5780. marketid:
  5781. description: 市场ID
  5782. type: integer
  5783. middlegoodsid:
  5784. description: 套保品种ID
  5785. type: integer
  5786. middlegoodsqty:
  5787. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5788. type: number
  5789. optioncode:
  5790. description: 期权代码 [期权]
  5791. type: string
  5792. ordertype:
  5793. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5794. type: integer
  5795. ordertypename:
  5796. description: 订单类型
  5797. type: string
  5798. parentaccountid:
  5799. description: 所属母账户
  5800. type: integer
  5801. premium:
  5802. description: 权利金 [期权]
  5803. type: number
  5804. relatedlot:
  5805. description: 已关联数量(已关联数量手) | db:关联手数
  5806. type: number
  5807. relatedouttradeid:
  5808. description: 关联外部成交单ID
  5809. type: string
  5810. relatedqty:
  5811. description: 关联数量
  5812. type: number
  5813. spotcontractid:
  5814. description: 现货合同ID [4:套期保值\10\11]
  5815. type: string
  5816. taname:
  5817. description: 期货账户名称
  5818. type: string
  5819. tradeamount:
  5820. description: 成交金额(账户)
  5821. type: number
  5822. tradedate:
  5823. description: 交易日(yyyyMMdd)
  5824. type: string
  5825. tradeid:
  5826. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5827. type: string
  5828. tradelot:
  5829. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5830. type: integer
  5831. tradeprice:
  5832. description: 成交价格
  5833. type: number
  5834. tradetime:
  5835. description: 时间 | db:成交时间
  5836. type: string
  5837. tradetype:
  5838. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5839. type: integer
  5840. userid:
  5841. description: 所属机构 - 所属母账户的UserID
  5842. type: string
  5843. username:
  5844. description: 用户名称
  5845. type: string
  5846. type: object
  5847. models.Ermcp3ParamChangeApp:
  5848. properties:
  5849. aftervalue:
  5850. description: 变更后
  5851. type: number
  5852. applicationid:
  5853. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5854. type: string
  5855. applyid:
  5856. description: 申请人
  5857. type: string
  5858. applyname:
  5859. description: 申请人名称(代码)
  5860. type: string
  5861. applyremark:
  5862. description: 申请备注
  5863. type: string
  5864. applysrc:
  5865. description: 申请来源 - 1:管理端 2:终端
  5866. type: integer
  5867. applystatus:
  5868. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5869. type: integer
  5870. applytime:
  5871. description: 申请时间
  5872. type: string
  5873. areauserid:
  5874. description: 所属机构用户ID
  5875. type: integer
  5876. auditid:
  5877. description: 审核人
  5878. type: string
  5879. auditname:
  5880. description: 审核人名称(代码)
  5881. type: string
  5882. auditremark:
  5883. description: 审核备注
  5884. type: string
  5885. auditsrc:
  5886. description: 审核来源 - 1:管理端 2:终端
  5887. type: integer
  5888. audittime:
  5889. description: 审核时间
  5890. type: string
  5891. audittradedate:
  5892. description: 审核交易日(yyyyMMdd)
  5893. type: string
  5894. beforevalue:
  5895. description: 变更前
  5896. type: number
  5897. deliverygoodscode:
  5898. description: 品种代码
  5899. type: string
  5900. deliverygoodsid:
  5901. description: 品种id
  5902. type: integer
  5903. deliverygoodsname:
  5904. description: 品种名称
  5905. type: string
  5906. middlegoodscode:
  5907. description: 套保品种代码
  5908. type: string
  5909. middlegoodsid:
  5910. description: 套保品种ID [ParamChangeType = 2,3,4]
  5911. type: integer
  5912. middlegoodsname:
  5913. description: 套保品种名称
  5914. type: string
  5915. operatetype:
  5916. description: 操作类型 - 1:新增 2:修改
  5917. type: integer
  5918. paramchangetype:
  5919. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  5920. type: integer
  5921. wrstandardcode:
  5922. description: 现货商品代码
  5923. type: string
  5924. wrstandardid:
  5925. description: 现货商品ID [ParamChangeType = 1,2,3]
  5926. type: integer
  5927. wrstandardname:
  5928. description: 现货商品名称
  5929. type: string
  5930. type: object
  5931. models.Ermcp3RootUserAccount:
  5932. properties:
  5933. accountname:
  5934. description: 账户名称(机构名称)
  5935. type: string
  5936. accountstatus:
  5937. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5938. type: integer
  5939. applysrc:
  5940. description: 申请来源 - 1:管理端 2:终端
  5941. type: integer
  5942. auditremark:
  5943. description: 审核备注
  5944. type: string
  5945. auditsrc:
  5946. description: 审核来源 - 1:管理端 2:终端
  5947. type: integer
  5948. audittime:
  5949. description: 审核时间
  5950. type: string
  5951. audituserid:
  5952. description: 审核人
  5953. type: integer
  5954. broker:
  5955. description: 所属经纪人ID
  5956. type: integer
  5957. canceltime:
  5958. description: 销户时间
  5959. type: string
  5960. canceluserid:
  5961. description: 销户人
  5962. type: integer
  5963. canrecommend:
  5964. description: 是否可推荐 - 0:不可 1;可
  5965. type: integer
  5966. createtime:
  5967. description: 创建时间
  5968. type: string
  5969. creatorid:
  5970. description: 创建人
  5971. type: integer
  5972. hasauth:
  5973. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5974. type: integer
  5975. isanonymous:
  5976. description: 是否匿名下单 - 0:否 1:是
  5977. type: integer
  5978. maxinvestornum:
  5979. description: 最大用户数(经纪会员下投资者个数)
  5980. type: integer
  5981. memberuserid:
  5982. description: 所属会员ID
  5983. type: integer
  5984. modifierid:
  5985. description: 修改人
  5986. type: integer
  5987. modifyremark:
  5988. description: 变更备注
  5989. type: string
  5990. modifystatus:
  5991. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5992. type: integer
  5993. modifytime:
  5994. description: 修改时间
  5995. type: string
  5996. parenttopuser:
  5997. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5998. type: string
  5999. parentuserid:
  6000. description: 所属机构ID
  6001. type: integer
  6002. reckonaccountid:
  6003. description: 默认结算资金账号ID(机构分润使用) 作废
  6004. type: integer
  6005. refercount:
  6006. description: 推荐总人数
  6007. type: integer
  6008. refereeuserid:
  6009. description: 推荐人ID
  6010. type: integer
  6011. refernum:
  6012. description: 推荐码
  6013. type: string
  6014. rootuserid:
  6015. description: 根用户ID
  6016. type: integer
  6017. subaccountlevel:
  6018. description: 子账户层数
  6019. type: integer
  6020. subarealevelpath:
  6021. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6022. type: string
  6023. userid:
  6024. description: 用户ID
  6025. type: integer
  6026. usertype:
  6027. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6028. type: integer
  6029. type: object
  6030. models.Ermcp3SCMiddleGoods:
  6031. properties:
  6032. contractno:
  6033. description: 合同编号
  6034. type: string
  6035. contracttype:
  6036. description: 合同类型 1:采购 -1:销售
  6037. type: integer
  6038. customername:
  6039. description: 对手手名称
  6040. type: string
  6041. customeruserid:
  6042. description: 对手id
  6043. type: integer
  6044. middlegoodsid:
  6045. description: 套保品种ID
  6046. type: integer
  6047. middlegoodspricedqty3:
  6048. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6049. type: number
  6050. needhedgeratio:
  6051. description: 套保比例
  6052. type: number
  6053. pricedqty:
  6054. description: 已关联数量 | 已定价量
  6055. type: number
  6056. spotcontractid:
  6057. description: 合同编号
  6058. type: string
  6059. unitid:
  6060. description: 现货单位id
  6061. type: integer
  6062. userid:
  6063. description: 用户id
  6064. type: integer
  6065. vatrate:
  6066. description: 增值税率
  6067. type: number
  6068. wrstandardcode:
  6069. description: 现货商品代码
  6070. type: string
  6071. wrstandardid:
  6072. description: 现货商品id
  6073. type: integer
  6074. wrstandardname:
  6075. description: 现货商品名称
  6076. type: string
  6077. type: object
  6078. models.Ermcp3SCMiddleGoodsReport:
  6079. properties:
  6080. begindate:
  6081. description: 开始交易日
  6082. type: string
  6083. contractno:
  6084. description: 合同编号
  6085. type: string
  6086. contracttype:
  6087. description: 合同类型 1:采购 -1:销售
  6088. type: integer
  6089. convertratio:
  6090. description: 折算系数
  6091. type: number
  6092. cycletime:
  6093. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6094. type: string
  6095. cycletype:
  6096. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6097. type: integer
  6098. deliverygoodscode:
  6099. description: 品种代码
  6100. type: string
  6101. deliverygoodsid:
  6102. description: 现货品种ID
  6103. type: integer
  6104. deliverygoodsname:
  6105. description: 品种名称
  6106. type: string
  6107. diffprice:
  6108. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6109. type: number
  6110. diffqty:
  6111. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6112. type: number
  6113. enddate:
  6114. description: 结束交易日
  6115. type: string
  6116. hedgeplanqty:
  6117. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6118. type: number
  6119. mathname:
  6120. description: 交易对手方
  6121. type: string
  6122. middlegoodscode:
  6123. description: 套保品种代码
  6124. type: string
  6125. middlegoodsid:
  6126. description: 套保品种ID
  6127. type: integer
  6128. middlegoodsname:
  6129. description: 套保品种名称
  6130. type: string
  6131. middlegoodspricedqty:
  6132. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6133. type: number
  6134. middlegoodspricedqty2:
  6135. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6136. type: number
  6137. middlegoodspricedqty3:
  6138. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6139. type: number
  6140. needhedgeratio:
  6141. description: 套保系数
  6142. type: number
  6143. pricedamount:
  6144. description: 已定价额(现货)
  6145. type: number
  6146. pricedamount2:
  6147. description: 已定价额(现货-基价额)
  6148. type: number
  6149. pricedqty:
  6150. description: 已定价量(现货)
  6151. type: number
  6152. reckondate:
  6153. description: 日照时期(yyyyMMdd)
  6154. type: string
  6155. relatedmiddlegoodsamount:
  6156. description: 已关联额(期货)
  6157. type: number
  6158. relatedmiddlegoodsqty:
  6159. description: 已关联量(套保品种)(期货)
  6160. type: number
  6161. spotcontractid:
  6162. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6163. type: string
  6164. todayavgfutuprice:
  6165. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6166. type: number
  6167. todayavgprice:
  6168. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6169. type: number
  6170. todayavgprice2:
  6171. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6172. type: number
  6173. todaypricedamount:
  6174. description: 今日定价额(现货)
  6175. type: number
  6176. todaypricedamount2:
  6177. description: 今日定价额(现货-基价额)
  6178. type: number
  6179. todaypricedqty:
  6180. description: 今日定价量(现货)
  6181. type: number
  6182. todayrelatedmiddlegoodsamount:
  6183. description: 今日关联额(期货)
  6184. type: number
  6185. todayrelatedmiddlegoodsqty:
  6186. description: 今日关联量(期货)
  6187. type: number
  6188. updatetime:
  6189. description: 更新时间
  6190. type: string
  6191. userid:
  6192. description: 合同所属用户id
  6193. type: integer
  6194. vatrate:
  6195. description: 增值税率
  6196. type: number
  6197. wrstandardcode:
  6198. description: 商品(品类) 代码
  6199. type: string
  6200. wrstandardid:
  6201. description: 现货商品ID
  6202. type: integer
  6203. wrstandardname:
  6204. description: 商品(品类) 名称
  6205. type: string
  6206. type: object
  6207. models.Ermcp3SellBuyContract:
  6208. properties:
  6209. accountid:
  6210. description: 期货账户id
  6211. type: string
  6212. accountname:
  6213. description: 账户名称
  6214. type: string
  6215. attachment:
  6216. description: 附件
  6217. type: string
  6218. audittime:
  6219. description: 审核时间
  6220. type: string
  6221. biztype:
  6222. description: 业务类型 1-套保 2-套利
  6223. type: integer
  6224. brandname:
  6225. description: 品牌名称
  6226. type: string
  6227. contracctstatus:
  6228. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6229. type: integer
  6230. contractmargin:
  6231. description: 合同保证金
  6232. type: number
  6233. contractno:
  6234. description: 合同编号
  6235. type: string
  6236. contracttype:
  6237. description: 合同类型 1-采购, -1-销售
  6238. type: integer
  6239. convertfactor:
  6240. description: 标仓系数(品类)
  6241. type: number
  6242. createtime:
  6243. description: 创建时间
  6244. type: string
  6245. currencyid:
  6246. description: 币种id
  6247. type: integer
  6248. currencyname:
  6249. description: 币种名称
  6250. type: string
  6251. daikaiamount:
  6252. description: 应收(开)票额
  6253. type: number
  6254. deliveryenddate:
  6255. description: 交割结束日
  6256. type: string
  6257. deliverygoodscode:
  6258. description: 现货品种代码
  6259. type: string
  6260. deliverygoodsid:
  6261. description: 现货商品ID
  6262. type: integer
  6263. deliverygoodsname:
  6264. description: 现货品种名称
  6265. type: string
  6266. deliverystartdate:
  6267. description: 交割开始日
  6268. type: string
  6269. enddate:
  6270. description: 点价结束日
  6271. type: string
  6272. enumdicname:
  6273. description: 单位名称
  6274. type: string
  6275. goodscode:
  6276. description: 点价商品代码
  6277. type: string
  6278. goodsid:
  6279. description: 点价商品ID
  6280. type: integer
  6281. goodsname:
  6282. description: 点价商品名称
  6283. type: string
  6284. invoiceamount:
  6285. description: 已开票额
  6286. type: number
  6287. loanamount:
  6288. description: 贷款总额=已定价额+调整金额
  6289. type: number
  6290. margin:
  6291. description: 保证金
  6292. type: number
  6293. meruserid:
  6294. description: 跟单员id
  6295. type: integer
  6296. meruserlogincode:
  6297. description: 跟单员登录代码
  6298. type: string
  6299. merusername:
  6300. description: 跟单员名称
  6301. type: string
  6302. nickname:
  6303. description: 账户昵称
  6304. type: string
  6305. payamount:
  6306. description: 已收付额(收款或付款)
  6307. type: number
  6308. preinvoiceamount:
  6309. description: 预收(开)票额
  6310. type: number
  6311. prepayamount:
  6312. description: 预收付额
  6313. type: number
  6314. price:
  6315. description: 价格
  6316. type: number
  6317. pricedamount:
  6318. description: 已定价额
  6319. type: number
  6320. pricedavg:
  6321. description: 已点均价
  6322. type: number
  6323. pricedqty:
  6324. description: 已定价量
  6325. type: number
  6326. pricemove:
  6327. description: 升贴水
  6328. type: number
  6329. pricetype:
  6330. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6331. type: integer
  6332. producttype:
  6333. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6334. type: integer
  6335. qty:
  6336. description: 合同量
  6337. type: number
  6338. reckonadjustamount:
  6339. description: 调整金额
  6340. type: number
  6341. reckonedamount:
  6342. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6343. type: number
  6344. reckonotheramount:
  6345. description: 其它费用
  6346. type: number
  6347. reckonrealqty:
  6348. description: 已确定量
  6349. type: number
  6350. remark:
  6351. description: 备注
  6352. type: string
  6353. saleuserid:
  6354. description: 业务员id
  6355. type: integer
  6356. saleuserlogincode:
  6357. description: 业务员登录代码
  6358. type: string
  6359. saleusername:
  6360. description: 业务员名称
  6361. type: string
  6362. spotcontractid:
  6363. description: 合同ID
  6364. type: string
  6365. spotgoodsbrandid:
  6366. description: 现货品牌ID(DGFactoryItem表的ID)
  6367. type: integer
  6368. spotgoodsdesc:
  6369. description: 商品型号(商品规格)
  6370. type: string
  6371. startdate:
  6372. description: 点价开始日
  6373. type: string
  6374. subjectid:
  6375. description: 交易主体ID
  6376. type: string
  6377. subjectname:
  6378. description: 交易主体名称
  6379. type: string
  6380. totalamount:
  6381. description: 合计总额
  6382. type: number
  6383. tradeuserid:
  6384. description: 交易员id
  6385. type: integer
  6386. tradeuserlogincode:
  6387. description: 交易员登录代码
  6388. type: string
  6389. tradeusername:
  6390. description: 交易员名称
  6391. type: string
  6392. unpayamount:
  6393. description: 应收付款额(应支付或应收款)
  6394. type: number
  6395. unpricedqty:
  6396. description: 未定价量
  6397. type: number
  6398. unsureqty:
  6399. description: 未确定量
  6400. type: number
  6401. userid:
  6402. description: 机构ID
  6403. type: integer
  6404. vatrate:
  6405. description: 增值税率
  6406. type: number
  6407. wrstandardcode:
  6408. description: 品类代码
  6409. type: string
  6410. wrstandardid:
  6411. description: 品类ID
  6412. type: integer
  6413. wrstandardname:
  6414. description: 品类名称
  6415. type: string
  6416. type: object
  6417. models.Ermcp3SpotGoodsPrice:
  6418. properties:
  6419. areauserid:
  6420. description: 所属机构id
  6421. type: integer
  6422. brandname:
  6423. description: 品牌名称
  6424. type: string
  6425. currencyid:
  6426. description: 报价货币ID
  6427. type: integer
  6428. currencyname:
  6429. description: 币种名称
  6430. type: string
  6431. deliverygoodscode:
  6432. description: 现货商品代码
  6433. type: string
  6434. deliverygoodsid:
  6435. description: 现货商品id
  6436. type: integer
  6437. deliverygoodsname:
  6438. description: 现货商品名称
  6439. type: string
  6440. enumdicname:
  6441. description: 现货商品单位名称
  6442. type: string
  6443. gbenumdicname:
  6444. description: 品类单位名称
  6445. type: string
  6446. gmunitid:
  6447. description: 品类单位id
  6448. type: integer
  6449. isvalid:
  6450. description: 是否有效 - 0:无效 1:有效
  6451. type: integer
  6452. operateid:
  6453. description: 最后操作人
  6454. type: integer
  6455. operatesrc:
  6456. description: 最后操作来源 - 1:管理端 2:终端
  6457. type: integer
  6458. operatetime:
  6459. description: 最后操作时间
  6460. type: string
  6461. operatorname:
  6462. description: 操作人名称
  6463. type: string
  6464. spotgoodsbrandid:
  6465. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6466. type: integer
  6467. spotgoodsprice:
  6468. description: 现货价格
  6469. type: number
  6470. tradedate:
  6471. description: 交易日(yyyyMMdd)
  6472. type: string
  6473. unitid:
  6474. description: 现货商品单位id
  6475. type: integer
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 现货品类ID(通用则为0)
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. type: object
  6486. models.Ermcp3SpotGoodsPriceLog:
  6487. properties:
  6488. areauserid:
  6489. description: 所属机构id
  6490. type: integer
  6491. brandname:
  6492. description: 品牌名称
  6493. type: string
  6494. currencyid:
  6495. description: 报价货币ID
  6496. type: integer
  6497. deliverygoodscode:
  6498. description: 现货商品代码
  6499. type: string
  6500. deliverygoodsid:
  6501. description: 现货商品id
  6502. type: integer
  6503. deliverygoodsname:
  6504. description: 现货商品名称
  6505. type: string
  6506. enumdicname:
  6507. description: 现货商品单位名称
  6508. type: string
  6509. gbenumdicname:
  6510. description: 品类单位名称
  6511. type: string
  6512. gmunitid:
  6513. description: 品类单位id
  6514. type: integer
  6515. logid:
  6516. description: 日志id
  6517. type: integer
  6518. operateid:
  6519. description: 最后操作人
  6520. type: integer
  6521. operatesrc:
  6522. description: 最后操作来源 - 1:管理端 2:终端
  6523. type: integer
  6524. operatetime:
  6525. description: 最后操作时间
  6526. type: string
  6527. operatorname:
  6528. description: 操作人名称
  6529. type: string
  6530. spotgoodsbrandid:
  6531. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6532. type: integer
  6533. spotgoodsprice:
  6534. description: 现货价格
  6535. type: number
  6536. tradedate:
  6537. description: 交易日(yyyyMMdd)
  6538. type: string
  6539. unitid:
  6540. description: 现货商品单位id
  6541. type: integer
  6542. wrstandardcode:
  6543. description: 品类代码
  6544. type: string
  6545. wrstandardid:
  6546. description: 现货品类ID(通用则为0)
  6547. type: integer
  6548. wrstandardname:
  6549. description: 品类名称
  6550. type: string
  6551. type: object
  6552. models.Ermcp3SubTaaccount:
  6553. properties:
  6554. accountid:
  6555. description: 资金账户ID
  6556. type: integer
  6557. parentaccountcode:
  6558. description: 所属根账号代码(母账号代码)
  6559. type: string
  6560. parentaccountid:
  6561. description: 所属根账号(母账号)
  6562. type: integer
  6563. taname:
  6564. description: 资金账号名称
  6565. type: string
  6566. tradestatus:
  6567. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6568. type: integer
  6569. username:
  6570. description: 交易用户
  6571. type: string
  6572. type: object
  6573. models.Ermcp3TaFutuReDataReport:
  6574. properties:
  6575. accountid:
  6576. description: 交易账户
  6577. type: integer
  6578. accountname:
  6579. description: 交易账号名称
  6580. type: string
  6581. agreeunit:
  6582. description: 商品合约单位
  6583. type: number
  6584. begindate:
  6585. description: 开始交易日
  6586. type: string
  6587. buyorsell:
  6588. description: 持仓方向
  6589. type: integer
  6590. charge:
  6591. description: 手续费
  6592. type: number
  6593. closeavgprice:
  6594. description: 平仓均价
  6595. type: number
  6596. closepl:
  6597. description: 平仓损益
  6598. type: number
  6599. currencyid:
  6600. description: 结算币种ID
  6601. type: integer
  6602. currencyname:
  6603. description: 币种名称
  6604. type: string
  6605. cycletime:
  6606. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6607. type: string
  6608. cycletype:
  6609. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6610. type: integer
  6611. enddate:
  6612. description: 结束交易日
  6613. type: string
  6614. enumdicname:
  6615. description: 单位名称
  6616. type: string
  6617. floatpl:
  6618. description: 浮动损益
  6619. type: number
  6620. goodscode:
  6621. description: 交易合约代码
  6622. type: string
  6623. goodsgroupid:
  6624. description: 交易品种
  6625. type: integer
  6626. goodsgroupname:
  6627. description: 交易品种名称
  6628. type: string
  6629. goodsgroupspotqty:
  6630. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6631. type: number
  6632. goodsid:
  6633. description: 交易合约
  6634. type: integer
  6635. goodsname:
  6636. description: 交易合约名称
  6637. type: string
  6638. goodunitid:
  6639. description: 交易合约单位id
  6640. type: integer
  6641. holdamount:
  6642. description: 期末持仓额
  6643. type: number
  6644. holdqty:
  6645. description: 期末持仓量
  6646. type: number
  6647. lastholdamount:
  6648. description: 当前持仓额
  6649. type: number
  6650. lastprice:
  6651. description: 最新价
  6652. type: number
  6653. middlegoodsid:
  6654. description: 套保品种id
  6655. type: integer
  6656. middlegoodsname:
  6657. description: 套保商品名称
  6658. type: string
  6659. middlegoodsqty:
  6660. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6661. type: number
  6662. middlgoodscode:
  6663. description: 套保商品代码
  6664. type: string
  6665. openamount:
  6666. description: 期末开仓额
  6667. type: number
  6668. openavgprice:
  6669. description: 开仓均价
  6670. type: number
  6671. oriholdamount:
  6672. description: 期初持仓额
  6673. type: number
  6674. oriholdqty:
  6675. description: 期初持仓量
  6676. type: number
  6677. oriopenamount:
  6678. description: 期初开仓额
  6679. type: number
  6680. outergroupcode:
  6681. description: 交易品种代码
  6682. type: string
  6683. qtydecimalplace:
  6684. description: 成交量小数位
  6685. type: integer
  6686. reckondate:
  6687. description: 日照时期(yyyyMMdd)
  6688. type: string
  6689. reckonholdamount:
  6690. description: 结算持仓额
  6691. type: number
  6692. reckonpl:
  6693. description: 结算损益
  6694. type: number
  6695. reckonpl2:
  6696. description: 结算逐笔盈亏
  6697. type: number
  6698. reckonprice:
  6699. description: 结算价
  6700. type: number
  6701. relateduserid:
  6702. description: 账户关联用户ID
  6703. type: integer
  6704. todaycloseamount:
  6705. description: 今平仓额
  6706. type: number
  6707. todaycloseqty:
  6708. description: 今平仓量
  6709. type: number
  6710. todaygoodsgroupspotqty:
  6711. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6712. type: number
  6713. todaymiddlegoodsqty:
  6714. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6715. type: number
  6716. todayopenamount:
  6717. description: 今开仓额
  6718. type: number
  6719. todayopenqty:
  6720. description: 今开仓量
  6721. type: number
  6722. userid:
  6723. description: 账户所属用户ID
  6724. type: integer
  6725. type: object
  6726. models.Ermcp3TradeLinkDetail:
  6727. properties:
  6728. accountid:
  6729. description: 资金账号
  6730. type: integer
  6731. agreeunit:
  6732. description: 合约乘数
  6733. type: number
  6734. areauserid:
  6735. description: 所属机构
  6736. type: string
  6737. bizsubjectid:
  6738. description: 归属业务部门ID - SubjectID
  6739. type: string
  6740. buyorsell:
  6741. description: 方向 - 0:买 1:卖
  6742. type: integer
  6743. channelbuildtype:
  6744. description: 委托单据类型 0:无 1:建仓 2:平仓
  6745. type: integer
  6746. contractno:
  6747. description: 现货编号 (合同编号)
  6748. type: string
  6749. convertratio:
  6750. description: 折算系数
  6751. type: number
  6752. createtime:
  6753. description: 关联时间 | 创建时间
  6754. type: string
  6755. creatorid:
  6756. description: 创建人ID
  6757. type: string
  6758. creatorsrc:
  6759. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6760. type: integer
  6761. enumdicname:
  6762. description: 单位名称
  6763. type: string
  6764. goodscode:
  6765. description: 合约代码
  6766. type: string
  6767. goodsgroupid:
  6768. description: 对冲品种ID[期货合约商品组ID]
  6769. type: integer
  6770. goodsid:
  6771. description: 商品ID
  6772. type: integer
  6773. goodsname:
  6774. description: 合约名称
  6775. type: string
  6776. hedgeflag:
  6777. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6778. type: integer
  6779. linkdetailid:
  6780. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6781. type: string
  6782. linkstatus:
  6783. description: 关联状态 - 1:成功 2:失败
  6784. type: integer
  6785. middlegoodsid:
  6786. description: 套保品种ID
  6787. type: integer
  6788. relatedlot:
  6789. description: 关联手数
  6790. type: number
  6791. relatedmode:
  6792. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6793. type: integer
  6794. relatedqty:
  6795. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6796. type: number
  6797. retcode:
  6798. description: 返回码
  6799. type: integer
  6800. saleuserid:
  6801. description: 业务员ID
  6802. type: string
  6803. spotcontractid:
  6804. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6805. type: string
  6806. taname:
  6807. description: 期货账户
  6808. type: string
  6809. tradedate:
  6810. description: 关联交易日(yyyyMMdd)
  6811. type: string
  6812. tradeid:
  6813. description: 期货订单号 | 内部成交单ID
  6814. type: string
  6815. tradelot:
  6816. description: 成交数量 | 成交手数
  6817. type: integer
  6818. tradeprice:
  6819. description: 成交价格
  6820. type: number
  6821. tradetime:
  6822. description: 期货成交时间
  6823. type: string
  6824. tradetradedate:
  6825. description: 成交交易日(yyyyMMdd)
  6826. type: string
  6827. username:
  6828. description: 用户名称
  6829. type: string
  6830. type: object
  6831. models.Ermcp3Wrstandard:
  6832. properties:
  6833. areauserid:
  6834. description: 所属机构
  6835. type: integer
  6836. cantrade:
  6837. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6838. type: integer
  6839. convertfactor:
  6840. description: 标仓系数
  6841. type: number
  6842. createtime:
  6843. description: 创建时间
  6844. type: string
  6845. creatorid:
  6846. description: 创建人
  6847. type: integer
  6848. deliverygoodsid:
  6849. description: 现货品种ID
  6850. type: integer
  6851. enumdicname:
  6852. description: 品类单位名称
  6853. type: string
  6854. isvalid:
  6855. description: 是否有效 0-无效(停用) 1-有效(正常)
  6856. type: integer
  6857. minivalue:
  6858. description: 最小变动值
  6859. type: integer
  6860. minivaluedp:
  6861. description: 最小变动值小数位
  6862. type: integer
  6863. realminivalue:
  6864. description: 实际最小变动值
  6865. type: integer
  6866. realminivaluedp:
  6867. description: 实际最小变动值小数位
  6868. type: integer
  6869. remark:
  6870. description: 备注
  6871. type: string
  6872. unitid:
  6873. description: 品类单位ID
  6874. type: integer
  6875. updatetime:
  6876. description: 更新时间
  6877. type: string
  6878. wrstandardcode:
  6879. description: 品类代码
  6880. type: string
  6881. wrstandardid:
  6882. description: 品类ID(SEQ_WRSTANDARD)
  6883. type: integer
  6884. wrstandardname:
  6885. description: 品类名称
  6886. type: string
  6887. type: object
  6888. models.ErmcpBizGroupEx:
  6889. properties:
  6890. acclist:
  6891. description: 账号列表
  6892. items:
  6893. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6894. type: array
  6895. bizgroupid:
  6896. description: 业务分组id
  6897. type: integer
  6898. biztype:
  6899. description: 业务类型 1-套保 2-套利
  6900. type: integer
  6901. wrlist:
  6902. description: 现货商品表
  6903. items:
  6904. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6905. type: array
  6906. type: object
  6907. models.ErmcpBizGroupSpotGoods:
  6908. properties:
  6909. areauserid:
  6910. description: 所属机构id
  6911. type: integer
  6912. bizgroupid:
  6913. description: 分组id
  6914. type: integer
  6915. biztype:
  6916. description: 业务类型 1-套保 2-套利
  6917. type: integer
  6918. deliverygoodscode:
  6919. description: 现货商品代码
  6920. type: string
  6921. deliverygoodsid:
  6922. description: 现货商品id
  6923. type: integer
  6924. deliverygoodsname:
  6925. description: 现货商品名称
  6926. type: string
  6927. unitid:
  6928. description: 现货商品单位id
  6929. type: integer
  6930. type: object
  6931. models.ErmcpBizGroupTaAccount:
  6932. properties:
  6933. accountid:
  6934. description: 账号id
  6935. type: integer
  6936. accountname:
  6937. description: 账号名称
  6938. type: string
  6939. areauserid:
  6940. description: 所属机构id
  6941. type: integer
  6942. bizgroupid:
  6943. description: 业务分组id
  6944. type: integer
  6945. ismain:
  6946. description: 是否主账号 1-是 0-否
  6947. type: integer
  6948. type: object
  6949. models.ErmcpDGFactoryItem:
  6950. properties:
  6951. areauserid:
  6952. description: 用户id
  6953. type: integer
  6954. deliverygoodsid:
  6955. description: 现货品种ID
  6956. type: integer
  6957. dgfactoryitemid:
  6958. description: 选择项ID(SEQ_DGFACTORYITEM)
  6959. type: integer
  6960. dgfactoryitemtypeid:
  6961. description: 要素项类型
  6962. type: integer
  6963. dgfactoryitemvalue:
  6964. description: 要素项值(类型为仓库时填写仓库名称)
  6965. type: string
  6966. isvalid:
  6967. description: 是否有效 - 0:无效 1:有效
  6968. type: integer
  6969. orderindex:
  6970. description: 顺序
  6971. type: integer
  6972. warehouseid:
  6973. description: 仓库ID(类型为仓库时填写)
  6974. type: integer
  6975. type: object
  6976. models.ErmcpDeliveryGoods:
  6977. properties:
  6978. agreeunit:
  6979. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6980. type: integer
  6981. areauserid:
  6982. description: 所属机构
  6983. type: integer
  6984. auditflag:
  6985. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6986. type: integer
  6987. categoryid:
  6988. description: 类别ID(SEQ_WRCATEGORY)
  6989. type: integer
  6990. deliverygoodscode:
  6991. description: 现货品种代码
  6992. type: string
  6993. deliverygoodsid:
  6994. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6995. type: integer
  6996. deliverygoodsname:
  6997. description: 现货品种名称
  6998. type: string
  6999. deliverygoodstype:
  7000. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7001. type: integer
  7002. dgstatus:
  7003. description: 品种状态 - 作废 - 0:未激活 1:正常
  7004. type: integer
  7005. enumdicname:
  7006. description: 现货品种单位名称
  7007. type: string
  7008. goodsunitid:
  7009. description: 现货品种单位ID
  7010. type: integer
  7011. isvalid:
  7012. description: 是否有效 - 0:无效 1:有效
  7013. type: integer
  7014. qtydecimalplace:
  7015. description: 成交量小数位
  7016. type: integer
  7017. remark:
  7018. description: 备注
  7019. type: string
  7020. standardqty:
  7021. description: 标准数量(库位数量) [标准品特有]
  7022. type: integer
  7023. standardqtyrange:
  7024. description: 标准数量偏差范围 [标准品特有]
  7025. type: integer
  7026. type: object
  7027. models.ErmcpFuturesCompany:
  7028. properties:
  7029. brokerid:
  7030. description: 经纪公司代码
  7031. type: string
  7032. channeladdress:
  7033. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7034. type: string
  7035. channelid:
  7036. description: 对冲渠道ID
  7037. type: string
  7038. createtime:
  7039. description: 创建时间
  7040. type: string
  7041. creatorid:
  7042. description: 创建人
  7043. type: string
  7044. fcid:
  7045. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7046. type: integer
  7047. fcname:
  7048. description: 期货公司名称
  7049. type: string
  7050. isvalid:
  7051. description: 是否有效 - 0:无效 1:有效
  7052. type: integer
  7053. mhpaddress:
  7054. description: MHP服务地址(IP:Port)
  7055. type: string
  7056. riskrulegroupid:
  7057. description: 风控规则组ID
  7058. type: string
  7059. tradefeetmpid:
  7060. description: 手续费模板ID[TradeConfigTmpType为2]
  7061. type: string
  7062. trademargintmpid:
  7063. description: 保证金模板ID [TradeConfigTmpType为1]
  7064. type: string
  7065. traderatetmpid:
  7066. description: 汇率模板ID[TradeConfigTmpType为3]
  7067. type: string
  7068. updatetime:
  7069. description: 更新时间
  7070. type: string
  7071. updatorid:
  7072. description: 更新人
  7073. type: string
  7074. type: object
  7075. models.ErmcpGGConvertCfg:
  7076. properties:
  7077. convertratio:
  7078. description: 折算系数
  7079. type: number
  7080. destgoodsgroupid:
  7081. description: 目标品种ID
  7082. type: integer
  7083. dstcode:
  7084. description: 目录品种代码
  7085. type: string
  7086. dstexchangecode:
  7087. description: 目标期货交易所
  7088. type: string
  7089. dstname:
  7090. description: 目标品种名称
  7091. type: string
  7092. dstunitid:
  7093. description: 目标品种单位ID
  7094. type: integer
  7095. dstunitidname:
  7096. description: 目标品种单位名称
  7097. type: string
  7098. modifytime:
  7099. description: 修改时间
  7100. type: string
  7101. srccode:
  7102. description: 源品种代码
  7103. type: string
  7104. srcexchangecode:
  7105. description: 源期货交易所
  7106. type: string
  7107. srcgoodsgroupid:
  7108. description: 源品种ID
  7109. type: integer
  7110. srcname:
  7111. description: 源品种名称
  7112. type: string
  7113. srcunitid:
  7114. description: 源品种单位ID
  7115. type: integer
  7116. srcunitidname:
  7117. description: 源品种单位名称
  7118. type: string
  7119. type: object
  7120. models.ErmcpGoods:
  7121. properties:
  7122. agreeunit:
  7123. description: 合约单位
  7124. type: number
  7125. areauserid:
  7126. description: 所属机构
  7127. type: integer
  7128. auditaccountid:
  7129. description: 审核操作员账号
  7130. type: integer
  7131. audittime:
  7132. description: 审核时间
  7133. type: string
  7134. cancelaccountid:
  7135. description: 注销操作员账号
  7136. type: integer
  7137. canceltime:
  7138. description: 注销时间
  7139. type: string
  7140. closepricemode:
  7141. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7142. type: integer
  7143. closepriceparam:
  7144. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7145. type: number
  7146. createtime:
  7147. description: 创建时间
  7148. type: string
  7149. creatorid:
  7150. description: 创建人
  7151. type: integer
  7152. currencyid:
  7153. description: 报价货币ID
  7154. type: integer
  7155. cutmode:
  7156. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7157. type: integer
  7158. decimalplace:
  7159. description: 报价小数位
  7160. type: integer
  7161. delistingdate:
  7162. description: 商品退市时间(状态:退市) -- 已作废
  7163. type: string
  7164. delistingmode:
  7165. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7166. type: integer
  7167. deliveryflag:
  7168. description: 交割标志 - 0:不可交割 1:可交割
  7169. type: integer
  7170. enumdicname:
  7171. description: 单位名称
  7172. type: string
  7173. forceclosemode:
  7174. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7175. type: integer
  7176. forceclosevalue:
  7177. description: 定期强平参数 [收益权]
  7178. type: integer
  7179. goodscode:
  7180. description: 商品代码(内部)
  7181. type: string
  7182. goodscurrencyid:
  7183. description: 合约货币ID
  7184. type: integer
  7185. goodsgroupid:
  7186. description: 所属商品组ID
  7187. type: integer
  7188. goodsid:
  7189. description: 商品ID(自增ID SEQ_GOODS)
  7190. type: integer
  7191. goodsname:
  7192. description: 商品名称
  7193. type: string
  7194. goodsquotetype:
  7195. description: '合约报价类型: 1-直接报价 2-间接报价'
  7196. type: integer
  7197. goodsstatus:
  7198. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7199. type: integer
  7200. goodstradetype:
  7201. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7202. type: integer
  7203. goodunitid:
  7204. description: 报价单位ID
  7205. type: integer
  7206. hasquoter:
  7207. description: 是否有报价商 - 0:无报价商 1:有报价商
  7208. type: integer
  7209. hqprotecttime:
  7210. description: 行情保护时间(秒)
  7211. type: integer
  7212. innerdealmode:
  7213. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7214. type: integer
  7215. isbuylimited:
  7216. description: 是否限制建仓量 - 0:不限制 1:限制
  7217. type: integer
  7218. isvisible:
  7219. description: 游客是否可见 - 0:不可见 1:可见
  7220. type: integer
  7221. lasttradedate:
  7222. description: 最后交易日期(状态:待退市)
  7223. type: string
  7224. listingdate:
  7225. description: 交易开始日期
  7226. type: string
  7227. marketid:
  7228. description: 所属市场ID
  7229. type: integer
  7230. modifierid:
  7231. description: 修改人
  7232. type: integer
  7233. modifystatus:
  7234. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7235. type: integer
  7236. modifytime:
  7237. description: 修改时间
  7238. type: string
  7239. outerdealmode:
  7240. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7241. type: integer
  7242. outgoodscode:
  7243. description: 商品代码(外部)
  7244. type: string
  7245. pictureurl:
  7246. description: 商品图片
  7247. type: string
  7248. qtydecimalplace:
  7249. description: 成交量小数位
  7250. type: integer
  7251. quotegear:
  7252. description: 行情档位(1-10)
  7253. type: integer
  7254. quoteminunit:
  7255. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7256. type: integer
  7257. quoteshowtype:
  7258. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7259. type: integer
  7260. quoteshowtypeinterval:
  7261. description: 行情报价间隔时间(秒)(成交价时为0)
  7262. type: integer
  7263. relatedgoodsid:
  7264. description: 关联参考商品ID
  7265. type: integer
  7266. remark:
  7267. description: 备注
  7268. type: string
  7269. trademode:
  7270. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7271. type: integer
  7272. required:
  7273. - goodscode
  7274. - goodsid
  7275. - goodsname
  7276. - marketid
  7277. type: object
  7278. models.ErmcpGoodsBrand:
  7279. properties:
  7280. areauserid:
  7281. description: 所属机构
  7282. type: integer
  7283. brandid:
  7284. description: BrandID(SEQ_SPOTGOODSBRAND)
  7285. type: integer
  7286. brandname:
  7287. description: 品牌名称
  7288. type: string
  7289. createtime:
  7290. description: 创建时间
  7291. type: string
  7292. creatorid:
  7293. description: 创建人
  7294. type: integer
  7295. creatorsrc:
  7296. description: 创建人来源 - 1:管理端 2:终端
  7297. type: integer
  7298. deliverygoodsid:
  7299. description: 现货品种ID
  7300. type: integer
  7301. isvalid:
  7302. description: 是否有效 - 0:无效 1:有效
  7303. type: integer
  7304. updatetime:
  7305. description: 更新时间
  7306. type: string
  7307. updatorid:
  7308. description: 更新人
  7309. type: integer
  7310. updatorsrc:
  7311. description: 更新人来源 - 1:管理端 2:终端
  7312. type: integer
  7313. wrstandardid:
  7314. description: 现货商品ID
  7315. type: integer
  7316. type: object
  7317. models.ErmcpGoodsModel:
  7318. properties:
  7319. areauserid:
  7320. description: 所属机构
  7321. type: integer
  7322. convertfactor:
  7323. description: 标仓系数
  7324. type: number
  7325. createtime:
  7326. description: 创建时间
  7327. type: string
  7328. creatorid:
  7329. description: 创建人
  7330. type: integer
  7331. creatorsrc:
  7332. description: 创建人来源 - 1:管理端 2:终端
  7333. type: integer
  7334. deliverygoodsid:
  7335. description: 现货品种ID
  7336. type: integer
  7337. isvalid:
  7338. description: 是否有效 - 0:无效 1:有效
  7339. type: integer
  7340. modelid:
  7341. description: ModelID(SEQ_SPOTGOODSMODEL)
  7342. type: integer
  7343. modelname:
  7344. description: 型号名称
  7345. type: string
  7346. updatetime:
  7347. description: 更新时间
  7348. type: string
  7349. updatorid:
  7350. description: 更新人
  7351. type: integer
  7352. updatorsrc:
  7353. description: 更新人来源 - 1:管理端 2:终端
  7354. type: integer
  7355. wrstandardid:
  7356. description: 现货商品ID
  7357. type: integer
  7358. type: object
  7359. models.ErmcpHisExposure:
  7360. properties:
  7361. needhedgeexposoure:
  7362. description: 应套保敞口
  7363. type: number
  7364. reckondate:
  7365. description: 日照时期(yyyyMMdd)
  7366. type: string
  7367. totalexposure:
  7368. description: 总敞口
  7369. type: number
  7370. type: object
  7371. models.ErmcpLoginTaAccount:
  7372. properties:
  7373. accountid:
  7374. description: 账号id
  7375. type: integer
  7376. accountname:
  7377. description: 账号名称
  7378. type: string
  7379. type: object
  7380. models.ErmcpLoginUser:
  7381. properties:
  7382. acclist:
  7383. description: 关联资金账号
  7384. items:
  7385. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7386. type: array
  7387. accountname:
  7388. description: 用户名称
  7389. type: string
  7390. clientroleid:
  7391. description: 角色id(usertype=2)
  7392. type: integer
  7393. createtime:
  7394. description: 创建时间
  7395. type: string
  7396. logincode:
  7397. description: 登录代码
  7398. type: string
  7399. loginid:
  7400. description: 登录id(LOGINID)
  7401. type: integer
  7402. loginname:
  7403. description: 登录名称(loginaccount表中的accountname字段)
  7404. type: string
  7405. loginstatus:
  7406. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7407. type: integer
  7408. memberuserid:
  7409. description: 所属会员id
  7410. type: integer
  7411. mobile:
  7412. description: 手机号
  7413. type: string
  7414. modifytime:
  7415. description: 修改时间
  7416. type: string
  7417. password:
  7418. description: 密码(不可解密)
  7419. type: string
  7420. rolename:
  7421. description: 角色名称
  7422. type: string
  7423. rolestatus:
  7424. description: 角色状态 1-启用 2-停用
  7425. type: integer
  7426. roletype:
  7427. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7428. type: string
  7429. userid:
  7430. description: 用户id
  7431. type: integer
  7432. usertype:
  7433. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7434. type: integer
  7435. type: object
  7436. models.ErmcpLoginUserEx:
  7437. properties:
  7438. accountstatus:
  7439. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7440. type: integer
  7441. mobile:
  7442. description: 手机号
  7443. type: string
  7444. querytype:
  7445. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7446. type: integer
  7447. roleid:
  7448. description: 角色id(交易账户->用户id)
  7449. type: integer
  7450. rolename:
  7451. description: 角色名称(交易账户->用户名称)
  7452. type: string
  7453. userlist:
  7454. description: 用户列表
  7455. items:
  7456. $ref: '#/definitions/models.ErmcpLoginUser'
  7457. type: array
  7458. usertype:
  7459. description: 用户类型 2-机构 7-企业成员(云平台)
  7460. type: integer
  7461. type: object
  7462. models.ErmcpMiddleGoodsModel:
  7463. properties:
  7464. areauserid:
  7465. description: 机构用户ID
  7466. type: integer
  7467. createtime:
  7468. description: 修改时间
  7469. type: string
  7470. enumdicname:
  7471. description: 单位名称
  7472. type: string
  7473. evaluateratio:
  7474. description: 估价系数
  7475. type: number
  7476. goodsgroupid:
  7477. description: 关联期货品种ID
  7478. type: integer
  7479. goodsunitid:
  7480. description: 单位ID
  7481. type: integer
  7482. isvalid:
  7483. description: 状态 0-无效(停用) 1-有效(正常)
  7484. type: integer
  7485. middlegoodscode:
  7486. description: 套保品种代码
  7487. type: string
  7488. middlegoodsid:
  7489. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7490. type: integer
  7491. middlegoodsname:
  7492. description: 套保品种名称
  7493. type: string
  7494. modifytime:
  7495. description: 修改时间
  7496. type: string
  7497. needarbitrageratio:
  7498. description: 套利比例
  7499. type: number
  7500. needhedgeratio:
  7501. description: 套保比率
  7502. type: number
  7503. qtydecimalplace:
  7504. description: 数量小数位
  7505. type: integer
  7506. relatedgoodsid:
  7507. description: 关联交易商品ID
  7508. type: integer
  7509. relatedgoodstype:
  7510. description: 关联商品类型 - 1:期货合约 2:现货品种
  7511. type: integer
  7512. remark:
  7513. description: 备注
  7514. type: string
  7515. type: object
  7516. models.ErmcpMiddlegoodsRelateGoods:
  7517. properties:
  7518. agreeunit:
  7519. description: 合约乘数
  7520. type: number
  7521. convertratio:
  7522. description: 折算系数
  7523. type: number
  7524. enumdicname:
  7525. description: 单位名称(交易商品)
  7526. type: string
  7527. goodscode:
  7528. description: 交易商品代码
  7529. type: string
  7530. goodsgroupid:
  7531. description: 交易品种id
  7532. type: integer
  7533. goodsid:
  7534. description: 商品Id
  7535. type: integer
  7536. goodsname:
  7537. description: 交易商品名称
  7538. type: string
  7539. goodunitid:
  7540. description: 交易商品单位id
  7541. type: integer
  7542. middlegoodsid:
  7543. description: 套保商品id
  7544. type: integer
  7545. middlegoodsname:
  7546. description: 套保商品名称
  7547. type: string
  7548. middlegoodsswcode:
  7549. description: 套保商品代码
  7550. type: string
  7551. needarbitrageratio:
  7552. description: 应套利比例
  7553. type: number
  7554. needhedgeratio:
  7555. description: 应套保比例
  7556. type: number
  7557. type: object
  7558. models.ErmcpRole:
  7559. properties:
  7560. areauserid:
  7561. description: 所属机构
  7562. type: integer
  7563. autoid:
  7564. description: 角色ID(自增ID)
  7565. type: integer
  7566. modifierid:
  7567. description: 修改人(创建人)
  7568. type: integer
  7569. modifiername:
  7570. description: 修改人名称
  7571. type: string
  7572. modifytime:
  7573. description: 修改时间(创建时间)
  7574. type: string
  7575. rolename:
  7576. description: 角色名称
  7577. type: string
  7578. rolestatus:
  7579. description: 角色状态 - 1:启用 2:停用
  7580. type: integer
  7581. roletype:
  7582. description: 角色类型 - 1- 管理端 2- 交易端
  7583. type: integer
  7584. type: object
  7585. models.ErmcpRoleMenu:
  7586. properties:
  7587. iconame:
  7588. description: 菜单图标
  7589. type: string
  7590. ishadrole:
  7591. description: 是否有权限
  7592. type: boolean
  7593. menutype:
  7594. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7595. type: integer
  7596. parentcode:
  7597. description: 上级资源代码
  7598. type: string
  7599. remark:
  7600. description: 菜单备注
  7601. type: string
  7602. resourcecode:
  7603. description: 菜单代码
  7604. type: string
  7605. resourcelevel:
  7606. description: 级别
  7607. type: integer
  7608. resourcename:
  7609. description: 菜单名称
  7610. type: string
  7611. roleid:
  7612. description: 角色id
  7613. type: integer
  7614. sort:
  7615. description: 排序
  7616. type: integer
  7617. url:
  7618. description: URL
  7619. type: string
  7620. userid:
  7621. description: 用户id
  7622. type: integer
  7623. type: object
  7624. models.ErmcpRoleMenuEx:
  7625. properties:
  7626. menu:
  7627. $ref: '#/definitions/models.ErmcpRoleMenu'
  7628. description: 父级菜单
  7629. subMenu:
  7630. description: 子级菜单
  7631. items:
  7632. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7633. type: array
  7634. type: object
  7635. models.ErmcpTaAccount:
  7636. properties:
  7637. accountid:
  7638. description: 账户id
  7639. type: integer
  7640. accountname:
  7641. description: 账户名称
  7642. type: string
  7643. currencyid:
  7644. description: 币种id
  7645. type: integer
  7646. hedgeaccountcode:
  7647. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7648. type: string
  7649. ismain:
  7650. description: 是否主账户 0-否 1-是
  7651. type: integer
  7652. parentaccountid:
  7653. description: 父账户id
  7654. type: integer
  7655. relateduserid:
  7656. description: 关联userid
  7657. type: integer
  7658. tradefeetmpid:
  7659. description: 手续费模板id
  7660. type: integer
  7661. tradefeetmpname:
  7662. description: 手续费模板名称
  7663. type: string
  7664. trademargintmpid:
  7665. description: 保证金模板id
  7666. type: integer
  7667. trademargintmpname:
  7668. description: 保证金模板名称
  7669. type: string
  7670. traderatetmpid:
  7671. description: 汇率模板id
  7672. type: integer
  7673. traderatetmpname:
  7674. description: 汇率模板名称
  7675. type: string
  7676. tradestatus:
  7677. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7678. type: integer
  7679. userid:
  7680. description: 用户id
  7681. type: integer
  7682. type: object
  7683. models.ErmcpTaAccountEx:
  7684. properties:
  7685. mainAcc:
  7686. $ref: '#/definitions/models.ErmcpTaAccountM'
  7687. description: 主账号
  7688. subacclist:
  7689. description: 子账号列表
  7690. items:
  7691. $ref: '#/definitions/models.ErmcpTaAccount'
  7692. type: array
  7693. type: object
  7694. models.ErmcpTaAccountInfo:
  7695. properties:
  7696. accountid:
  7697. description: 资金账户ID
  7698. type: integer
  7699. accountname:
  7700. description: 账户名称
  7701. type: string
  7702. balance:
  7703. description: 期初余额
  7704. type: number
  7705. capitalbalance:
  7706. description: 本金余额[外部子账户实际出入金余额]
  7707. type: number
  7708. closepl:
  7709. description: 今日平仓盈亏
  7710. type: number
  7711. creditdecrease:
  7712. description: 今日授信减少
  7713. type: number
  7714. creditincrease:
  7715. description: 今日授信增加
  7716. type: number
  7717. curdebt:
  7718. description: 期末欠款
  7719. type: number
  7720. currencyid:
  7721. description: 货币ID
  7722. type: integer
  7723. currentbalance:
  7724. description: 期末余额
  7725. type: number
  7726. freezecharge:
  7727. description: 手续费冻结
  7728. type: number
  7729. freezemargin:
  7730. description: 冻结保证金
  7731. type: number
  7732. fromaccountid:
  7733. description: 所属上级账户
  7734. type: integer
  7735. inamount:
  7736. description: 今日入金金额(包括三方入金)
  7737. type: number
  7738. ismain:
  7739. description: 是否母账号 0:不是母账户 1:是母账户
  7740. type: integer
  7741. mortgagecredit:
  7742. description: 授信金额
  7743. type: number
  7744. oridebt:
  7745. description: 期初欠款
  7746. type: number
  7747. orifreezecharge:
  7748. description: 期初手续费冻结
  7749. type: number
  7750. orifreezemargin:
  7751. description: 期初冻结保证金
  7752. type: number
  7753. orimortgagecredit:
  7754. description: 期初授信金额
  7755. type: number
  7756. oriothercredit:
  7757. description: 期初其它授信金额
  7758. type: number
  7759. oriotherfreezemargin:
  7760. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7761. type: number
  7762. orioutamountfreeze:
  7763. description: 期初出金冻结
  7764. type: number
  7765. oriusedmargin:
  7766. description: 期初占用保证金
  7767. type: number
  7768. othercredit:
  7769. description: 其它授信金额
  7770. type: number
  7771. othercreditdecrease:
  7772. description: 今日其它授信减少
  7773. type: number
  7774. othercreditincrease:
  7775. description: 今日其它授信增加
  7776. type: number
  7777. otherfreezemargin:
  7778. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7779. type: number
  7780. outamount:
  7781. description: 今日出金金额(包括三方出金)
  7782. type: number
  7783. outamountfreeze:
  7784. description: 出金冻结
  7785. type: number
  7786. outthreshold:
  7787. description: 出金阈值
  7788. type: number
  7789. parentaccountid:
  7790. description: 所属根账号
  7791. type: integer
  7792. paycharge:
  7793. description: 今日手续费支出
  7794. type: number
  7795. relateduserid:
  7796. description: 关联用户
  7797. type: integer
  7798. signstatus:
  7799. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7800. type: integer
  7801. sublevelpath:
  7802. description: 账号层级路径(逗号分隔,首尾加逗号)
  7803. type: string
  7804. taaccounttype:
  7805. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7806. type: integer
  7807. thirdinamount:
  7808. description: 今日三方入金
  7809. type: number
  7810. thirdoutamount:
  7811. description: 今日三方出金
  7812. type: number
  7813. tradestatus:
  7814. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7815. type: integer
  7816. transferamount:
  7817. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7818. type: number
  7819. usedmargin:
  7820. description: 占用保证金
  7821. type: number
  7822. userid:
  7823. description: 用户ID
  7824. type: integer
  7825. type: object
  7826. models.ErmcpTaAccountM:
  7827. properties:
  7828. accountid:
  7829. description: 账户id
  7830. type: integer
  7831. accountname:
  7832. description: 账户名称
  7833. type: string
  7834. currencyid:
  7835. description: 币种id
  7836. type: integer
  7837. fcid:
  7838. description: 期货公司id
  7839. type: integer
  7840. fcname:
  7841. description: 期货公司代码
  7842. type: string
  7843. hedgeaccountcode:
  7844. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7845. type: string
  7846. ismain:
  7847. description: 是否主账户 0-否 1-是
  7848. type: integer
  7849. parentaccountid:
  7850. description: 父账户id
  7851. type: integer
  7852. relateduserid:
  7853. description: 关联userid
  7854. type: integer
  7855. tradefeetmpid:
  7856. description: 手续费模板id
  7857. type: integer
  7858. tradefeetmpname:
  7859. description: 手续费模板名称
  7860. type: string
  7861. trademargintmpid:
  7862. description: 保证金模板id
  7863. type: integer
  7864. trademargintmpname:
  7865. description: 保证金模板名称
  7866. type: string
  7867. traderatetmpid:
  7868. description: 汇率模板id
  7869. type: integer
  7870. traderatetmpname:
  7871. description: 汇率模板名称
  7872. type: string
  7873. tradestatus:
  7874. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7875. type: integer
  7876. userid:
  7877. description: 用户id
  7878. type: integer
  7879. type: object
  7880. models.ErmcpTradeConfigTMP:
  7881. properties:
  7882. areauserid:
  7883. description: 所属机构
  7884. type: integer
  7885. basiccurrencyid:
  7886. description: 基本币种ID[汇率] - 目标币种
  7887. type: integer
  7888. mainaccountid:
  7889. description: 主账户ID
  7890. type: integer
  7891. modifierid:
  7892. description: 修改人
  7893. type: integer
  7894. remark:
  7895. description: 备注
  7896. type: string
  7897. tradeconfigtmpid:
  7898. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7899. type: integer
  7900. tradeconfigtmpname:
  7901. description: 交易配置模板名称
  7902. type: string
  7903. tradeconfigtmptype:
  7904. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7905. type: integer
  7906. updatetime:
  7907. description: 更新时间
  7908. type: string
  7909. type: object
  7910. models.Externalexchange:
  7911. properties:
  7912. autoid:
  7913. description: AutoID - SEQ_EXTERNALEXCHANGE
  7914. type: integer
  7915. exchangefullname:
  7916. description: 外部交易所全称
  7917. type: string
  7918. exexchangecode:
  7919. description: 外部交易所代码
  7920. type: string
  7921. exexchangename:
  7922. description: 外部交易所名称(简称)
  7923. type: string
  7924. ismarketprice:
  7925. description: 是否支持市价 - 0:不支持 1:支持
  7926. type: integer
  7927. quotegear:
  7928. description: 行情档位(1-10)
  7929. type: integer
  7930. showbrokerflag:
  7931. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7932. type: integer
  7933. updatetime:
  7934. description: 更新时间
  7935. type: string
  7936. required:
  7937. - autoid
  7938. type: object
  7939. models.Funcmenulist:
  7940. properties:
  7941. iconame:
  7942. description: 菜单图标
  7943. type: string
  7944. menutype:
  7945. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7946. type: integer
  7947. parentcode:
  7948. description: 上级资源代码
  7949. type: string
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. resourcecode:
  7954. description: 资源代码
  7955. type: string
  7956. resourcelevel:
  7957. description: 级别 1-一级 2-二级 3-三级 4-四级
  7958. type: integer
  7959. resourcename:
  7960. description: 资源名
  7961. type: string
  7962. sort:
  7963. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7964. type: integer
  7965. url:
  7966. description: URL
  7967. type: string
  7968. required:
  7969. - resourcecode
  7970. type: object
  7971. models.Goods:
  7972. properties:
  7973. agreeunit:
  7974. description: 合约单位
  7975. type: number
  7976. areauserid:
  7977. description: 所属机构
  7978. type: integer
  7979. auditaccountid:
  7980. description: 审核操作员账号
  7981. type: integer
  7982. audittime:
  7983. description: 审核时间
  7984. type: string
  7985. cancelaccountid:
  7986. description: 注销操作员账号
  7987. type: integer
  7988. canceltime:
  7989. description: 注销时间
  7990. type: string
  7991. closepricemode:
  7992. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7993. type: integer
  7994. closepriceparam:
  7995. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7996. type: number
  7997. createtime:
  7998. description: 创建时间
  7999. type: string
  8000. creatorid:
  8001. description: 创建人
  8002. type: integer
  8003. currencyid:
  8004. description: 报价货币ID
  8005. type: integer
  8006. cutmode:
  8007. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8008. type: integer
  8009. decimalplace:
  8010. description: 报价小数位
  8011. type: integer
  8012. delistingdate:
  8013. description: 商品退市时间(状态:退市) -- 已作废
  8014. type: string
  8015. delistingmode:
  8016. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8017. type: integer
  8018. deliveryflag:
  8019. description: 交割标志 - 0:不可交割 1:可交割
  8020. type: integer
  8021. forceclosemode:
  8022. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8023. type: integer
  8024. forceclosevalue:
  8025. description: 定期强平参数 [收益权]
  8026. type: integer
  8027. goodscode:
  8028. description: 商品代码(内部)
  8029. type: string
  8030. goodscurrencyid:
  8031. description: 合约货币ID
  8032. type: integer
  8033. goodsgroupid:
  8034. description: 所属商品组ID
  8035. type: integer
  8036. goodsid:
  8037. description: 商品ID(自增ID SEQ_GOODS)
  8038. type: integer
  8039. goodsname:
  8040. description: 商品名称
  8041. type: string
  8042. goodsquotetype:
  8043. description: '合约报价类型: 1-直接报价 2-间接报价'
  8044. type: integer
  8045. goodsstatus:
  8046. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8047. type: integer
  8048. goodstradetype:
  8049. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8050. type: integer
  8051. goodunitid:
  8052. description: 报价单位ID
  8053. type: integer
  8054. hasquoter:
  8055. description: 是否有报价商 - 0:无报价商 1:有报价商
  8056. type: integer
  8057. hqprotecttime:
  8058. description: 行情保护时间(秒)
  8059. type: integer
  8060. innerdealmode:
  8061. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8062. type: integer
  8063. isbuylimited:
  8064. description: 是否限制建仓量 - 0:不限制 1:限制
  8065. type: integer
  8066. isvisible:
  8067. description: 游客是否可见 - 0:不可见 1:可见
  8068. type: integer
  8069. lasttradedate:
  8070. description: 最后交易日期(状态:待退市)
  8071. type: string
  8072. listingdate:
  8073. description: 交易开始日期
  8074. type: string
  8075. marketid:
  8076. description: 所属市场ID
  8077. type: integer
  8078. modifierid:
  8079. description: 修改人
  8080. type: integer
  8081. modifystatus:
  8082. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8083. type: integer
  8084. modifytime:
  8085. description: 修改时间
  8086. type: string
  8087. outerdealmode:
  8088. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8089. type: integer
  8090. outgoodscode:
  8091. description: 商品代码(外部)
  8092. type: string
  8093. pictureurl:
  8094. description: 商品图片
  8095. type: string
  8096. qtydecimalplace:
  8097. description: 成交量小数位
  8098. type: integer
  8099. quotegear:
  8100. description: 行情档位(1-10)
  8101. type: integer
  8102. quoteminunit:
  8103. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8104. type: integer
  8105. quoteshowtype:
  8106. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8107. type: integer
  8108. quoteshowtypeinterval:
  8109. description: 行情报价间隔时间(秒)(成交价时为0)
  8110. type: integer
  8111. remark:
  8112. description: 备注
  8113. type: string
  8114. required:
  8115. - goodscode
  8116. - goodsid
  8117. - goodsname
  8118. - marketid
  8119. type: object
  8120. models.GoodsIDAndName:
  8121. properties:
  8122. goodscode:
  8123. description: 商品代码(内部)
  8124. type: string
  8125. goodsid:
  8126. description: 商品ID(自增ID SEQ_GOODS)
  8127. type: integer
  8128. goodsname:
  8129. description: 商品名称
  8130. type: string
  8131. marketid:
  8132. description: 所属市场ID
  8133. type: integer
  8134. required:
  8135. - goodscode
  8136. - goodsid
  8137. - goodsname
  8138. - marketid
  8139. type: object
  8140. models.Goodsgroup:
  8141. properties:
  8142. agreeunit:
  8143. description: 合约单位
  8144. type: number
  8145. canshort:
  8146. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8147. type: integer
  8148. closepricemode:
  8149. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8150. type: integer
  8151. closepriceparam:
  8152. description: 强平最新价浮动比例 - 方式为2时使用
  8153. type: number
  8154. createtime:
  8155. description: 创建时间
  8156. type: string
  8157. creatorid:
  8158. description: 创建人
  8159. type: integer
  8160. currencyid:
  8161. description: 报价货币ID
  8162. type: integer
  8163. decimalplace:
  8164. description: 报价小数位
  8165. type: integer
  8166. exercisetype:
  8167. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8168. type: integer
  8169. exexchangeid:
  8170. description: 外部交易所ID[通道交易]
  8171. type: integer
  8172. goodsgroupid:
  8173. description: 商品组ID(自增ID)
  8174. type: integer
  8175. goodsgroupname:
  8176. description: 商品组名称
  8177. type: string
  8178. goodsgroupstatus:
  8179. description: 商品组状态 - 1:正常 2:注销
  8180. type: integer
  8181. goodunitid:
  8182. description: 报价单位ID
  8183. type: integer
  8184. innerdealmode:
  8185. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8186. type: integer
  8187. isbuylimited:
  8188. description: 是否限制建仓量 - 0:不限制 1:限制
  8189. type: integer
  8190. marketid:
  8191. description: 所属市场ID
  8192. type: integer
  8193. modifierid:
  8194. description: 修改人
  8195. type: integer
  8196. modifytime:
  8197. description: 修改时间
  8198. type: string
  8199. outerdealmode:
  8200. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8201. type: integer
  8202. outergroupcode:
  8203. description: 外部商品组代码[通道交易]
  8204. type: string
  8205. premiumdecimalplace:
  8206. description: 权利金小数位[场外期权]
  8207. type: integer
  8208. premiumspreadalgorithm:
  8209. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8210. type: integer
  8211. premiumspreadvalue:
  8212. description: 权利金点差值[场外期权]
  8213. type: number
  8214. qtydecimalplace:
  8215. description: 成交量小数位
  8216. type: integer
  8217. quotegear:
  8218. description: 行情档位(1-10)
  8219. type: integer
  8220. quoteminunit:
  8221. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8222. type: integer
  8223. quoterid:
  8224. description: 报价商ID[场外期权]
  8225. type: integer
  8226. quotesourcegroupid:
  8227. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8228. type: integer
  8229. syncgoodsqty:
  8230. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8231. type: integer
  8232. required:
  8233. - goodsgroupid
  8234. - goodsgroupname
  8235. - goodsgroupstatus
  8236. - marketid
  8237. type: object
  8238. models.Goodssortbypreposition:
  8239. properties:
  8240. goodscode:
  8241. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8242. type: string
  8243. goodsgroupcode:
  8244. description: 品种代码
  8245. type: string
  8246. prepositionqty:
  8247. description: 昨持仓量
  8248. type: integer
  8249. sortindex:
  8250. description: 排序
  8251. type: integer
  8252. tradedate:
  8253. description: 交易日
  8254. type: string
  8255. updatetime:
  8256. description: 更新时间
  8257. type: string
  8258. required:
  8259. - goodscode
  8260. - tradedate
  8261. type: object
  8262. models.Hedgeinnerholderdetail:
  8263. properties:
  8264. accountid:
  8265. description: 账号ID
  8266. type: integer
  8267. buyorsell:
  8268. description: 方向 - 0:买 1:卖
  8269. type: integer
  8270. freezeqty:
  8271. description: 冻结数量 - 按单平使用
  8272. type: integer
  8273. goodsid:
  8274. description: 商品ID
  8275. type: integer
  8276. holderamount:
  8277. description: 持仓金额 [商品币种]
  8278. type: number
  8279. holderdays:
  8280. description: 剩余冻结天数
  8281. type: integer
  8282. holderprice:
  8283. description: 持仓价格
  8284. type: number
  8285. holderqty:
  8286. description: 持仓数量
  8287. type: integer
  8288. marketid:
  8289. description: 市场ID
  8290. type: integer
  8291. openprice:
  8292. description: 建仓价格
  8293. type: number
  8294. openqty:
  8295. description: 建仓数量
  8296. type: integer
  8297. parentaccountid:
  8298. description: 所属母账户
  8299. type: integer
  8300. releaseamount:
  8301. description: 释放持仓金额[商品币种]
  8302. type: number
  8303. tradeamount:
  8304. description: 成交金额[账户]
  8305. type: number
  8306. tradedate:
  8307. description: 交易日(yyyyMMdd)
  8308. type: string
  8309. tradeid:
  8310. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8311. type: string
  8312. tradetime:
  8313. description: 交易时间
  8314. type: string
  8315. required:
  8316. - buyorsell
  8317. - tradeid
  8318. type: object
  8319. models.Hedgemarketopenlog:
  8320. properties:
  8321. accountid:
  8322. description: 资金账号[外部母账户]
  8323. type: integer
  8324. fcname:
  8325. description: 期货公司名称
  8326. type: string
  8327. handlestatus:
  8328. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8329. type: integer
  8330. marketid:
  8331. description: 市场ID
  8332. type: integer
  8333. status:
  8334. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8335. type: integer
  8336. tradedate:
  8337. description: 交易日(yyyyMMdd)
  8338. type: string
  8339. updatetime:
  8340. description: 更新时间
  8341. type: string
  8342. required:
  8343. - accountid
  8344. type: object
  8345. models.HsbyBuyMyPayOrder:
  8346. properties:
  8347. agreeunit:
  8348. description: 合约单位
  8349. type: number
  8350. buyaccountid:
  8351. description: 买方账号ID[报价币种]
  8352. type: integer
  8353. buyorderid:
  8354. description: 买方委托单号
  8355. type: string
  8356. createtime:
  8357. description: 创建时间
  8358. type: string
  8359. currencysign:
  8360. description: 货币符号
  8361. type: string
  8362. decimalplace:
  8363. description: 报价小数位
  8364. type: integer
  8365. goodscode:
  8366. description: 商品代码(内部)
  8367. type: string
  8368. goodsid:
  8369. description: 商品ID
  8370. type: integer
  8371. goodsname:
  8372. description: 商品名称
  8373. type: string
  8374. marketid:
  8375. description: 市场ID
  8376. type: integer
  8377. offamount:
  8378. description: 优惠金额
  8379. type: number
  8380. originalamount:
  8381. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8382. type: number
  8383. payamount:
  8384. description: 支付金额 = TradeAmount + TradeCharge
  8385. type: number
  8386. payflag:
  8387. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8388. type: integer
  8389. paylimitedtime:
  8390. description: 支付期限
  8391. type: string
  8392. paytime:
  8393. description: 付款时间
  8394. type: string
  8395. picurls1:
  8396. description: 预售商品介绍图片[多张用逗号分隔]
  8397. type: string
  8398. picurls2:
  8399. description: 挂牌商品介绍图片[多张用逗号分隔]
  8400. type: string
  8401. sellaccountid:
  8402. description: 卖方账号ID[报价币种]
  8403. type: integer
  8404. sellorderid:
  8405. description: 卖方委托单号
  8406. type: string
  8407. tradeamount:
  8408. description: 成交金额
  8409. type: number
  8410. tradecharge:
  8411. description: 成交手续费(买方)
  8412. type: number
  8413. tradedate:
  8414. description: 交易日(yyyyMMdd)
  8415. type: string
  8416. tradeid:
  8417. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8418. type: string
  8419. trademode:
  8420. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8421. type: integer
  8422. tradeprice:
  8423. description: 成交价格
  8424. type: number
  8425. tradeqty:
  8426. description: 成交数量
  8427. type: integer
  8428. vendorname1:
  8429. description: 预售商品供应商名称
  8430. type: string
  8431. vendorname2:
  8432. description: 挂牌商品供应商名称
  8433. type: string
  8434. required:
  8435. - goodscode
  8436. - goodsname
  8437. - tradeid
  8438. - trademode
  8439. type: object
  8440. models.HsbyBuyMyTradeDetail:
  8441. properties:
  8442. accountid:
  8443. description: 账户ID[报价币种]
  8444. type: integer
  8445. agreeunit:
  8446. description: 合约单位
  8447. type: number
  8448. amount:
  8449. description: 金额 = 价格 * 数量 * 合约单位
  8450. type: number
  8451. buyorsell:
  8452. description: 买卖 - 0:买 1:卖
  8453. type: integer
  8454. currencysign:
  8455. description: 货币符号
  8456. type: string
  8457. decimalplace:
  8458. description: 报价小数位
  8459. type: integer
  8460. goodscode:
  8461. description: 商品代码(内部)
  8462. type: string
  8463. goodsid:
  8464. description: 商品ID
  8465. type: integer
  8466. goodsname:
  8467. description: 商品名称
  8468. type: string
  8469. marketid:
  8470. description: 市场ID
  8471. type: integer
  8472. orderamount:
  8473. description: 委托金额
  8474. type: number
  8475. orderid:
  8476. description: 单号(成交单号)
  8477. type: string
  8478. picurls1:
  8479. description: 预售商品介绍图片[多张用逗号分隔]
  8480. type: string
  8481. picurls2:
  8482. description: 挂牌商品介绍图片[多张用逗号分隔]
  8483. type: string
  8484. price:
  8485. description: 价格
  8486. type: number
  8487. qty:
  8488. description: 数量
  8489. type: integer
  8490. time:
  8491. description: 时间
  8492. type: string
  8493. trademode:
  8494. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8495. type: integer
  8496. vendorname1:
  8497. description: 预售商品供应商名称
  8498. type: string
  8499. vendorname2:
  8500. description: 挂牌商品供应商名称
  8501. type: string
  8502. required:
  8503. - accountid
  8504. - buyorsell
  8505. - goodscode
  8506. - goodsid
  8507. - goodsname
  8508. - marketid
  8509. - orderid
  8510. - qty
  8511. - time
  8512. - trademode
  8513. type: object
  8514. models.HsbyGoodsOrderDetail:
  8515. properties:
  8516. buyorsell:
  8517. description: 买卖 - 0:买 1:卖
  8518. type: integer
  8519. currencysign:
  8520. description: 货币符号
  8521. type: string
  8522. customername:
  8523. description: 客户名称(企业名称),已脱敏
  8524. type: string
  8525. enableqty:
  8526. description: 可用数量
  8527. type: integer
  8528. goodunit:
  8529. description: 报价单位
  8530. type: string
  8531. orderid:
  8532. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8533. type: string
  8534. orderprice:
  8535. description: 委托价格
  8536. type: number
  8537. ordertime:
  8538. description: 委托时间
  8539. type: string
  8540. required:
  8541. - buyorsell
  8542. - orderid
  8543. - ordertime
  8544. type: object
  8545. models.HsbyListingGoodsDetail:
  8546. properties:
  8547. agreeunit:
  8548. description: 合约单位
  8549. type: number
  8550. buymaxqty:
  8551. description: 购买上限 [71] - 0为不限
  8552. type: integer
  8553. currency:
  8554. description: 货币
  8555. type: string
  8556. currencysign:
  8557. description: 货币符号
  8558. type: string
  8559. decimalplace:
  8560. description: 报价小数位
  8561. type: integer
  8562. desccityid:
  8563. description: 目的地(市)ID
  8564. type: integer
  8565. descprovinceid:
  8566. description: 目的地(省)ID
  8567. type: integer
  8568. goodscode:
  8569. description: 商品代码(内部)
  8570. type: string
  8571. goodsdesc:
  8572. description: 商品详情
  8573. type: string
  8574. goodsid:
  8575. description: 商品ID(自增ID SEQ_GOODS)
  8576. type: integer
  8577. goodsname:
  8578. description: 商品名称
  8579. type: string
  8580. goodsprice:
  8581. description: 商品价格
  8582. type: number
  8583. hotindex:
  8584. description: 景点热度
  8585. type: integer
  8586. last:
  8587. description: 现价
  8588. type: number
  8589. limitdown:
  8590. description: 跌停价
  8591. type: number
  8592. limitup:
  8593. description: 涨停价
  8594. type: number
  8595. lotsize:
  8596. description: 手数最小变动单位
  8597. type: integer
  8598. marketid:
  8599. description: 所属市场ID
  8600. type: integer
  8601. picurls:
  8602. description: 介绍图片[多张用逗号分隔]
  8603. type: string
  8604. quoteminunit:
  8605. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8606. type: integer
  8607. stepvalue:
  8608. description: 价格最小变动单位
  8609. type: number
  8610. trademode:
  8611. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8612. type: integer
  8613. vendorattr:
  8614. description: 供应商附件(多张,逗号分隔)
  8615. type: string
  8616. vendorname:
  8617. description: 供应商名称
  8618. type: string
  8619. vendorphone:
  8620. description: 供应商客服电话
  8621. type: string
  8622. videourls:
  8623. description: 介绍视频[多张用逗号分隔]
  8624. type: string
  8625. required:
  8626. - goodscode
  8627. - goodsid
  8628. - goodsname
  8629. - marketid
  8630. - trademode
  8631. type: object
  8632. models.HsbyMarketGoods:
  8633. properties:
  8634. accountid:
  8635. description: 账户ID[报价币种]
  8636. type: integer
  8637. agreeunit:
  8638. description: 合约单位
  8639. type: number
  8640. buyorsell:
  8641. description: 买卖 - 0:买 1:卖
  8642. type: integer
  8643. categoryid:
  8644. description: 类别ID(WRCATEGORY)
  8645. type: integer
  8646. currency:
  8647. description: 货币
  8648. type: string
  8649. currencysign:
  8650. description: 货币符号
  8651. type: string
  8652. customername:
  8653. description: 卖家名称
  8654. type: string
  8655. decimalplace:
  8656. description: 报价小数位
  8657. type: integer
  8658. goodscode:
  8659. description: 商品代码(内部)
  8660. type: string
  8661. goodsid:
  8662. description: 商品ID
  8663. type: integer
  8664. goodsname:
  8665. description: 商品名称
  8666. type: string
  8667. goodsprice:
  8668. description: 商品价格
  8669. type: number
  8670. hascoupon:
  8671. description: 是否可用优惠卷
  8672. type: boolean
  8673. hotindex:
  8674. description: 景点热度
  8675. type: integer
  8676. marketid:
  8677. description: 市场ID
  8678. type: integer
  8679. orderid:
  8680. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8681. type: string
  8682. orderprice:
  8683. description: 委托价格
  8684. type: number
  8685. orderstatus:
  8686. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8687. type: integer
  8688. picurls:
  8689. description: 介绍图片[多张用逗号分隔]
  8690. type: string
  8691. quoteminunit:
  8692. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8693. type: integer
  8694. sellUserID:
  8695. description: 卖方UserID
  8696. type: integer
  8697. trademode:
  8698. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8699. type: integer
  8700. videourls:
  8701. description: 介绍视频[多张用逗号分隔]
  8702. type: string
  8703. required:
  8704. - accountid
  8705. - buyorsell
  8706. - goodscode
  8707. - goodsid
  8708. - goodsname
  8709. - marketid
  8710. - orderid
  8711. - trademode
  8712. type: object
  8713. models.HsbyMarketGoodsDetail:
  8714. properties:
  8715. accountid:
  8716. description: 账户ID[报价币种]
  8717. type: integer
  8718. agreeunit:
  8719. description: 合约单位
  8720. type: number
  8721. buymaxqty:
  8722. description: 购买上限 [71] - 0为不限
  8723. type: integer
  8724. buyorsell:
  8725. description: 买卖 - 0:买 1:卖
  8726. type: integer
  8727. cancelqty:
  8728. description: 撤单数量
  8729. type: integer
  8730. categoryid:
  8731. description: 类别ID(WRCATEGORY)
  8732. type: integer
  8733. currency:
  8734. description: 货币
  8735. type: string
  8736. currencysign:
  8737. description: 货币符号
  8738. type: string
  8739. customername:
  8740. description: 卖家名称
  8741. type: string
  8742. decimalplace:
  8743. description: 报价小数位
  8744. type: integer
  8745. goodscode:
  8746. description: 商品代码(内部)
  8747. type: string
  8748. goodsdesc:
  8749. description: 商品详情
  8750. type: string
  8751. goodsid:
  8752. description: 商品ID
  8753. type: integer
  8754. goodsname:
  8755. description: 商品名称
  8756. type: string
  8757. goodsprice:
  8758. description: 商品价格
  8759. type: number
  8760. hotindex:
  8761. description: 景点热度
  8762. type: integer
  8763. lotsize:
  8764. description: 手数最小变动单位
  8765. type: integer
  8766. marketid:
  8767. description: 市场ID
  8768. type: integer
  8769. orderid:
  8770. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8771. type: string
  8772. orderprice:
  8773. description: 委托价格
  8774. type: number
  8775. orderqty:
  8776. description: 委托数量
  8777. type: integer
  8778. orderstatus:
  8779. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8780. type: integer
  8781. picurls:
  8782. description: 介绍图片[多张用逗号分隔]
  8783. type: string
  8784. quoteminunit:
  8785. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8786. type: integer
  8787. sellUserID:
  8788. description: 卖方UserID
  8789. type: integer
  8790. trademode:
  8791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8792. type: integer
  8793. tradeqty:
  8794. description: 成交数量
  8795. type: integer
  8796. vendorattr:
  8797. description: 供应商附件(多张,逗号分隔)
  8798. type: string
  8799. vendorname:
  8800. description: 供应商名称
  8801. type: string
  8802. vendorphone:
  8803. description: 供应商客服电话
  8804. type: string
  8805. videourls:
  8806. description: 介绍视频[多张用逗号分隔]
  8807. type: string
  8808. required:
  8809. - accountid
  8810. - buyorsell
  8811. - goodscode
  8812. - goodsid
  8813. - goodsname
  8814. - marketid
  8815. - orderid
  8816. - orderqty
  8817. - trademode
  8818. type: object
  8819. models.HsbyMarketInfo:
  8820. properties:
  8821. marketid:
  8822. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8823. type: integer
  8824. marketname:
  8825. description: 市场名称
  8826. type: string
  8827. marketstatus:
  8828. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8829. type: integer
  8830. trademode:
  8831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8832. type: integer
  8833. required:
  8834. - marketid
  8835. - marketstatus
  8836. - trademode
  8837. type: object
  8838. models.HsbyMyGoods:
  8839. properties:
  8840. accountid:
  8841. description: 账号Id
  8842. type: integer
  8843. agreeunit:
  8844. description: 合约单位
  8845. type: number
  8846. buyaverageprice:
  8847. description: 持仓均价
  8848. type: number
  8849. buycurholderamount:
  8850. description: 买当前持仓总金额[商品币种]
  8851. type: number
  8852. buycurpositionqty:
  8853. description: 买当前持仓总数量
  8854. type: integer
  8855. buymaxqty:
  8856. description: 购买上限 [71] - 0为不限
  8857. type: integer
  8858. currencysign:
  8859. description: 货币符号
  8860. type: string
  8861. decimalplace:
  8862. description: 报价小数位
  8863. type: integer
  8864. enableqty:
  8865. description: 可用数量
  8866. type: integer
  8867. goodscode:
  8868. description: 商品代码(内部)
  8869. type: string
  8870. goodsid:
  8871. description: 商品Id
  8872. type: integer
  8873. goodsname:
  8874. description: 商品名称
  8875. type: string
  8876. goodsprice:
  8877. description: 商品价格
  8878. type: number
  8879. goodsstatus:
  8880. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8881. type: integer
  8882. last:
  8883. description: 现价(仅使用于挂牌点选)
  8884. type: number
  8885. limitdown:
  8886. description: 跌停价(仅使用于挂牌点选)
  8887. type: number
  8888. limitup:
  8889. description: 涨停价(仅使用于挂牌点选)
  8890. type: number
  8891. lotsize:
  8892. description: 手数最小变动单位
  8893. type: integer
  8894. marketid:
  8895. description: 所属市场ID
  8896. type: integer
  8897. picurls:
  8898. description: 介绍图片[多张用逗号分隔]
  8899. type: string
  8900. quoteminunit:
  8901. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8902. type: integer
  8903. stepvalue:
  8904. description: 价格最小变动单位
  8905. type: number
  8906. trademode:
  8907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8908. type: integer
  8909. required:
  8910. - accountid
  8911. - goodscode
  8912. - goodsid
  8913. - goodsname
  8914. - marketid
  8915. - trademode
  8916. type: object
  8917. models.HsbyMyPackage:
  8918. properties:
  8919. accountid:
  8920. description: 账户ID
  8921. type: integer
  8922. address:
  8923. description: 提货人详细地址
  8924. type: string
  8925. agreeunit:
  8926. description: 合约单位
  8927. type: number
  8928. amount:
  8929. description: 提货金额
  8930. type: number
  8931. auditer:
  8932. description: 审核人
  8933. type: integer
  8934. audittime:
  8935. description: 审核时间
  8936. type: string
  8937. averageprice:
  8938. description: 均价
  8939. type: number
  8940. cardnum:
  8941. description: 提货人证件号码
  8942. type: string
  8943. cardtypeid:
  8944. description: 提货人证件类型
  8945. type: integer
  8946. checkremark:
  8947. description: 审核备注
  8948. type: string
  8949. currencysign:
  8950. description: 货币符号
  8951. type: string
  8952. decimalplace:
  8953. description: 报价小数位
  8954. type: integer
  8955. goodscode:
  8956. description: 商品代码(内部)
  8957. type: string
  8958. goodsid:
  8959. description: 商品ID
  8960. type: integer
  8961. goodsname:
  8962. description: 商品名称
  8963. type: string
  8964. handlestatus:
  8965. description: 处理状态
  8966. type: integer
  8967. marketid:
  8968. description: 市场ID
  8969. type: integer
  8970. phonenum:
  8971. description: 提货人联系方式
  8972. type: string
  8973. picurls:
  8974. description: 介绍图片[多张用逗号分隔]
  8975. type: string
  8976. qty:
  8977. description: 提货数量
  8978. type: number
  8979. recivername:
  8980. description: 提货人姓名
  8981. type: string
  8982. reqtime:
  8983. description: 更新时间
  8984. type: string
  8985. takemode:
  8986. description: 提货方式 - 2:自提 3:配送
  8987. type: integer
  8988. takeorderid:
  8989. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8990. type: string
  8991. takeorderstatus:
  8992. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8993. type: integer
  8994. takeremark:
  8995. description: 提货备注
  8996. type: string
  8997. tradedate:
  8998. description: 交易日(yyyyMMdd)
  8999. type: string
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. userid:
  9004. description: 用户ID
  9005. type: integer
  9006. vendorname:
  9007. description: 供应商名称
  9008. type: string
  9009. required:
  9010. - goodscode
  9011. - goodsname
  9012. - takeorderid
  9013. - trademode
  9014. type: object
  9015. models.HsbyPreGoods:
  9016. properties:
  9017. agreeunit:
  9018. description: 合约单位
  9019. type: number
  9020. currency:
  9021. description: 货币
  9022. type: string
  9023. currencysign:
  9024. description: 货币符号
  9025. type: string
  9026. decimalplace:
  9027. description: 报价小数位
  9028. type: integer
  9029. desccityid:
  9030. description: 目的地(市)
  9031. type: integer
  9032. descprovinceid:
  9033. description: 目的地(省)
  9034. type: integer
  9035. enableqty:
  9036. description: 剩余数量
  9037. type: integer
  9038. goodscode:
  9039. description: 商品代码(内部)
  9040. type: string
  9041. goodsid:
  9042. description: 商品ID(自增ID SEQ_GOODS)
  9043. type: integer
  9044. goodsname:
  9045. description: 商品名称
  9046. type: string
  9047. goodsstatus:
  9048. description: 商品状态- 2:未上市 3:上市
  9049. type: integer
  9050. lasttradedate:
  9051. description: 最后交易日期(状态:待退市)
  9052. type: string
  9053. listingdate:
  9054. description: 交易开始日期
  9055. type: string
  9056. marketid:
  9057. description: 所属市场ID
  9058. type: integer
  9059. picurls:
  9060. description: 介绍图片[多张用逗号分隔]
  9061. type: string
  9062. presaledqty:
  9063. description: 已预售量(预售结束时更新)
  9064. type: integer
  9065. presaleqty:
  9066. description: 预售数量
  9067. type: integer
  9068. quoteminunit:
  9069. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9070. type: integer
  9071. refprice:
  9072. description: 参考价格[一口价]
  9073. type: number
  9074. relatedgoodsid:
  9075. description: 关联交易合约ID
  9076. type: integer
  9077. trademode:
  9078. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9079. type: integer
  9080. videourls:
  9081. description: 介绍视频[多张用逗号分隔]
  9082. type: string
  9083. required:
  9084. - goodscode
  9085. - goodsid
  9086. - goodsname
  9087. - marketid
  9088. - trademode
  9089. type: object
  9090. models.HsbyPreGoodsDetail:
  9091. properties:
  9092. agreeunit:
  9093. description: 合约单位
  9094. type: number
  9095. buymaxqty:
  9096. description: 购买上限 [71] - 0为不限
  9097. type: integer
  9098. currency:
  9099. description: 货币
  9100. type: string
  9101. currencysign:
  9102. description: 货币符号
  9103. type: string
  9104. customername:
  9105. description: 发行单位
  9106. type: string
  9107. decimalplace:
  9108. description: 报价小数位
  9109. type: integer
  9110. desccityid:
  9111. description: 目的地(市)ID
  9112. type: integer
  9113. descprovinceid:
  9114. description: 目的地(省)ID
  9115. type: integer
  9116. enableqty:
  9117. description: 剩余数量
  9118. type: integer
  9119. goodscode:
  9120. description: 商品代码(内部)
  9121. type: string
  9122. goodsdesc:
  9123. description: 商品详情
  9124. type: string
  9125. goodsid:
  9126. description: 商品ID(自增ID SEQ_GOODS)
  9127. type: integer
  9128. goodsname:
  9129. description: 商品名称
  9130. type: string
  9131. goodsstatus:
  9132. description: 商品状态- 2:未上市 3:上市
  9133. type: integer
  9134. goodunit:
  9135. description: 报价单位
  9136. type: string
  9137. lasttradedate:
  9138. description: 最后交易日期(状态:待退市)
  9139. type: string
  9140. listingdate:
  9141. description: 交易开始日期
  9142. type: string
  9143. lotsize:
  9144. description: 手数最小变动单位
  9145. type: integer
  9146. marketid:
  9147. description: 所属市场ID
  9148. type: integer
  9149. picurls:
  9150. description: 介绍图片[多张用逗号分隔]
  9151. type: string
  9152. presaledqty:
  9153. description: 已预售量(预售结束时更新)
  9154. type: integer
  9155. presaleqty:
  9156. description: 预售数量
  9157. type: integer
  9158. quoteminunit:
  9159. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9160. type: integer
  9161. refprice:
  9162. description: 参考价格[一口价]
  9163. type: number
  9164. relatedgoodsid:
  9165. description: 关联交易合约ID
  9166. type: integer
  9167. stepvalue:
  9168. description: 价格最小变动单位
  9169. type: number
  9170. trademode:
  9171. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9172. type: integer
  9173. vendorattr:
  9174. description: 供应商附件(多张,逗号分隔)
  9175. type: string
  9176. vendorname:
  9177. description: 供应商名称
  9178. type: string
  9179. vendorphone:
  9180. description: 供应商客服电话
  9181. type: string
  9182. videourls:
  9183. description: 介绍视频[多张用逗号分隔]
  9184. type: string
  9185. required:
  9186. - goodscode
  9187. - goodsid
  9188. - goodsname
  9189. - marketid
  9190. - trademode
  9191. type: object
  9192. models.HsbySellCollectionOrder:
  9193. properties:
  9194. agreeunit:
  9195. description: 合约单位
  9196. type: number
  9197. buyaccountid:
  9198. description: 买方账号ID[报价币种]
  9199. type: integer
  9200. buyorderid:
  9201. description: 买方委托单号
  9202. type: string
  9203. createtime:
  9204. description: 创建时间
  9205. type: string
  9206. currencysign:
  9207. description: 货币符号
  9208. type: string
  9209. decimalplace:
  9210. description: 报价小数位
  9211. type: integer
  9212. goodscode:
  9213. description: 商品代码(内部)
  9214. type: string
  9215. goodsid:
  9216. description: 商品ID
  9217. type: integer
  9218. goodsname:
  9219. description: 商品名称
  9220. type: string
  9221. marketid:
  9222. description: 市场ID
  9223. type: integer
  9224. offamount:
  9225. description: 优惠金额
  9226. type: number
  9227. payamount:
  9228. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9229. type: number
  9230. payflag:
  9231. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9232. type: integer
  9233. paylimitedtime:
  9234. description: 支付期限
  9235. type: string
  9236. paytime:
  9237. description: 付款时间
  9238. type: string
  9239. picurls:
  9240. description: 商品介绍图片[多张用逗号分隔]
  9241. type: string
  9242. sellaccountid:
  9243. description: 卖方账号ID[报价币种]
  9244. type: integer
  9245. sellorderid:
  9246. description: 卖方委托单号
  9247. type: string
  9248. tradeamount:
  9249. description: 成交金额
  9250. type: number
  9251. tradecharge:
  9252. description: 成交手续费(买方)
  9253. type: number
  9254. tradedate:
  9255. description: 交易日(yyyyMMdd)
  9256. type: string
  9257. tradeid:
  9258. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9259. type: string
  9260. trademode:
  9261. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9262. type: integer
  9263. tradeprice:
  9264. description: 成交价格
  9265. type: number
  9266. tradeqty:
  9267. description: 成交数量
  9268. type: integer
  9269. required:
  9270. - goodscode
  9271. - goodsname
  9272. - tradeid
  9273. - trademode
  9274. type: object
  9275. models.HsbySellMyDetail:
  9276. properties:
  9277. accountid:
  9278. description: 账户ID[报价币种]
  9279. type: integer
  9280. agreeunit:
  9281. description: 合约单位
  9282. type: number
  9283. buyorsell:
  9284. description: 买卖 - 0:买 1:卖
  9285. type: integer
  9286. currencysign:
  9287. description: 货币符号
  9288. type: string
  9289. decimalplace:
  9290. description: 报价小数位
  9291. type: integer
  9292. goodscode:
  9293. description: 商品代码(内部)
  9294. type: string
  9295. goodsid:
  9296. description: 商品ID
  9297. type: integer
  9298. goodsname:
  9299. description: 商品名称
  9300. type: string
  9301. marketid:
  9302. description: 市场ID
  9303. type: integer
  9304. orderid:
  9305. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9306. type: string
  9307. ordertype:
  9308. description: 单据类型:0 - 发布中, 1 - 已完成
  9309. type: integer
  9310. picurls:
  9311. description: 介绍图片[多张用逗号分隔]
  9312. type: string
  9313. price:
  9314. description: 价格
  9315. type: number
  9316. qty:
  9317. description: 数量
  9318. type: integer
  9319. time:
  9320. description: 时间
  9321. type: string
  9322. trademode:
  9323. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9324. type: integer
  9325. vendorname:
  9326. description: 供应商名称
  9327. type: string
  9328. required:
  9329. - accountid
  9330. - buyorsell
  9331. - goodscode
  9332. - goodsid
  9333. - goodsname
  9334. - marketid
  9335. - orderid
  9336. - time
  9337. - trademode
  9338. type: object
  9339. models.HsbyTopGoods:
  9340. properties:
  9341. agreeunit:
  9342. description: 合约单位
  9343. type: number
  9344. currency:
  9345. description: 货币
  9346. type: string
  9347. currencysign:
  9348. description: 货币符号
  9349. type: string
  9350. decimalplace:
  9351. description: 报价小数位
  9352. type: integer
  9353. desccityid:
  9354. description: 目的地(市)
  9355. type: integer
  9356. descprovinceid:
  9357. description: 目的地(省)
  9358. type: integer
  9359. goodscode:
  9360. description: 商品代码(内部)
  9361. type: string
  9362. goodsid:
  9363. description: 商品ID(自增ID SEQ_GOODS)
  9364. type: integer
  9365. goodsname:
  9366. description: 商品名称
  9367. type: string
  9368. hotindex:
  9369. description: 景点热度
  9370. type: integer
  9371. last:
  9372. description: 现价
  9373. type: number
  9374. marketid:
  9375. description: 所属市场ID
  9376. type: integer
  9377. picurls:
  9378. description: 介绍图片[多张用逗号分隔]
  9379. type: string
  9380. quoteminunit:
  9381. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9382. type: integer
  9383. trademode:
  9384. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9385. type: integer
  9386. videourls:
  9387. description: 介绍视频[多张用逗号分隔]
  9388. type: string
  9389. required:
  9390. - goodscode
  9391. - goodsid
  9392. - goodsname
  9393. - marketid
  9394. - trademode
  9395. type: object
  9396. models.HybsMyBuyOrderDetail:
  9397. properties:
  9398. accountid:
  9399. description: 账户ID[报价币种]
  9400. type: integer
  9401. agreeunit:
  9402. description: 合约单位
  9403. type: number
  9404. buyorsell:
  9405. description: 买卖 - 0:买 1:卖
  9406. type: integer
  9407. cancelqty:
  9408. description: 撤单数量
  9409. type: integer
  9410. currencysign:
  9411. description: 货币符号
  9412. type: string
  9413. decimalplace:
  9414. description: 报价小数位
  9415. type: integer
  9416. goodscode:
  9417. description: 商品代码(内部)
  9418. type: string
  9419. goodsid:
  9420. description: 商品ID
  9421. type: integer
  9422. goodsname:
  9423. description: 商品名称
  9424. type: string
  9425. listingselecttype:
  9426. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9427. type: integer
  9428. marketid:
  9429. description: 市场ID
  9430. type: integer
  9431. mybuystatus:
  9432. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9433. type: integer
  9434. orderamount:
  9435. description: 委托金额
  9436. type: number
  9437. orderid:
  9438. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9439. type: string
  9440. orderprice:
  9441. description: 委托价格
  9442. type: number
  9443. orderqty:
  9444. description: 委托数量
  9445. type: integer
  9446. orderstatus:
  9447. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9448. type: integer
  9449. ordertime:
  9450. description: 委托时间
  9451. type: string
  9452. picurls1:
  9453. description: 预售商品介绍图片[多张用逗号分隔]
  9454. type: string
  9455. picurls2:
  9456. description: 挂牌商品介绍图片[多张用逗号分隔]
  9457. type: string
  9458. trademode:
  9459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9460. type: integer
  9461. tradeqty:
  9462. description: 成交数量
  9463. type: integer
  9464. vendorname1:
  9465. description: 预售商品供应商名称
  9466. type: string
  9467. vendorname2:
  9468. description: 挂牌商品供应商名称
  9469. type: string
  9470. required:
  9471. - accountid
  9472. - buyorsell
  9473. - goodscode
  9474. - goodsid
  9475. - goodsname
  9476. - marketid
  9477. - orderid
  9478. - orderqty
  9479. - ordertime
  9480. - trademode
  9481. type: object
  9482. models.Loginaccount:
  9483. properties:
  9484. accountname:
  9485. description: 账户名称
  9486. type: string
  9487. canoutin:
  9488. description: 是否可出入金 - 0:不可 1:可
  9489. type: integer
  9490. clientroleid:
  9491. description: 终端角色ID
  9492. type: integer
  9493. haslogined:
  9494. description: 是否已登录 - 0:未登录 1:已登录
  9495. type: integer
  9496. hasupdatedpwd:
  9497. description: 是否已更改密码 - 0:未修改 1:已修改
  9498. type: integer
  9499. lastloginip:
  9500. description: 最新登录地址
  9501. type: string
  9502. lastloginmode:
  9503. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9504. type: integer
  9505. lastloginremark:
  9506. description: 最新登录描述
  9507. type: string
  9508. lastlogintime:
  9509. description: 最新登录时间
  9510. type: string
  9511. logincode:
  9512. description: 登录代码
  9513. type: string
  9514. loginfailnum:
  9515. description: 连续登录失败次数(登录成功时清零)
  9516. type: integer
  9517. loginid:
  9518. description: 登陆账号
  9519. type: integer
  9520. loginport:
  9521. description: 最新登录端口
  9522. type: integer
  9523. loginstatus:
  9524. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9525. type: integer
  9526. loginusertype:
  9527. description: 登录账号类型 - 1:投资者 2:机构交易员
  9528. type: integer
  9529. mobile:
  9530. description: 手机号码(加密存储)
  9531. type: string
  9532. modifierid:
  9533. description: 修改人
  9534. type: integer
  9535. modifysrc:
  9536. description: 审核来源 - 1:管理端 2:终端
  9537. type: integer
  9538. modifytime:
  9539. description: 修改时间
  9540. type: string
  9541. password:
  9542. description: 登陆密码
  9543. type: string
  9544. pwdwrongcount:
  9545. description: 密码错误次数
  9546. type: integer
  9547. relateduserid:
  9548. description: 关联用户ID(机构)
  9549. type: integer
  9550. taaccountrighttype:
  9551. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9552. type: integer
  9553. unfreezetime:
  9554. description: 账户解冻时间
  9555. type: string
  9556. userid:
  9557. description: 用户ID
  9558. type: integer
  9559. required:
  9560. - loginid
  9561. type: object
  9562. models.MainAccountInfo:
  9563. properties:
  9564. accountid:
  9565. description: 账号id
  9566. type: integer
  9567. accountname:
  9568. description: 账号名称(taaccount表中的名称)
  9569. type: string
  9570. appid:
  9571. description: AppID
  9572. type: string
  9573. authcode:
  9574. description: 授权码
  9575. type: string
  9576. brokerid:
  9577. description: 经纪商id
  9578. type: string
  9579. fcid:
  9580. description: 期货公司id
  9581. type: integer
  9582. fcname:
  9583. description: 期货公司代码
  9584. type: string
  9585. hedgeaccountcode:
  9586. description: 外部账号代码(主账号登录代码)
  9587. type: string
  9588. hedgeaccountpwd:
  9589. description: 密码
  9590. type: string
  9591. ismain:
  9592. description: 是否主账号
  9593. type: integer
  9594. relateduserid:
  9595. description: 关联用户id
  9596. type: integer
  9597. userid:
  9598. description: 关联用户id
  9599. type: integer
  9600. type: object
  9601. models.Market:
  9602. properties:
  9603. auctionwrtype:
  9604. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9605. type: integer
  9606. canacceptquote:
  9607. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9608. type: integer
  9609. cangoodsexercise:
  9610. description: '[期权]是否可现货行权- 0:否 1:是'
  9611. type: integer
  9612. cangoodsexercisetype:
  9613. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9614. type: integer
  9615. canmanualquotestrike:
  9616. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9617. type: integer
  9618. canmutistage:
  9619. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9620. type: integer
  9621. canpreexercise:
  9622. description: '[期权]是否可预申报- 0:否 1:是'
  9623. type: integer
  9624. clearinterval:
  9625. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9626. type: integer
  9627. contracttmp:
  9628. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9629. type: string
  9630. exchareaid:
  9631. description: 所属交易所,可以没有
  9632. type: integer
  9633. goodstype:
  9634. description: 商品类型 - 1:交易商品 2:仓单商品
  9635. type: integer
  9636. hasrebate:
  9637. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9638. type: integer
  9639. hastradecredit:
  9640. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9641. type: integer
  9642. haswr:
  9643. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9644. type: integer
  9645. isdeductmargin:
  9646. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9647. type: integer
  9648. isrecordsource:
  9649. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9650. type: integer
  9651. isreleasemargin:
  9652. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9653. type: integer
  9654. marginformula:
  9655. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9656. type: integer
  9657. marginformula2:
  9658. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9659. type: integer
  9660. marketid:
  9661. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9662. type: integer
  9663. marketname:
  9664. description: 市场名称
  9665. type: string
  9666. marketserviceid:
  9667. description: 市场服务ID
  9668. type: integer
  9669. marketstatus:
  9670. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9671. type: integer
  9672. markettype:
  9673. description: 市场类型- 1:非交易服务 2:交易服务
  9674. type: integer
  9675. matchermode:
  9676. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9677. type: integer
  9678. openmethod:
  9679. description: 开盘模式 - 0 自动 1手动
  9680. type: integer
  9681. otcuserid:
  9682. description: 场外期权做市商[场外期权]
  9683. type: integer
  9684. outersynctime:
  9685. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9686. type: string
  9687. pendingflag:
  9688. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9689. type: integer
  9690. pendingtime:
  9691. description: 待开市时间[通道交易-对冲](HH:mm)
  9692. type: string
  9693. performancetempid:
  9694. description: 履约计划模板ID - 作废
  9695. type: integer
  9696. premiumquotemode:
  9697. description: 权利金报价方式 - 1:自动 2:手动
  9698. type: integer
  9699. rebateratio:
  9700. description: 返利比率[竞价式]
  9701. type: number
  9702. reckonorder:
  9703. description: 结算顺序
  9704. type: integer
  9705. reckonpricealgorithm:
  9706. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9707. type: integer
  9708. reckonpriceparam:
  9709. description: 结算价参数
  9710. type: integer
  9711. reckontime:
  9712. description: 结算时间[通道交易-对冲](HH:mm)
  9713. type: string
  9714. roleprioritytype:
  9715. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9716. type: integer
  9717. selllistingauditflag:
  9718. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9719. type: integer
  9720. trademarkettype:
  9721. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9722. type: integer
  9723. trademode:
  9724. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9725. type: integer
  9726. tradeproperty:
  9727. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9728. type: integer
  9729. tradetype:
  9730. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9731. type: integer
  9732. required:
  9733. - marketid
  9734. - marketstatus
  9735. - openmethod
  9736. - reckonpricealgorithm
  9737. - trademode
  9738. - tradeproperty
  9739. type: object
  9740. models.Marketrun:
  9741. properties:
  9742. afternexttradedate:
  9743. description: 下下交易日
  9744. type: string
  9745. clearquoteflag:
  9746. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9747. type: integer
  9748. lastreckondate:
  9749. description: 最新交易日(结算成功)
  9750. type: string
  9751. machinedate:
  9752. description: 机器时间
  9753. type: string
  9754. manualflag:
  9755. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9756. type: integer
  9757. marketid:
  9758. description: 市场ID
  9759. type: integer
  9760. nexttradedate:
  9761. description: 下一交易日
  9762. type: string
  9763. pretradedate:
  9764. description: 上一交易日
  9765. type: string
  9766. reckonflag:
  9767. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9768. type: integer
  9769. runstatus:
  9770. 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.今日免清算
  9771. type: integer
  9772. sectionid:
  9773. description: 时间段号[多时段时用]
  9774. type: integer
  9775. tradedate:
  9776. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9777. type: string
  9778. tradedate2:
  9779. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9780. type: string
  9781. updatetime:
  9782. description: 更新时间
  9783. type: string
  9784. required:
  9785. - marketid
  9786. - nexttradedate
  9787. - reckonflag
  9788. - runstatus
  9789. - tradedate
  9790. - tradedate2
  9791. type: object
  9792. models.Messageboard:
  9793. properties:
  9794. contactnum:
  9795. description: 联系电话
  9796. type: string
  9797. createtime:
  9798. description: 创建时间
  9799. type: string
  9800. message:
  9801. description: 留言信息
  9802. type: string
  9803. messageboardid:
  9804. description: 留言簿ID(SEQ_MessageBoard)
  9805. type: integer
  9806. userid:
  9807. description: 用户ID
  9808. type: integer
  9809. required:
  9810. - messageboardid
  9811. type: object
  9812. models.MyCoupon:
  9813. properties:
  9814. accountid:
  9815. description: 资金账户ID
  9816. type: integer
  9817. areauserid:
  9818. description: 所属机构
  9819. type: integer
  9820. conditionvalue:
  9821. description: 条件阈值(可为0)
  9822. type: number
  9823. couponcategroy:
  9824. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9825. type: integer
  9826. couponname:
  9827. description: 优惠券名称
  9828. type: string
  9829. coupontypeid:
  9830. description: 优惠券类型ID
  9831. type: string
  9832. couponvalue:
  9833. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9834. type: number
  9835. curfreezeqty:
  9836. description: 期末冻结数量
  9837. type: integer
  9838. curqty:
  9839. description: 期末数量
  9840. type: integer
  9841. isgeneral:
  9842. description: 是否通用券 - 0:否 1:是
  9843. type: integer
  9844. isunusable:
  9845. description: 是否不可用
  9846. type: boolean
  9847. limitedflag:
  9848. description: 是否指定商品 - 0:不限 1:限制
  9849. type: integer
  9850. limitedgoodsids:
  9851. description: 指定商品IDs[逗号分隔,前后加逗号]
  9852. type: string
  9853. orifreezeqty:
  9854. description: 期初冻结数量
  9855. type: integer
  9856. oriqty:
  9857. description: 期初数量
  9858. type: integer
  9859. reasontype:
  9860. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9861. type: integer
  9862. todaydecrease:
  9863. description: 今日减少
  9864. type: integer
  9865. todayincrease:
  9866. description: 今日增加
  9867. type: integer
  9868. userid:
  9869. description: 用户ID
  9870. type: integer
  9871. userscope:
  9872. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9873. type: string
  9874. required:
  9875. - accountid
  9876. - coupontypeid
  9877. type: object
  9878. models.MyCouponHold:
  9879. properties:
  9880. accountid:
  9881. description: 资金账户ID
  9882. type: integer
  9883. conditionvalue:
  9884. description: 条件阈值(可为0)
  9885. type: number
  9886. couponcategroy:
  9887. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9888. type: integer
  9889. couponholdid:
  9890. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9891. type: string
  9892. couponname:
  9893. description: 优惠券名称
  9894. type: string
  9895. coupontypeid:
  9896. description: 优惠券类型ID - SEQ_COUPONTYPE
  9897. type: string
  9898. couponvalue:
  9899. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9900. type: number
  9901. createtime:
  9902. description: 创建时间
  9903. type: string
  9904. enddate:
  9905. description: 结束日期
  9906. type: string
  9907. giveapplyid:
  9908. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9909. type: integer
  9910. holdstatus:
  9911. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9912. type: integer
  9913. isgeneral:
  9914. description: 是否通用券 - 0:否 1:是
  9915. type: integer
  9916. limitedflag:
  9917. description: 是否指定商品 - 0:不限 1:限制
  9918. type: integer
  9919. limitedgoodsids:
  9920. description: 指定商品IDs[逗号分隔]
  9921. type: string
  9922. qty:
  9923. description: 数量(按1平铺)
  9924. type: integer
  9925. startdate:
  9926. description: 开始日期
  9927. type: string
  9928. userid:
  9929. description: 用户ID
  9930. type: integer
  9931. userscope:
  9932. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9933. type: string
  9934. required:
  9935. - couponholdid
  9936. type: object
  9937. models.MyUsedCoupon:
  9938. properties:
  9939. accountid:
  9940. description: 资金账户ID(买方)
  9941. type: integer
  9942. conditionvalue:
  9943. description: 条件阈值(可为0)
  9944. type: number
  9945. couponcategroy:
  9946. description: 种类 - 1:现金券 2:折扣券
  9947. type: integer
  9948. couponname:
  9949. description: 优惠券名称
  9950. type: string
  9951. coupontypeid:
  9952. description: 优惠券类型ID(买方)
  9953. type: string
  9954. couponvalue:
  9955. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9956. type: number
  9957. createtime:
  9958. description: 创建时间
  9959. type: string
  9960. goodsid:
  9961. description: 商品ID
  9962. type: integer
  9963. handlestatus:
  9964. description: 处理状态
  9965. type: integer
  9966. marketid:
  9967. description: 市场ID
  9968. type: integer
  9969. offamount:
  9970. description: 优惠金额
  9971. type: number
  9972. orderid:
  9973. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9974. type: string
  9975. sellaccountid:
  9976. description: 资金账户ID(卖方)
  9977. type: integer
  9978. tradeamount:
  9979. description: 成交金额
  9980. type: number
  9981. tradeid:
  9982. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9983. type: string
  9984. usedqty:
  9985. description: 使用数量
  9986. type: integer
  9987. required:
  9988. - coupontypeid
  9989. - orderid
  9990. type: object
  9991. models.OperationPrimaryMenu:
  9992. properties:
  9993. Children:
  9994. description: 二级功能菜单
  9995. items:
  9996. $ref: '#/definitions/models.OperationSecondaryMenu'
  9997. type: array
  9998. Key:
  9999. description: 菜单KEY
  10000. type: string
  10001. Label:
  10002. description: 菜单标题
  10003. type: string
  10004. type: object
  10005. models.OperationSecondaryMenu:
  10006. properties:
  10007. Key:
  10008. description: 菜单KEY
  10009. type: string
  10010. Label:
  10011. description: 菜单标题
  10012. type: string
  10013. TabList:
  10014. description: 三级功能菜单
  10015. items:
  10016. $ref: '#/definitions/models.OperationTabMenu'
  10017. type: array
  10018. type: object
  10019. models.OperationTabMenu:
  10020. properties:
  10021. Key:
  10022. description: 菜单KEY
  10023. type: string
  10024. Label:
  10025. description: 菜单标题
  10026. type: string
  10027. type: object
  10028. models.QhjAccountOutInApply:
  10029. properties:
  10030. accountcode:
  10031. description: 资金账号
  10032. type: string
  10033. accountname:
  10034. description: 用户名称(名称)
  10035. type: string
  10036. accountpwd:
  10037. description: 资金密码
  10038. type: string
  10039. accountticket:
  10040. description: 最新账户服务流水号
  10041. type: string
  10042. amount:
  10043. description: 金额
  10044. type: number
  10045. applyremark:
  10046. description: 申请备注
  10047. type: string
  10048. applystatus:
  10049. 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: 复审通过,账户冻结金额检查中;'
  10050. type: integer
  10051. auditid:
  10052. description: 审核人
  10053. type: integer
  10054. audittime:
  10055. description: 审核时间
  10056. type: string
  10057. bank_apply_ticket:
  10058. description: 银行申请流水
  10059. type: string
  10060. bankaccountname:
  10061. description: 银行账户名
  10062. type: string
  10063. bankaccountno:
  10064. description: 银行卡号
  10065. type: string
  10066. bankid:
  10067. description: 银行编号
  10068. type: string
  10069. bankticket:
  10070. description: 银行流水
  10071. type: string
  10072. branchbankid:
  10073. description: 银行支行号
  10074. type: string
  10075. branchbankname:
  10076. description: 银行支行名称
  10077. type: string
  10078. capamountout:
  10079. description: 出金(劣后本金) - 外部子账户
  10080. type: number
  10081. certificatephotourl:
  10082. description: 凭证地址
  10083. type: string
  10084. charge:
  10085. description: 手续费
  10086. type: number
  10087. checkerrorflag:
  10088. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10089. type: integer
  10090. currency:
  10091. description: 币种
  10092. type: string
  10093. cusbankid:
  10094. description: 托管银行编号
  10095. type: string
  10096. exchticket:
  10097. description: 银行服务流水号
  10098. type: string
  10099. executetype:
  10100. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10101. type: integer
  10102. extendinfo:
  10103. description: 扩展信息
  10104. type: string
  10105. extoperateid:
  10106. description: 交易服务流水号
  10107. type: integer
  10108. infamount:
  10109. description: 劣后金额(自有)
  10110. type: number
  10111. logincode:
  10112. description: 登录账号(账号)
  10113. type: string
  10114. netaddr:
  10115. description: 调转网址
  10116. type: string
  10117. priamount:
  10118. description: 优先金额(授信)
  10119. type: number
  10120. reauditid:
  10121. description: 复审人
  10122. type: integer
  10123. reauditremark:
  10124. description: 复审备注
  10125. type: string
  10126. reaudittime:
  10127. description: 复审时间
  10128. type: string
  10129. relatedorderid:
  10130. description: 三方关联ID
  10131. type: string
  10132. remark:
  10133. description: 备注
  10134. type: string
  10135. remark2:
  10136. description: 备注(失败原因)
  10137. type: string
  10138. soucreamount:
  10139. description: 原始出入金金额
  10140. type: number
  10141. soucrecurrencyid:
  10142. description: 原始出入金币种
  10143. type: integer
  10144. tradedate:
  10145. description: 交易日(yyyyMMdd)
  10146. type: string
  10147. updatetime:
  10148. description: 更新时间(申请时间)
  10149. type: string
  10150. userid:
  10151. description: 用户id
  10152. type: integer
  10153. userinfotype:
  10154. description: 账户类型 1-个人 2-企业
  10155. type: integer
  10156. type: object
  10157. models.QhjAgreementChangeLog:
  10158. properties:
  10159. agreementcontent:
  10160. description: 协议内容
  10161. type: string
  10162. agreementfrequency:
  10163. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10164. type: integer
  10165. agreementid:
  10166. description: 协议ID
  10167. type: integer
  10168. agreementname:
  10169. description: 协议名称
  10170. type: string
  10171. agreementno:
  10172. description: 协议编号
  10173. type: string
  10174. agreementtype:
  10175. description: 协议类型 - 1:注册 2:登录 3:交易
  10176. type: integer
  10177. agreementversion:
  10178. description: 协议版本号
  10179. type: integer
  10180. logid:
  10181. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10182. type: integer
  10183. reviserid:
  10184. description: 修改人
  10185. type: integer
  10186. revisersrc:
  10187. description: 修改来源 - 1:管理端 2:终端
  10188. type: integer
  10189. updatetime:
  10190. description: 更新时间
  10191. type: string
  10192. type: object
  10193. models.QhjAgreementConfig:
  10194. properties:
  10195. agreementcontent:
  10196. description: 协议内容
  10197. type: string
  10198. agreementfrequency:
  10199. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10200. type: integer
  10201. agreementid:
  10202. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10203. type: integer
  10204. agreementname:
  10205. description: 协议名称
  10206. type: string
  10207. agreementno:
  10208. description: 协议编号
  10209. type: string
  10210. agreementtype:
  10211. description: 协议类型 - 1:注册 2:登录 3:交易
  10212. type: integer
  10213. agreementversion:
  10214. description: 协议版本号(从1开始每次修改加1)
  10215. type: integer
  10216. createtime:
  10217. description: 创建时间
  10218. type: string
  10219. creatorid:
  10220. description: 创建人
  10221. type: integer
  10222. creatorsrc:
  10223. description: 创建来源 - 1:管理端 2:终端
  10224. type: integer
  10225. isvalid:
  10226. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10227. type: integer
  10228. reviserid:
  10229. description: 修改人
  10230. type: integer
  10231. revisersrc:
  10232. description: 修改来源 - 1:管理端 2:终端
  10233. type: integer
  10234. updatetime:
  10235. description: 更新时间
  10236. type: string
  10237. type: object
  10238. models.QhjAreaFinanceConfig:
  10239. properties:
  10240. additionalratio:
  10241. description: 追加款比例
  10242. type: number
  10243. advanceratio:
  10244. description: 预付款比例
  10245. type: number
  10246. alarmratio:
  10247. description: 告警比例
  10248. type: number
  10249. consumptiondirectreward:
  10250. description: 消费直推奖励值
  10251. type: number
  10252. consumptionenabled:
  10253. description: 是否启用消费奖励 - 0:不启用 1:启用
  10254. type: integer
  10255. consumptionindirectreward:
  10256. description: 消费间推奖励值
  10257. type: number
  10258. consumptionmodel:
  10259. description: 消费奖励方式 - 1:比率 2:固定
  10260. type: integer
  10261. customerservicenum:
  10262. description: 客服电话
  10263. type: string
  10264. dayinterestrate:
  10265. description: 日利率
  10266. type: number
  10267. disableconsumptiontips:
  10268. description: 关闭消费奖励提示
  10269. type: string
  10270. modifierid:
  10271. description: 修改人ID
  10272. type: integer
  10273. modifysrc:
  10274. description: 审核来源 - 1:管理端 2:终端
  10275. type: integer
  10276. modifytime:
  10277. description: 修改时间
  10278. type: string
  10279. promotionvalue:
  10280. description: 推广奖励值(固定)
  10281. type: number
  10282. scoreconfigvalue1:
  10283. description: 提货积分配置1
  10284. type: integer
  10285. scoreconfigvalue2:
  10286. description: 提货积分配置2
  10287. type: integer
  10288. userid:
  10289. description: 机构用户ID其他做市关系,都设置为 1
  10290. type: integer
  10291. username:
  10292. description: 用户名称
  10293. type: string
  10294. type: object
  10295. models.QhjBankAccountSign:
  10296. properties:
  10297. accountcode:
  10298. description: 资金账号
  10299. type: string
  10300. accountname:
  10301. description: 资金账号对应的账号名(UserName)
  10302. type: string
  10303. accountname2:
  10304. description: 资金账号对应的账号名(UserName) - 密文
  10305. type: string
  10306. accounttype:
  10307. description: 账户类型(UserType)
  10308. type: integer
  10309. applicationtime:
  10310. description: 最后一次更新的时间
  10311. type: string
  10312. applyexchticket:
  10313. description: 申请流水
  10314. type: string
  10315. auditid:
  10316. description: 审核人
  10317. type: integer
  10318. audittime:
  10319. description: 审核时间
  10320. type: string
  10321. bankaccountname:
  10322. description: 签约银行卡账号名
  10323. type: string
  10324. bankaccountname2:
  10325. description: 签约银行卡账号名 - 密文
  10326. type: string
  10327. bankaccountno:
  10328. description: 银行卡号
  10329. type: string
  10330. bankaccountno2:
  10331. description: 银行卡号 - 密文
  10332. type: string
  10333. bankaccounttype:
  10334. description: 银行账户类型 - 1-对私; 2-对公
  10335. type: integer
  10336. bankcardtype:
  10337. description: 银行卡类型
  10338. type: integer
  10339. bankchildaccount:
  10340. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10341. type: string
  10342. bankcity:
  10343. description: 开户行城市
  10344. type: string
  10345. bankid:
  10346. description: 签约银行ID
  10347. type: string
  10348. bankname:
  10349. description: 签约银行名称
  10350. type: string
  10351. bankprovince:
  10352. description: 开户行省份
  10353. type: string
  10354. branchbankid:
  10355. description: 签约银行支行号
  10356. type: string
  10357. branchbankname:
  10358. description: 签约银行支行名称
  10359. type: string
  10360. cardno:
  10361. description: 证件号码
  10362. type: string
  10363. cardno2:
  10364. description: 证件号码 - 密文
  10365. type: string
  10366. cardtype:
  10367. description: 证件类型
  10368. type: string
  10369. currency:
  10370. description: 币种
  10371. type: string
  10372. cusbankid:
  10373. description: 托管银行编号
  10374. type: string
  10375. direct:
  10376. description: 方向(可以判断那方先发起的签约)
  10377. type: integer
  10378. exchticket:
  10379. description: 最后一次签约成功的流水号
  10380. type: string
  10381. extendinfo:
  10382. description: 扩展信息(JSON字符串)
  10383. type: string
  10384. mobilephone:
  10385. description: 手机号
  10386. type: string
  10387. mobilephone2:
  10388. description: 手机号 - 密文
  10389. type: string
  10390. netaddr:
  10391. description: 调转网址
  10392. type: string
  10393. relateduserid:
  10394. description: 关联使用者userid
  10395. type: integer
  10396. signstatus:
  10397. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10398. type: integer
  10399. updatetime:
  10400. description: 更新时间(签解约更新时间)
  10401. type: string
  10402. type: object
  10403. models.QhjBankInfo:
  10404. properties:
  10405. bankid:
  10406. description: 银行ID
  10407. type: string
  10408. bankname:
  10409. description: 银行名称
  10410. type: string
  10411. clearbankno:
  10412. description: 清算系统银行编号
  10413. type: string
  10414. orderindex:
  10415. description: 排序顺序
  10416. type: integer
  10417. status:
  10418. description: 状态 - 0:正常 1:注销
  10419. type: integer
  10420. type: object
  10421. models.QhjBrokerApply:
  10422. properties:
  10423. applicantid:
  10424. description: 申请人
  10425. type: integer
  10426. applysrc:
  10427. description: 申请来源 - 1:管理端 2:终端
  10428. type: integer
  10429. applystatus:
  10430. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10431. type: integer
  10432. applytime:
  10433. description: 申请时间
  10434. type: string
  10435. auditorid:
  10436. description: 审核人
  10437. type: integer
  10438. auditremark:
  10439. description: 审核备注
  10440. type: string
  10441. auditsrc:
  10442. description: 审核来源 - 1:管理端 2:终端
  10443. type: integer
  10444. audittime:
  10445. description: 审核时间
  10446. type: string
  10447. audittradedate:
  10448. description: 审核交易日(yyyyMMdd)
  10449. type: string
  10450. brokerapplyid:
  10451. description: 申请ID(SEQ_BROKERAPPLY)
  10452. type: integer
  10453. cardbackphotourl:
  10454. description: 证件背面图片地址
  10455. type: string
  10456. cardfrontphotourl:
  10457. description: 证件正面图片地址
  10458. type: string
  10459. cardnum:
  10460. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10461. type: string
  10462. customername:
  10463. description: 姓名
  10464. type: string
  10465. logincode:
  10466. description: 登录代码
  10467. type: string
  10468. mobile:
  10469. description: 手机号码
  10470. type: string
  10471. parentuserid:
  10472. description: 所属机构id
  10473. type: integer
  10474. parentusername:
  10475. description: 所属机构名称
  10476. type: string
  10477. refereeuserid:
  10478. description: 推荐人id(经纪人)
  10479. type: integer
  10480. refernum:
  10481. description: 推荐码
  10482. type: string
  10483. remark:
  10484. description: 备注
  10485. type: string
  10486. subarealevelpath:
  10487. description: 层级路径
  10488. type: string
  10489. tradedate:
  10490. description: 交易日(yyyyMMdd)
  10491. type: string
  10492. userid:
  10493. description: 申请人用户ID
  10494. type: integer
  10495. userinfotype:
  10496. description: 用户类型 1-个人 2-企业
  10497. type: integer
  10498. username:
  10499. description: 用户名称
  10500. type: string
  10501. type: object
  10502. models.QhjBrokerApplyEx:
  10503. properties:
  10504. applylist:
  10505. description: 经纪人申请记录(只返回最新一条)
  10506. items:
  10507. $ref: '#/definitions/models.QhjBrokerApply'
  10508. type: array
  10509. canrecommend:
  10510. description: 是否经纪人 0-不是 1-是
  10511. type: integer
  10512. refernum:
  10513. description: 推荐码
  10514. type: string
  10515. userid:
  10516. description: 用户id
  10517. type: integer
  10518. userinfotype:
  10519. description: 用户类型 1-个人 2-企业
  10520. type: integer
  10521. type: object
  10522. models.QhjBrokerRewardLog:
  10523. properties:
  10524. accountid:
  10525. description: 资金账号ID
  10526. type: integer
  10527. createtime:
  10528. description: 创建时间(时间)
  10529. type: string
  10530. handlestatus:
  10531. description: 处理状态
  10532. type: integer
  10533. logid:
  10534. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10535. type: string
  10536. marketid:
  10537. description: 市场ID
  10538. type: integer
  10539. mmaccountid:
  10540. description: 做市商资金账号ID
  10541. type: string
  10542. mmuserid:
  10543. description: 做市商用户ID
  10544. type: string
  10545. rewardamount:
  10546. description: 奖励金额
  10547. type: number
  10548. rewardmodel:
  10549. description: 消费奖励方式 - 1:比率 2:固定
  10550. type: integer
  10551. rewardtype:
  10552. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10553. type: integer
  10554. rewardvalue:
  10555. description: 配置奖励值
  10556. type: number
  10557. srcamount:
  10558. description: 成交金额 [消费奖励] (金额)
  10559. type: number
  10560. srcgoodsid:
  10561. description: 来源商品ID [消费奖励]
  10562. type: string
  10563. srctime:
  10564. description: 来源时间 (成交时间) [消费奖励]
  10565. type: string
  10566. srctradeid:
  10567. description: 来源成交单ID [消费奖励] - 排除提货成交
  10568. type: string
  10569. srcuserid:
  10570. description: 来源用户ID(推广账户)
  10571. type: string
  10572. srcusername:
  10573. description: 推广账户名称
  10574. type: string
  10575. tradedate:
  10576. description: 交易日(yyyyMMdd)
  10577. type: string
  10578. userid:
  10579. description: 经纪人用户ID
  10580. type: integer
  10581. type: object
  10582. models.QhjContract:
  10583. properties:
  10584. contractconfirmtime:
  10585. description: 合同确认时间(时间)
  10586. type: string
  10587. currisklevel:
  10588. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10589. type: integer
  10590. decimalplace:
  10591. description: 商品报价小数位
  10592. type: integer
  10593. enumdicname:
  10594. description: 单位名称
  10595. type: string
  10596. goodscode:
  10597. description: 商品代码
  10598. type: string
  10599. goodsid:
  10600. description: 商品ID [5:融资单]
  10601. type: integer
  10602. goodsname:
  10603. description: 商品名称
  10604. type: string
  10605. goodunitid:
  10606. description: 商品单位id
  10607. type: integer
  10608. initmargin:
  10609. description: 初始保证金(首付款)
  10610. type: number
  10611. lenderamount:
  10612. description: 贷款金额(总额|订单总额)
  10613. type: number
  10614. marginratio:
  10615. description: 保证金比率(首付比例)
  10616. type: number
  10617. payamount:
  10618. description: 已付(已付货款)
  10619. type: number
  10620. reckonrecovermargin:
  10621. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10622. type: number
  10623. recoveredmargin:
  10624. description: 已追缴保证金
  10625. type: number
  10626. remainamount:
  10627. description: 合同剩余金额(融资额)
  10628. type: number
  10629. scfcontractid:
  10630. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10631. type: string
  10632. scfcontractstatus:
  10633. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10634. type: integer
  10635. scfcontracttype:
  10636. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10637. type: integer
  10638. totalinterest:
  10639. description: 已计总利息(利息)
  10640. type: number
  10641. tradeprice:
  10642. description: 成交价格(成本价格)
  10643. type: number
  10644. userid:
  10645. description: 用户ID
  10646. type: integer
  10647. username:
  10648. description: 用户名称
  10649. type: string
  10650. wrqty:
  10651. description: 仓单数量(数量)
  10652. type: number
  10653. type: object
  10654. models.QhjContractLog:
  10655. properties:
  10656. amount:
  10657. description: 支付金额
  10658. type: number
  10659. amounttype:
  10660. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10661. type: integer
  10662. logid:
  10663. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10664. type: string
  10665. remainamount:
  10666. description: 剩余货款
  10667. type: number
  10668. scfcontractid:
  10669. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10670. type: integer
  10671. updatetime:
  10672. description: 更新时间
  10673. type: string
  10674. type: object
  10675. models.QhjCusBankSignBankEx:
  10676. properties:
  10677. banklst:
  10678. description: 银行列表
  10679. items:
  10680. $ref: '#/definitions/models.QhjBankInfo'
  10681. type: array
  10682. canallot:
  10683. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10684. type: integer
  10685. canallotquery:
  10686. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10687. type: integer
  10688. canbindcard:
  10689. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10690. type: integer
  10691. caninamount:
  10692. description: 是否可入金 - 0:不可 1:可以
  10693. type: integer
  10694. caninamount2:
  10695. description: 是否可入金(网银端) - 0:不可 1:可以
  10696. type: integer
  10697. canmodifybankcard:
  10698. description: 是否可修改银行卡号 - 0:不可 1:可以
  10699. type: integer
  10700. canmodifyphone:
  10701. description: 是否可修改手机号 - 0:不可 1:可以
  10702. type: integer
  10703. canmodifysigninfo:
  10704. description: 是否可修改签约信息 - 0:不可 1:可以
  10705. type: integer
  10706. canoutamount:
  10707. description: 是否可出金 - 0:不可 1:可以
  10708. type: integer
  10709. canoutamount2:
  10710. description: 是否可出金(网银端) - 0:不可 1:可以
  10711. type: integer
  10712. canrelease:
  10713. description: 是否可解约 - 0:不可 1:可以
  10714. type: integer
  10715. canrelease2:
  10716. description: 是否可解约(网银端) - 0:不可 1:可以
  10717. type: integer
  10718. cansign:
  10719. description: 是否可签约 - 0:不可 1:可以
  10720. type: integer
  10721. cansign2:
  10722. description: 是否可签约(网银端) - 0:不可 1:可以
  10723. type: integer
  10724. currency:
  10725. description: 币种
  10726. type: string
  10727. cusbankid:
  10728. description: 托管银行编号(对应清算中心TRAN_NO)
  10729. type: string
  10730. cusbankname:
  10731. description: 银行业务名称
  10732. type: string
  10733. cusbankshortname:
  10734. description: 银行业务简称
  10735. type: string
  10736. exchbankid:
  10737. description: 交易所开户银行ID
  10738. type: string
  10739. exchpaybankaccname:
  10740. description: 交易所支出结算账户户名
  10741. type: string
  10742. exchpaybankaccno:
  10743. description: 交易所支出结算账户
  10744. type: string
  10745. isneedcheck:
  10746. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10747. type: integer
  10748. isneedclear:
  10749. description: 是否需要清算 - 0:不需要 1:需要
  10750. type: integer
  10751. lastcheckstatus:
  10752. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10753. type: integer
  10754. lastchecktime:
  10755. description: 最后对账时间
  10756. type: string
  10757. lastclearstatus:
  10758. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10759. type: integer
  10760. lastcleartime:
  10761. description: 最后清算时间
  10762. type: string
  10763. lastsignintime:
  10764. description: 最后签到时间
  10765. type: string
  10766. lastsignouttime:
  10767. description: 最后签退时间
  10768. type: string
  10769. riskinfo:
  10770. description: 签约风险提示书
  10771. type: string
  10772. signstatus:
  10773. description: 当前签到/签退状态 - 1:签到 2:签退
  10774. type: integer
  10775. tradedate:
  10776. description: 交易日(yyyyMMdd)
  10777. type: string
  10778. updatetime:
  10779. description: 当前签到/签退更新时间
  10780. type: string
  10781. type: object
  10782. models.QhjCustomer:
  10783. properties:
  10784. address:
  10785. description: 通讯地址
  10786. type: string
  10787. attachment1:
  10788. description: 附件1
  10789. type: string
  10790. audittime:
  10791. description: 审核时间
  10792. type: string
  10793. cardbackphotourl:
  10794. description: 证件反面图片地址
  10795. type: string
  10796. cardfrontphotourl:
  10797. description: 证件正面图片地址
  10798. type: string
  10799. cardnum:
  10800. description: 证件号码
  10801. type: string
  10802. cardtype:
  10803. description: 证件类型
  10804. type: integer
  10805. cardtypename:
  10806. description: 证件类型名称
  10807. type: string
  10808. cityid:
  10809. description: 市
  10810. type: integer
  10811. cityname:
  10812. description: 城市名称
  10813. type: string
  10814. contactname:
  10815. description: 联系人
  10816. type: string
  10817. countryid:
  10818. description: 国家
  10819. type: integer
  10820. countryname:
  10821. description: 国家名称
  10822. type: string
  10823. createtime:
  10824. description: 创建时间
  10825. type: string
  10826. customername:
  10827. description: 客户名称
  10828. type: string
  10829. districtid:
  10830. description: 区域
  10831. type: integer
  10832. districtname:
  10833. description: 地区名称
  10834. type: string
  10835. email:
  10836. description: 邮件
  10837. type: string
  10838. legalpersonname:
  10839. description: 法人姓名(企业)
  10840. type: string
  10841. logincode:
  10842. description: 登录账号(代码)
  10843. type: string
  10844. memberuserid:
  10845. description: 所属机构ID(所属会员)
  10846. type: integer
  10847. memberusername:
  10848. description: 所属会员名称
  10849. type: string
  10850. mobile:
  10851. description: 手机号码
  10852. type: string
  10853. modifytime:
  10854. description: 修改时间
  10855. type: string
  10856. nickname:
  10857. description: 昵称
  10858. type: string
  10859. parentuserid:
  10860. description: 上级机构(所属机构)
  10861. type: integer
  10862. parentusername:
  10863. description: 所属机构名称
  10864. type: string
  10865. provinceid:
  10866. description: 省
  10867. type: integer
  10868. provincename:
  10869. description: 省名称
  10870. type: string
  10871. proxystatementurl:
  10872. description: 授权委托书
  10873. type: string
  10874. remark:
  10875. description: 备注
  10876. type: string
  10877. status:
  10878. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10879. type: integer
  10880. statusdesc:
  10881. description: 账户状态中文描述
  10882. type: string
  10883. taxpayernum:
  10884. description: 纳税人识别号
  10885. type: string
  10886. telphone:
  10887. description: 联系电话
  10888. type: string
  10889. userid:
  10890. description: 用户ID
  10891. type: integer
  10892. userinfotype:
  10893. description: 客户类型 1-个人 2-企业
  10894. type: integer
  10895. username:
  10896. description: 用户名称
  10897. type: string
  10898. type: object
  10899. models.QhjCustomerSignLog:
  10900. properties:
  10901. agreementcontent:
  10902. description: 协议内容
  10903. type: string
  10904. agreementid:
  10905. description: 协议ID
  10906. type: integer
  10907. agreementname:
  10908. description: 协议名称
  10909. type: string
  10910. agreementno:
  10911. description: 协议编号
  10912. type: string
  10913. agreementtype:
  10914. description: 协议类型 - 1:注册 2:登录 3:交易
  10915. type: integer
  10916. agreementversion:
  10917. description: 协议版本号
  10918. type: integer
  10919. createtime:
  10920. description: 创建时间
  10921. type: string
  10922. goodscode:
  10923. description: 商品代码
  10924. type: string
  10925. goodsid:
  10926. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10927. type: integer
  10928. goodsname:
  10929. description: 商品名称
  10930. type: string
  10931. logid:
  10932. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10933. type: integer
  10934. nodetype:
  10935. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10936. type: integer
  10937. signadressurl:
  10938. description: 签约文件地址
  10939. type: string
  10940. signtimestamp:
  10941. description: 签约状态时间戳
  10942. type: string
  10943. userid:
  10944. description: 客户ID
  10945. type: integer
  10946. username:
  10947. description: 客户名称
  10948. type: string
  10949. type: object
  10950. models.QhjCustomerSignStatus:
  10951. properties:
  10952. createtime:
  10953. description: 创建时间
  10954. type: string
  10955. goodscode:
  10956. description: 商品代码
  10957. type: string
  10958. goodsid:
  10959. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10960. type: integer
  10961. goodsname:
  10962. description: 商品名称
  10963. type: string
  10964. nodetype:
  10965. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10966. type: integer
  10967. signtimestamp:
  10968. description: 签约状态时间戳
  10969. type: string
  10970. tradedate:
  10971. description: 创建交易日(yyyyMMdd)
  10972. type: string
  10973. updatetime:
  10974. description: 更新时间
  10975. type: string
  10976. userid:
  10977. description: 客户ID
  10978. type: integer
  10979. username:
  10980. description: 客户名称
  10981. type: string
  10982. type: object
  10983. models.QhjMgrAccountOutInApply:
  10984. properties:
  10985. accountcode:
  10986. description: 资金账号
  10987. type: string
  10988. accountname:
  10989. description: 用户名称(名称)
  10990. type: string
  10991. accountpwd:
  10992. description: 资金密码
  10993. type: string
  10994. accountticket:
  10995. description: 最新账户服务流水号
  10996. type: string
  10997. amount:
  10998. description: 金额
  10999. type: number
  11000. applyremark:
  11001. description: 申请备注
  11002. type: string
  11003. applystatus:
  11004. 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: 复审通过,账户冻结金额检查中;'
  11005. type: integer
  11006. auditid:
  11007. description: 审核人
  11008. type: integer
  11009. audittime:
  11010. description: 审核时间
  11011. type: string
  11012. bank_apply_ticket:
  11013. description: 银行申请流水
  11014. type: string
  11015. bankaccountname:
  11016. description: 银行账户名
  11017. type: string
  11018. bankaccountno:
  11019. description: 银行卡号
  11020. type: string
  11021. bankid:
  11022. description: 银行编号
  11023. type: string
  11024. bankname:
  11025. description: 银行名称
  11026. type: string
  11027. bankticket:
  11028. description: 银行流水
  11029. type: string
  11030. branchbankid:
  11031. description: 银行支行号
  11032. type: string
  11033. branchbankname:
  11034. description: 银行支行名称
  11035. type: string
  11036. capamountout:
  11037. description: 出金(劣后本金) - 外部子账户
  11038. type: number
  11039. certificatephotourl:
  11040. description: 凭证地址
  11041. type: string
  11042. charge:
  11043. description: 手续费
  11044. type: number
  11045. checkerrorflag:
  11046. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11047. type: integer
  11048. currency:
  11049. description: 币种
  11050. type: string
  11051. cusbankid:
  11052. description: 托管银行编号
  11053. type: string
  11054. exchticket:
  11055. description: 银行服务流水号
  11056. type: string
  11057. executetype:
  11058. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11059. type: integer
  11060. extendinfo:
  11061. description: 扩展信息
  11062. type: string
  11063. extoperateid:
  11064. description: 交易服务流水号
  11065. type: integer
  11066. infamount:
  11067. description: 劣后金额(自有)
  11068. type: number
  11069. logincode:
  11070. description: 登录账号(账号)
  11071. type: string
  11072. netaddr:
  11073. description: 调转网址
  11074. type: string
  11075. priamount:
  11076. description: 优先金额(授信)
  11077. type: number
  11078. reauditid:
  11079. description: 复审人
  11080. type: integer
  11081. reauditremark:
  11082. description: 复审备注
  11083. type: string
  11084. reaudittime:
  11085. description: 复审时间
  11086. type: string
  11087. relatedorderid:
  11088. description: 三方关联ID
  11089. type: string
  11090. remark:
  11091. description: 备注
  11092. type: string
  11093. remark2:
  11094. description: 备注(失败原因)
  11095. type: string
  11096. soucreamount:
  11097. description: 原始出入金金额
  11098. type: number
  11099. soucrecurrencyid:
  11100. description: 原始出入金币种
  11101. type: integer
  11102. tradedate:
  11103. description: 交易日(yyyyMMdd)
  11104. type: string
  11105. updatetime:
  11106. description: 更新时间(申请时间)
  11107. type: string
  11108. userid:
  11109. description: 用户id
  11110. type: integer
  11111. userinfotype:
  11112. description: 账户类型 1-个人 2-企业
  11113. type: integer
  11114. type: object
  11115. models.QhjMgrBrokerApply:
  11116. properties:
  11117. applicantid:
  11118. description: 申请人
  11119. type: integer
  11120. applysrc:
  11121. description: 申请来源 - 1:管理端 2:终端
  11122. type: integer
  11123. applystatus:
  11124. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11125. type: integer
  11126. applytime:
  11127. description: 申请时间
  11128. type: string
  11129. auditorid:
  11130. description: 审核人
  11131. type: integer
  11132. auditremark:
  11133. description: 审核备注
  11134. type: string
  11135. auditsrc:
  11136. description: 审核来源 - 1:管理端 2:终端
  11137. type: integer
  11138. audittime:
  11139. description: 审核时间
  11140. type: string
  11141. audittradedate:
  11142. description: 审核交易日(yyyyMMdd)
  11143. type: string
  11144. brokerapplyid:
  11145. description: 申请ID(SEQ_BROKERAPPLY)
  11146. type: integer
  11147. cardbackphotourl:
  11148. description: 证件背面图片地址
  11149. type: string
  11150. cardfrontphotourl:
  11151. description: 证件正面图片地址
  11152. type: string
  11153. cardnum:
  11154. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11155. type: string
  11156. customername:
  11157. description: 姓名
  11158. type: string
  11159. filterstatus:
  11160. description: 筛选条件
  11161. type: string
  11162. logincode:
  11163. description: 登录代码
  11164. type: string
  11165. mobile:
  11166. description: 手机号码
  11167. type: string
  11168. parentuserid:
  11169. description: 所属机构id
  11170. type: integer
  11171. parentusername:
  11172. description: 所属机构名称
  11173. type: string
  11174. refereeuserid:
  11175. description: 推荐人id(经纪人)
  11176. type: integer
  11177. refernum:
  11178. description: 推荐码
  11179. type: string
  11180. remark:
  11181. description: 备注
  11182. type: string
  11183. subarealevelpath:
  11184. description: 层级路径
  11185. type: string
  11186. tradedate:
  11187. description: 交易日(yyyyMMdd)
  11188. type: string
  11189. userid:
  11190. description: 申请人用户ID
  11191. type: integer
  11192. userinfotype:
  11193. description: 用户类型 1-个人 2-企业
  11194. type: integer
  11195. username:
  11196. description: 用户名称
  11197. type: string
  11198. type: object
  11199. models.QhjMgrBrokerRewardReport:
  11200. properties:
  11201. createtime:
  11202. description: 创建时间(注册时间)
  11203. type: string
  11204. cycletime:
  11205. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11206. type: string
  11207. cycletype:
  11208. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11209. type: integer
  11210. directtotalnum:
  11211. description: 直推总人数【期末】
  11212. type: integer
  11213. indirecttotalnum:
  11214. description: 间推总人数【期末】
  11215. type: integer
  11216. mobile:
  11217. description: 电话号码
  11218. type: string
  11219. refereeuserid:
  11220. description: 推荐人id(经纪人id)
  11221. type: integer
  11222. refereeusername:
  11223. description: 推荐人名称(经纪人) 上级经纪人名称
  11224. type: string
  11225. refernum:
  11226. description: 推荐码
  11227. type: string
  11228. subarealevelpath:
  11229. description: 用户层级路径
  11230. type: string
  11231. todayrewardamount:
  11232. description: 奖励总金额【汇总】
  11233. type: number
  11234. updatetime:
  11235. description: 更新时间
  11236. type: string
  11237. userid:
  11238. description: 经纪人用户ID
  11239. type: integer
  11240. userinfotype:
  11241. description: 用户类型 1-个人 2-企业
  11242. type: integer
  11243. username:
  11244. description: 用户名称
  11245. type: string
  11246. type: object
  11247. models.QhjMgrContract:
  11248. properties:
  11249. contractconfirmtime:
  11250. description: 合同确认时间(时间)
  11251. type: string
  11252. currisklevel:
  11253. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11254. type: integer
  11255. decimalplace:
  11256. description: 商品报价小数位
  11257. type: integer
  11258. enumdicname:
  11259. description: 单位名称
  11260. type: string
  11261. goodscode:
  11262. description: 商品代码
  11263. type: string
  11264. goodsid:
  11265. description: 商品ID [5:融资单]
  11266. type: integer
  11267. goodsname:
  11268. description: 商品名称
  11269. type: string
  11270. goodunitid:
  11271. description: 商品单位id
  11272. type: integer
  11273. initmargin:
  11274. description: 初始保证金(首付款)
  11275. type: number
  11276. lenderamount:
  11277. description: 贷款金额(总额|订单总额)
  11278. type: number
  11279. logincode:
  11280. description: 账号(登录代码)
  11281. type: string
  11282. marginratio:
  11283. description: 保证金比率(首付比例)
  11284. type: number
  11285. mobile:
  11286. description: 电话号码(用户资料里的电话)
  11287. type: string
  11288. payamount:
  11289. description: 已付(已付货款)
  11290. type: number
  11291. reckonrecovermargin:
  11292. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11293. type: number
  11294. recoveredmargin:
  11295. description: 已追缴保证金
  11296. type: number
  11297. remainamount:
  11298. description: 合同剩余金额(融资额)
  11299. type: number
  11300. scfcontractid:
  11301. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11302. type: string
  11303. scfcontractstatus:
  11304. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11305. type: integer
  11306. scfcontracttype:
  11307. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11308. type: integer
  11309. totalinterest:
  11310. description: 已计总利息(利息)
  11311. type: number
  11312. tradedate:
  11313. description: 交易日
  11314. type: string
  11315. tradeprice:
  11316. description: 成交价格(成本价格)
  11317. type: number
  11318. userid:
  11319. description: 用户ID
  11320. type: integer
  11321. userinfotype:
  11322. description: 用户类型 1-个人 2-企业
  11323. type: integer
  11324. username:
  11325. description: 用户名称
  11326. type: string
  11327. wrqty:
  11328. description: 仓单数量(数量)
  11329. type: number
  11330. type: object
  11331. models.QhjMgrCustomer:
  11332. properties:
  11333. address:
  11334. description: 通讯地址
  11335. type: string
  11336. attachment1:
  11337. description: 附件1
  11338. type: string
  11339. audittime:
  11340. description: 审核时间
  11341. type: string
  11342. birthday:
  11343. description: 生日
  11344. type: string
  11345. brokerid:
  11346. description: 所属客户经理id
  11347. type: integer
  11348. brokername:
  11349. description: 所属客户经理名称
  11350. type: string
  11351. cardbackphotourl:
  11352. description: 证件反面图片地址
  11353. type: string
  11354. cardfrontphotourl:
  11355. description: 证件正面图片地址
  11356. type: string
  11357. cardnum:
  11358. description: 证件号码
  11359. type: string
  11360. cardtype:
  11361. description: 证件类型
  11362. type: integer
  11363. cardtypename:
  11364. description: 证件类型名称
  11365. type: string
  11366. cityid:
  11367. description: 市
  11368. type: integer
  11369. cityname:
  11370. description: 城市名称
  11371. type: string
  11372. contactname:
  11373. description: 联系人
  11374. type: string
  11375. countryid:
  11376. description: 国家
  11377. type: integer
  11378. countryname:
  11379. description: 国家名称
  11380. type: string
  11381. createtime:
  11382. description: 创建时间
  11383. type: string
  11384. customername:
  11385. description: 客户名称
  11386. type: string
  11387. districtid:
  11388. description: 区域
  11389. type: integer
  11390. districtname:
  11391. description: 地区名称
  11392. type: string
  11393. email:
  11394. description: 邮件
  11395. type: string
  11396. legalpersonname:
  11397. description: 法人姓名(企业)
  11398. type: string
  11399. logincode:
  11400. description: 登录账号(代码)
  11401. type: string
  11402. memberuserid:
  11403. description: 所属机构ID(所属会员)
  11404. type: integer
  11405. memberusername:
  11406. description: 所属会员名称
  11407. type: string
  11408. mobile:
  11409. description: 手机号码
  11410. type: string
  11411. modifytime:
  11412. description: 修改时间
  11413. type: string
  11414. nickname:
  11415. description: 昵称
  11416. type: string
  11417. parentuserid:
  11418. description: 上级机构(所属机构)
  11419. type: integer
  11420. parentusername:
  11421. description: 所属机构名称
  11422. type: string
  11423. provinceid:
  11424. description: 省
  11425. type: integer
  11426. provincename:
  11427. description: 省名称
  11428. type: string
  11429. proxystatementurl:
  11430. description: 授权委托书
  11431. type: string
  11432. querytype:
  11433. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11434. type: integer
  11435. remark:
  11436. description: 备注
  11437. type: string
  11438. sex:
  11439. description: 性别 0-女 1-男
  11440. type: integer
  11441. status:
  11442. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11443. type: integer
  11444. statusdesc:
  11445. description: 账户状态中文描述
  11446. type: string
  11447. taxpayernum:
  11448. description: 纳税人识别号
  11449. type: string
  11450. telphone:
  11451. description: 联系电话
  11452. type: string
  11453. userid:
  11454. description: 用户ID
  11455. type: integer
  11456. userinfotype:
  11457. description: 客户类型 1-个人 2-企业
  11458. type: integer
  11459. username:
  11460. description: 用户名称
  11461. type: string
  11462. type: object
  11463. models.QhjMgrPickGoods:
  11464. properties:
  11465. enumdicname:
  11466. description: 单位名称(提货商品)
  11467. type: string
  11468. goodsid:
  11469. description: 商品id
  11470. type: integer
  11471. imageaddress:
  11472. description: 图片
  11473. type: string
  11474. modifierid:
  11475. description: 修改人
  11476. type: integer
  11477. modifiername:
  11478. description: 修改人名称
  11479. type: string
  11480. modifysrc:
  11481. description: 修改来源 - 1:管理端 2:终端
  11482. type: integer
  11483. pickupgoodsagreeunit:
  11484. description: 合约乘数
  11485. type: number
  11486. pickupgoodsdesc:
  11487. description: 描述
  11488. type: string
  11489. pickupgoodsid:
  11490. description: 提货商品ID
  11491. type: string
  11492. pickupgoodsname:
  11493. description: 提货商品名称
  11494. type: string
  11495. pickupgoodsstatus:
  11496. description: 状态 - 1:正常 2:停用 3:注销
  11497. type: integer
  11498. pickupgoodsunitid:
  11499. description: 单位ID
  11500. type: integer
  11501. pickupratio:
  11502. description: 提货系数
  11503. type: number
  11504. preparedays:
  11505. description: 备货期(天)
  11506. type: integer
  11507. remark:
  11508. description: 备注
  11509. type: string
  11510. updatetime:
  11511. description: 更新时间
  11512. type: string
  11513. type: object
  11514. models.QhjMgrPositionRsp:
  11515. properties:
  11516. accountid:
  11517. description: 账号Id
  11518. type: integer
  11519. accountname:
  11520. description: 用户名称
  11521. type: string
  11522. agreeunit:
  11523. description: 合约乘数
  11524. type: number
  11525. averageprice:
  11526. description: 均价
  11527. type: number
  11528. avialqty:
  11529. description: 可用数量
  11530. type: number
  11531. decimalplace:
  11532. description: 报价小数位
  11533. type: integer
  11534. enumdicname:
  11535. description: 单位名称(商品)
  11536. type: string
  11537. frozenqty:
  11538. description: 冻结数量
  11539. type: number
  11540. goodscode:
  11541. description: 商品代码(内部)
  11542. type: string
  11543. goodsid:
  11544. description: 商品Id
  11545. type: integer
  11546. goodsname:
  11547. description: 商品名称
  11548. type: string
  11549. goodunitid:
  11550. description: 报价单位ID
  11551. type: integer
  11552. holderamount:
  11553. description: 金额
  11554. type: number
  11555. holderqty:
  11556. description: 持有数量
  11557. type: number
  11558. holdertype:
  11559. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11560. type: integer
  11561. logincode:
  11562. description: 登录代码(账户)
  11563. type: string
  11564. marketid:
  11565. description: 市场id
  11566. type: integer
  11567. qtydecimalplace:
  11568. description: 成交量小数位
  11569. type: integer
  11570. trademode:
  11571. description: 交易模式
  11572. type: integer
  11573. userid:
  11574. description: 用户id
  11575. type: integer
  11576. userinfotype:
  11577. description: 账户类型 1-个人 2-企业
  11578. type: integer
  11579. type: object
  11580. models.QhjMgrSubArea:
  11581. properties:
  11582. accountname:
  11583. description: 账户名称(机构名称)
  11584. type: string
  11585. memberuserid:
  11586. description: 所属会员ID
  11587. type: integer
  11588. parenttopuser:
  11589. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11590. type: string
  11591. parentuserid:
  11592. description: 所属机构ID
  11593. type: integer
  11594. rootuserid:
  11595. description: 根用户ID
  11596. type: string
  11597. subaccountlevel:
  11598. description: 子账户层数
  11599. type: integer
  11600. subarealevelpath:
  11601. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11602. type: string
  11603. userid:
  11604. description: 用户ID
  11605. type: integer
  11606. usertype:
  11607. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11608. type: integer
  11609. type: object
  11610. models.QhjMgrTradeDetailRsp:
  11611. properties:
  11612. accountid:
  11613. description: 资金账号
  11614. type: integer
  11615. accountname:
  11616. description: 用户名称
  11617. type: string
  11618. agreeunit:
  11619. description: 合约乘数
  11620. type: number
  11621. buyorsell:
  11622. description: 成交类型(方向) 0:买 1:卖
  11623. type: integer
  11624. decimalplace:
  11625. description: 报价小数位
  11626. type: integer
  11627. enumdicname:
  11628. description: 单位名称(商品)
  11629. type: string
  11630. goodscode:
  11631. description: 商品代码(内部)
  11632. type: string
  11633. goodsid:
  11634. description: 商品id
  11635. type: integer
  11636. goodsname:
  11637. description: 商品名称
  11638. type: string
  11639. goodunitid:
  11640. description: 报价单位ID
  11641. type: integer
  11642. logincode:
  11643. description: 登录代码(账户)
  11644. type: string
  11645. marketid:
  11646. description: 市场id
  11647. type: integer
  11648. orderid:
  11649. description: 关联委托单号
  11650. type: string
  11651. qtydecimalplace:
  11652. description: 成交量小数位
  11653. type: integer
  11654. tradeamount:
  11655. description: 金额
  11656. type: number
  11657. tradedate:
  11658. description: 交易日
  11659. type: string
  11660. tradeid:
  11661. description: 成交单号
  11662. type: string
  11663. trademode:
  11664. description: 交易模式
  11665. type: integer
  11666. tradeprice:
  11667. description: 价格
  11668. type: number
  11669. tradeqty:
  11670. description: 数量
  11671. type: number
  11672. tradetime:
  11673. description: 成交时间
  11674. type: string
  11675. userid:
  11676. description: 用户id
  11677. type: integer
  11678. userinfotype:
  11679. description: 账户类型 1-个人 2-企业
  11680. type: integer
  11681. type: object
  11682. models.QhjMgrTradeOrderDetailRsp:
  11683. properties:
  11684. accountid:
  11685. description: 资金账号
  11686. type: integer
  11687. accountname:
  11688. description: 用户名称
  11689. type: string
  11690. agreeunit:
  11691. description: 合约乘数
  11692. type: number
  11693. amount:
  11694. description: 金额
  11695. type: number
  11696. decimalplace:
  11697. description: 报价小数位
  11698. type: integer
  11699. enumdicname:
  11700. description: 单位名称(商品)
  11701. type: string
  11702. goodscode:
  11703. description: 商品代码(内部)
  11704. type: string
  11705. goodsid:
  11706. description: 商品id
  11707. type: integer
  11708. goodsname:
  11709. description: 商品名称
  11710. type: string
  11711. goodunitid:
  11712. description: 报价单位ID
  11713. type: integer
  11714. logincode:
  11715. description: 登录代码(账户)
  11716. type: string
  11717. marketid:
  11718. description: 市场id
  11719. type: integer
  11720. orderid:
  11721. description: 关联委托单号
  11722. type: string
  11723. orderprice:
  11724. description: 价格
  11725. type: number
  11726. orderqty:
  11727. description: 数量
  11728. type: number
  11729. orderstatus:
  11730. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11731. type: integer
  11732. ordertime:
  11733. description: 委托时间
  11734. type: string
  11735. qtydecimalplace:
  11736. description: 成交量小数位
  11737. type: integer
  11738. tradedate:
  11739. description: 交易日
  11740. type: string
  11741. trademode:
  11742. description: 交易模式
  11743. type: integer
  11744. userid:
  11745. description: 用户id
  11746. type: integer
  11747. userinfotype:
  11748. description: 账户类型 1-个人 2-企业
  11749. type: integer
  11750. type: object
  11751. models.QhjMgrTradePayOrder:
  11752. properties:
  11753. accountname:
  11754. description: 用户名称
  11755. type: string
  11756. advanceratio:
  11757. description: 首付比率
  11758. type: number
  11759. agreeunit:
  11760. description: 合约乘数
  11761. type: number
  11762. buyaccountid:
  11763. description: 买方账号ID[报价币种]
  11764. type: integer
  11765. buyorderid:
  11766. description: 买方委托单号(关联单号)
  11767. type: string
  11768. createtime:
  11769. description: 创建时间
  11770. type: string
  11771. decimalplace:
  11772. description: 报价小数位
  11773. type: integer
  11774. enumdicname:
  11775. description: 单位名称(商品)
  11776. type: string
  11777. goodscode:
  11778. description: 商品代码(内部)
  11779. type: string
  11780. goodsid:
  11781. description: 商品ID
  11782. type: integer
  11783. goodsname:
  11784. description: 商品名称
  11785. type: string
  11786. goodunitid:
  11787. description: 报价单位ID
  11788. type: integer
  11789. logincode:
  11790. description: 登录代码(账户)
  11791. type: string
  11792. marketid:
  11793. description: 市场id
  11794. type: integer
  11795. offamount:
  11796. description: 优惠金额
  11797. type: number
  11798. operatetype:
  11799. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11800. type: integer
  11801. payamount:
  11802. description: 支付金额(金额)
  11803. type: number
  11804. payflag:
  11805. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11806. type: integer
  11807. paylimitedtime:
  11808. description: 支付期限
  11809. type: string
  11810. paytime:
  11811. description: 付款时间
  11812. type: string
  11813. qtydecimalplace:
  11814. description: 成交量小数位
  11815. type: integer
  11816. sellaccountid:
  11817. description: 卖方账号ID[报价币种]
  11818. type: integer
  11819. sellorderid:
  11820. description: 卖方委托单号
  11821. type: string
  11822. tradeamount:
  11823. description: 成交金额(优惠后金额)
  11824. type: number
  11825. tradecharge:
  11826. description: 成交手续费(买方)
  11827. type: number
  11828. tradedate:
  11829. description: 交易日(yyyyMMdd)
  11830. type: string
  11831. tradeid:
  11832. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11833. type: string
  11834. trademode:
  11835. description: 交易模式
  11836. type: integer
  11837. tradeprice:
  11838. description: 成交价格(价格)
  11839. type: number
  11840. tradeqty:
  11841. description: 成交数量(数量)
  11842. type: number
  11843. tradetime:
  11844. description: 成交时间
  11845. type: string
  11846. userid:
  11847. description: 用户id
  11848. type: integer
  11849. userinfotype:
  11850. description: 账户类型 1-个人 2-企业
  11851. type: integer
  11852. type: object
  11853. models.QhjMyTeamEx:
  11854. properties:
  11855. accountname:
  11856. description: 用户名称
  11857. type: string
  11858. accountstatus:
  11859. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11860. type: integer
  11861. createtime:
  11862. description: 创建时间
  11863. type: string
  11864. mobile:
  11865. description: 手机号码
  11866. type: string
  11867. refereeuserid:
  11868. description: 推荐人id
  11869. type: integer
  11870. refernum:
  11871. description: 推荐码
  11872. type: string
  11873. subList:
  11874. items:
  11875. $ref: '#/definitions/models.QhjMyTeamEx'
  11876. type: array
  11877. userid:
  11878. description: 用户id
  11879. type: integer
  11880. userinfotype:
  11881. description: 用户类型 1-个人 2-企业
  11882. type: integer
  11883. type: object
  11884. models.QhjNodeAgreementConfig:
  11885. properties:
  11886. agreementcontent:
  11887. description: 协议内容
  11888. type: string
  11889. agreementid:
  11890. description: 协议ID
  11891. type: integer
  11892. agreementname:
  11893. description: 协议名称
  11894. type: string
  11895. agreementno:
  11896. description: 协议编号
  11897. type: string
  11898. agreementtype:
  11899. description: 协议类型 - 1:注册 2:登录 3:交易
  11900. type: integer
  11901. agreementversion:
  11902. description: 协议版本号
  11903. type: integer
  11904. configid:
  11905. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11906. type: integer
  11907. createtime:
  11908. description: 创建时间
  11909. type: string
  11910. goodsid:
  11911. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11912. type: integer
  11913. nodetype:
  11914. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11915. type: integer
  11916. type: object
  11917. models.QhjParentAreaList:
  11918. properties:
  11919. accountname:
  11920. description: 账户名称(机构名称)
  11921. type: string
  11922. userid:
  11923. description: 用户ID
  11924. type: integer
  11925. usertype:
  11926. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11927. type: integer
  11928. type: object
  11929. models.QhjPayOrder:
  11930. properties:
  11931. advanceratio:
  11932. description: 首付比率
  11933. type: number
  11934. buyaccountid:
  11935. description: 买方账号ID[报价币种]
  11936. type: integer
  11937. buyorderid:
  11938. description: 买方委托单号
  11939. type: string
  11940. createtime:
  11941. description: 创建时间
  11942. type: string
  11943. decimalplace:
  11944. description: 商品报价小数位
  11945. type: integer
  11946. enumdicname:
  11947. description: 单位名称
  11948. type: string
  11949. goodscode:
  11950. description: 商品代码
  11951. type: string
  11952. goodsid:
  11953. description: 商品ID
  11954. type: integer
  11955. goodsname:
  11956. description: 商品名称
  11957. type: string
  11958. goodunitid:
  11959. description: 商品单位id
  11960. type: integer
  11961. marketid:
  11962. description: 市场ID
  11963. type: integer
  11964. offamount:
  11965. description: 优惠金额
  11966. type: number
  11967. operatetype:
  11968. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11969. type: integer
  11970. payamount:
  11971. description: 支付金额
  11972. type: number
  11973. payflag:
  11974. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11975. type: integer
  11976. paylimitedtime:
  11977. description: 支付期限
  11978. type: string
  11979. paytime:
  11980. description: 付款时间
  11981. type: string
  11982. qtydecimalplace:
  11983. description: 成交量小数位
  11984. type: integer
  11985. sellaccountid:
  11986. description: 卖方账号ID[报价币种]
  11987. type: integer
  11988. sellorderid:
  11989. description: 卖方委托单号
  11990. type: string
  11991. tradeamount:
  11992. description: 成交金额(优惠后金额)
  11993. type: number
  11994. tradecharge:
  11995. description: 成交手续费(买方)
  11996. type: number
  11997. tradedate:
  11998. description: 交易日(yyyyMMdd)
  11999. type: string
  12000. tradeid:
  12001. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12002. type: string
  12003. tradeprice:
  12004. description: 成交价格
  12005. type: number
  12006. tradeqty:
  12007. description: 成交数量
  12008. type: number
  12009. type: object
  12010. models.QhjPickArea:
  12011. properties:
  12012. address:
  12013. description: 详细地址
  12014. type: string
  12015. cityid:
  12016. description: 市
  12017. type: integer
  12018. cityname:
  12019. description: 城市名称
  12020. type: string
  12021. countryid:
  12022. description: 国家
  12023. type: integer
  12024. countryname:
  12025. description: 国家名称
  12026. type: string
  12027. districtid:
  12028. description: 地区
  12029. type: integer
  12030. districtname:
  12031. description: 地区名称
  12032. type: string
  12033. fromuserid:
  12034. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12035. type: integer
  12036. fromusername:
  12037. description: 所属机构名称
  12038. type: string
  12039. provinceid:
  12040. description: 省
  12041. type: integer
  12042. provincename:
  12043. description: 省名称
  12044. type: string
  12045. suborgtype:
  12046. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12047. type: integer
  12048. userid:
  12049. description: 机构用户ID 其他做市关系,都设置为 1
  12050. type: integer
  12051. username:
  12052. description: 机构用户名称(门店门称)
  12053. type: string
  12054. type: object
  12055. models.QhjPickGoods:
  12056. properties:
  12057. enumdicname:
  12058. description: 单位名称(提货商品)
  12059. type: string
  12060. goodsid:
  12061. description: 商品id
  12062. type: integer
  12063. imageaddress:
  12064. description: 图片
  12065. type: string
  12066. modifierid:
  12067. description: 修改人
  12068. type: integer
  12069. modifiername:
  12070. description: 修改人名称
  12071. type: string
  12072. modifysrc:
  12073. description: 修改来源 - 1:管理端 2:终端
  12074. type: integer
  12075. pickupgoodsagreeunit:
  12076. description: 合约乘数
  12077. type: number
  12078. pickupgoodsdesc:
  12079. description: 描述
  12080. type: string
  12081. pickupgoodsid:
  12082. description: 提货商品ID
  12083. type: string
  12084. pickupgoodsname:
  12085. description: 提货商品名称
  12086. type: string
  12087. pickupgoodsstatus:
  12088. description: 状态 - 1:正常 2:停用 3:注销
  12089. type: integer
  12090. pickupgoodsunitid:
  12091. description: 单位ID
  12092. type: integer
  12093. pickupratio:
  12094. description: 提货系数
  12095. type: number
  12096. preparedays:
  12097. description: 备货期(天)
  12098. type: integer
  12099. remark:
  12100. description: 备注
  12101. type: string
  12102. updatetime:
  12103. description: 更新时间
  12104. type: string
  12105. type: object
  12106. models.QhjRSTriggerLog:
  12107. properties:
  12108. accountid:
  12109. description: 用户资金账户
  12110. type: integer
  12111. accountname:
  12112. description: 账号名称(ACCOUNTID对应的名称)
  12113. type: string
  12114. currencyid:
  12115. description: 币种id
  12116. type: integer
  12117. currencyname:
  12118. description: 币种名称
  12119. type: string
  12120. decimalplace:
  12121. description: 商品报价小数位
  12122. type: integer
  12123. enumdicname:
  12124. description: 单位名称
  12125. type: string
  12126. goodscode:
  12127. description: 定投商品代码
  12128. type: string
  12129. goodsid:
  12130. description: 定投商品ID
  12131. type: integer
  12132. goodsname:
  12133. description: 定投商品名称
  12134. type: string
  12135. goodunitid:
  12136. description: 定投商品单位id
  12137. type: integer
  12138. logid:
  12139. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12140. type: string
  12141. logincode:
  12142. description: 账号(登录代码)
  12143. type: string
  12144. qtydecimalplace:
  12145. description: 成交量小数位
  12146. type: integer
  12147. regularlycycle:
  12148. description: 定投频率 - 1:每周 2:每月
  12149. type: integer
  12150. regularlycyclevalue:
  12151. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12152. type: string
  12153. regularlymode:
  12154. description: 定投方式 - 1:按数量 2:按金额
  12155. type: integer
  12156. regularlymodevalue:
  12157. description: 定投方式值 - 数量或金额
  12158. type: number
  12159. regularlystrategyid:
  12160. description: 定投策略ID
  12161. type: integer
  12162. retcode:
  12163. description: 错误码
  12164. type: string
  12165. tradeid:
  12166. description: 成交单ID
  12167. type: string
  12168. triggeramount:
  12169. description: 触发金额
  12170. type: number
  12171. triggerqty:
  12172. description: 触发数量
  12173. type: number
  12174. triggerstatus:
  12175. description: 触发状态 - 1:成功 2:失败
  12176. type: integer
  12177. triggertime:
  12178. description: 触发时间
  12179. type: string
  12180. triggertradedate:
  12181. description: 触发交易日
  12182. type: string
  12183. userid:
  12184. description: 所属用户ID
  12185. type: integer
  12186. userinfotype:
  12187. description: 用户类型 1-个人 2-企业
  12188. type: integer
  12189. username:
  12190. description: 用户名称(userid对应的名称)
  12191. type: string
  12192. type: object
  12193. models.QhjRStrategy:
  12194. properties:
  12195. accountid:
  12196. description: 用户资金账户
  12197. type: integer
  12198. accountname:
  12199. description: 账号名称(ACCOUNTID对应的名称)
  12200. type: string
  12201. currencyid:
  12202. description: 币种id
  12203. type: integer
  12204. currencyname:
  12205. description: 币种名称
  12206. type: string
  12207. decimalplace:
  12208. description: 商品报价小数位
  12209. type: integer
  12210. enumdicname:
  12211. description: 单位名称
  12212. type: string
  12213. goodscode:
  12214. description: 定投商品代码
  12215. type: string
  12216. goodsid:
  12217. description: 定投商品ID
  12218. type: integer
  12219. goodsname:
  12220. description: 定投商品名称
  12221. type: string
  12222. goodunitid:
  12223. description: 定投商品单位id
  12224. type: integer
  12225. lasteffecttradedate:
  12226. description: 最新生效交易日
  12227. type: string
  12228. laststoptradedate:
  12229. description: 最新暂停交易日
  12230. type: string
  12231. lasttriggertradedate:
  12232. description: 最新触发交易日
  12233. type: string
  12234. logincode:
  12235. description: 账号(登录代码)
  12236. type: string
  12237. nexttriggeramount:
  12238. description: 下次触发金额
  12239. type: number
  12240. nexttriggerdate:
  12241. description: 下次触发日期
  12242. type: string
  12243. nexttriggerqty:
  12244. description: 下次触发数量 [按小数位放大值]
  12245. type: number
  12246. qtydecimalplace:
  12247. description: 成交量小数位
  12248. type: integer
  12249. regularlycycle:
  12250. description: 定投频率 - 1:每周 2:每月
  12251. type: integer
  12252. regularlycyclevalue:
  12253. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12254. type: string
  12255. regularlymode:
  12256. description: 定投方式 - 1:按数量 2:按金额
  12257. type: integer
  12258. regularlymodevalue:
  12259. description: 定投方式值 - 数量或金额
  12260. type: number
  12261. regularlystrategyid:
  12262. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12263. type: integer
  12264. regularlystrategystatus:
  12265. description: 策略状态 - 1:正常 2:暂停 3:终止
  12266. type: integer
  12267. remark:
  12268. description: 备注
  12269. type: string
  12270. triggersuccesstimes:
  12271. description: 累计定投成功次数
  12272. type: string
  12273. triggertotalamount:
  12274. description: 累计定投金额(成功)
  12275. type: number
  12276. triggertotalqty:
  12277. description: 累计定投数量(成功) [按小数位放大值]
  12278. type: number
  12279. triggertotaltimes:
  12280. description: 累计定投总次数
  12281. type: string
  12282. updatesrc:
  12283. description: 更新来源 - 1:管理端 2:终端
  12284. type: integer
  12285. updatetime:
  12286. description: 更新时间
  12287. type: string
  12288. updatorid:
  12289. description: 更新人
  12290. type: string
  12291. userid:
  12292. description: 所属用户ID
  12293. type: integer
  12294. userinfotype:
  12295. description: 用户类型 1-个人 2-企业
  12296. type: integer
  12297. username:
  12298. description: 用户名称(userid对应的名称)
  12299. type: string
  12300. type: object
  12301. models.QhjReckonPriceLog:
  12302. properties:
  12303. decimalplace:
  12304. description: 商品报价小数位
  12305. type: integer
  12306. goodscode:
  12307. description: 商品代码
  12308. type: string
  12309. goodsid:
  12310. description: 商品ID
  12311. type: integer
  12312. goodsname:
  12313. description: 商品名称
  12314. type: string
  12315. lastreckonprice:
  12316. description: 上日结算价
  12317. type: number
  12318. nextdnlimitprice:
  12319. description: 下个交易日跌停价
  12320. type: number
  12321. nexttrade:
  12322. description: 下个交易日
  12323. type: string
  12324. nextuplimitprice:
  12325. description: 下个交易日涨停价
  12326. type: number
  12327. reckonprice:
  12328. description: 今日结算价(定投价)
  12329. type: number
  12330. reckontime:
  12331. description: 结算时间
  12332. type: string
  12333. totalholderqty:
  12334. description: 总持仓数
  12335. type: integer
  12336. totalstock:
  12337. description: 总库存
  12338. type: integer
  12339. tradedate:
  12340. description: 交易日
  12341. type: string
  12342. updowncount:
  12343. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12344. type: integer
  12345. updownflag:
  12346. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12347. type: integer
  12348. updownrate:
  12349. description: 今日涨跌幅
  12350. type: number
  12351. updownrate_2d:
  12352. description: 连续两日涨跌幅
  12353. type: number
  12354. updownrate_3d:
  12355. description: 连续三日涨跌幅
  12356. type: number
  12357. type: object
  12358. models.QhjScoreLog:
  12359. properties:
  12360. accountid:
  12361. description: 账户ID
  12362. type: integer
  12363. createtime:
  12364. description: 创建时间(时间)
  12365. type: string
  12366. goodsid:
  12367. description: 商品ID
  12368. type: integer
  12369. hasuploaded:
  12370. description: 是否已同步(千海金) 0:未同步 1;已同步
  12371. type: integer
  12372. logid:
  12373. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12374. type: string
  12375. marketid:
  12376. description: 市场ID
  12377. type: integer
  12378. relatedamount:
  12379. description: 关联金额
  12380. type: number
  12381. relatedorderid:
  12382. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12383. type: string
  12384. scoreconfigvalue1:
  12385. description: 积分配置1
  12386. type: integer
  12387. scoreconfigvalue2:
  12388. description: 积分配置1
  12389. type: integer
  12390. scoretype:
  12391. description: 积分类型 - 1:提货积分
  12392. type: integer
  12393. scorevalue:
  12394. description: 积分
  12395. type: number
  12396. tradedate:
  12397. description: 交易日(yyyyMMdd)
  12398. type: string
  12399. uploadedtime:
  12400. description: 同步时间
  12401. type: string
  12402. userid:
  12403. description: 用户ID
  12404. type: integer
  12405. type: object
  12406. models.QhjSiteColumnDetail:
  12407. properties:
  12408. author:
  12409. description: 作者
  12410. type: string
  12411. brief:
  12412. description: 简介
  12413. type: string
  12414. columnid:
  12415. description: 所属栏目
  12416. type: integer
  12417. context:
  12418. description: 内容
  12419. type: string
  12420. coverimage:
  12421. description: 封面图片
  12422. type: string
  12423. creaedate:
  12424. description: 创建时间
  12425. type: string
  12426. creatorid:
  12427. description: 创建人
  12428. type: integer
  12429. hits:
  12430. description: 点击数
  12431. type: integer
  12432. id:
  12433. description: ID(SEQ_SITE_COLUMNDETAIL)
  12434. type: integer
  12435. isshow:
  12436. description: 是否展示 - 0:不展示 1:展示
  12437. type: integer
  12438. istop:
  12439. description: 是否置顶 - 0:不置 1:置顶
  12440. type: integer
  12441. modifierid:
  12442. description: 操作人
  12443. type: integer
  12444. publishdate:
  12445. description: 发布日期
  12446. type: string
  12447. status:
  12448. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12449. type: integer
  12450. title:
  12451. description: 标题
  12452. type: string
  12453. updatedate:
  12454. description: 修改时间
  12455. type: string
  12456. userid:
  12457. description: 用户ID(默认为0, 核心为为机构用户ID)
  12458. type: integer
  12459. username:
  12460. description: 用户名称
  12461. type: string
  12462. type: object
  12463. models.QhjTeamOrder:
  12464. properties:
  12465. accountid:
  12466. description: 账户ID[报价币种]
  12467. type: integer
  12468. accountname:
  12469. description: 账户名称
  12470. type: string
  12471. agreeunit:
  12472. description: 合约乘数
  12473. type: number
  12474. buyorsell:
  12475. description: 方向 - 0:买 1:卖
  12476. type: integer
  12477. decimalplace:
  12478. description: 报价小数位
  12479. type: integer
  12480. enumdicname:
  12481. description: 单位名称
  12482. type: string
  12483. goodscode:
  12484. description: 商品代码(内部)
  12485. type: string
  12486. goodsid:
  12487. description: 商品ID
  12488. type: integer
  12489. goodsname:
  12490. description: 商品名称
  12491. type: string
  12492. goodunitid:
  12493. description: 报价单位ID
  12494. type: integer
  12495. marketid:
  12496. description: 市场ID
  12497. type: integer
  12498. marketname:
  12499. description: 市场名称
  12500. type: string
  12501. qtydecimalplace:
  12502. description: 成交量小数位
  12503. type: integer
  12504. refereeuserid:
  12505. description: 推荐人ID
  12506. type: integer
  12507. tradeamount:
  12508. description: 成交金额[账户币种,用于所有权]
  12509. type: number
  12510. tradedate:
  12511. description: 交易日(yyyyMMdd)
  12512. type: string
  12513. trademode:
  12514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12515. type: integer
  12516. tradeprice:
  12517. description: 成交价格
  12518. type: number
  12519. tradeqty:
  12520. description: 成交数量
  12521. type: number
  12522. tradetime:
  12523. description: 成交时间
  12524. type: string
  12525. userid:
  12526. description: 用户ID
  12527. type: integer
  12528. type: object
  12529. models.QhjTradeGoodsPickup:
  12530. properties:
  12531. accountid:
  12532. description: 账户ID
  12533. type: integer
  12534. address:
  12535. description: 提货人详细地址
  12536. type: string
  12537. amount:
  12538. description: 提货金额
  12539. type: number
  12540. artradedate:
  12541. description: 自动收货交易日(yyyyMMdd)
  12542. type: string
  12543. auditer:
  12544. description: 审核人
  12545. type: integer
  12546. auditsrc:
  12547. description: 更新来源 - 1:管理端 2:终端
  12548. type: integer
  12549. audittime:
  12550. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12551. type: string
  12552. audittradedate:
  12553. description: 审核交易日(yyyyMMdd)
  12554. type: string
  12555. cardnum:
  12556. description: 提货人证件号码
  12557. type: string
  12558. cardtypeid:
  12559. description: 提货人证件类型
  12560. type: integer
  12561. checkremark:
  12562. description: 审核备注
  12563. type: string
  12564. cityid:
  12565. description: 市
  12566. type: integer
  12567. cityname:
  12568. description: 城市名称
  12569. type: string
  12570. confirmtime:
  12571. description: 取货时间 或 收货时间
  12572. type: string
  12573. countryid:
  12574. description: 国家
  12575. type: integer
  12576. countryname:
  12577. description: 国家名称
  12578. type: string
  12579. decimalplace:
  12580. description: 商品报价小数位
  12581. type: integer
  12582. districtid:
  12583. description: 地区
  12584. type: integer
  12585. districtname:
  12586. description: 地区名称
  12587. type: string
  12588. enumdicname:
  12589. description: 单位名称(提货商品)
  12590. type: string
  12591. expresscompany:
  12592. description: 物流公司
  12593. type: string
  12594. expressnum:
  12595. description: 物流单号
  12596. type: string
  12597. goodsagreeunit:
  12598. description: 交易商品乘数
  12599. type: number
  12600. goodscode:
  12601. description: 商品代码
  12602. type: string
  12603. goodsid:
  12604. description: 商品ID
  12605. type: integer
  12606. goodsname:
  12607. description: 商品名称
  12608. type: string
  12609. goodsqty:
  12610. description: 交易商品手数(69模式按成交量小数位放大取整)
  12611. type: number
  12612. handlestatus:
  12613. description: 处理状态
  12614. type: integer
  12615. logincode:
  12616. description: 账号(登录代码, 有可能为空)
  12617. type: string
  12618. marketid:
  12619. description: 市场ID
  12620. type: integer
  12621. phonenum:
  12622. description: 提货人联系方式
  12623. type: string
  12624. pickupgoodsagreeunit:
  12625. description: 提货商品合约乘数
  12626. type: number
  12627. pickupgoodsid:
  12628. description: 提货商品ID
  12629. type: string
  12630. pickupgoodsname:
  12631. description: 提货商品名称
  12632. type: string
  12633. pickupgoodsqty:
  12634. description: 提货商品手数(数量)
  12635. type: number
  12636. pickupgoodsunitid:
  12637. description: 单位ID(提货商品)
  12638. type: integer
  12639. pickupratio:
  12640. description: 提货系数
  12641. type: number
  12642. preparedays:
  12643. description: 备货期(天)-提货单明细表
  12644. type: integer
  12645. provinceid:
  12646. description: 省
  12647. type: integer
  12648. provincename:
  12649. description: 省名称
  12650. type: string
  12651. qty:
  12652. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12653. type: number
  12654. qtydecimalplace:
  12655. description: 商品数量小数位
  12656. type: integer
  12657. recivername:
  12658. description: 提货人姓名
  12659. type: string
  12660. reqtime:
  12661. description: 提货申请时间
  12662. type: string
  12663. storeuserid:
  12664. description: 门店用户ID (千海金)
  12665. type: integer
  12666. storeusername:
  12667. description: 门店用户名称
  12668. type: string
  12669. takemode:
  12670. description: 提货方式 - 2:自提 3:配送(邮寄)
  12671. type: integer
  12672. takeorderid:
  12673. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12674. type: string
  12675. takeorderstatus:
  12676. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12677. type: integer
  12678. takeremark:
  12679. description: 提货备注
  12680. type: string
  12681. tradedate:
  12682. description: 交易日(yyyyMMdd)
  12683. type: string
  12684. updatetime:
  12685. description: 更新时间
  12686. type: string
  12687. userid:
  12688. description: 用户ID
  12689. type: integer
  12690. userinfotype:
  12691. description: 客户类型 1-个人 2-企业
  12692. type: integer
  12693. username:
  12694. description: 用户名称
  12695. type: string
  12696. type: object
  12697. models.QhjUserNodeCfgAndStatus:
  12698. properties:
  12699. agreementcontent:
  12700. description: 协议内容
  12701. type: string
  12702. agreementid:
  12703. description: 协议ID
  12704. type: integer
  12705. agreementname:
  12706. description: 协议名称
  12707. type: string
  12708. agreementno:
  12709. description: 协议编号
  12710. type: string
  12711. agreementtype:
  12712. description: 协议类型 - 1:注册 2:登录 3:交易
  12713. type: integer
  12714. agreementversion:
  12715. description: 协议版本号
  12716. type: integer
  12717. configid:
  12718. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12719. type: integer
  12720. createtime:
  12721. description: 创建时间
  12722. type: string
  12723. goodsid:
  12724. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12725. type: integer
  12726. nodetype:
  12727. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12728. type: integer
  12729. signtimestamp:
  12730. description: 签约状态时间戳(最近一次)
  12731. type: string
  12732. tradedate:
  12733. description: 签约交易日(yyyyMMdd)
  12734. type: string
  12735. userid:
  12736. description: 客户ID
  12737. type: integer
  12738. type: object
  12739. models.Qhjgoodsex:
  12740. properties:
  12741. canfinance:
  12742. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12743. type: integer
  12744. canregularlybuy:
  12745. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12746. type: integer
  12747. defaulttradeuserid:
  12748. description: 默认交易用户ID
  12749. type: integer
  12750. deliverygoodsid:
  12751. description: 现货品种ID
  12752. type: integer
  12753. goodsid:
  12754. description: 商品ID(自增ID SEQ_GOODS)
  12755. type: integer
  12756. minamount:
  12757. description: 最小购买金额
  12758. type: number
  12759. regularlybuyminamount:
  12760. description: 定投最小金额
  12761. type: number
  12762. regularlybuyminqty:
  12763. description: 定投最小数量
  12764. type: number
  12765. spotgoodsbrandid:
  12766. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12767. type: integer
  12768. visibilityforenterprise:
  12769. description: 企业客户是否可见 - 0:不可见 1:可见
  12770. type: integer
  12771. visibilityforpersonal:
  12772. description: 个人客户是否可见 - 0:不可见 1:可见
  12773. type: integer
  12774. wrstandardid:
  12775. description: 现货商品ID
  12776. type: integer
  12777. type: object
  12778. models.QueryErrorInfosRsp:
  12779. properties:
  12780. description:
  12781. description: 异常描述
  12782. type: string
  12783. errorcode:
  12784. description: 异常代码
  12785. type: string
  12786. errorid:
  12787. description: 异常ID
  12788. type: integer
  12789. modulecode:
  12790. description: 所属模块
  12791. type: string
  12792. operatecode:
  12793. description: 所属操作
  12794. type: string
  12795. rownumber:
  12796. description: 行号
  12797. type: string
  12798. required:
  12799. - errorid
  12800. type: object
  12801. models.QueryHedgeOrderDetailRsp:
  12802. properties:
  12803. accountid:
  12804. description: 账户ID
  12805. type: integer
  12806. buyorsell:
  12807. description: 买卖 - 0:买 1:卖
  12808. type: integer
  12809. cancellogincode:
  12810. description: 撤单人
  12811. type: string
  12812. channelbuildtype:
  12813. description: 开平标志 - 0:无 1:建仓 2:平仓
  12814. type: integer
  12815. channelinnerorderstatus:
  12816. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12817. type: integer
  12818. channeloperatetype:
  12819. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12820. type: integer
  12821. closetype:
  12822. description: 平仓方式 - 0:无 1:平今 2:平昨
  12823. type: integer
  12824. curexchangerate:
  12825. description: 当前汇率
  12826. type: number
  12827. exchangefullname:
  12828. description: 外部交易所全称
  12829. type: string
  12830. goodscode:
  12831. description: 商品代码(内部)
  12832. type: string
  12833. goodsid:
  12834. description: 商品ID
  12835. type: integer
  12836. goodsname:
  12837. description: 商品名称
  12838. type: string
  12839. marketid:
  12840. description: 市场ID
  12841. type: integer
  12842. openfreezemargin:
  12843. description: 冻结保证金(冻结交易金额)
  12844. type: number
  12845. orderid:
  12846. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12847. type: string
  12848. orderlogincode:
  12849. description: 委托人
  12850. type: string
  12851. orderprice:
  12852. description: 委托价格(账户)
  12853. type: number
  12854. orderqty:
  12855. description: 委托数量
  12856. type: integer
  12857. ordertime:
  12858. description: 委托时间
  12859. type: string
  12860. pricemode:
  12861. description: '取价方式 - 1:市价 2: 限价'
  12862. type: integer
  12863. tradedate:
  12864. description: 交易日(yyyyMMdd)
  12865. type: string
  12866. tradeqty:
  12867. description: 成交数量
  12868. type: integer
  12869. type: object
  12870. models.QueryHedgeTradeDetailRsp:
  12871. properties:
  12872. accountid:
  12873. description: 账号ID
  12874. type: integer
  12875. buyorsell:
  12876. description: 方向 - 0:买 1:卖
  12877. type: integer
  12878. channelbuildtype:
  12879. description: 委托单据类型 0:无 1:建仓 2:平仓
  12880. type: integer
  12881. closecharge:
  12882. description: 平仓手续费(账户)
  12883. type: number
  12884. closecharge2:
  12885. description: 平仓手续费(商品)
  12886. type: number
  12887. closepl:
  12888. description: 平仓盈亏(账户)
  12889. type: number
  12890. closepl2:
  12891. description: 平仓盈亏(商品)
  12892. type: number
  12893. closepl3:
  12894. description: 平仓盈亏(账户)(逐笔)
  12895. type: number
  12896. closepl4:
  12897. description: 平仓盈亏(商品)(逐笔)
  12898. type: number
  12899. closetype:
  12900. description: 平仓方式 - 0:无 1:平今 2:平昨
  12901. type: integer
  12902. curexchangerate:
  12903. description: 当前汇率
  12904. type: number
  12905. exchangefullname:
  12906. description: 外部交易所全称
  12907. type: string
  12908. goodscode:
  12909. description: 商品代码(内部)
  12910. type: string
  12911. goodsid:
  12912. description: 商品ID
  12913. type: integer
  12914. goodsname:
  12915. description: 商品名称
  12916. type: string
  12917. marketid:
  12918. description: 市场ID
  12919. type: integer
  12920. opencharge:
  12921. description: 建仓手续费(账户)
  12922. type: number
  12923. opencharge2:
  12924. description: 建仓手续费(商品)
  12925. type: number
  12926. orderid:
  12927. description: 委托单号
  12928. type: string
  12929. orderlogincode:
  12930. description: 委托人
  12931. type: string
  12932. tradeamount:
  12933. description: 成交金额(账户)
  12934. type: number
  12935. tradedate:
  12936. description: 交易日(yyyyMMdd)
  12937. type: string
  12938. tradeid:
  12939. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12940. type: string
  12941. tradeprice:
  12942. description: 成交价格
  12943. type: number
  12944. tradeqty:
  12945. description: 成交数量
  12946. type: integer
  12947. tradetime:
  12948. description: 成交时间
  12949. type: string
  12950. tradetype:
  12951. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12952. type: integer
  12953. type: object
  12954. models.QuotePrimaryMenu:
  12955. properties:
  12956. Index:
  12957. description: 序号
  12958. type: integer
  12959. Key:
  12960. description: 键名
  12961. type: string
  12962. Name:
  12963. description: 菜单名称
  12964. type: string
  12965. SubMenus:
  12966. description: 子菜单
  12967. items:
  12968. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12969. type: array
  12970. SubTitleType:
  12971. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12972. type: integer
  12973. TradeModes:
  12974. description: 包含市场交易类型
  12975. type: string
  12976. type: object
  12977. models.QuoteSecondaryMenu:
  12978. properties:
  12979. ExExchangeCode:
  12980. description: 外部交易所代码
  12981. type: string
  12982. ExExchangeID:
  12983. description: 外部交易所ID
  12984. type: integer
  12985. GoodsGroupIDs:
  12986. description: 商品组ID列表
  12987. items:
  12988. type: integer
  12989. type: array
  12990. Index:
  12991. description: 序号
  12992. type: integer
  12993. MarketID:
  12994. description: 市场ID
  12995. type: integer
  12996. MenuTitle:
  12997. description: 菜单标题(市场名称或外部交易所名称)
  12998. type: string
  12999. TradeMode:
  13000. description: 交易模式
  13001. type: integer
  13002. type: object
  13003. models.RoleMenu:
  13004. properties:
  13005. hasright:
  13006. description: 是否有权限 0-没有权限 1-有权限
  13007. type: integer
  13008. iconame:
  13009. description: 菜单图标
  13010. type: string
  13011. menutype:
  13012. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13013. type: integer
  13014. parentcode:
  13015. description: 上级资源代码
  13016. type: string
  13017. remark:
  13018. description: 菜单备注
  13019. type: string
  13020. resourcecode:
  13021. description: 菜单代码
  13022. type: string
  13023. resourcelevel:
  13024. description: 级别
  13025. type: integer
  13026. resourcename:
  13027. description: 菜单名称
  13028. type: string
  13029. roleid:
  13030. description: 角色id
  13031. type: integer
  13032. sort:
  13033. description: 排序
  13034. type: integer
  13035. subMenu:
  13036. description: 子级菜单(结构同上层一样, swag解析不出来)
  13037. items:
  13038. $ref: '#/definitions/models.RoleMenu'
  13039. type: array
  13040. url:
  13041. description: URL
  13042. type: string
  13043. userid:
  13044. description: 用户id
  13045. type: integer
  13046. type: object
  13047. models.SearchGoods:
  13048. properties:
  13049. goodscode:
  13050. description: 商品代码(内部)
  13051. type: string
  13052. goodsid:
  13053. description: 商品ID(自增ID SEQ_GOODS)
  13054. type: integer
  13055. goodsname:
  13056. description: 商品名称
  13057. type: string
  13058. marketid:
  13059. description: 所属市场ID
  13060. type: integer
  13061. marketname:
  13062. description: 市场名称
  13063. type: string
  13064. trademode:
  13065. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13066. type: integer
  13067. required:
  13068. - goodscode
  13069. - goodsid
  13070. - goodsname
  13071. - marketid
  13072. - trademode
  13073. type: object
  13074. models.Systemparam:
  13075. properties:
  13076. loginid:
  13077. description: 更新用户账号,登录账号
  13078. type: string
  13079. modifyflag:
  13080. description: 修改标志0 不允许修改 1 允许修改
  13081. type: integer
  13082. paramcode:
  13083. description: 参数代码
  13084. type: string
  13085. paramname:
  13086. description: 参数名
  13087. type: string
  13088. paramtype:
  13089. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13090. type: integer
  13091. paramvalue:
  13092. description: 参数值
  13093. type: string
  13094. paramvalue2:
  13095. description: 参数值(CLOB)
  13096. type: string
  13097. regexpress:
  13098. description: 正则表达式
  13099. type: string
  13100. remark:
  13101. description: 备注
  13102. type: string
  13103. serverip:
  13104. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13105. type: string
  13106. showflag:
  13107. description: 是否显示0 不显示 1 显示
  13108. type: integer
  13109. updatetime:
  13110. description: 更新时间
  13111. type: string
  13112. userid:
  13113. description: 更新用户ID
  13114. type: integer
  13115. required:
  13116. - paramcode
  13117. type: object
  13118. models.Szdz3convertconfig:
  13119. properties:
  13120. canin:
  13121. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13122. type: integer
  13123. canout:
  13124. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13125. type: integer
  13126. converttype:
  13127. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13128. type: integer
  13129. createtime:
  13130. description: 创建时间
  13131. type: string
  13132. creatorid:
  13133. description: 创建人
  13134. type: integer
  13135. daymaxvalue:
  13136. description: 当日最大转入限制
  13137. type: number
  13138. freezedays:
  13139. description: 冻结天数 [5:花生米转交易]
  13140. type: integer
  13141. innergoodsid:
  13142. description: 内部商品ID[交易]
  13143. type: integer
  13144. inratio:
  13145. description: 目标值
  13146. type: integer
  13147. modifierid:
  13148. description: 修改人
  13149. type: integer
  13150. modifytime:
  13151. description: 修改时间
  13152. type: string
  13153. outergoodscode:
  13154. description: 外部商品代码[JD\PD]
  13155. type: string
  13156. outratio:
  13157. description: 源值
  13158. type: integer
  13159. pddecimalplace:
  13160. description: PD小数位
  13161. type: integer
  13162. timemaxvalue:
  13163. description: 单次最大转入限制
  13164. type: number
  13165. timeminvalue:
  13166. description: 单次最小转入限制
  13167. type: number
  13168. required:
  13169. - converttype
  13170. - innergoodsid
  13171. - outergoodscode
  13172. type: object
  13173. models.Szdz3searchwhitelist:
  13174. properties:
  13175. createtime:
  13176. description: 创建时间
  13177. type: string
  13178. creatorid:
  13179. description: 创建人
  13180. type: integer
  13181. modifierid:
  13182. description: 修改人
  13183. type: integer
  13184. modifytime:
  13185. description: 修改时间
  13186. type: string
  13187. userid:
  13188. description: 用户ID
  13189. type: integer
  13190. required:
  13191. - userid
  13192. type: object
  13193. models.TBGoods:
  13194. properties:
  13195. agreeunit:
  13196. description: 合约乘数
  13197. type: number
  13198. enumdicname:
  13199. description: 单位名称
  13200. type: string
  13201. goodscode:
  13202. description: 商品代码(内部)
  13203. type: string
  13204. goodsid:
  13205. description: 商品ID(自增ID SEQ_GOODS)
  13206. type: integer
  13207. goodsname:
  13208. description: 商品名称
  13209. type: string
  13210. type: object
  13211. models.TBGoodsGroup:
  13212. properties:
  13213. convertratio:
  13214. description: 折算系数
  13215. type: number
  13216. enumdicname:
  13217. description: 单位名称
  13218. type: string
  13219. exexchangecode:
  13220. description: 交易所代码
  13221. type: string
  13222. exexchangename:
  13223. description: 交易所名称
  13224. type: string
  13225. gdlst:
  13226. description: 商品列表
  13227. items:
  13228. $ref: '#/definitions/models.TBGoods'
  13229. type: array
  13230. goodsgroupid:
  13231. description: 商品组ID(自增ID)
  13232. type: integer
  13233. goodsgroupname:
  13234. description: 商品组名称
  13235. type: string
  13236. goodunitid:
  13237. description: 报价单位ID
  13238. type: integer
  13239. type: object
  13240. models.TBMiddleGoods:
  13241. properties:
  13242. areauserid:
  13243. description: 机构用户ID
  13244. type: integer
  13245. enumdicname:
  13246. description: 单位名称
  13247. type: string
  13248. gplst:
  13249. description: 期货品种列表
  13250. items:
  13251. $ref: '#/definitions/models.TBGoodsGroup'
  13252. type: array
  13253. middlegoodscode:
  13254. description: 套保品种代码
  13255. type: string
  13256. middlegoodsid:
  13257. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13258. type: integer
  13259. middlegoodsname:
  13260. description: 套保品种名称
  13261. type: string
  13262. needarbitrageratio:
  13263. description: 套利比率
  13264. type: number
  13265. needhedgeratio:
  13266. description: 套保比率
  13267. type: number
  13268. wdlst:
  13269. description: 商品信息列表(现货品类)
  13270. items:
  13271. $ref: '#/definitions/models.TBWrstandard'
  13272. type: array
  13273. type: object
  13274. models.TBWrstandard:
  13275. properties:
  13276. convertratio:
  13277. description: 折算系数
  13278. type: number
  13279. deliverygoodsname:
  13280. description: 品种名称
  13281. type: string
  13282. enumdicname:
  13283. description: 单位名称
  13284. type: string
  13285. vatrate:
  13286. description: 增值税率
  13287. type: number
  13288. wrstandardcode:
  13289. description: 现货商品代码
  13290. type: string
  13291. wrstandardid:
  13292. description: 现货商品ID(SEQ_WRSTANDARD)
  13293. type: integer
  13294. wrstandardname:
  13295. description: 现货商品名称
  13296. type: string
  13297. type: object
  13298. models.Taaccount:
  13299. properties:
  13300. accountflag:
  13301. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13302. type: integer
  13303. accountid:
  13304. description: 资金账户ID
  13305. type: integer
  13306. accountname:
  13307. description: 账户名称
  13308. type: string
  13309. balance:
  13310. description: 期初余额
  13311. type: number
  13312. capitalbalance:
  13313. description: 本金余额[外部子账户实际出入金余额]
  13314. type: number
  13315. changeflag:
  13316. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13317. type: integer
  13318. changetime:
  13319. description: 账户状态变更时间
  13320. type: string
  13321. closepl:
  13322. description: 今日平仓盈亏
  13323. type: number
  13324. creditdecrease:
  13325. description: 今日授信减少
  13326. type: number
  13327. creditincrease:
  13328. description: 今日授信增加
  13329. type: number
  13330. curamount:
  13331. description: 总市值(从持仓中统计)
  13332. type: number
  13333. currencyid:
  13334. description: 货币ID
  13335. type: integer
  13336. currentbalance:
  13337. description: 期末余额
  13338. type: number
  13339. freezecharge:
  13340. description: 手续费冻结
  13341. type: number
  13342. freezemargin:
  13343. description: 冻结保证金
  13344. type: number
  13345. fromaccountid:
  13346. description: 所属上级账户
  13347. type: integer
  13348. inamount:
  13349. description: 今日入金金额(包括三方入金)
  13350. type: number
  13351. ismain:
  13352. description: 是否母账号 0:不是母账户 1:是母账户
  13353. type: integer
  13354. ismarketaccount:
  13355. description: 是否机构接单账号 0:不是 1:是
  13356. type: integer
  13357. isreckonaccount:
  13358. description: 是否机构分润账号 0:不是 1:是
  13359. type: integer
  13360. mortgagecredit:
  13361. description: 授信金额
  13362. type: number
  13363. orifreezecharge:
  13364. description: 期初手续费冻结
  13365. type: number
  13366. orifreezemargin:
  13367. description: 期初冻结保证金
  13368. type: number
  13369. orimortgagecredit:
  13370. description: 期初授信金额
  13371. type: number
  13372. oriothercredit:
  13373. description: 期初其它授信金额
  13374. type: number
  13375. oriotherfreezemargin:
  13376. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13377. type: number
  13378. orioutamountfreeze:
  13379. description: 期初出金冻结
  13380. type: number
  13381. oriusedmargin:
  13382. description: 期初占用保证金
  13383. type: number
  13384. othercredit:
  13385. description: 其它授信金额
  13386. type: number
  13387. othercreditdecrease:
  13388. description: 今日其它授信减少
  13389. type: number
  13390. othercreditincrease:
  13391. description: 今日其它授信增加
  13392. type: number
  13393. otherfreezemargin:
  13394. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13395. type: number
  13396. otherincome:
  13397. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13398. type: number
  13399. otherpay:
  13400. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13401. type: number
  13402. outamount:
  13403. description: 今日出金金额(包括三方出金)
  13404. type: number
  13405. outamountfreeze:
  13406. description: 出金冻结
  13407. type: number
  13408. outthreshold:
  13409. description: 出金阈值
  13410. type: number
  13411. parentaccountid:
  13412. description: 所属根账号
  13413. type: integer
  13414. paycharge:
  13415. description: 今日手续费支出
  13416. type: number
  13417. relatedaccountstatus:
  13418. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13419. type: integer
  13420. relateduserid:
  13421. description: 关联用户
  13422. type: integer
  13423. remainamount:
  13424. description: 融资额(从融资合同中统计)
  13425. type: number
  13426. serivcegroup:
  13427. description: 服务分组
  13428. type: integer
  13429. signstatus:
  13430. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13431. type: integer
  13432. sublevelpath:
  13433. description: 账号层级路径(逗号分隔,首尾加逗号)
  13434. type: string
  13435. taaccounttype:
  13436. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13437. type: integer
  13438. thirdinamount:
  13439. description: 今日三方入金
  13440. type: number
  13441. thirdoutamount:
  13442. description: 今日三方出金
  13443. type: number
  13444. tradestatus:
  13445. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13446. type: integer
  13447. tradestatuschangetime:
  13448. description: 激活时间
  13449. type: string
  13450. transferamount:
  13451. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13452. type: number
  13453. usedmargin:
  13454. description: 占用保证金
  13455. type: number
  13456. userid:
  13457. description: 用户ID
  13458. type: integer
  13459. required:
  13460. - accountid
  13461. - userid
  13462. type: object
  13463. models.Tablecolumnconfig:
  13464. properties:
  13465. aligntype:
  13466. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13467. type: integer
  13468. autoid:
  13469. description: AutoID
  13470. type: integer
  13471. columnfield:
  13472. description: 列字段
  13473. type: string
  13474. columntitle:
  13475. description: 列Title
  13476. type: string
  13477. columnwidth:
  13478. description: 列宽
  13479. type: string
  13480. formatterstring:
  13481. description: 格式化字符
  13482. type: string
  13483. formattertype:
  13484. description: 格式化类型
  13485. type: string
  13486. groupname:
  13487. description: 表头分组名称
  13488. type: string
  13489. isshow:
  13490. description: 是否显示 - 0:不显示 1:显示
  13491. type: integer
  13492. needsummary:
  13493. description: 是否需要汇总 - 0:不需要 1:需要
  13494. type: integer
  13495. orderindex:
  13496. description: 顺序
  13497. type: integer
  13498. remark:
  13499. description: 备注
  13500. type: string
  13501. summarytype:
  13502. description: 汇总类型 - 1:加总 2:最后一个
  13503. type: integer
  13504. tablekey:
  13505. description: 列表Key
  13506. type: string
  13507. required:
  13508. - autoid
  13509. type: object
  13510. models.TjmdQuoteGoods:
  13511. properties:
  13512. buyqty:
  13513. description: 买量(暂不做, 无值, 保留字段)
  13514. type: number
  13515. goodscode:
  13516. description: 合约代码
  13517. type: string
  13518. goodsgroupid:
  13519. description: 商品组ID(自增ID)
  13520. type: integer
  13521. goodsgroupname:
  13522. description: 商品组名称
  13523. type: string
  13524. goodsid:
  13525. description: 合约id
  13526. type: integer
  13527. goodsname:
  13528. description: 合约名称
  13529. type: string
  13530. refgoodscode:
  13531. description: 标的合约代码
  13532. type: string
  13533. refgoodsid:
  13534. description: 标的合约id
  13535. type: integer
  13536. refgoodsname:
  13537. description: 标的合约名称
  13538. type: string
  13539. sellqty:
  13540. description: 卖量(暂不做, 无值, 保留字段)
  13541. type: number
  13542. type: object
  13543. models.TjmdTodayAccountMargin:
  13544. properties:
  13545. accountid:
  13546. description: 账号ID
  13547. type: integer
  13548. goodsid:
  13549. description: 商品ID
  13550. type: integer
  13551. infoc:
  13552. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13553. description: 配置参数
  13554. marketid:
  13555. description: 市场ID
  13556. type: integer
  13557. type: object
  13558. models.TjmdTradeOrderDetail:
  13559. properties:
  13560. buyorsell:
  13561. description: 买卖方向 0-买 1-卖
  13562. type: integer
  13563. goodsid:
  13564. description: 商品id
  13565. type: integer
  13566. marketmaxsub:
  13567. description: 市价最大偏移范围 [浮动价 - 点差]
  13568. type: number
  13569. orderid:
  13570. description: 委托单号
  13571. type: string
  13572. orderprice:
  13573. description: 委托价格
  13574. type: number
  13575. orderqty:
  13576. description: 委托数量
  13577. type: integer
  13578. pricemode:
  13579. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13580. type: integer
  13581. userid:
  13582. description: 用户id
  13583. type: integer
  13584. username:
  13585. description: 用户名称(已脱敏)
  13586. type: string
  13587. type: object
  13588. models.TjmdTransferApply:
  13589. properties:
  13590. applyid:
  13591. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13592. type: integer
  13593. applystatus:
  13594. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13595. type: integer
  13596. applytime:
  13597. description: 申请时间(时间)
  13598. type: string
  13599. auditremark:
  13600. description: 审核备注(拒绝原因?)
  13601. type: string
  13602. buyorsell:
  13603. description: 买卖 - 0:买 1:卖
  13604. type: integer
  13605. goodscode:
  13606. description: 商品代码
  13607. type: string
  13608. goodsid:
  13609. description: 商品ID
  13610. type: integer
  13611. goodsname:
  13612. description: 商品名称
  13613. type: string
  13614. marketid:
  13615. description: 市场ID
  13616. type: integer
  13617. qty:
  13618. description: 转让数量(数量)
  13619. type: number
  13620. tradeid:
  13621. description: 成交单号(关联持仓)
  13622. type: string
  13623. transferamount:
  13624. description: 转让总金额(金额)
  13625. type: number
  13626. transferprice:
  13627. description: 转让价格(协议价格)
  13628. type: number
  13629. type: object
  13630. models.TradeHolderDetail:
  13631. properties:
  13632. accountid:
  13633. description: 账号ID
  13634. type: integer
  13635. agreeunit:
  13636. description: 合约乘数
  13637. type: number
  13638. buyorsell:
  13639. description: 方向 - 0:买 1:卖
  13640. type: integer
  13641. currencyid:
  13642. description: 商品币种id
  13643. type: integer
  13644. currencyname:
  13645. description: 币种名称
  13646. type: string
  13647. decimalplace:
  13648. description: 商品价格小数位
  13649. type: integer
  13650. enumdicname:
  13651. description: 商品单位名称
  13652. type: string
  13653. expirecycle:
  13654. description: 行权周期(天) - 1:滚动行权时填写
  13655. type: integer
  13656. expiredate:
  13657. description: 行权日(yyyyMMdd) - 到期日
  13658. type: string
  13659. expiretype:
  13660. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13661. type: integer
  13662. freezeqty:
  13663. description: 冻结数量
  13664. type: number
  13665. goodscode:
  13666. description: 商品代码
  13667. type: string
  13668. goodsid:
  13669. description: 商品ID
  13670. type: integer
  13671. goodsname:
  13672. description: 商品名称
  13673. type: string
  13674. goodunitid:
  13675. description: 商品单位id
  13676. type: integer
  13677. holderamount:
  13678. description: 持仓金额
  13679. type: number
  13680. holdercredit:
  13681. description: 持仓授信金额
  13682. type: number
  13683. holderdays:
  13684. description: 剩余冻结天数
  13685. type: integer
  13686. holderprice:
  13687. description: 持仓价格
  13688. type: number
  13689. holderqty:
  13690. description: 持仓数量
  13691. type: number
  13692. isconfirmexercise:
  13693. description: 是否确认行权- 0:否 1:是
  13694. type: integer
  13695. ispreexercise:
  13696. description: 是否预申报- 0:否 1:是 2:不可行权
  13697. type: integer
  13698. marketid:
  13699. description: 市场id
  13700. type: integer
  13701. marketname:
  13702. description: 市场名称
  13703. type: string
  13704. openprice:
  13705. description: 建仓价格
  13706. type: number
  13707. openqty:
  13708. description: 建仓数量
  13709. type: number
  13710. optiontype:
  13711. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13712. type: integer
  13713. preexerciseprice:
  13714. description: 预申报价格
  13715. type: number
  13716. premium:
  13717. description: 权利金
  13718. type: number
  13719. qtydecimalplace:
  13720. description: 商品成交量小数位
  13721. type: integer
  13722. refgoodscode:
  13723. description: 标的合约代码
  13724. type: string
  13725. refgoodsid:
  13726. description: 标的合约id
  13727. type: integer
  13728. releaseamount:
  13729. description: 释放持仓金额
  13730. type: number
  13731. releaseholdercredit:
  13732. description: 释放持仓授信金额
  13733. type: number
  13734. taname:
  13735. description: 资金账号名称
  13736. type: string
  13737. tradeamount:
  13738. description: 成交金额
  13739. type: number
  13740. tradedate:
  13741. description: 交易日(yyyyMMdd)
  13742. type: string
  13743. tradeid:
  13744. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13745. type: string
  13746. trademode:
  13747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13748. type: integer
  13749. tradeproperty:
  13750. description: 交易属性
  13751. type: integer
  13752. tradetime:
  13753. description: 交易时间
  13754. type: string
  13755. userid:
  13756. description: 用户id
  13757. type: integer
  13758. username:
  13759. description: 用户名称
  13760. type: string
  13761. type: object
  13762. models.UserCollectConfig:
  13763. properties:
  13764. accountstatus:
  13765. description: 账户状态 - 1:正常 2:停用 3:注销
  13766. type: integer
  13767. collectaccountname:
  13768. description: 收款人账户名称
  13769. type: string
  13770. collectaccountno:
  13771. description: 收款人账户
  13772. type: string
  13773. collectbankname:
  13774. description: 收款人开户行
  13775. type: string
  13776. collectbranchbankname:
  13777. description: 收款人开户支行
  13778. type: string
  13779. collectconfigid:
  13780. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13781. type: string
  13782. remark:
  13783. description: 备注
  13784. type: string
  13785. userid:
  13786. description: 收款人用户ID
  13787. type: integer
  13788. type: object
  13789. models.UserReceiveInfo:
  13790. properties:
  13791. address:
  13792. description: 提货人详细地址
  13793. type: string
  13794. autoid:
  13795. description: AutoID
  13796. type: integer
  13797. cardnum:
  13798. description: 证件号码(加密存储)
  13799. type: string
  13800. cardtypeid:
  13801. description: 证件类型
  13802. type: integer
  13803. cityid:
  13804. description: 市
  13805. type: integer
  13806. cityname:
  13807. description: 城市名称
  13808. type: string
  13809. countryid:
  13810. description: 国家
  13811. type: integer
  13812. countryname:
  13813. description: 国家名称
  13814. type: string
  13815. districtid:
  13816. description: 地区
  13817. type: integer
  13818. districtname:
  13819. description: 地区名称
  13820. type: string
  13821. hasencrypt:
  13822. description: 数据是否已加密 - 0:未加密 1:已加密
  13823. type: integer
  13824. isdefault:
  13825. description: 是否默认地址 - 0:否 1:是
  13826. type: integer
  13827. phonenum:
  13828. description: 提货人联系方式(加密存储)
  13829. type: string
  13830. provinceid:
  13831. description: 省
  13832. type: integer
  13833. provincename:
  13834. description: 省名称
  13835. type: string
  13836. receivername:
  13837. description: 提货人姓名
  13838. type: string
  13839. takeremark:
  13840. description: 提货备注
  13841. type: string
  13842. userid:
  13843. description: 用户ID
  13844. type: integer
  13845. type: object
  13846. models.Useraccount:
  13847. properties:
  13848. accountname:
  13849. description: 账户名称(机构名称)
  13850. type: string
  13851. accountstatus:
  13852. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13853. type: integer
  13854. applysrc:
  13855. description: 申请来源 - 1:管理端 2:终端
  13856. type: integer
  13857. auditremark:
  13858. description: 审核备注
  13859. type: string
  13860. auditsrc:
  13861. description: 审核来源 - 1:管理端 2:终端
  13862. type: integer
  13863. audittime:
  13864. description: 审核时间
  13865. type: string
  13866. audituserid:
  13867. description: 审核人
  13868. type: integer
  13869. broker:
  13870. description: 所属经纪人ID
  13871. type: integer
  13872. canceltime:
  13873. description: 销户时间
  13874. type: string
  13875. canceluserid:
  13876. description: 销户人
  13877. type: integer
  13878. canrecommend:
  13879. description: 是否可推荐 - 0:不可 1;可
  13880. type: integer
  13881. createtime:
  13882. description: 创建时间
  13883. type: string
  13884. creatorid:
  13885. description: 创建人
  13886. type: integer
  13887. hasauth:
  13888. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13889. type: integer
  13890. isanonymous:
  13891. description: 是否匿名下单 - 0:否 1:是
  13892. type: integer
  13893. maxinvestornum:
  13894. description: 最大用户数(经纪会员下投资者个数)
  13895. type: integer
  13896. memberuserid:
  13897. description: 所属会员ID
  13898. type: integer
  13899. modifierid:
  13900. description: 修改人
  13901. type: integer
  13902. modifyremark:
  13903. description: 变更备注
  13904. type: string
  13905. modifystatus:
  13906. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13907. type: integer
  13908. modifytime:
  13909. description: 修改时间
  13910. type: string
  13911. parenttopuser:
  13912. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13913. type: string
  13914. parentuserid:
  13915. description: 所属机构ID
  13916. type: integer
  13917. reckonaccountid:
  13918. description: 默认结算资金账号ID(机构分润使用) 作废
  13919. type: integer
  13920. refercount:
  13921. description: 推荐总人数
  13922. type: integer
  13923. refereeuserid:
  13924. description: 推荐人ID
  13925. type: integer
  13926. refernum:
  13927. description: 推荐码
  13928. type: string
  13929. rootuserid:
  13930. description: 根用户ID
  13931. type: integer
  13932. subaccountlevel:
  13933. description: 子账户层数
  13934. type: integer
  13935. subarealevelpath:
  13936. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13937. type: string
  13938. userid:
  13939. description: 用户ID
  13940. type: integer
  13941. usertype:
  13942. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13943. type: integer
  13944. required:
  13945. - userid
  13946. type: object
  13947. models.Userfavoritegoods:
  13948. properties:
  13949. goodsid:
  13950. description: 商品ID
  13951. type: integer
  13952. required:
  13953. - goodsid
  13954. type: object
  13955. models.Userinfo:
  13956. properties:
  13957. address:
  13958. description: 地址
  13959. type: string
  13960. attachment1:
  13961. description: 附件1
  13962. type: string
  13963. attachment2:
  13964. description: 附件2
  13965. type: string
  13966. bankaccount:
  13967. description: 银行帐号 (加密存储)
  13968. type: string
  13969. bankaccountname:
  13970. description: 收款人名称
  13971. type: string
  13972. bankcardfrontphotourl:
  13973. description: 银行卡正面照地址
  13974. type: string
  13975. bankid:
  13976. description: 银行编码
  13977. type: string
  13978. bankname:
  13979. description: 银行名称
  13980. type: string
  13981. biznature:
  13982. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13983. type: integer
  13984. bizscope:
  13985. description: 企业经营范围(企业)
  13986. type: string
  13987. cardbackphotourl:
  13988. description: 证件背面图片地址
  13989. type: string
  13990. cardfrontphotourl:
  13991. description: 证件正面图片地址
  13992. type: string
  13993. cardnum:
  13994. description: 证件号码(加密存储)
  13995. type: string
  13996. cardtypeid:
  13997. description: 证件类型ID
  13998. type: integer
  13999. cityid:
  14000. description: 市
  14001. type: integer
  14002. company:
  14003. description: 公司(个人)
  14004. type: string
  14005. contactname:
  14006. description: 联系人
  14007. type: string
  14008. countryid:
  14009. description: 国家
  14010. type: integer
  14011. createtime:
  14012. description: 创建时间
  14013. type: string
  14014. creatorid:
  14015. description: 创建人
  14016. type: integer
  14017. customername:
  14018. description: 客户名称(企业名称)
  14019. type: string
  14020. districtid:
  14021. description: 地区
  14022. type: integer
  14023. email:
  14024. description: 邮件(加密存储)
  14025. type: string
  14026. fax:
  14027. description: 传真(加密存储)
  14028. type: string
  14029. halfbodyphotourl:
  14030. description: 半身照地址
  14031. type: string
  14032. hasencrypt:
  14033. description: 数据是否已加密 - 0:未加密 1:已加密
  14034. type: integer
  14035. headurl:
  14036. description: 头像地址
  14037. type: string
  14038. legalcardbackphotourl:
  14039. description: 法人身份证背面照地址
  14040. type: string
  14041. legalcardfrontphotourl:
  14042. description: 法人身份证正面照地址
  14043. type: string
  14044. legalpersonname:
  14045. description: 法人姓名(企业)
  14046. type: string
  14047. mobile:
  14048. description: 手机号码(加密存储)
  14049. type: string
  14050. mobile2:
  14051. description: 手机号码[明文-尚志]
  14052. type: string
  14053. modifierid:
  14054. description: 修改人
  14055. type: integer
  14056. modifiertime:
  14057. description: 修改时间
  14058. type: string
  14059. needinvoice:
  14060. description: 是否需要发票 - 0:不需要 1:需要
  14061. type: integer
  14062. nickname:
  14063. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14064. type: string
  14065. openmode:
  14066. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14067. type: integer
  14068. otherurl:
  14069. description: 其它图片地址[使用分号分隔]
  14070. type: string
  14071. postalcode:
  14072. description: 邮政编码
  14073. type: string
  14074. provinceid:
  14075. description: 省
  14076. type: integer
  14077. qq:
  14078. description: QQ(加密存储
  14079. type: string
  14080. remark:
  14081. description: 备注
  14082. type: string
  14083. sex:
  14084. description: '用户性别 0: 女 1: 男'
  14085. type: integer
  14086. signpdfurl:
  14087. description: 签约pdf文件
  14088. type: string
  14089. telphone:
  14090. description: 联系电话(加密存储)
  14091. type: string
  14092. userid:
  14093. description: 用户ID
  14094. type: integer
  14095. userinfotype:
  14096. description: 用户信息类型 - 1:个人 2:企业
  14097. type: integer
  14098. userstatus:
  14099. description: 用户状态 - 1:正常 2:注销
  14100. type: integer
  14101. usertype:
  14102. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14103. type: integer
  14104. wechat:
  14105. description: 微信(加密存储)
  14106. type: string
  14107. wskhinfo:
  14108. description: 开户申请信息(JSON)
  14109. type: string
  14110. required:
  14111. - userid
  14112. type: object
  14113. models.WRSConverTDetail:
  14114. properties:
  14115. convertratio:
  14116. description: 套保系数
  14117. type: number
  14118. deliverygoodscode:
  14119. description: 现货商品代码
  14120. type: string
  14121. deliverygoodsid:
  14122. description: 现货品种ID
  14123. type: integer
  14124. deliverygoodsname:
  14125. description: 现货商品名称
  14126. type: string
  14127. enumdicname:
  14128. description: 单位名称
  14129. type: string
  14130. goodsunitid:
  14131. description: 套保品种单位id
  14132. type: integer
  14133. middlegoodscode:
  14134. description: 套保品种代码
  14135. type: string
  14136. middlegoodsid:
  14137. description: 套保品种ID
  14138. type: integer
  14139. middlegoodsname:
  14140. description: 套保品种名称
  14141. type: string
  14142. modifytime:
  14143. description: 修改时间
  14144. type: string
  14145. wrstandardid:
  14146. description: 品类ID
  14147. type: integer
  14148. type: object
  14149. models.WRStandardInfo:
  14150. properties:
  14151. areauserid:
  14152. description: 所属机构
  14153. type: integer
  14154. convertfactor:
  14155. description: 标仓系数
  14156. type: number
  14157. createtime:
  14158. description: 创建时间
  14159. type: string
  14160. creatorid:
  14161. description: 创建人
  14162. type: integer
  14163. deliverygoodsid:
  14164. description: 品种ID
  14165. type: integer
  14166. deliverygoodsname:
  14167. description: 交割商品名称
  14168. type: string
  14169. factoryitemjson:
  14170. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14171. type: string
  14172. isvalid:
  14173. description: 是否有效 - 0:无效 1:有效
  14174. type: integer
  14175. minivalue:
  14176. description: 最小变动值
  14177. type: integer
  14178. minivaluedp:
  14179. description: 最小变动值小数位
  14180. type: integer
  14181. realminivalue:
  14182. description: 实际最小变动值
  14183. type: integer
  14184. realminivaluedp:
  14185. description: 实际最小变动值小数位
  14186. type: integer
  14187. remark:
  14188. description: 备注
  14189. type: string
  14190. unitid:
  14191. description: 单位ID
  14192. type: integer
  14193. unitname:
  14194. description: 单位
  14195. type: string
  14196. updatetime:
  14197. description: 更新时间
  14198. type: string
  14199. updatorid:
  14200. description: 更新人
  14201. type: integer
  14202. wrsstatus:
  14203. description: 状态 - 作废 - 0:未激活 1:正常
  14204. type: integer
  14205. wrstandardcode:
  14206. description: 现货品类代码
  14207. type: string
  14208. wrstandardid:
  14209. description: 现货品类ID(SEQ_WRSTANDARD)
  14210. type: integer
  14211. wrstandardname:
  14212. description: 现货品类名称
  14213. type: string
  14214. required:
  14215. - wrstandardid
  14216. type: object
  14217. models.WRTradeBargainApply:
  14218. properties:
  14219. accountid:
  14220. description: 摘牌资金账号
  14221. type: integer
  14222. applyprice:
  14223. description: 申请价格(议价价格)
  14224. type: string
  14225. applyqty:
  14226. description: 摘牌数量(议价数量)
  14227. type: number
  14228. applyremark:
  14229. description: 申请备注
  14230. type: string
  14231. applystatus:
  14232. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14233. type: integer
  14234. applytime:
  14235. description: 申请时间(议价时间)
  14236. type: string
  14237. buyorsell:
  14238. description: 买卖(挂牌类型) - 0:买 1:卖
  14239. type: integer
  14240. confirmremark:
  14241. description: 确认备注
  14242. type: string
  14243. confirmtime:
  14244. description: 确认时间
  14245. type: string
  14246. confirmuserid:
  14247. description: 确认人
  14248. type: integer
  14249. deliverygoodscode:
  14250. description: 品种代码
  14251. type: string
  14252. deliverygoodsid:
  14253. description: 品种ID
  14254. type: integer
  14255. deliverygoodsname:
  14256. description: 品种名称
  14257. type: string
  14258. deliverymonth:
  14259. description: 交收月
  14260. type: string
  14261. enumdicname:
  14262. description: 单位名称
  14263. type: string
  14264. fixedprice:
  14265. description: 挂牌价格
  14266. type: number
  14267. handlestatus:
  14268. description: 处理状态
  14269. type: integer
  14270. marginvalue:
  14271. description: 履约保证金比例
  14272. type: number
  14273. marketid:
  14274. description: 市场ID
  14275. type: integer
  14276. matchaccountid:
  14277. description: 挂牌方资金账号
  14278. type: integer
  14279. matchuserid:
  14280. description: 挂牌方用户id
  14281. type: integer
  14282. matchusername:
  14283. description: 挂牌方用户名称(已脱敏)
  14284. type: string
  14285. minivalue:
  14286. description: 现货商品最小变动值
  14287. type: integer
  14288. optioncompare:
  14289. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14290. type: string
  14291. orderqty:
  14292. description: 挂牌数量
  14293. type: integer
  14294. refprice:
  14295. description: 参考价格
  14296. type: string
  14297. retcode:
  14298. description: 委托返回代码
  14299. type: integer
  14300. templatename:
  14301. description: 履约方式(履约模板名称)
  14302. type: string
  14303. tradedate:
  14304. description: 交易日(yyyyMMdd)
  14305. type: string
  14306. userid:
  14307. description: 摘牌人用户ID(议价人ID)
  14308. type: integer
  14309. username:
  14310. description: 议价人名字(已脱敏)
  14311. type: string
  14312. validtime:
  14313. description: 有效期限
  14314. type: string
  14315. warehouseid:
  14316. description: 仓库ID
  14317. type: integer
  14318. warehousename:
  14319. description: 仓库名称
  14320. type: string
  14321. wrbargainid:
  14322. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14323. type: string
  14324. wrfactortypeid:
  14325. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14326. type: string
  14327. wrfactortypename:
  14328. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14329. type: string
  14330. wrstandardcode:
  14331. description: 现货商品代码
  14332. type: string
  14333. wrstandardid:
  14334. description: 现货商品ID
  14335. type: integer
  14336. wrstandardname:
  14337. description: 商品名称
  14338. type: string
  14339. wrtradeorderid:
  14340. description: 关联委托单ID
  14341. type: string
  14342. wrtypename:
  14343. description: 商品
  14344. type: string
  14345. type: object
  14346. models.Warehouseinfo:
  14347. properties:
  14348. address:
  14349. description: 详细地址
  14350. type: string
  14351. areauserid:
  14352. description: 所属机构
  14353. type: integer
  14354. autoid:
  14355. description: 自增ID
  14356. type: integer
  14357. cityid:
  14358. description: 市
  14359. type: integer
  14360. contactname:
  14361. description: 联系人
  14362. type: string
  14363. contactnum:
  14364. description: 联系电话
  14365. type: string
  14366. countryid:
  14367. description: 国家
  14368. type: integer
  14369. createtime:
  14370. description: 创建时间
  14371. type: string
  14372. districtid:
  14373. description: 区
  14374. type: integer
  14375. hasvideo:
  14376. description: 是否有视频 - 0:无 1:有
  14377. type: integer
  14378. provinceid:
  14379. description: 省
  14380. type: integer
  14381. remark:
  14382. description: 审核备注
  14383. type: string
  14384. videourl:
  14385. description: 视频地址
  14386. type: string
  14387. warehousecode:
  14388. description: 仓库代码
  14389. type: string
  14390. warehousename:
  14391. description: 仓库名称
  14392. type: string
  14393. warehousestatus:
  14394. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14395. type: integer
  14396. warehousetype:
  14397. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14398. type: integer
  14399. required:
  14400. - autoid
  14401. - warehousecode
  14402. type: object
  14403. models.WrAverageTradePrice:
  14404. properties:
  14405. averageprice:
  14406. description: 成交均价
  14407. type: number
  14408. tradedate:
  14409. description: 交易日yyyymm
  14410. type: string
  14411. type: object
  14412. models.WrBsGoodsInfo:
  14413. properties:
  14414. buyorsell:
  14415. description: 买卖方向 0-买 1-卖
  14416. type: integer
  14417. goodsid:
  14418. description: 交易合约ID
  14419. type: integer
  14420. lstitem:
  14421. description: 商品信息项
  14422. items:
  14423. $ref: '#/definitions/models.WrTypeItem'
  14424. type: array
  14425. lststep:
  14426. description: 履约规则
  14427. items:
  14428. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14429. type: array
  14430. type: object
  14431. models.WrBuybackDetail:
  14432. properties:
  14433. buybackamount:
  14434. description: 回购金额
  14435. type: number
  14436. buybackqty:
  14437. description: 回购数量
  14438. type: number
  14439. buybackreleasemargin:
  14440. description: 回购释放保证金
  14441. type: number
  14442. buybacktime:
  14443. description: 回购时间
  14444. type: string
  14445. errordesc:
  14446. description: 错误描述
  14447. type: string
  14448. handlestatus:
  14449. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14450. type: integer
  14451. relatedwrid:
  14452. description: 关联仓单ID
  14453. type: integer
  14454. scfcontractid:
  14455. description: SCF合同ID
  14456. type: string
  14457. scfwrbuybackid:
  14458. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14459. type: integer
  14460. tradedate:
  14461. description: 交易日(yyyyMMdd)
  14462. type: string
  14463. type: object
  14464. models.WrDeliveryAvalidHoldLB:
  14465. properties:
  14466. accountid:
  14467. description: 资金账号
  14468. type: integer
  14469. avalidqty:
  14470. description: 数量(可点选数量)
  14471. type: number
  14472. deliverygoodsid:
  14473. description: 品种id
  14474. type: integer
  14475. enumdicname:
  14476. description: 单位名称
  14477. type: string
  14478. goodsid:
  14479. description: x合约商品id
  14480. type: integer
  14481. ladingbillid:
  14482. description: 提单id
  14483. type: string
  14484. pgoodscode:
  14485. description: p商品代码(点价合约)
  14486. type: string
  14487. pgoodsid:
  14488. description: p商品id(点价合约)
  14489. type: integer
  14490. pgoodsname:
  14491. description: p商品名称(点价合约)
  14492. type: string
  14493. pricemove:
  14494. description: 升贴水
  14495. type: number
  14496. subnum:
  14497. description: 提单子id
  14498. type: integer
  14499. userid:
  14500. description: 用户id
  14501. type: integer
  14502. username:
  14503. description: 仓单持有人
  14504. type: string
  14505. warehousecode:
  14506. description: 仓库代码
  14507. type: string
  14508. warehouseid:
  14509. description: 仓库id
  14510. type: integer
  14511. warehousename:
  14512. description: 仓库名称
  14513. type: string
  14514. wrfactortypeid:
  14515. description: 仓单要素id
  14516. type: string
  14517. wrstandardcode:
  14518. description: 品代码
  14519. type: string
  14520. wrstandardid:
  14521. description: 品类d
  14522. type: integer
  14523. wrstandardname:
  14524. description: 品类名称
  14525. type: string
  14526. wrtypename:
  14527. description: 商品
  14528. type: string
  14529. xgoodscode:
  14530. description: x合约代码
  14531. type: string
  14532. xgoodsname:
  14533. description: x合约名称
  14534. type: string
  14535. type: object
  14536. models.WrDeliveryDetail:
  14537. properties:
  14538. accountid:
  14539. description: 账号ID
  14540. type: integer
  14541. averageprice:
  14542. description: 交割均价 = 交割金额 / 交割数量
  14543. type: number
  14544. buyorsell:
  14545. description: 方向 - 0:买 1:卖
  14546. type: integer
  14547. deliveryamount:
  14548. description: 货款金额(X总货款+P总货款)
  14549. type: number
  14550. deliveryid:
  14551. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14552. type: string
  14553. deliveryorderid:
  14554. description: 申报单号
  14555. type: string
  14556. deliverypricemove:
  14557. description: 升贴水(升贴水总额)
  14558. type: number
  14559. deliveryqty:
  14560. description: 交收数量(点选数量)
  14561. type: number
  14562. deliverystatus:
  14563. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14564. type: integer
  14565. deliverytime:
  14566. description: 交割时间
  14567. type: string
  14568. deliverytotalamount:
  14569. description: 交收金额
  14570. type: number
  14571. enumdicname:
  14572. description: 单位名称
  14573. type: string
  14574. matchaccountid:
  14575. description: 对手账号ID
  14576. type: integer
  14577. matchusername:
  14578. description: 对手方名称(仓单持有人)
  14579. type: string
  14580. p1goodsremainamount:
  14581. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14582. type: number
  14583. pdeliverycloseqty:
  14584. description: p合约平仓数量
  14585. type: number
  14586. pdeliveryprice:
  14587. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14588. type: number
  14589. pgoodscode:
  14590. description: 商品代码
  14591. type: string
  14592. pgoodsid:
  14593. description: p点选合约id
  14594. type: integer
  14595. pgoodsname:
  14596. description: 商品名称
  14597. type: string
  14598. ppricemode:
  14599. description: 点价价格方式 - 1:商品价 2:固定值
  14600. type: integer
  14601. tradedate:
  14602. description: 交易日(yyyymmdd)
  14603. type: string
  14604. userid:
  14605. description: 用户id
  14606. type: integer
  14607. username:
  14608. description: 用户名称
  14609. type: string
  14610. warehousename:
  14611. description: 仓库名称
  14612. type: string
  14613. wrfactortypeid:
  14614. description: 仓单要素类型ID
  14615. type: string
  14616. wrtypename:
  14617. description: 商品
  14618. type: string
  14619. xdeliverycloseqty:
  14620. description: 合约数量
  14621. type: number
  14622. xgoodsamount:
  14623. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14624. type: number
  14625. xgoodscode:
  14626. description: 商品代码
  14627. type: string
  14628. xgoodsid:
  14629. description: x交易合约ID
  14630. type: integer
  14631. xgoodsname:
  14632. description: 商品名称
  14633. type: string
  14634. type: object
  14635. models.WrFAProductDetail:
  14636. properties:
  14637. accountid:
  14638. description: 资金账号
  14639. type: integer
  14640. areauserid:
  14641. description: 金融机构ID
  14642. type: integer
  14643. financingdays:
  14644. description: 天数(天)
  14645. type: integer
  14646. interestminlen:
  14647. description: 最小起息天数
  14648. type: integer
  14649. interestrate:
  14650. description: 利率
  14651. type: number
  14652. interestratemode:
  14653. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14654. type: integer
  14655. interestsettlemode:
  14656. description: 结息方式 - 1:按日结息 3:按月结息
  14657. type: integer
  14658. interestsettlevalue:
  14659. description: 结息方式值
  14660. type: integer
  14661. isautoloan:
  14662. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14663. type: integer
  14664. loantag:
  14665. description: '放款标识: "放款快" 或者为空'
  14666. type: string
  14667. marginratio:
  14668. description: 保证金比率质押率 - [仓单质押]
  14669. type: number
  14670. productdetailid:
  14671. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14672. type: integer
  14673. productid:
  14674. description: 金融产品ID
  14675. type: integer
  14676. productname:
  14677. description: 产品名称
  14678. type: string
  14679. updatetime:
  14680. description: 更新时间
  14681. type: string
  14682. username:
  14683. description: 融出方
  14684. type: string
  14685. type: object
  14686. models.WrFactorTypeInfo:
  14687. properties:
  14688. deliverygoodscode:
  14689. description: 品种代码
  14690. type: string
  14691. deliverygoodsname:
  14692. description: 品种名称
  14693. type: string
  14694. dgfactoryitemid:
  14695. description: 选择项id
  14696. type: integer
  14697. dgfactoryitemtypeid:
  14698. description: 要素选择项ID (1-仓库 2-品牌)
  14699. type: integer
  14700. dgfactoryitemvalue:
  14701. description: 要素项值
  14702. type: string
  14703. itemtypename:
  14704. description: 要素项名称
  14705. type: string
  14706. optioncompare:
  14707. description: 选择比较串
  14708. type: string
  14709. warehouseid:
  14710. description: 仓库id
  14711. type: integer
  14712. wrfactortypeid:
  14713. description: 仓单要素ID
  14714. type: string
  14715. wrfactortypename:
  14716. description: 要素名称
  14717. type: string
  14718. wrfactortypename2:
  14719. description: 要素名称(不含仓库)
  14720. type: string
  14721. wrstandardcode:
  14722. description: 品类代码
  14723. type: string
  14724. wrstandardid:
  14725. description: 品类id
  14726. type: integer
  14727. wrstandardname:
  14728. description: 品类名称
  14729. type: string
  14730. type: object
  14731. models.WrFilterItem:
  14732. properties:
  14733. itemcode:
  14734. description: 代码
  14735. type: string
  14736. itemid:
  14737. description: 项id
  14738. type: integer
  14739. itemname:
  14740. description: 名称
  14741. type: string
  14742. itemtype:
  14743. description: 类型 1-品种 2-品类(商品) 3-仓库
  14744. type: integer
  14745. type: object
  14746. models.WrFinanceBuyApply:
  14747. properties:
  14748. applydate:
  14749. description: 申请时间
  14750. type: string
  14751. applystatus:
  14752. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14753. type: integer
  14754. applyuserid:
  14755. description: 申请人
  14756. type: integer
  14757. auditdate:
  14758. description: 审核时间
  14759. type: string
  14760. auditremark:
  14761. description: 审核备注
  14762. type: string
  14763. audituserid:
  14764. description: 审核人
  14765. type: integer
  14766. buyaccountid:
  14767. description: 买方资金账号
  14768. type: integer
  14769. buyorsell:
  14770. description: 买卖 - 0:买 1:卖
  14771. type: integer
  14772. buyuserid:
  14773. description: 买方用户ID
  14774. type: integer
  14775. buyusername:
  14776. description: 买方名称
  14777. type: string
  14778. buywrtradeorderid:
  14779. description: 融资方买委托单ID
  14780. type: string
  14781. deliverygoodscode:
  14782. description: 品种代码
  14783. type: string
  14784. deliverygoodsid:
  14785. description: 品种ID
  14786. type: integer
  14787. deliverygoodsname:
  14788. description: 品种名称
  14789. type: string
  14790. deliverymonth:
  14791. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14792. type: string
  14793. enumdicname:
  14794. description: 单位名称
  14795. type: string
  14796. financeaccountid:
  14797. description: 融资方资金帐户ID
  14798. type: integer
  14799. financeapplyid:
  14800. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14801. type: string
  14802. financeareauserid:
  14803. description: 融资方用户ID
  14804. type: string
  14805. financename:
  14806. description: 融出方名称
  14807. type: string
  14808. financetype:
  14809. description: 融资类型 1-融资回购
  14810. type: integer
  14811. financingdays:
  14812. description: 天数(天)
  14813. type: integer
  14814. freezebuymargin:
  14815. description: 冻结融资保证金(买方)
  14816. type: number
  14817. handleremark:
  14818. description: 处理备注
  14819. type: string
  14820. handlestatus:
  14821. description: 处理状态
  14822. type: integer
  14823. interestminlen:
  14824. description: 最小起息天数
  14825. type: integer
  14826. interestrate:
  14827. description: 利率
  14828. type: number
  14829. interestratemode:
  14830. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14831. type: integer
  14832. interestsettlemode:
  14833. description: 结息方式 - 1:按日结息 3:按月结息
  14834. type: integer
  14835. interestsettlevalue:
  14836. description: 结息方式值
  14837. type: integer
  14838. isautoloan:
  14839. description: 是否自动放款 - 0:手动 1:自动
  14840. type: integer
  14841. marginratio:
  14842. description: 保证金比率质押率 - [仓单质押]
  14843. type: number
  14844. marketid:
  14845. description: 市场ID
  14846. type: integer
  14847. minivalue:
  14848. description: 现货商品最小变动值
  14849. type: integer
  14850. optioncompare:
  14851. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14852. type: string
  14853. orderqty:
  14854. description: 委托数量(商品数量)
  14855. type: number
  14856. productdetailid:
  14857. description: 产品组合ID
  14858. type: integer
  14859. productid:
  14860. description: 金融产品ID
  14861. type: integer
  14862. productname:
  14863. description: 产品名称
  14864. type: string
  14865. remark:
  14866. description: 备注
  14867. type: string
  14868. scfcontractid:
  14869. description: 仓单回购合同ID
  14870. type: string
  14871. sellaccountid:
  14872. description: 卖方资金账号
  14873. type: integer
  14874. selluserid:
  14875. description: 卖方用户ID
  14876. type: integer
  14877. sellwrtradeorderid:
  14878. description: 卖方委托单ID
  14879. type: string
  14880. tradeamount:
  14881. description: 成交金额(借款金额)
  14882. type: number
  14883. tradedate:
  14884. description: 交易日(yyyyMMdd)
  14885. type: string
  14886. tradeprice:
  14887. description: 成交价格
  14888. type: number
  14889. warehouseid:
  14890. description: 仓库ID
  14891. type: integer
  14892. warehousename:
  14893. description: 仓库名称
  14894. type: string
  14895. wrfactortypeid:
  14896. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14897. type: string
  14898. wrfactortypename:
  14899. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14900. type: string
  14901. wrpricetype:
  14902. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14903. type: integer
  14904. wrstandardcode:
  14905. description: 现货商品代码
  14906. type: string
  14907. wrstandardid:
  14908. description: 现货商品ID
  14909. type: integer
  14910. wrstandardname:
  14911. description: 商品名称
  14912. type: string
  14913. wrtypename:
  14914. description: 商品
  14915. type: string
  14916. type: object
  14917. models.WrFriendApply:
  14918. properties:
  14919. applicantid:
  14920. description: 申请人
  14921. type: integer
  14922. applyname:
  14923. description: 申请人名称
  14924. type: string
  14925. applysrc:
  14926. description: 申请来源 - 1:管理端 2:终端
  14927. type: integer
  14928. applystatus:
  14929. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14930. type: integer
  14931. applytime:
  14932. description: 申请时间
  14933. type: string
  14934. auditname:
  14935. description: 审核人名称
  14936. type: string
  14937. auditorid:
  14938. description: 审核人
  14939. type: integer
  14940. auditremark:
  14941. description: 审核备注
  14942. type: string
  14943. auditsrc:
  14944. description: 审核来源 - 1:管理端 2:终端
  14945. type: integer
  14946. audittime:
  14947. description: 审核时间
  14948. type: string
  14949. friendapplyid:
  14950. description: 申请ID(SEQ_FRIENDAPPLY)
  14951. type: string
  14952. friendname:
  14953. description: 好友名字(已脱敏)
  14954. type: string
  14955. frienduserid:
  14956. description: 好友用户ID
  14957. type: string
  14958. remark:
  14959. description: 备注
  14960. type: string
  14961. userid:
  14962. description: 申请人用户ID
  14963. type: integer
  14964. type: object
  14965. models.WrFtDeliveryGoods:
  14966. properties:
  14967. deliverygoodscode:
  14968. description: 品种代码
  14969. type: string
  14970. deliverygoodsid:
  14971. description: 品种ID
  14972. type: integer
  14973. deliverygoodsname:
  14974. description: 品种名称
  14975. type: string
  14976. wdlst:
  14977. description: 商品列表
  14978. items:
  14979. $ref: '#/definitions/models.WrFtWrstandard'
  14980. type: array
  14981. type: object
  14982. models.WrFtWrstandard:
  14983. properties:
  14984. enumdicname:
  14985. description: 单位名称
  14986. type: string
  14987. minivalue:
  14988. description: 最小变动值
  14989. type: integer
  14990. wrstandardcode:
  14991. description: 现货商品代码
  14992. type: string
  14993. wrstandardid:
  14994. description: 现货商品ID
  14995. type: integer
  14996. wrstandardname:
  14997. description: 商品名称
  14998. type: string
  14999. type: object
  15000. models.WrGoodsInfo:
  15001. properties:
  15002. haswr:
  15003. description: 0:仓单预售 1:仓单贸易
  15004. type: integer
  15005. lstitem:
  15006. description: 商品信息项
  15007. items:
  15008. $ref: '#/definitions/models.WrTypeItem'
  15009. type: array
  15010. lststep:
  15011. description: 履约规则
  15012. items:
  15013. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15014. type: array
  15015. marketid:
  15016. description: 市场id
  15017. type: integer
  15018. type: object
  15019. models.WrGoodsPerformanceStep:
  15020. properties:
  15021. autoid:
  15022. description: AutoID
  15023. type: integer
  15024. isauto:
  15025. description: 是否自动 - 0:不自动 1:自动
  15026. type: integer
  15027. remark:
  15028. description: 备注
  15029. type: string
  15030. stepdate:
  15031. description: 天数信息(T+N)
  15032. type: string
  15033. stepdays:
  15034. description: 距离上一步天数
  15035. type: integer
  15036. stepindex:
  15037. description: 步骤序号
  15038. type: integer
  15039. stepinfo:
  15040. description: 步骤信息(步骤名称+步骤值)
  15041. type: string
  15042. steptypeid:
  15043. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15044. type: integer
  15045. steptypename:
  15046. description: 步骤名称
  15047. type: string
  15048. stepvalue:
  15049. description: 步骤值
  15050. type: number
  15051. templateid:
  15052. description: 履约计划模板ID
  15053. type: integer
  15054. type: object
  15055. models.WrHoldLB:
  15056. properties:
  15057. accountid:
  15058. description: 持有人帐户ID
  15059. type: integer
  15060. createtime:
  15061. description: 创建时间(过户时间)
  15062. type: string
  15063. deliverygoodscode:
  15064. description: 品种代码
  15065. type: string
  15066. deliverygoodsid:
  15067. description: 品种ID
  15068. type: integer
  15069. deliverygoodsname:
  15070. description: 品种名称
  15071. type: string
  15072. enableqty:
  15073. description: 可用数量
  15074. type: number
  15075. enumdicname:
  15076. description: 单位名称
  15077. type: string
  15078. freezerqty:
  15079. description: 冻结数量
  15080. type: number
  15081. ladingbillid:
  15082. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15083. type: string
  15084. minivalue:
  15085. description: 现货商品最小变动值
  15086. type: integer
  15087. optioncompare:
  15088. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15089. type: string
  15090. parentsubnum:
  15091. description: 拆分父子单号
  15092. type: integer
  15093. pledgeqty:
  15094. description: 质押数量
  15095. type: number
  15096. qty:
  15097. description: 数量
  15098. type: number
  15099. subnum:
  15100. description: 提单子单号
  15101. type: integer
  15102. tradedate:
  15103. description: 交易日(yyyyMMdd)
  15104. type: string
  15105. userid:
  15106. description: 持有人ID
  15107. type: integer
  15108. warehouseid:
  15109. description: 仓库ID
  15110. type: integer
  15111. warehousename:
  15112. description: 仓库名称
  15113. type: string
  15114. wrfactortypeid:
  15115. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15116. type: string
  15117. wrfactortypename:
  15118. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15119. type: string
  15120. wrholdeno:
  15121. description: 仓单编号
  15122. type: string
  15123. wrid:
  15124. description: 仓单变更ID
  15125. type: string
  15126. wrstandardcode:
  15127. description: 现货商品代码
  15128. type: string
  15129. wrstandardid:
  15130. description: 现货商品ID
  15131. type: integer
  15132. wrstandardname:
  15133. description: 商品名称
  15134. type: string
  15135. wrtypename:
  15136. description: 商品
  15137. type: string
  15138. type: object
  15139. models.WrMarketTradeConfig:
  15140. properties:
  15141. basisdownratio:
  15142. description: 浮动价基差下限比例(仓单贸易)
  15143. type: number
  15144. basisupratio:
  15145. description: 浮动价基差上限比例(仓单贸易)
  15146. type: number
  15147. buychargealgorithm:
  15148. description: 买方手续费收取方式 1:比率 2:固定
  15149. type: integer
  15150. buychargealgorithm2:
  15151. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15152. type: integer
  15153. buychargealgorithmvalue:
  15154. description: 买方手续费设置值(交易所部分)
  15155. type: number
  15156. buychargealgorithmvalue2:
  15157. description: 买方手续费设置值(会员部分)
  15158. type: number
  15159. buychargealgorithmvalue3:
  15160. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15161. type: number
  15162. buychargealgorithmvalue4:
  15163. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15164. type: number
  15165. buyfirstmarginalgorithm:
  15166. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15167. type: integer
  15168. buyfirstmarginvalue:
  15169. description: 买方出价保证金设置值 - [竞拍]
  15170. type: number
  15171. buymarginalgorithm:
  15172. description: 买方保证金方式 - 1:比率 2:固定
  15173. type: integer
  15174. buymarginvalue:
  15175. description: 买方保证金设置值
  15176. type: number
  15177. buyreleaseratio:
  15178. description: 买方释放比率[2:分步履约]
  15179. type: number
  15180. executemode:
  15181. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15182. type: integer
  15183. executeside:
  15184. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15185. type: integer
  15186. failedchargealgorithm:
  15187. description: 流拍手续费收取方式 1:比率 2:固定
  15188. type: integer
  15189. failedchargevalue:
  15190. description: 流拍手续费设置值
  15191. type: number
  15192. failedchargevalue2:
  15193. description: 流拍卖方手续费设置值
  15194. type: number
  15195. holddays:
  15196. description: 合同期限[2:分步履约]
  15197. type: integer
  15198. marketid:
  15199. description: 市场ID-仓单贸易、竞拍、预售
  15200. type: integer
  15201. minqty:
  15202. description: 最小执行量[2:分步履约]
  15203. type: number
  15204. modifierid:
  15205. description: 修改人
  15206. type: integer
  15207. performancetempid:
  15208. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15209. type: integer
  15210. performancetempid2:
  15211. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15212. type: integer
  15213. performanceway:
  15214. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15215. type: integer
  15216. sellchargealgorithm:
  15217. description: 卖方手续费收取方式 1:比率 2:固定
  15218. type: integer
  15219. sellchargealgorithm2:
  15220. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15221. type: integer
  15222. sellchargealgorithmvalue:
  15223. description: 卖方手续费设置值(交易所部分)
  15224. type: number
  15225. sellchargealgorithmvalue2:
  15226. description: 卖方手续费设置值(会员部分)
  15227. type: number
  15228. sellchargealgorithmvalue3:
  15229. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15230. type: number
  15231. sellchargealgorithmvalue4:
  15232. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15233. type: number
  15234. sellmarginalgorithm:
  15235. description: 卖方保证金方式 - 1:比率 2:固定
  15236. type: integer
  15237. sellmarginvalue:
  15238. description: 卖方保证金设置值
  15239. type: number
  15240. sellmarginvalue2:
  15241. description: 卖方保证金设置值(无仓单)
  15242. type: number
  15243. sellreleaseratio:
  15244. description: 卖方释放比率[2:分步履约]
  15245. type: number
  15246. updatetime:
  15247. description: 更新时间
  15248. type: string
  15249. type: object
  15250. models.WrOrderDetail:
  15251. properties:
  15252. accountid:
  15253. description: 交易账号(资金账号)
  15254. type: integer
  15255. allfriendsflag:
  15256. description: 是否全好友可见 - 0:否 1:是
  15257. type: integer
  15258. amount:
  15259. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15260. type: number
  15261. buyorsell:
  15262. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15263. type: integer
  15264. canbargain:
  15265. description: 是否可议价 - 0:不可 1:可
  15266. type: integer
  15267. cancelqty:
  15268. description: 撤销数量
  15269. type: number
  15270. canpart:
  15271. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15272. type: integer
  15273. delistminqty:
  15274. description: 起摘数量
  15275. type: integer
  15276. deliverygoodscode:
  15277. description: 品种代码
  15278. type: string
  15279. deliverygoodsid:
  15280. description: 品种ID
  15281. type: integer
  15282. deliverygoodsname:
  15283. description: 品种名称
  15284. type: string
  15285. deliverymonth:
  15286. description: 交收月
  15287. type: string
  15288. enumdicname:
  15289. description: 单位名称
  15290. type: string
  15291. fixedprice:
  15292. description: 固定价格 - [挂牌]
  15293. type: number
  15294. freezemargin:
  15295. description: 冻结保证金(保证金)
  15296. type: number
  15297. futupricemove:
  15298. description: 期货升贴水
  15299. type: number
  15300. futushow:
  15301. description: 期货合约/升贴水
  15302. type: string
  15303. goodscode:
  15304. description: 期货合约
  15305. type: string
  15306. goodsid:
  15307. description: 期货商品id
  15308. type: integer
  15309. goodsname:
  15310. description: 商品名称
  15311. type: string
  15312. haswr:
  15313. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15314. type: integer
  15315. isspecified:
  15316. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15317. type: integer
  15318. ladingbillid:
  15319. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15320. type: string
  15321. marginvalue:
  15322. description: 保证金设置值(履约保证金)
  15323. type: number
  15324. marketid:
  15325. description: 市场ID
  15326. type: integer
  15327. matchusername:
  15328. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15329. type: string
  15330. minivalue:
  15331. description: 现货商品最小变动值
  15332. type: integer
  15333. optioncompare:
  15334. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15335. type: string
  15336. orderqty:
  15337. description: 委托数量
  15338. type: number
  15339. ordertime:
  15340. description: 委托时间(挂牌时间)
  15341. type: string
  15342. performancetemplateid:
  15343. description: 履约模板id
  15344. type: integer
  15345. pricemove:
  15346. description: 升贴水(浮动价时填写) - [挂牌]
  15347. type: number
  15348. taname:
  15349. description: 交易用户名称(资金账号名称)
  15350. type: string
  15351. tradedate:
  15352. description: 交易日(yyyyMMdd)
  15353. type: string
  15354. tradeprice:
  15355. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15356. type: number
  15357. tradeqty:
  15358. description: 成交数量
  15359. type: number
  15360. userid:
  15361. description: 用户ID
  15362. type: integer
  15363. validtime:
  15364. description: 挂牌有效期
  15365. type: string
  15366. warehouseid:
  15367. description: 仓库ID
  15368. type: integer
  15369. warehousename:
  15370. description: 仓库名称
  15371. type: string
  15372. wrfactortypeid:
  15373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15374. type: string
  15375. wrfactortypename:
  15376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15377. type: string
  15378. wrpricetype:
  15379. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15380. type: integer
  15381. wrstandardcode:
  15382. description: 现货商品代码
  15383. type: string
  15384. wrstandardid:
  15385. description: 现货商品ID
  15386. type: integer
  15387. wrstandardname:
  15388. description: 商品名称
  15389. type: string
  15390. wrtradeorderid:
  15391. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15392. type: string
  15393. wrtradeorderstatus:
  15394. 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:撤单解冻贷款失败
  15395. type: integer
  15396. wrtradetype:
  15397. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15398. type: integer
  15399. wrtypename:
  15400. description: 商品
  15401. type: string
  15402. type: object
  15403. models.WrOrderQuote:
  15404. properties:
  15405. buyprice:
  15406. description: 买价
  15407. type: number
  15408. buypricemove:
  15409. description: 买升贴水(基差)
  15410. type: number
  15411. buyqty:
  15412. description: 买量
  15413. type: number
  15414. deliverygoodscode:
  15415. description: 品种代码
  15416. type: string
  15417. deliverygoodsid:
  15418. description: 品种id
  15419. type: integer
  15420. deliverygoodsname:
  15421. description: 品种名称
  15422. type: string
  15423. deliverymonth:
  15424. description: 交收月
  15425. type: string
  15426. enumdicname:
  15427. description: 单位名称
  15428. type: string
  15429. goodscode:
  15430. description: 商品合约(浮动价列表才有)
  15431. type: string
  15432. goodsid:
  15433. description: 商品id(浮动价列表才有)
  15434. type: integer
  15435. minivalue:
  15436. description: 现货商品最小变动值
  15437. type: integer
  15438. sellprice:
  15439. description: 卖价
  15440. type: number
  15441. sellpricemove:
  15442. description: 卖升贴水(基差)
  15443. type: number
  15444. sellqty:
  15445. description: 卖量
  15446. type: number
  15447. warehousecode:
  15448. description: 仓库代码
  15449. type: string
  15450. warehouseid:
  15451. description: 仓库id
  15452. type: integer
  15453. warehousename:
  15454. description: 仓库名称
  15455. type: string
  15456. wrfactortypeid:
  15457. description: 仓单要素id
  15458. type: string
  15459. wrfactortypename:
  15460. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15461. type: string
  15462. wrgoodsname:
  15463. description: 商品(商品名称+仓库要素名称 拼接)
  15464. type: string
  15465. wrstandardcode:
  15466. description: 商品代码
  15467. type: string
  15468. wrstandardid:
  15469. description: 商品id
  15470. type: integer
  15471. wrstandardname:
  15472. description: 商品名称
  15473. type: string
  15474. type: object
  15475. models.WrOrderQuoteDetail:
  15476. properties:
  15477. buyorsell:
  15478. description: 买卖 - 0:买 1:卖
  15479. type: integer
  15480. delistminqty:
  15481. description: 起摘数量
  15482. type: number
  15483. deliverymonth:
  15484. description: 交收月
  15485. type: string
  15486. enumdicname:
  15487. description: 单位名称
  15488. type: string
  15489. fixedprice:
  15490. description: 买(卖)价
  15491. type: number
  15492. minivalue:
  15493. description: 现货商品最小变动值
  15494. type: integer
  15495. orderqty:
  15496. description: 买(卖)量(=委托量-成交量)
  15497. type: number
  15498. ordertime:
  15499. description: 委托时间
  15500. type: string
  15501. pricemove:
  15502. description: 买(卖)升贴水- 基差
  15503. type: number
  15504. userid:
  15505. description: 购买方(销售方)用户ID
  15506. type: integer
  15507. username:
  15508. description: 购买方(销售方)
  15509. type: string
  15510. wrtradeorderid:
  15511. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15512. type: string
  15513. type: object
  15514. models.WrOutInApply:
  15515. properties:
  15516. applyid:
  15517. description: 申请单id
  15518. type: string
  15519. applystatus:
  15520. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15521. type: integer
  15522. applytime:
  15523. description: 申请时间
  15524. type: string
  15525. applytype:
  15526. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15527. type: integer
  15528. deliverygoodscode:
  15529. description: 品种代码
  15530. type: string
  15531. deliverygoodsid:
  15532. description: 品种ID
  15533. type: integer
  15534. deliverygoodsname:
  15535. description: 品种名称
  15536. type: string
  15537. enumdicname:
  15538. description: 单位名称
  15539. type: string
  15540. expresscompany:
  15541. description: 物流公司
  15542. type: string
  15543. expressnum:
  15544. description: 物流单号
  15545. type: string
  15546. minivalue:
  15547. description: 现货商品最小变动值
  15548. type: integer
  15549. optioncompare:
  15550. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15551. type: string
  15552. qty:
  15553. description: 数量
  15554. type: integer
  15555. userid:
  15556. description: 用户id
  15557. type: integer
  15558. warehouseid:
  15559. description: 仓库ID
  15560. type: integer
  15561. warehousename:
  15562. description: 仓库名称
  15563. type: string
  15564. wrfactortypeid:
  15565. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15566. type: string
  15567. wrfactortypename:
  15568. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15569. type: string
  15570. wrstandardcode:
  15571. description: 现货商品代码
  15572. type: string
  15573. wrstandardid:
  15574. description: 现货商品ID
  15575. type: integer
  15576. wrstandardname:
  15577. description: 商品名称
  15578. type: string
  15579. wrtypename:
  15580. description: 商品
  15581. type: string
  15582. type: object
  15583. models.WrPerformancePlan:
  15584. properties:
  15585. activatemonth:
  15586. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15587. type: string
  15588. amount:
  15589. description: 履约金额(总金额)
  15590. type: number
  15591. buyaccountid:
  15592. description: 买方账号
  15593. type: integer
  15594. buyerfreezeamount:
  15595. description: 履约冻结(买履约)
  15596. type: number
  15597. buyerfreezeamountremain:
  15598. description: 履约冻结剩余(买履约)
  15599. type: number
  15600. buyorsell:
  15601. description: 买卖方向 0-买 1-卖
  15602. type: integer
  15603. buypaidamount:
  15604. description: 买方已冻/已扣金额 (已付金额)
  15605. type: number
  15606. buyusername:
  15607. description: 买方名字
  15608. type: string
  15609. contractid:
  15610. description: 合同ID
  15611. type: integer
  15612. createtime:
  15613. description: 创建时间
  15614. type: string
  15615. creatorid:
  15616. description: 创建人
  15617. type: integer
  15618. curstepdeadline:
  15619. description: 当前步骤到期时间
  15620. type: string
  15621. curstepid:
  15622. description: 当前步骤ID
  15623. type: string
  15624. curstepname:
  15625. description: 当前步骤名称
  15626. type: string
  15627. deliverygoodscode:
  15628. description: 品种代码
  15629. type: string
  15630. deliverygoodsid:
  15631. description: 品种ID
  15632. type: integer
  15633. deliverygoodsname:
  15634. description: 品种名称
  15635. type: string
  15636. enumdicname:
  15637. description: 单位名称
  15638. type: string
  15639. expressfee:
  15640. description: 运费
  15641. type: number
  15642. expressfeeconfirmed:
  15643. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15644. type: integer
  15645. hasovershort:
  15646. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15647. type: integer
  15648. haswr:
  15649. description: 类型 0-仓单预售 1-仓单贸易
  15650. type: integer
  15651. marketid:
  15652. description: 市场ID
  15653. type: integer
  15654. middleaccountid:
  15655. description: 中间商资金账号ID
  15656. type: integer
  15657. middleuserid:
  15658. description: 中间商用户ID
  15659. type: integer
  15660. minivalue:
  15661. description: 现货商品最小变动值
  15662. type: integer
  15663. optioncompare:
  15664. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15665. type: string
  15666. overshortamount:
  15667. description: 溢短金额
  15668. type: number
  15669. overshortqty:
  15670. description: 溢短数量
  15671. type: number
  15672. paymenttype:
  15673. description: 付款方式 - 1:冻结 2:扣款
  15674. type: integer
  15675. performanceplanid:
  15676. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15677. type: string
  15678. performancestatus:
  15679. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15680. type: integer
  15681. performancetype:
  15682. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15683. type: integer
  15684. qty:
  15685. description: 履约数量
  15686. type: number
  15687. relatedorderid:
  15688. description: 关联单号(履约类型的关联单号)
  15689. type: string
  15690. remark:
  15691. description: 备注
  15692. type: string
  15693. sellaccountid:
  15694. description: 卖方账号
  15695. type: integer
  15696. sellerfreezeamount:
  15697. description: 履约冻结(卖履约)
  15698. type: number
  15699. sellerfreezeamountremain:
  15700. description: 履约冻结剩余(卖履约)
  15701. type: number
  15702. sellreceivedamount:
  15703. description: 卖方已收金额
  15704. type: number
  15705. sellusername:
  15706. description: 卖方名字
  15707. type: string
  15708. shipremark:
  15709. description: 发货备注[物流单号]
  15710. type: string
  15711. starttime:
  15712. description: 开始时间
  15713. type: string
  15714. steptypeid:
  15715. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15716. type: integer
  15717. typename:
  15718. description: 履约类型 名称
  15719. type: string
  15720. unpaidamount:
  15721. description: 剩余款(待支付金额)
  15722. type: number
  15723. userid:
  15724. description: 用户id
  15725. type: integer
  15726. warehouseid:
  15727. description: 仓库ID
  15728. type: integer
  15729. warehousename:
  15730. description: 仓库名称
  15731. type: string
  15732. wrfactortypeid:
  15733. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15734. type: string
  15735. wrfactortypename:
  15736. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15737. type: string
  15738. wrstandardcode:
  15739. description: 现货商品代码
  15740. type: string
  15741. wrstandardid:
  15742. description: 现货商品ID
  15743. type: integer
  15744. wrstandardname:
  15745. description: 商品名称
  15746. type: string
  15747. wrtransferuserid:
  15748. description: 仓单受让用户
  15749. type: integer
  15750. wrtypename:
  15751. description: 商品
  15752. type: string
  15753. required:
  15754. - userid
  15755. type: object
  15756. models.WrPerformancePlanStep:
  15757. properties:
  15758. delaydays:
  15759. description: 延期申请天数
  15760. type: integer
  15761. deliverygoodscode:
  15762. description: 品种代码
  15763. type: string
  15764. deliverygoodsid:
  15765. description: 品种ID
  15766. type: integer
  15767. deliverygoodsname:
  15768. description: 品种名称
  15769. type: string
  15770. endtime:
  15771. description: 结束日期
  15772. type: string
  15773. enumdicname:
  15774. description: 单位名称
  15775. type: string
  15776. executeside:
  15777. description: 步骤执行方 - 1:买方 2:卖方
  15778. type: integer
  15779. handlestatus:
  15780. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15781. type: integer
  15782. isauto:
  15783. description: 是否自动 - 0:不自动 1:自动
  15784. type: integer
  15785. islastreceivestep:
  15786. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15787. type: integer
  15788. minivalue:
  15789. description: 现货商品最小变动值
  15790. type: integer
  15791. optioncompare:
  15792. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15793. type: string
  15794. overdays:
  15795. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15796. type: integer
  15797. performancestepid:
  15798. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15799. type: string
  15800. planid:
  15801. description: 所属履约计划ID
  15802. type: string
  15803. realamount:
  15804. description: 实际完成金额
  15805. type: number
  15806. relatedorderid:
  15807. description: 关联单号
  15808. type: string
  15809. remaindays:
  15810. description: 剩余天数
  15811. type: integer
  15812. remark:
  15813. description: 错误备注
  15814. type: string
  15815. starttime:
  15816. description: 开始日期
  15817. type: string
  15818. stepamount:
  15819. description: 步骤金额
  15820. type: number
  15821. stepdays:
  15822. description: 距离上一步天数(分钟)
  15823. type: integer
  15824. stepindex:
  15825. description: 步骤序号
  15826. type: integer
  15827. steplanchtype:
  15828. description: 步骤启动类型 - 1:系统自动 2:手动
  15829. type: integer
  15830. stepremark:
  15831. description: 步骤备注
  15832. type: string
  15833. stepstatus:
  15834. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15835. type: integer
  15836. steptypeid:
  15837. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15838. type: integer
  15839. steptypename:
  15840. description: 步骤名称
  15841. type: string
  15842. stepvalue:
  15843. description: 步骤值
  15844. type: number
  15845. warehouseid:
  15846. description: 仓库ID
  15847. type: integer
  15848. warehousename:
  15849. description: 仓库名称
  15850. type: string
  15851. wrfactortypeid:
  15852. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15853. type: string
  15854. wrfactortypename:
  15855. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15856. type: string
  15857. wrstandardcode:
  15858. description: 现货商品代码
  15859. type: string
  15860. wrstandardid:
  15861. description: 现货商品ID
  15862. type: integer
  15863. wrstandardname:
  15864. description: 商品名称
  15865. type: string
  15866. wrtypename:
  15867. description: 商品
  15868. type: string
  15869. type: object
  15870. models.WrPerformanceStepType:
  15871. properties:
  15872. canauto:
  15873. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15874. type: integer
  15875. steptypeid:
  15876. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15877. type: integer
  15878. steptypename:
  15879. description: 步骤类型名称
  15880. type: string
  15881. type: object
  15882. models.WrPerformanceTemplateEx:
  15883. properties:
  15884. autoid:
  15885. description: AutoID 模板id
  15886. type: integer
  15887. createtime:
  15888. description: 创建时间
  15889. type: string
  15890. creatorid:
  15891. description: 创建人
  15892. type: integer
  15893. lstStep:
  15894. description: 步骤信息列表
  15895. items:
  15896. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15897. type: array
  15898. paymenttype:
  15899. description: 支付方式 - 1:冻结 2:扣款
  15900. type: integer
  15901. takemode:
  15902. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15903. type: integer
  15904. templatename:
  15905. description: 模板名称
  15906. type: string
  15907. templatetype:
  15908. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15909. type: integer
  15910. userid:
  15911. description: 所属用户
  15912. type: integer
  15913. type: object
  15914. models.WrPosition:
  15915. properties:
  15916. accountid:
  15917. description: 帐户ID
  15918. type: integer
  15919. buyexcuteqty:
  15920. description: 采购履约中数量
  15921. type: number
  15922. creditcurqty:
  15923. description: 授信当前数量(预售仓单:预售当前量)
  15924. type: number
  15925. creditenableqty:
  15926. description: '授信可用数量(预售仓单: 可用数量)'
  15927. type: number
  15928. creditfreezeqty:
  15929. description: '授信冻结数量(预售仓单: 当前数量)'
  15930. type: number
  15931. credittotalqty:
  15932. description: 授信总数量(预售仓单:预售总量)
  15933. type: number
  15934. credittradeqty:
  15935. description: 授信成交数量(预售仓单:成交总量)
  15936. type: number
  15937. deliverygoodscode:
  15938. description: 品种代码
  15939. type: string
  15940. deliverygoodsid:
  15941. description: 品种ID
  15942. type: integer
  15943. deliverygoodsname:
  15944. description: 品种名称
  15945. type: string
  15946. enalbeqty:
  15947. description: 可用数量
  15948. type: number
  15949. enumdicname:
  15950. description: 单位名称
  15951. type: string
  15952. freezeqty:
  15953. description: 总冻结数量
  15954. type: number
  15955. haswr:
  15956. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15957. type: integer
  15958. minivalue:
  15959. description: 现货商品最小变动值
  15960. type: integer
  15961. modifytime:
  15962. description: 修改时间(过户时间)
  15963. type: string
  15964. optioncompare:
  15965. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15966. type: string
  15967. pledgeqty:
  15968. description: 质押数量
  15969. type: number
  15970. querytype:
  15971. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15972. type: integer
  15973. sellexcuteqty:
  15974. description: 销售履约中数量
  15975. type: number
  15976. totalqty:
  15977. description: 总数量(库存数量)
  15978. type: number
  15979. warehouseid:
  15980. description: 仓库ID
  15981. type: integer
  15982. warehousename:
  15983. description: 仓库名称
  15984. type: string
  15985. wrfactortypeid:
  15986. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15987. type: string
  15988. wrfactortypename:
  15989. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15990. type: string
  15991. wrpositionid:
  15992. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15993. type: string
  15994. wrpositionno:
  15995. description: 仓单编号
  15996. type: string
  15997. wrstandardcode:
  15998. description: 现货商品代码
  15999. type: string
  16000. wrstandardid:
  16001. description: 现货商品ID
  16002. type: integer
  16003. wrstandardname:
  16004. description: 商品名称
  16005. type: string
  16006. wrtypename:
  16007. description: 商品
  16008. type: string
  16009. wruserid:
  16010. description: 持有人ID
  16011. type: integer
  16012. type: object
  16013. models.WrQuoteOrderMyq:
  16014. properties:
  16015. buyorsell:
  16016. description: 买卖 - 0:买 1:卖
  16017. type: integer
  16018. canbargain:
  16019. description: 是否可议价 - 0:不可 1:可
  16020. type: integer
  16021. canpart:
  16022. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16023. type: integer
  16024. delistminqty:
  16025. description: 起摘数量
  16026. type: number
  16027. deliverygoodscode:
  16028. description: 品种代码
  16029. type: string
  16030. deliverygoodsid:
  16031. description: 品种ID
  16032. type: integer
  16033. deliverygoodsname:
  16034. description: 品种名称
  16035. type: string
  16036. deliverymonth:
  16037. description: 交收月
  16038. type: string
  16039. enumdicname:
  16040. description: 单位名称
  16041. type: string
  16042. fixedprice:
  16043. description: 买(卖)价
  16044. type: number
  16045. goodscode:
  16046. description: 商品合约代码
  16047. type: string
  16048. marginflag:
  16049. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16050. type: integer
  16051. marginvalue:
  16052. description: 保证金设置值
  16053. type: number
  16054. minivalue:
  16055. description: 现货商品最小变动值
  16056. type: integer
  16057. orderqty:
  16058. description: 买(卖)量(=委托量-成交量)
  16059. type: number
  16060. ordertime:
  16061. description: 委托时间
  16062. type: string
  16063. performancetemplateid:
  16064. description: 履约模板id
  16065. type: integer
  16066. pricemove:
  16067. description: 买(卖)升贴水- 基差
  16068. type: number
  16069. templatename:
  16070. description: 履约模板名称
  16071. type: string
  16072. userid:
  16073. description: 购买方(销售方)用户ID
  16074. type: integer
  16075. username:
  16076. description: 购买方(销售方)
  16077. type: string
  16078. validtime:
  16079. description: 有效期限
  16080. type: string
  16081. validtype:
  16082. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16083. type: integer
  16084. warehousename:
  16085. description: 仓库名称
  16086. type: string
  16087. wrfactortypeid:
  16088. description: 仓单要素id
  16089. type: string
  16090. wrstandardcode:
  16091. description: 现货商品代码
  16092. type: string
  16093. wrstandardid:
  16094. description: 现货商品ID
  16095. type: integer
  16096. wrstandardname:
  16097. description: 商品名称
  16098. type: string
  16099. wrtradeorderid:
  16100. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16101. type: string
  16102. wrtypename:
  16103. description: 商品
  16104. type: string
  16105. type: object
  16106. models.WrScfContract:
  16107. properties:
  16108. borroweruserid:
  16109. description: 借款用户ID
  16110. type: integer
  16111. buybackwrpositionqty:
  16112. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16113. type: number
  16114. closeinterest:
  16115. description: 已结利息 -> 已结费用
  16116. type: number
  16117. currisklevel:
  16118. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16119. type: integer
  16120. deadline:
  16121. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16122. type: string
  16123. deliverygoodscode:
  16124. description: 品种代码
  16125. type: string
  16126. deliverygoodsid:
  16127. description: 品种ID
  16128. type: integer
  16129. deliverygoodsname:
  16130. description: 品种名称
  16131. type: string
  16132. enumdicname:
  16133. description: 单位名称
  16134. type: string
  16135. financingdays:
  16136. description: 天数(天)
  16137. type: integer
  16138. initmargin:
  16139. description: 保证金 - [仓单回购]
  16140. type: number
  16141. interestamount:
  16142. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16143. type: number
  16144. interestdebt:
  16145. description: 利息欠款(记录负数) -> 费用欠款
  16146. type: number
  16147. interestminlen:
  16148. description: 最小起息天数
  16149. type: integer
  16150. interestrate:
  16151. description: 利率
  16152. type: number
  16153. interestratemode:
  16154. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16155. type: integer
  16156. interestsettlemode:
  16157. description: 结息方式 - 1:按日结息 3:按月结息
  16158. type: integer
  16159. interestsettlevalue:
  16160. description: 结息方式值
  16161. type: integer
  16162. isautoloan:
  16163. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16164. type: integer
  16165. lastcloseinterestday:
  16166. description: 最近结息日(yyyyMMdd)
  16167. type: string
  16168. lenderamount:
  16169. description: 贷款金额 -> 借款金额
  16170. type: number
  16171. lenderuserid:
  16172. description: 贷款方用户ID -> 融出方用户ID
  16173. type: integer
  16174. lenderusername:
  16175. description: 融出方
  16176. type: string
  16177. marginratio:
  16178. description: 保证金比率质押率 - [仓单质押]
  16179. type: number
  16180. marketid:
  16181. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16182. type: integer
  16183. minivalue:
  16184. description: 现货商品最小变动值
  16185. type: integer
  16186. optioncompare:
  16187. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16188. type: string
  16189. pricemove:
  16190. description: 估值升贴水值
  16191. type: number
  16192. productdetailid:
  16193. description: 产品组合ID
  16194. type: integer
  16195. productid:
  16196. description: 金融产品ID
  16197. type: integer
  16198. productname:
  16199. description: 产品名称
  16200. type: string
  16201. remainamount:
  16202. description: 合同剩余金额 -> 剩余金额
  16203. type: number
  16204. remainwrpositionqty:
  16205. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16206. type: number
  16207. remark:
  16208. description: 备注
  16209. type: string
  16210. scfcontractid:
  16211. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16212. type: string
  16213. scfcontractstatus:
  16214. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16215. type: integer
  16216. scfcontracttype:
  16217. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16218. type: integer
  16219. startinterestday:
  16220. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16221. type: string
  16222. totalinterest:
  16223. description: 已计利息 -> 已计费用
  16224. type: number
  16225. unpaidinterest:
  16226. description: 未结费用
  16227. type: number
  16228. updatetime:
  16229. description: 更新时间
  16230. type: string
  16231. warehouseid:
  16232. description: 仓库ID
  16233. type: integer
  16234. warehousename:
  16235. description: 仓库名称
  16236. type: string
  16237. wrfactortypeid:
  16238. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16239. type: string
  16240. wrfactortypename:
  16241. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16242. type: string
  16243. wrqty:
  16244. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16245. type: number
  16246. wrstandardcode:
  16247. description: 现货商品代码
  16248. type: string
  16249. wrstandardid:
  16250. description: 现货商品ID
  16251. type: integer
  16252. wrstandardname:
  16253. description: 商品名称
  16254. type: string
  16255. wrtypename:
  16256. description: 商品
  16257. type: string
  16258. type: object
  16259. models.WrScfContractInterest:
  16260. properties:
  16261. closeinterest:
  16262. description: 已结利息
  16263. type: number
  16264. closeintereststatus:
  16265. description: 结息状态 - 1:未结 2:已结
  16266. type: integer
  16267. closetime:
  16268. description: 结息时间
  16269. type: string
  16270. closetradedate:
  16271. description: 结息交易日
  16272. type: string
  16273. creatorid:
  16274. description: 操作人ID
  16275. type: integer
  16276. dayrate:
  16277. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16278. type: number
  16279. interest:
  16280. description: 利息
  16281. type: number
  16282. interestamount:
  16283. description: 计息金额
  16284. type: number
  16285. interestday:
  16286. description: 计息日(yyyyMMdd)
  16287. type: string
  16288. scfcontractid:
  16289. description: SCF合同ID
  16290. type: string
  16291. scfcontractinterestid:
  16292. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16293. type: integer
  16294. updatetime:
  16295. description: 更新时间
  16296. type: string
  16297. type: object
  16298. models.WrSpecialMatchOrder:
  16299. properties:
  16300. amount:
  16301. description: 金额 = 数量 * 价格
  16302. type: number
  16303. buyorsell:
  16304. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16305. type: integer
  16306. cancelqty:
  16307. description: 撤销数量
  16308. type: number
  16309. deliverygoodscode:
  16310. description: 品种代码
  16311. type: string
  16312. deliverygoodsid:
  16313. description: 品种ID
  16314. type: integer
  16315. deliverygoodsname:
  16316. description: 品种名称
  16317. type: string
  16318. enumdicname:
  16319. description: 单位名称
  16320. type: string
  16321. fixedprice:
  16322. description: 固定价格(价格)
  16323. type: number
  16324. haswr:
  16325. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16326. type: integer
  16327. marketid:
  16328. description: 市场ID
  16329. type: integer
  16330. matchuserid:
  16331. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16332. type: integer
  16333. matchusername:
  16334. description: 指定方
  16335. type: string
  16336. minivalue:
  16337. description: 现货商品最小变动值
  16338. type: integer
  16339. optioncompare:
  16340. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16341. type: string
  16342. orderqty:
  16343. description: 委托数量
  16344. type: number
  16345. ordertime:
  16346. description: 委托时间
  16347. type: string
  16348. pricemove:
  16349. description: 升贴水(浮动价时填写) - [挂牌]
  16350. type: number
  16351. tradedate:
  16352. description: 交易日(yyyyMMdd)
  16353. type: string
  16354. tradeprice:
  16355. description: 成交价格
  16356. type: number
  16357. tradeqty:
  16358. description: 成交数量
  16359. type: number
  16360. userid:
  16361. description: 用户ID
  16362. type: integer
  16363. username:
  16364. description: 发起方
  16365. type: string
  16366. warehouseid:
  16367. description: 仓库ID
  16368. type: integer
  16369. warehousename:
  16370. description: 仓库名称
  16371. type: string
  16372. wrfactortypeid:
  16373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16374. type: string
  16375. wrfactortypename:
  16376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16377. type: string
  16378. wrpricetype:
  16379. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16380. type: integer
  16381. wrstandardcode:
  16382. description: 现货商品代码
  16383. type: string
  16384. wrstandardid:
  16385. description: 现货商品ID
  16386. type: integer
  16387. wrstandardname:
  16388. description: 商品名称
  16389. type: string
  16390. wrtradeorderid:
  16391. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16392. type: string
  16393. wrtradeorderstatus:
  16394. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16395. type: integer
  16396. wrtradetype:
  16397. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16398. type: integer
  16399. wrtypename:
  16400. description: 商品
  16401. type: string
  16402. type: object
  16403. models.WrStandardFactoryItem:
  16404. properties:
  16405. dgfactoryitemid:
  16406. description: 选择项id
  16407. type: integer
  16408. dgfactoryitemvalue:
  16409. description: 要素项值
  16410. type: string
  16411. warehouseid:
  16412. description: 仓库id
  16413. type: integer
  16414. type: object
  16415. models.WrStandardFactoryItemEx:
  16416. properties:
  16417. dgfactoryitemtypeid:
  16418. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16419. type: integer
  16420. itemlst:
  16421. description: 要素项列表
  16422. items:
  16423. $ref: '#/definitions/models.WrStandardFactoryItem'
  16424. type: array
  16425. itemtypename:
  16426. description: 要素项类型名称
  16427. type: string
  16428. wrstandardid:
  16429. description: 品类
  16430. type: integer
  16431. type: object
  16432. models.WrTradeDetail:
  16433. properties:
  16434. accountid:
  16435. description: 资金账号
  16436. type: integer
  16437. buyorsell:
  16438. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16439. type: integer
  16440. chargevalue:
  16441. description: 手续费
  16442. type: number
  16443. deliverygoodscode:
  16444. description: 品种代码
  16445. type: string
  16446. deliverygoodsid:
  16447. description: 品种ID
  16448. type: integer
  16449. deliverygoodsname:
  16450. description: 品种名称
  16451. type: string
  16452. deliverymonth:
  16453. description: 交收月
  16454. type: string
  16455. enumdicname:
  16456. description: 单位名称
  16457. type: string
  16458. haswr:
  16459. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16460. type: integer
  16461. marketid:
  16462. description: 市场ID
  16463. type: integer
  16464. matchaccountid:
  16465. description: 对手账号
  16466. type: integer
  16467. matchusername:
  16468. description: 对手方
  16469. type: string
  16470. minivalue:
  16471. description: 现货商品最小变动值
  16472. type: integer
  16473. optioncompare:
  16474. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16475. type: string
  16476. tradedate:
  16477. description: 交易日(yyyyMMdd)
  16478. type: string
  16479. tradeprice:
  16480. description: 成交价格
  16481. type: number
  16482. tradeqty:
  16483. description: 成交数量
  16484. type: number
  16485. tradetime:
  16486. description: 成交时间
  16487. type: string
  16488. userid:
  16489. description: 用户ID
  16490. type: integer
  16491. warehouseid:
  16492. description: 仓库ID
  16493. type: integer
  16494. warehousename:
  16495. description: 仓库名称
  16496. type: string
  16497. wrfactortypeid:
  16498. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16499. type: string
  16500. wrfactortypename:
  16501. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16502. type: string
  16503. wrstandardcode:
  16504. description: 现货商品代码
  16505. type: string
  16506. wrstandardid:
  16507. description: 现货商品ID
  16508. type: integer
  16509. wrstandardname:
  16510. description: 商品名称
  16511. type: string
  16512. wrtradedetailid:
  16513. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16514. type: string
  16515. wrtradetype:
  16516. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16517. type: integer
  16518. wrtypename:
  16519. description: 商品
  16520. type: string
  16521. type: object
  16522. models.WrTradeOrderDetail:
  16523. properties:
  16524. buyorsell:
  16525. description: 买卖方向 0-买 1-卖
  16526. type: integer
  16527. goodsid:
  16528. description: 商品id
  16529. type: integer
  16530. orderid:
  16531. description: 委托单号
  16532. type: string
  16533. orderprice:
  16534. description: 委托价格
  16535. type: number
  16536. orderqty:
  16537. description: 委托数量
  16538. type: integer
  16539. userid:
  16540. description: 用户id
  16541. type: integer
  16542. username:
  16543. description: 用户名称(已脱敏)
  16544. type: string
  16545. type: object
  16546. models.WrTypeItem:
  16547. properties:
  16548. name:
  16549. description: 名称
  16550. type: string
  16551. value:
  16552. description: 值
  16553. type: string
  16554. type: object
  16555. models.WrUserFriend:
  16556. properties:
  16557. friendname:
  16558. description: 朋友名称(已脱敏)
  16559. type: string
  16560. frienduserid:
  16561. description: 朋友id
  16562. type: integer
  16563. isfriend:
  16564. description: 是否好友 0-不是 1-是
  16565. type: integer
  16566. userid:
  16567. description: 用户id
  16568. type: integer
  16569. type: object
  16570. models.XHBRAND:
  16571. properties:
  16572. brandid:
  16573. description: 品牌id
  16574. type: integer
  16575. brandname:
  16576. description: 品牌名称
  16577. type: string
  16578. type: object
  16579. models.XHDeliveryGoods:
  16580. properties:
  16581. areauserid:
  16582. description: 所属机构
  16583. type: integer
  16584. bdlst:
  16585. description: 品牌列表
  16586. items:
  16587. $ref: '#/definitions/models.XHBRAND'
  16588. type: array
  16589. deliverygoodscode:
  16590. description: 现货品种代码
  16591. type: string
  16592. deliverygoodsid:
  16593. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16594. type: integer
  16595. deliverygoodsname:
  16596. description: 现货品种名称
  16597. type: string
  16598. dgstatus:
  16599. description: 品种状态 - 作废 - 0:未激活 1:正常
  16600. type: integer
  16601. isvalid:
  16602. description: 是否有效 - 0:无效 1:有效
  16603. type: integer
  16604. remark:
  16605. description: 备注
  16606. type: string
  16607. unitid:
  16608. description: 单位id(目前看,数据库中是空值)
  16609. type: integer
  16610. wdlst:
  16611. description: 品类(现货商品)列表
  16612. items:
  16613. $ref: '#/definitions/models.XHWrstandard'
  16614. type: array
  16615. type: object
  16616. models.XHMiddleGoods:
  16617. properties:
  16618. convertratio:
  16619. description: 拆算系数
  16620. type: number
  16621. costratio:
  16622. description: 成本权重
  16623. type: number
  16624. deliverygoodsid:
  16625. description: 现货商品id
  16626. type: integer
  16627. enumdicname:
  16628. description: 单位名称
  16629. type: string
  16630. gplst:
  16631. description: 期货品种列表
  16632. items:
  16633. $ref: '#/definitions/models.TBGoodsGroup'
  16634. type: array
  16635. middlegoodscode:
  16636. description: 套保品种代码
  16637. type: string
  16638. middlegoodsid:
  16639. description: 套保品种id
  16640. type: integer
  16641. middlegoodsname:
  16642. description: 套保品种名称
  16643. type: string
  16644. unitid:
  16645. description: 单位id
  16646. type: integer
  16647. type: object
  16648. models.XHWrstandard:
  16649. properties:
  16650. deliverygoodsid:
  16651. description: 品种ID
  16652. type: integer
  16653. enumdicname:
  16654. description: 单位名称
  16655. type: string
  16656. mglst:
  16657. description: 套保品列表
  16658. items:
  16659. $ref: '#/definitions/models.XHMiddleGoods'
  16660. type: array
  16661. unitid:
  16662. description: 单位id
  16663. type: integer
  16664. vatrate:
  16665. description: 增值税率
  16666. type: number
  16667. wrstandardcode:
  16668. description: 现货商品代码
  16669. type: string
  16670. wrstandardid:
  16671. description: 现货商品ID(SEQ_WRSTANDARD)
  16672. type: integer
  16673. wrstandardname:
  16674. description: 现货商品名称
  16675. type: string
  16676. type: object
  16677. order.QueryHisTradeDetailRsp:
  16678. properties:
  16679. accountid:
  16680. description: 账户ID[报价币种]
  16681. type: integer
  16682. advanceratio:
  16683. description: 首付比率
  16684. type: number
  16685. buildtype:
  16686. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16687. type: integer
  16688. buyorsell:
  16689. description: 方向 - 0:买 1:卖
  16690. type: integer
  16691. charge:
  16692. description: 手续费
  16693. type: number
  16694. closecharge:
  16695. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16696. type: number
  16697. closeexchagechargevalue:
  16698. description: 平仓交易所手续费设置值
  16699. type: number
  16700. closefeealgorithm:
  16701. description: 平仓手续费收取方式 1:比率 2:固定
  16702. type: integer
  16703. closememberchargevalue:
  16704. description: 平仓会员手续费设置值
  16705. type: number
  16706. closepl:
  16707. description: 平仓盈亏
  16708. type: number
  16709. closepl2:
  16710. description: 平仓盈亏[逐笔]
  16711. type: number
  16712. closeqty:
  16713. description: 平仓数量(先建后平操作 需要记录)
  16714. type: number
  16715. creditamount:
  16716. description: 授信金额
  16717. type: number
  16718. decimalplace:
  16719. description: 商品报价小数位
  16720. type: integer
  16721. enumdicname:
  16722. description: 单位名称
  16723. type: string
  16724. gcaccountid:
  16725. description: 账户ID[合约币种]
  16726. type: integer
  16727. goodscode:
  16728. description: 商品代码
  16729. type: string
  16730. goodsid:
  16731. description: 商品ID
  16732. type: integer
  16733. goodsname:
  16734. description: 商品名称
  16735. type: string
  16736. goodunitid:
  16737. description: 商品单位id
  16738. type: integer
  16739. histradedate:
  16740. description: 历史交易日
  16741. type: string
  16742. intclosepl:
  16743. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16744. type: integer
  16745. isconfirmexercise:
  16746. description: 是否确认行权- 0:否 1:是
  16747. type: integer
  16748. ismain:
  16749. description: 是否主单 - 0:不是 1:是
  16750. type: integer
  16751. ispreexercise:
  16752. description: 是否预申报- 0:否 1:是
  16753. type: integer
  16754. isreckoned:
  16755. description: 是否结算 - 0:未结算 1:已结算
  16756. type: integer
  16757. isvaliddata:
  16758. description: 是否有效 - 0:无效 1:有效
  16759. type: integer
  16760. listingselecttype:
  16761. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16762. type: integer
  16763. marketid:
  16764. description: 市场ID
  16765. type: integer
  16766. marketname:
  16767. description: 市场名称
  16768. type: string
  16769. matchaccountid:
  16770. description: 对手账号id
  16771. type: integer
  16772. memberuserid:
  16773. description: 会员id 个人投资者 需要填写
  16774. type: integer
  16775. opencharge:
  16776. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16777. type: number
  16778. openexchagechargevalue:
  16779. description: 建仓交易所手续费设置值
  16780. type: number
  16781. openfeealgorithm:
  16782. description: 建仓手续费收取方式 1:比率 2:固定
  16783. type: integer
  16784. openmemberchargevalue:
  16785. description: 建仓会员手续费设置值
  16786. type: number
  16787. openqty:
  16788. description: 开仓数量(先建后平操作 需要记录)
  16789. type: number
  16790. optiontype:
  16791. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16792. type: integer
  16793. orderid:
  16794. description: 委托单号
  16795. type: string
  16796. payamount:
  16797. description: 支付金额(付款金额)
  16798. type: number
  16799. performanceplanid:
  16800. description: 履约计划ID[期权]
  16801. type: integer
  16802. performancestatus:
  16803. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16804. type: integer
  16805. preexerciseprice:
  16806. description: 预申报价格
  16807. type: number
  16808. premium:
  16809. description: 权利金 - [持仓单的权利金]
  16810. type: number
  16811. qtydecimalplace:
  16812. description: 商品报价小数位
  16813. type: integer
  16814. recvamount:
  16815. description: 到账金额 = 成交金额 - 手续费
  16816. type: number
  16817. relatedouttradeid:
  16818. description: 关联外部成交单ID
  16819. type: integer
  16820. status:
  16821. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16822. type: integer
  16823. totalamount:
  16824. description: 订单总额 = 成交金额 + 手续费
  16825. type: number
  16826. tradeamount:
  16827. description: 成交金额[账户币种,用于所有权]
  16828. type: number
  16829. tradedate:
  16830. description: 交易日(yyyyMMdd)
  16831. type: string
  16832. tradeid:
  16833. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16834. type: string
  16835. trademode:
  16836. description: 交易模式
  16837. type: integer
  16838. tradeprice:
  16839. description: 成交价格
  16840. type: number
  16841. tradeproperty:
  16842. description: 交易属性
  16843. type: integer
  16844. tradeqty:
  16845. description: 成交数量
  16846. type: number
  16847. tradetime:
  16848. description: 成交时间
  16849. type: string
  16850. tradetype:
  16851. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16852. type: integer
  16853. required:
  16854. - accountid
  16855. - buyorsell
  16856. - goodsid
  16857. - histradedate
  16858. - marketid
  16859. - memberuserid
  16860. - orderid
  16861. - tradeamount
  16862. - tradedate
  16863. - tradeid
  16864. - tradeprice
  16865. - tradeqty
  16866. - tradetime
  16867. type: object
  16868. order.QueryHisTradeOrderDetailRsp:
  16869. properties:
  16870. accountid:
  16871. description: 账户ID[报价币种]
  16872. type: integer
  16873. buildtype:
  16874. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16875. type: integer
  16876. buyorsell:
  16877. description: 买卖 - 0:买 1:卖
  16878. type: integer
  16879. cancelorderid:
  16880. description: 撤单单号(撤单时填写)
  16881. type: string
  16882. cancelqty:
  16883. description: 撤单数量
  16884. type: number
  16885. clientordertime:
  16886. description: 客户端委托时间
  16887. type: string
  16888. clientticket:
  16889. description: 客户端流水号
  16890. type: string
  16891. clienttype:
  16892. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16893. type: integer
  16894. closeexchagechargevalue:
  16895. description: 平仓交易所手续费设置值
  16896. type: number
  16897. closefeealgorithm:
  16898. description: 平仓手续费收取方式 1:比率 2:固定
  16899. type: integer
  16900. closefreezecharge:
  16901. description: 平仓冻结手续费(先建后平操作,需要记录)
  16902. type: number
  16903. closememberchargevalue:
  16904. description: 平仓会员手续费设置值
  16905. type: number
  16906. closeqty:
  16907. description: 平仓数量(先建后平操作 需要记录)
  16908. type: number
  16909. closetradeqty:
  16910. description: 平仓成交数量(先建后平操作,需要记录)
  16911. type: number
  16912. closeunfreezecharge:
  16913. description: 平仓解冻手续费(先建后平操作,需要记录)
  16914. type: number
  16915. decimalplace:
  16916. description: 商品报价小数位
  16917. type: integer
  16918. delistingtype:
  16919. description: 摘牌类型 - 1:价格最优 2:点选成交
  16920. type: integer
  16921. enumdicname:
  16922. description: 单位名称
  16923. type: string
  16924. freezecharge:
  16925. description: 冻结手续费
  16926. type: number
  16927. freezemargin:
  16928. description: 冻结保证金(冻结交易金额)
  16929. type: number
  16930. gcaccountid:
  16931. description: 账户ID[合约币种]
  16932. type: integer
  16933. goodscode:
  16934. description: 商品代码
  16935. type: string
  16936. goodsid:
  16937. description: 商品ID
  16938. type: integer
  16939. goodsname:
  16940. description: 商品名称
  16941. type: string
  16942. goodunitid:
  16943. description: 商品单位id
  16944. type: integer
  16945. histradedate:
  16946. description: 历史交易日
  16947. type: string
  16948. isconfirmexercise:
  16949. description: 是否确认行权- 0:否 1:是
  16950. type: integer
  16951. ispreexercise:
  16952. description: 是否预申报- 0:否 1:是
  16953. type: integer
  16954. isvaliddata:
  16955. description: 是否有效 - 0:无效 1:有效
  16956. type: integer
  16957. listingselecttype:
  16958. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16959. type: integer
  16960. marginalgorithm:
  16961. description: 保证金收取方式 1:比率 2:固定
  16962. type: integer
  16963. marginvalue:
  16964. description: 即市保证金设置值
  16965. type: number
  16966. marketid:
  16967. description: 市场ID
  16968. type: integer
  16969. marketmaxsub:
  16970. description: 市价最大偏移范围
  16971. type: number
  16972. marketname:
  16973. description: 市场名称
  16974. type: string
  16975. memberuserid:
  16976. description: 所属会员UserID
  16977. type: integer
  16978. openexchagechargevalue:
  16979. description: 建仓交易所手续费设置值
  16980. type: number
  16981. openfeealgorithm:
  16982. description: 建仓手续费收取方式 1:比率 2:固定
  16983. type: integer
  16984. openfreezecharge:
  16985. description: 开仓冻结手续费(先建后平操作,需要记录)
  16986. type: number
  16987. openmemberchargevalue:
  16988. description: 建仓会员手续费设置值
  16989. type: number
  16990. openqty:
  16991. description: 开仓数量(先建后平操作,需要记录)
  16992. type: number
  16993. opentradeqty:
  16994. description: 开仓成交数量(先建后平操作,需要记录)
  16995. type: number
  16996. openunfreezecharge:
  16997. description: 开仓解冻手续费(先建后平操作,需要记录)
  16998. type: number
  16999. operatetype:
  17000. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17001. type: integer
  17002. operatorid:
  17003. description: 登录账号(LoginID)
  17004. type: integer
  17005. optiontype:
  17006. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17007. type: integer
  17008. orderid:
  17009. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17010. type: string
  17011. orderprice:
  17012. description: 委托价格
  17013. type: number
  17014. orderqty:
  17015. description: 委托数量
  17016. type: number
  17017. ordersrc:
  17018. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17019. type: integer
  17020. orderstatus:
  17021. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17022. type: integer
  17023. ordertime:
  17024. description: 委托时间
  17025. type: string
  17026. preexerciseprice:
  17027. description: 预申报价格
  17028. type: number
  17029. premium:
  17030. description: 权利金
  17031. type: number
  17032. preorderid:
  17033. description: 关联预埋单号(止盈止损单时填写)
  17034. type: string
  17035. pricemode:
  17036. description: '取价方式 - 1:市价 2: 限价'
  17037. type: integer
  17038. qtydecimalplace:
  17039. description: 成交量小数位
  17040. type: integer
  17041. quoteid:
  17042. description: 报价单ID
  17043. type: integer
  17044. relatedid:
  17045. description: 关联单号(交割单)
  17046. type: string
  17047. retcode:
  17048. description: 错误代码
  17049. type: integer
  17050. sessionid:
  17051. description: 会话ID
  17052. type: integer
  17053. tradedate:
  17054. description: 交易日(yyyyMMdd)
  17055. type: string
  17056. trademode:
  17057. description: 交易模式
  17058. type: integer
  17059. tradeproperty:
  17060. description: 交易属性
  17061. type: integer
  17062. tradeqty:
  17063. description: 成交数量
  17064. type: number
  17065. unfreezecharge:
  17066. description: 解冻手续费
  17067. type: number
  17068. unfreezemargin:
  17069. description: 解冻保证金
  17070. type: number
  17071. updatetime:
  17072. description: 更新时间
  17073. type: string
  17074. uuid:
  17075. description: 发起端唯一id
  17076. type: string
  17077. validtime:
  17078. description: 有效期限
  17079. type: string
  17080. validtype:
  17081. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17082. type: integer
  17083. volumetype:
  17084. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17085. type: integer
  17086. required:
  17087. - accountid
  17088. - buildtype
  17089. - buyorsell
  17090. - goodsid
  17091. - histradedate
  17092. - marketid
  17093. - memberuserid
  17094. - operatetype
  17095. - orderid
  17096. - orderqty
  17097. - ordertime
  17098. - pricemode
  17099. - tradedate
  17100. - validtype
  17101. type: object
  17102. order.QueryTradeDetailRsp:
  17103. properties:
  17104. accountid:
  17105. description: 账户ID[报价币种]
  17106. type: integer
  17107. advanceratio:
  17108. description: 首付比率
  17109. type: number
  17110. buildtype:
  17111. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17112. type: integer
  17113. buyorsell:
  17114. description: 方向 - 0:买 1:卖
  17115. type: integer
  17116. charge:
  17117. description: 手续费
  17118. type: number
  17119. closecharge:
  17120. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17121. type: number
  17122. closeexchagechargevalue:
  17123. description: 平仓交易所手续费设置值
  17124. type: number
  17125. closefeealgorithm:
  17126. description: 平仓手续费收取方式 1:比率 2:固定
  17127. type: integer
  17128. closememberchargevalue:
  17129. description: 平仓会员手续费设置值
  17130. type: number
  17131. closepl:
  17132. description: 平仓盈亏
  17133. type: number
  17134. closepl2:
  17135. description: 平仓盈亏[逐笔]
  17136. type: number
  17137. closeqty:
  17138. description: 平仓数量(先建后平操作 需要记录)
  17139. type: number
  17140. creditamount:
  17141. description: 授信金额
  17142. type: number
  17143. decimalplace:
  17144. description: 商品报价小数位
  17145. type: integer
  17146. enumdicname:
  17147. description: 单位名称
  17148. type: string
  17149. gcaccountid:
  17150. description: 账户ID[合约币种]
  17151. type: integer
  17152. goodscode:
  17153. description: 商品代码
  17154. type: string
  17155. goodsid:
  17156. description: 商品ID
  17157. type: integer
  17158. goodsname:
  17159. description: 商品名称
  17160. type: string
  17161. goodunitid:
  17162. description: 商品单位id
  17163. type: integer
  17164. intclosepl:
  17165. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17166. type: integer
  17167. isconfirmexercise:
  17168. description: 是否确认行权- 0:否 1:是
  17169. type: integer
  17170. ismain:
  17171. description: 是否主单 - 0:不是 1:是
  17172. type: integer
  17173. ispreexercise:
  17174. description: 是否预申报- 0:否 1:是
  17175. type: integer
  17176. isreckoned:
  17177. description: 是否结算 - 0:未结算 1:已结算
  17178. type: integer
  17179. listingselecttype:
  17180. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17181. type: integer
  17182. marketid:
  17183. description: 市场ID
  17184. type: integer
  17185. marketname:
  17186. description: 市场名称
  17187. type: string
  17188. matchaccountid:
  17189. description: 对手账号id
  17190. type: integer
  17191. memberuserid:
  17192. description: 会员id 个人投资者 需要填写
  17193. type: integer
  17194. opencharge:
  17195. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17196. type: number
  17197. openexchagechargevalue:
  17198. description: 建仓交易所手续费设置值
  17199. type: number
  17200. openfeealgorithm:
  17201. description: 建仓手续费收取方式 1:比率 2:固定
  17202. type: integer
  17203. openmemberchargevalue:
  17204. description: 建仓会员手续费设置值
  17205. type: number
  17206. openqty:
  17207. description: 开仓数量(先建后平操作 需要记录)
  17208. type: number
  17209. optiontype:
  17210. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17211. type: integer
  17212. orderid:
  17213. description: 委托单号
  17214. type: string
  17215. payamount:
  17216. description: 支付金额(付款金额)
  17217. type: number
  17218. performanceplanid:
  17219. description: 履约计划ID[期权]
  17220. type: integer
  17221. performancestatus:
  17222. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17223. type: integer
  17224. preexerciseprice:
  17225. description: 预申报价格
  17226. type: number
  17227. premium:
  17228. description: 权利金 - [持仓单的权利金]
  17229. type: number
  17230. qtydecimalplace:
  17231. description: 商品报价小数位
  17232. type: integer
  17233. recvamount:
  17234. description: 到账金额 = 成交金额 - 手续费
  17235. type: number
  17236. relatedouttradeid:
  17237. description: 关联外部成交单ID
  17238. type: integer
  17239. status:
  17240. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17241. type: integer
  17242. totalamount:
  17243. description: 订单总额 = 成交金额 + 手续费
  17244. type: number
  17245. tradeamount:
  17246. description: 成交金额[账户币种,用于所有权]
  17247. type: number
  17248. tradedate:
  17249. description: 交易日(yyyyMMdd)
  17250. type: string
  17251. tradeid:
  17252. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17253. type: string
  17254. trademode:
  17255. description: 交易模式
  17256. type: integer
  17257. tradeprice:
  17258. description: 成交价格
  17259. type: number
  17260. tradeproperty:
  17261. description: 交易属性
  17262. type: integer
  17263. tradeqty:
  17264. description: 成交数量
  17265. type: number
  17266. tradetime:
  17267. description: 成交时间
  17268. type: string
  17269. tradetype:
  17270. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17271. type: integer
  17272. required:
  17273. - accountid
  17274. - buyorsell
  17275. - goodsid
  17276. - marketid
  17277. - memberuserid
  17278. - orderid
  17279. - tradeamount
  17280. - tradedate
  17281. - tradeid
  17282. - tradeprice
  17283. - tradeqty
  17284. - tradetime
  17285. type: object
  17286. order.QueryTradeOrderDetailRsp:
  17287. properties:
  17288. accountid:
  17289. description: 账户ID[报价币种]
  17290. type: integer
  17291. buildtype:
  17292. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17293. type: integer
  17294. buyorsell:
  17295. description: 买卖 - 0:买 1:卖
  17296. type: integer
  17297. cancelorderid:
  17298. description: 撤单单号(撤单时填写)
  17299. type: string
  17300. cancelqty:
  17301. description: 撤单数量
  17302. type: number
  17303. clienttype:
  17304. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17305. type: integer
  17306. closefreezecharge:
  17307. description: 平仓冻结手续费(先建后平操作,需要记录)
  17308. type: number
  17309. closeqty:
  17310. description: 平仓数量(先建后平操作 需要记录)
  17311. type: number
  17312. closetradeqty:
  17313. description: 平仓成交数量(先建后平操作,需要记录)
  17314. type: number
  17315. closeunfreezecharge:
  17316. description: 平仓解冻手续费(先建后平操作,需要记录)
  17317. type: number
  17318. decimalplace:
  17319. description: 商品报价小数位
  17320. type: integer
  17321. delistingtype:
  17322. description: 摘牌类型 - 1:价格最优 2:点选成交
  17323. type: integer
  17324. enableqty:
  17325. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17326. type: number
  17327. enumdicname:
  17328. description: 单位名称
  17329. type: string
  17330. freezecharge:
  17331. description: 冻结手续费
  17332. type: number
  17333. freezemargin:
  17334. description: 冻结保证金(冻结交易金额)
  17335. type: number
  17336. goodscode:
  17337. description: 商品代码
  17338. type: string
  17339. goodsid:
  17340. description: 商品ID
  17341. type: integer
  17342. goodsname:
  17343. description: 商品名称
  17344. type: string
  17345. goodunitid:
  17346. description: 商品单位id
  17347. type: integer
  17348. listingselecttype:
  17349. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17350. type: integer
  17351. marketid:
  17352. description: 市场ID
  17353. type: integer
  17354. marketname:
  17355. description: 市场名称
  17356. type: string
  17357. openfreezecharge:
  17358. description: 开仓冻结手续费(先建后平操作,需要记录)
  17359. type: number
  17360. openqty:
  17361. description: 开仓数量(先建后平操作,需要记录)
  17362. type: number
  17363. opentradeqty:
  17364. description: 开仓成交数量(先建后平操作,需要记录)
  17365. type: number
  17366. openunfreezecharge:
  17367. description: 开仓解冻手续费(先建后平操作,需要记录)
  17368. type: number
  17369. operatetype:
  17370. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17371. type: integer
  17372. operatorid:
  17373. description: 登录账号(LoginID)
  17374. type: integer
  17375. orderid:
  17376. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17377. type: string
  17378. orderprice:
  17379. description: 委托价格
  17380. type: number
  17381. orderqty:
  17382. description: 委托数量
  17383. type: number
  17384. ordersrc:
  17385. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17386. type: integer
  17387. orderstatus:
  17388. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17389. type: integer
  17390. ordertime:
  17391. description: 委托时间
  17392. type: string
  17393. preorderid:
  17394. description: 关联预埋单号(止盈止损单时填写)
  17395. type: string
  17396. pricemode:
  17397. description: '取价方式 - 1:市价 2: 限价'
  17398. type: integer
  17399. qtydecimalplace:
  17400. description: 商品报价小数位
  17401. type: integer
  17402. relatedid:
  17403. description: 关联单号(交割单)
  17404. type: string
  17405. tradedate:
  17406. description: 交易日(yyyyMMdd)
  17407. type: string
  17408. trademode:
  17409. description: 交易模式
  17410. type: integer
  17411. tradeqty:
  17412. description: 成交数量
  17413. type: number
  17414. unfreezecharge:
  17415. description: 解冻手续费
  17416. type: number
  17417. unfreezemargin:
  17418. description: 解冻保证金
  17419. type: number
  17420. validtime:
  17421. description: 有效期限
  17422. type: string
  17423. validtype:
  17424. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17425. type: integer
  17426. volumetype:
  17427. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17428. type: integer
  17429. required:
  17430. - accountid
  17431. - buildtype
  17432. - buyorsell
  17433. - goodsid
  17434. - marketid
  17435. - operatetype
  17436. - orderqty
  17437. - ordertime
  17438. - pricemode
  17439. - tradedate
  17440. - validtype
  17441. type: object
  17442. order.QueryTradePositionRsp:
  17443. properties:
  17444. accountid:
  17445. description: 资金账户
  17446. type: integer
  17447. agreeunit:
  17448. description: 合约单位
  17449. type: number
  17450. averageprice:
  17451. description: 持仓均价
  17452. type: number
  17453. buyorsell:
  17454. description: 方向 - 0:买 1:卖
  17455. type: integer
  17456. closetotalqty:
  17457. description: 平仓总数量
  17458. type: number
  17459. curholderamount:
  17460. description: 当前持仓总金额[商品币种]
  17461. type: number
  17462. curpositionqty:
  17463. description: 当前持仓总数量
  17464. type: number
  17465. currencyid:
  17466. description: 报价货币ID
  17467. type: integer
  17468. curtdposition:
  17469. description: 期末今日头寸
  17470. type: number
  17471. decimalplace:
  17472. description: 报价小数位
  17473. type: integer
  17474. enableqty:
  17475. description: 可用量
  17476. type: number
  17477. fretdposition:
  17478. description: 冻结今日头寸
  17479. type: number
  17480. frozenqty:
  17481. description: 持仓冻结数量
  17482. type: number
  17483. goodscode:
  17484. description: 商品代码
  17485. type: string
  17486. goodsid:
  17487. description: 商品Id
  17488. type: integer
  17489. goodsname:
  17490. description: 商品名称
  17491. type: string
  17492. goodunit:
  17493. description: 报价单位
  17494. type: string
  17495. goodunitid:
  17496. description: 报价单位ID
  17497. type: integer
  17498. holderamount:
  17499. description: 期初持仓总金额[商品币种]
  17500. type: number
  17501. lastprice:
  17502. description: 最新价
  17503. type: number
  17504. marketamount:
  17505. description: 市值
  17506. type: number
  17507. marketid:
  17508. description: 所属市场ID
  17509. type: integer
  17510. openreqqty:
  17511. description: 开仓申请数量(用于比较最大持仓数量)
  17512. type: number
  17513. opentotalqty:
  17514. description: 开仓总数量
  17515. type: number
  17516. otherfrozenqty:
  17517. description: 持仓其他冻结数量(交割冻结)
  17518. type: number
  17519. positionpl:
  17520. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17521. type: number
  17522. positionplrate:
  17523. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17524. type: number
  17525. positionqty:
  17526. description: 期初持仓数量
  17527. type: number
  17528. qtydecimalplace:
  17529. description: 成交量小数位
  17530. type: integer
  17531. refgoodscode:
  17532. description: 参考商品代码
  17533. type: string
  17534. refgoodsid:
  17535. description: 参考商品ID
  17536. type: integer
  17537. tnqty:
  17538. description: T+N冻结总量
  17539. type: number
  17540. tnusedqty:
  17541. description: T+N使用量(可以使用T+N的冻结数量)
  17542. type: number
  17543. trademode:
  17544. description: 交易模式
  17545. type: integer
  17546. tradeproperty:
  17547. description: 交易属性
  17548. type: integer
  17549. usedmargin:
  17550. description: 占用保证金[商品币种]
  17551. type: number
  17552. required:
  17553. - goodsid
  17554. type: object
  17555. pb.GoodsMarginCfgStruct:
  17556. properties:
  17557. CustomerTypeID:
  17558. description: 投资者客户类型
  17559. type: integer
  17560. GoodsID:
  17561. description: 商品ID
  17562. type: integer
  17563. IsDefault:
  17564. description: 是否默认标志位
  17565. type: integer
  17566. LockMarginValue:
  17567. description: 锁仓保证金
  17568. type: number
  17569. MarginAlgorithm:
  17570. description: 保证金计算方式
  17571. type: integer
  17572. MarketMarginValue:
  17573. description: 即市保证金值
  17574. type: number
  17575. RealMarginAlgorithm:
  17576. description: 实付保证金计算方式
  17577. type: integer
  17578. RealMarginValue:
  17579. description: 实付比例
  17580. type: number
  17581. ReckonMarginValue:
  17582. description: 结算保证金值
  17583. type: number
  17584. type: object
  17585. quote.HistoryData:
  17586. properties:
  17587. c:
  17588. description: 收盘价
  17589. type: number
  17590. f:
  17591. description: 是否补充数据
  17592. type: boolean
  17593. h:
  17594. description: 最高价
  17595. type: number
  17596. hv:
  17597. description: 持仓量
  17598. type: integer
  17599. l:
  17600. description: 最低价
  17601. type: number
  17602. o:
  17603. description: 开盘价
  17604. type: number
  17605. s:
  17606. description: 结算价,日线周期(包括)以上才有
  17607. type: number
  17608. ts:
  17609. description: 时间
  17610. type: string
  17611. tt:
  17612. description: 总金额
  17613. type: number
  17614. tv:
  17615. description: 总量(成交量)
  17616. type: integer
  17617. type: object
  17618. quote.HistoryTikData:
  17619. properties:
  17620. AV:
  17621. description: 卖量
  17622. type: integer
  17623. Ask:
  17624. description: 卖价
  17625. type: number
  17626. BV:
  17627. description: 买量
  17628. type: integer
  17629. Bid:
  17630. description: 买价
  17631. type: number
  17632. HI:
  17633. description: 单笔持仓
  17634. type: integer
  17635. HV:
  17636. description: 持仓量
  17637. type: integer
  17638. PE:
  17639. description: 现价
  17640. type: number
  17641. TDR:
  17642. description: 交易方向,0:买 1:卖
  17643. type: integer
  17644. TK:
  17645. description: 交易类型
  17646. type: integer
  17647. TS:
  17648. description: 行情时间文本
  17649. type: string
  17650. TT:
  17651. description: 现金额
  17652. type: number
  17653. Vol:
  17654. description: 现量
  17655. type: integer
  17656. type: object
  17657. quote.QueryQuoteDayRsp:
  17658. properties:
  17659. ask:
  17660. description: 卖1
  17661. type: number
  17662. ask2:
  17663. description: 卖2
  17664. type: number
  17665. ask3:
  17666. description: 卖3
  17667. type: number
  17668. ask4:
  17669. description: 卖4
  17670. type: number
  17671. ask5:
  17672. description: 卖5
  17673. type: number
  17674. ask6:
  17675. description: 卖6
  17676. type: number
  17677. ask7:
  17678. description: 卖7
  17679. type: number
  17680. ask8:
  17681. description: 卖8
  17682. type: number
  17683. ask9:
  17684. description: 卖9
  17685. type: number
  17686. ask10:
  17687. description: 卖10
  17688. type: number
  17689. askorderid:
  17690. description: 卖单号1
  17691. type: integer
  17692. askorderid2:
  17693. description: 卖单号2
  17694. type: integer
  17695. askorderid3:
  17696. description: 卖单号3
  17697. type: integer
  17698. askorderid4:
  17699. description: 卖单号4
  17700. type: integer
  17701. askorderid5:
  17702. description: 卖单号5
  17703. type: integer
  17704. askordervolume:
  17705. description: 卖单量1
  17706. type: integer
  17707. askordervolume2:
  17708. description: 卖单量2
  17709. type: integer
  17710. askordervolume3:
  17711. description: 卖单量3
  17712. type: integer
  17713. askordervolume4:
  17714. description: 卖单量4
  17715. type: integer
  17716. askordervolume5:
  17717. description: 卖单量5
  17718. type: integer
  17719. askordervolume6:
  17720. description: 卖单量6
  17721. type: integer
  17722. askordervolume7:
  17723. description: 卖单量7
  17724. type: integer
  17725. askordervolume8:
  17726. description: 卖单量8
  17727. type: integer
  17728. askordervolume9:
  17729. description: 卖单量9
  17730. type: integer
  17731. askordervolume10:
  17732. description: 卖单量10
  17733. type: integer
  17734. askqueueinfo:
  17735. description: 大利市卖港股用
  17736. type: string
  17737. askvolume:
  17738. description: 卖量1
  17739. type: integer
  17740. askvolume2:
  17741. description: 卖量2
  17742. type: integer
  17743. askvolume3:
  17744. description: 卖量3
  17745. type: integer
  17746. askvolume4:
  17747. description: 卖量4
  17748. type: integer
  17749. askvolume5:
  17750. description: 卖量5
  17751. type: integer
  17752. askvolume6:
  17753. description: 卖量6
  17754. type: integer
  17755. askvolume7:
  17756. description: 卖量7
  17757. type: integer
  17758. askvolume8:
  17759. description: 卖量8
  17760. type: integer
  17761. askvolume9:
  17762. description: 卖量9
  17763. type: integer
  17764. askvolume10:
  17765. description: 卖量10
  17766. type: integer
  17767. averageprice:
  17768. description: 均价
  17769. type: number
  17770. bid:
  17771. description: 买1
  17772. type: number
  17773. bid2:
  17774. description: 买2
  17775. type: number
  17776. bid3:
  17777. description: 买3
  17778. type: number
  17779. bid4:
  17780. description: 买4
  17781. type: number
  17782. bid5:
  17783. description: 买5
  17784. type: number
  17785. bid6:
  17786. description: 买6
  17787. type: number
  17788. bid7:
  17789. description: 买7
  17790. type: number
  17791. bid8:
  17792. description: 买8
  17793. type: number
  17794. bid9:
  17795. description: 买9
  17796. type: number
  17797. bid10:
  17798. description: 买10
  17799. type: number
  17800. bidorderid:
  17801. description: 买单号1
  17802. type: integer
  17803. bidorderid2:
  17804. description: 买单号2
  17805. type: integer
  17806. bidorderid3:
  17807. description: 买单号3
  17808. type: integer
  17809. bidorderid4:
  17810. description: 买单号4
  17811. type: integer
  17812. bidorderid5:
  17813. description: 买单号5
  17814. type: integer
  17815. bidordervolume:
  17816. description: 买单量1
  17817. type: integer
  17818. bidordervolume2:
  17819. description: 买单量2
  17820. type: integer
  17821. bidordervolume3:
  17822. description: 买单量3
  17823. type: integer
  17824. bidordervolume4:
  17825. description: 买单量4
  17826. type: integer
  17827. bidordervolume5:
  17828. description: 买单量5
  17829. type: integer
  17830. bidordervolume6:
  17831. description: 买单量6
  17832. type: integer
  17833. bidordervolume7:
  17834. description: 买单量7
  17835. type: integer
  17836. bidordervolume8:
  17837. description: 买单量8
  17838. type: integer
  17839. bidordervolume9:
  17840. description: 买单量9
  17841. type: integer
  17842. bidordervolume10:
  17843. description: 买单量10
  17844. type: integer
  17845. bidqueueinfo:
  17846. description: 大利市买港股用
  17847. type: string
  17848. bidvolume:
  17849. description: 买量1
  17850. type: integer
  17851. bidvolume2:
  17852. description: 买量2
  17853. type: integer
  17854. bidvolume3:
  17855. description: 买量3
  17856. type: integer
  17857. bidvolume4:
  17858. description: 买量4
  17859. type: integer
  17860. bidvolume5:
  17861. description: 买量5
  17862. type: integer
  17863. bidvolume6:
  17864. description: 买量6
  17865. type: integer
  17866. bidvolume7:
  17867. description: 买量7
  17868. type: integer
  17869. bidvolume8:
  17870. description: 买量8
  17871. type: integer
  17872. bidvolume9:
  17873. description: 买量9
  17874. type: integer
  17875. bidvolume10:
  17876. description: 买量10
  17877. type: integer
  17878. calloptionpremiums:
  17879. description: 认购期权1
  17880. type: integer
  17881. calloptionpremiums2:
  17882. description: 认购期权2
  17883. type: integer
  17884. calloptionpremiums3:
  17885. description: 认购期权3
  17886. type: integer
  17887. calloptionpremiums4:
  17888. description: 认购期权4
  17889. type: integer
  17890. calloptionpremiums5:
  17891. description: 认购期权5
  17892. type: integer
  17893. cleartime:
  17894. description: 清盘时间
  17895. type: integer
  17896. exchangecode:
  17897. description: 交易所代码
  17898. type: integer
  17899. exchangedate:
  17900. description: 交易日
  17901. type: integer
  17902. goodscode:
  17903. description: 商品代码
  17904. type: string
  17905. grepmarketprice:
  17906. description: 暗盘价 港股专用
  17907. type: number
  17908. highest:
  17909. description: 最高价
  17910. type: number
  17911. holdincrement:
  17912. description: 单笔持仓
  17913. type: integer
  17914. holdvolume:
  17915. description: 持仓
  17916. type: integer
  17917. iep:
  17918. description: 平衡价 港股专用
  17919. type: number
  17920. iev:
  17921. description: 平衡量 港股专用
  17922. type: number
  17923. inventory:
  17924. description: 库存
  17925. type: integer
  17926. iscleared:
  17927. description: 是否清盘标志
  17928. type: integer
  17929. issettled:
  17930. description: 是否结算标志
  17931. type: integer
  17932. last:
  17933. description: 最新价
  17934. type: number
  17935. lastlot:
  17936. description: 最新成交手数
  17937. type: integer
  17938. lasttime:
  17939. description: 行情时间(只有现价变化行情时间才变化)
  17940. type: string
  17941. lastturnover:
  17942. description: 最新成交金额
  17943. type: number
  17944. lastvolume:
  17945. description: 最新成交量
  17946. type: integer
  17947. limitdown:
  17948. description: 跌停价
  17949. type: number
  17950. limitup:
  17951. description: 涨停价
  17952. type: number
  17953. lowest:
  17954. description: 最低价
  17955. type: number
  17956. nontotalholdervolume:
  17957. description: 非交易持仓量
  17958. type: integer
  17959. nontotallot:
  17960. description: 非交易总手数
  17961. type: integer
  17962. nontotalturnover:
  17963. description: 非交易总金额
  17964. type: integer
  17965. nontotalvolume:
  17966. description: 非交易总量
  17967. type: integer
  17968. opened:
  17969. description: 开盘价
  17970. type: number
  17971. opentime:
  17972. description: 开盘时间
  17973. type: string
  17974. orderid:
  17975. description: 序号
  17976. type: integer
  17977. preclose:
  17978. description: 昨收
  17979. type: number
  17980. preholdvolume:
  17981. description: 昨持仓
  17982. type: integer
  17983. presettle:
  17984. description: 昨结价
  17985. type: number
  17986. publictradetype:
  17987. description: 公共交易标志类型 港股专用
  17988. type: string
  17989. putoptionpremiums:
  17990. description: 认沽期权1
  17991. type: integer
  17992. putoptionpremiums2:
  17993. description: 认沽期权2
  17994. type: integer
  17995. putoptionpremiums3:
  17996. description: 认沽期权3
  17997. type: integer
  17998. putoptionpremiums4:
  17999. description: 认沽期权4
  18000. type: integer
  18001. putoptionpremiums5:
  18002. description: 认沽期权5
  18003. type: integer
  18004. settle:
  18005. description: 结算价
  18006. type: number
  18007. strikeprice:
  18008. description: 发行价
  18009. type: number
  18010. totalaskvolume:
  18011. description: 内盘
  18012. type: integer
  18013. totalbidvolume:
  18014. description: 外盘
  18015. type: integer
  18016. totallot:
  18017. description: 总手数
  18018. type: integer
  18019. totalturnover:
  18020. description: 总金额
  18021. type: number
  18022. totalvolume:
  18023. description: 总量
  18024. type: integer
  18025. utclasttime:
  18026. description: utc的行情时间
  18027. type: string
  18028. type: object
  18029. quote.QueryTSDataRsp:
  18030. properties:
  18031. Count:
  18032. description: 交易日应有数据个数
  18033. type: integer
  18034. decimalPlace:
  18035. description: 小数位
  18036. type: integer
  18037. endTime:
  18038. description: 结束时间
  18039. type: string
  18040. goodsCode:
  18041. description: 商品代码
  18042. type: string
  18043. historyDatas:
  18044. description: 历史数据
  18045. items:
  18046. $ref: '#/definitions/quote.HistoryData'
  18047. type: array
  18048. outGoodsCode:
  18049. description: 外部商品代码
  18050. type: string
  18051. preSettle:
  18052. description: 昨结价
  18053. type: number
  18054. runSteps:
  18055. description: 交易日开休市计划
  18056. items:
  18057. $ref: '#/definitions/quote.TSDataRunStep'
  18058. type: array
  18059. startTime:
  18060. description: 开始时间
  18061. type: string
  18062. tradeDate:
  18063. description: 交易日
  18064. type: string
  18065. type: object
  18066. quote.TSDataRunStep:
  18067. properties:
  18068. end:
  18069. description: 真实结束时间
  18070. type: string
  18071. endflag:
  18072. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18073. type: integer
  18074. endtime:
  18075. description: 结束时间(HH:mm)
  18076. type: string
  18077. endweekday:
  18078. description: 结束周几
  18079. type: integer
  18080. groupid:
  18081. description: 分组ID
  18082. type: integer
  18083. runstep:
  18084. description: 运行阶段 - 2:连续交易
  18085. type: integer
  18086. sectionid:
  18087. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18088. type: integer
  18089. start:
  18090. description: 真实开始时间
  18091. type: string
  18092. startflag:
  18093. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18094. type: integer
  18095. starttime:
  18096. description: 起始时间(HH:mm)
  18097. type: string
  18098. startweekday:
  18099. description: 起始周几
  18100. type: integer
  18101. tradeweekday:
  18102. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18103. type: integer
  18104. type: object
  18105. szdz.QueryConvertLogRsp:
  18106. properties:
  18107. accountid:
  18108. description: 资金账户ID
  18109. type: integer
  18110. clientticket:
  18111. description: 客户端流水号
  18112. type: string
  18113. converttype:
  18114. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18115. type: integer
  18116. createtime:
  18117. description: 记账时间
  18118. type: string
  18119. daymaxvalue:
  18120. description: 配置当日最大转入限制
  18121. type: number
  18122. daymaxvalue2:
  18123. description: 配置当日最大转入限制(转入)
  18124. type: number
  18125. goodscode:
  18126. description: 商品代码
  18127. type: string
  18128. goodsname:
  18129. description: 商品名称
  18130. type: string
  18131. handlestatus:
  18132. description: 处理状态
  18133. type: integer
  18134. innergoodsid:
  18135. description: 内部商品ID
  18136. type: integer
  18137. inratio:
  18138. description: 配置转入比值
  18139. type: integer
  18140. invalue:
  18141. description: 目标值
  18142. type: number
  18143. logid:
  18144. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18145. type: integer
  18146. mobile:
  18147. description: 手机号码(加密存储)
  18148. type: string
  18149. outergoodscode:
  18150. description: 外部商品代码[JD\PD]
  18151. type: string
  18152. outratio:
  18153. description: 配置转出比值
  18154. type: integer
  18155. outvalue:
  18156. description: 源值
  18157. type: number
  18158. pddecimalplace:
  18159. description: PD小数位
  18160. type: integer
  18161. qty:
  18162. description: 数量
  18163. type: string
  18164. remark:
  18165. description: 备注
  18166. type: string
  18167. sessionid:
  18168. description: 会话ID
  18169. type: integer
  18170. timemaxvalue:
  18171. description: 配置单次最大转入限制
  18172. type: number
  18173. timemaxvalue2:
  18174. description: 配置单次最大转入限制(转入)
  18175. type: number
  18176. timeminvalue:
  18177. description: 配置单次最小数量限制
  18178. type: number
  18179. timeminvalue2:
  18180. description: 配置单次最小数量限制(转入)
  18181. type: number
  18182. tradedate:
  18183. description: 交易日(yyyyMMdd)
  18184. type: string
  18185. userid:
  18186. description: 用户ID
  18187. type: integer
  18188. required:
  18189. - logid
  18190. type: object
  18191. szdz.QueryGoodsPickupRsp:
  18192. properties:
  18193. accountid:
  18194. description: 账户ID
  18195. type: integer
  18196. address:
  18197. description: 提货人详细地址
  18198. type: string
  18199. auditer:
  18200. description: 审核人
  18201. type: integer
  18202. audittime:
  18203. description: 审核时间
  18204. type: string
  18205. cardnum:
  18206. description: 提货人证件号码
  18207. type: string
  18208. cardtypeid:
  18209. description: 提货人证件类型
  18210. type: integer
  18211. checkremark:
  18212. description: 审核备注
  18213. type: string
  18214. goodscode:
  18215. description: 商品代码
  18216. type: string
  18217. goodsid:
  18218. description: 商品ID
  18219. type: integer
  18220. goodsname:
  18221. description: 商品名称
  18222. type: string
  18223. handlestatus:
  18224. description: 处理状态
  18225. type: integer
  18226. marketid:
  18227. description: 市场ID
  18228. type: integer
  18229. phonenum:
  18230. description: 提货人联系方式
  18231. type: string
  18232. qty:
  18233. description: 提货数量
  18234. type: number
  18235. recivername:
  18236. description: 提货人姓名
  18237. type: string
  18238. reqtime:
  18239. description: 更新时间
  18240. type: string
  18241. takemode:
  18242. description: 提货方式 - 2:自提 3:配送
  18243. type: integer
  18244. takeorderid:
  18245. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18246. type: string
  18247. takeorderstatus:
  18248. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18249. type: integer
  18250. takeremark:
  18251. description: 提货备注
  18252. type: string
  18253. tradedate:
  18254. description: 交易日(yyyyMMdd)
  18255. type: string
  18256. userid:
  18257. description: 用户ID
  18258. type: integer
  18259. required:
  18260. - takeorderid
  18261. type: object
  18262. szdz.QueryRecieptOrderRsp:
  18263. properties:
  18264. accountName:
  18265. description: 所属账号名称(已脱敏)
  18266. type: string
  18267. accountid:
  18268. description: 资金账号
  18269. type: integer
  18270. buyorsell:
  18271. description: 方向 - 0:买 1:卖
  18272. type: integer
  18273. enableqty:
  18274. description: 可摘数量
  18275. type: integer
  18276. goodscode:
  18277. description: 商品代码
  18278. type: string
  18279. goodsid:
  18280. description: 商品ID
  18281. type: integer
  18282. goodsname:
  18283. description: 商品名称
  18284. type: string
  18285. orderid:
  18286. description: 委托单号
  18287. type: string
  18288. orderprice:
  18289. description: 委托价格
  18290. type: number
  18291. ordertime:
  18292. description: 委托时间
  18293. type: string
  18294. tradedate:
  18295. description: 交易日(yyyyMMdd)
  18296. type: string
  18297. required:
  18298. - ordertime
  18299. type: object
  18300. szdz.QuerySZDZTradePositionRsp:
  18301. properties:
  18302. accountid:
  18303. description: 账号Id
  18304. type: integer
  18305. agreeunit:
  18306. description: 合约单位
  18307. type: number
  18308. averageprice:
  18309. description: 持仓均价
  18310. type: number
  18311. buyorsell:
  18312. description: 方向 - 0:买 1:卖
  18313. type: integer
  18314. closetotalqty:
  18315. description: 平仓总数量
  18316. type: integer
  18317. curholderamount:
  18318. description: 当前持仓总金额
  18319. type: number
  18320. curpositionqty:
  18321. description: 当前持仓总数量
  18322. type: integer
  18323. currencyid:
  18324. description: 报价货币ID
  18325. type: integer
  18326. curtdposition:
  18327. description: 期末今日头寸
  18328. type: integer
  18329. decimalplace:
  18330. description: 报价小数位
  18331. type: integer
  18332. enableqty:
  18333. description: 可用量
  18334. type: integer
  18335. fretdposition:
  18336. description: 冻结今日头寸
  18337. type: integer
  18338. frozenqty:
  18339. description: 持仓冻结数量
  18340. type: integer
  18341. goodscode:
  18342. description: 商品代码(内部)
  18343. type: string
  18344. goodsid:
  18345. description: 商品Id
  18346. type: integer
  18347. goodsname:
  18348. description: 商品名称
  18349. type: string
  18350. goodunit:
  18351. description: 报价单位
  18352. type: string
  18353. goodunitid:
  18354. description: 报价单位ID
  18355. type: integer
  18356. holderamount:
  18357. description: 期初持仓总金额
  18358. type: number
  18359. marketid:
  18360. description: 市场ID
  18361. type: integer
  18362. openreqqty:
  18363. description: 开仓申请数量
  18364. type: integer
  18365. opentotalqty:
  18366. description: 开仓总数量
  18367. type: integer
  18368. otherfrozenqty:
  18369. description: 持仓其他冻结数量(交割冻结)
  18370. type: integer
  18371. positionqty:
  18372. description: 期初持仓数量
  18373. type: integer
  18374. szdz3freezqty:
  18375. description: 尚志大宗转换冻结总数量
  18376. type: integer
  18377. tnqty:
  18378. description: T+N冻结总量
  18379. type: integer
  18380. tnusedqty:
  18381. description: T+N使用量
  18382. type: integer
  18383. trademode:
  18384. description: 交易模式
  18385. type: integer
  18386. usedmargin:
  18387. description: 占用保证金
  18388. type: number
  18389. type: object
  18390. taaccount.QueryAmountLogRsp:
  18391. properties:
  18392. OPERATETYPENAME:
  18393. description: 资金操作类型名称
  18394. type: string
  18395. accountid:
  18396. description: 资金账户ID
  18397. type: integer
  18398. agoodscode:
  18399. description: 竞拍商品代码
  18400. type: string
  18401. agoodsname:
  18402. description: 竞拍商品名称
  18403. type: string
  18404. amount:
  18405. description: 资金金额
  18406. type: number
  18407. amountadjusttype:
  18408. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18409. type: integer
  18410. autoid:
  18411. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18412. type: integer
  18413. balance:
  18414. description: 期初余额
  18415. type: number
  18416. businesscode:
  18417. description: 业务编号
  18418. type: integer
  18419. createtime:
  18420. description: 发生时间
  18421. type: string
  18422. currencyid:
  18423. description: 币种ID
  18424. type: integer
  18425. currentbalance:
  18426. description: 期末余额(变动后金额)
  18427. type: number
  18428. dgoodscode:
  18429. description: 交割商品代码
  18430. type: string
  18431. dgoodsname:
  18432. description: 交割商品名称
  18433. type: string
  18434. goodscode:
  18435. description: 商品代码
  18436. type: string
  18437. goodsid:
  18438. description: 商品ID
  18439. type: integer
  18440. goodsname:
  18441. description: 商品名称
  18442. type: string
  18443. marketid:
  18444. description: 市场ID
  18445. type: integer
  18446. marketname:
  18447. description: 市场名称
  18448. type: string
  18449. moneyticket:
  18450. description: 资金流水号:银行端流水号
  18451. type: integer
  18452. operatetype:
  18453. 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:营销收款
  18454. type: integer
  18455. relationorderid:
  18456. description: 关联单号
  18457. type: string
  18458. remark:
  18459. description: 备注
  18460. type: string
  18461. trademode:
  18462. description: 交易模式
  18463. type: integer
  18464. required:
  18465. - accountid
  18466. - amount
  18467. - amountadjusttype
  18468. - autoid
  18469. - balance
  18470. - createtime
  18471. - currentbalance
  18472. - operatetype
  18473. type: object
  18474. taaccount.QueryHisAmountLogRsp:
  18475. properties:
  18476. OPERATETYPENAME:
  18477. description: 资金操作类型名称
  18478. type: string
  18479. accountid:
  18480. description: 资金账户ID
  18481. type: integer
  18482. agoodscode:
  18483. description: 竞拍商品代码
  18484. type: string
  18485. agoodsname:
  18486. description: 竞拍商品名称
  18487. type: string
  18488. amount:
  18489. description: 资金金额
  18490. type: number
  18491. amountadjusttype:
  18492. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18493. type: integer
  18494. autoid:
  18495. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18496. type: integer
  18497. balance:
  18498. description: 期初余额
  18499. type: number
  18500. businesscode:
  18501. description: 业务编号
  18502. type: integer
  18503. createtime:
  18504. description: 发生时间
  18505. type: string
  18506. currencyid:
  18507. description: 币种ID
  18508. type: integer
  18509. currentbalance:
  18510. description: 期末余额(变动后金额)
  18511. type: number
  18512. dgoodscode:
  18513. description: 交割商品代码
  18514. type: string
  18515. dgoodsname:
  18516. description: 交割商品名称
  18517. type: string
  18518. goodscode:
  18519. description: 商品代码
  18520. type: string
  18521. goodsid:
  18522. description: 商品ID
  18523. type: integer
  18524. goodsname:
  18525. description: 商品名称
  18526. type: string
  18527. histradedate:
  18528. description: 历史交易日
  18529. type: string
  18530. isvaliddata:
  18531. description: 是否有效 - 0:无效 1:有效
  18532. type: integer
  18533. marketid:
  18534. description: 市场ID
  18535. type: integer
  18536. marketname:
  18537. description: 市场名称
  18538. type: string
  18539. moneyticket:
  18540. description: 资金流水号:银行端流水号
  18541. type: integer
  18542. operatetype:
  18543. 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:营销收款
  18544. type: integer
  18545. relationorderid:
  18546. description: 关联单号
  18547. type: string
  18548. remark:
  18549. description: 备注
  18550. type: string
  18551. trademode:
  18552. description: 交易模式
  18553. type: integer
  18554. required:
  18555. - accountid
  18556. - amount
  18557. - amountadjusttype
  18558. - autoid
  18559. - balance
  18560. - createtime
  18561. - currentbalance
  18562. - histradedate
  18563. - operatetype
  18564. type: object
  18565. trade.QueryRecieptOrderRsp:
  18566. properties:
  18567. accountName:
  18568. description: 所属账号名称(已脱敏)
  18569. type: string
  18570. accountid:
  18571. description: 资金账号
  18572. type: integer
  18573. buyorsell:
  18574. description: 方向 - 0:买 1:卖
  18575. type: integer
  18576. enableqty:
  18577. description: 可摘数量
  18578. type: integer
  18579. goodscode:
  18580. description: 商品代码
  18581. type: string
  18582. goodsid:
  18583. description: 商品ID
  18584. type: integer
  18585. goodsname:
  18586. description: 商品名称
  18587. type: string
  18588. orderid:
  18589. description: 委托单号
  18590. type: string
  18591. orderprice:
  18592. description: 委托价格
  18593. type: number
  18594. ordertime:
  18595. description: 委托时间
  18596. type: string
  18597. tradedate:
  18598. description: 交易日(yyyyMMdd)
  18599. type: string
  18600. required:
  18601. - ordertime
  18602. type: object
  18603. user.LoginQueryRsp:
  18604. properties:
  18605. areaRoles:
  18606. description: 所属角色信息
  18607. items:
  18608. $ref: '#/definitions/models.Arearole'
  18609. type: array
  18610. externalExchanges:
  18611. description: 外部交易所
  18612. items:
  18613. $ref: '#/definitions/models.Externalexchange'
  18614. type: array
  18615. goodsgroups:
  18616. description: 商品组
  18617. items:
  18618. $ref: '#/definitions/models.Goodsgroup'
  18619. type: array
  18620. loginAccount:
  18621. $ref: '#/definitions/models.Loginaccount'
  18622. description: 登录账号
  18623. markets:
  18624. description: 市场
  18625. items:
  18626. $ref: '#/definitions/models.Market'
  18627. type: array
  18628. systemParams:
  18629. description: 系统参数
  18630. items:
  18631. $ref: '#/definitions/models.Systemparam'
  18632. type: array
  18633. userAccount:
  18634. $ref: '#/definitions/models.Useraccount'
  18635. description: 用户账号
  18636. userInfo:
  18637. $ref: '#/definitions/models.Userinfo'
  18638. description: 用户信息
  18639. username:
  18640. description: 用户姓名
  18641. type: string
  18642. type: object
  18643. info:
  18644. contact: {}
  18645. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18646. termsOfService: http://www.muchinfo.cn
  18647. title: MTP2.0 查询服务 API
  18648. version: "1.0"
  18649. paths:
  18650. /CPTrade/QueryCPTradeMyBidInfos:
  18651. get:
  18652. parameters:
  18653. - description: 资金账户
  18654. in: query
  18655. name: accountid
  18656. required: true
  18657. type: integer
  18658. - description: 预售市场ID
  18659. in: query
  18660. name: marketid
  18661. type: integer
  18662. - description: 预售商品ID
  18663. in: query
  18664. name: goodsid
  18665. type: integer
  18666. produces:
  18667. - application/json
  18668. responses:
  18669. "200":
  18670. description: OK
  18671. schema:
  18672. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18673. "500":
  18674. description: Internal Server Error
  18675. schema:
  18676. $ref: '#/definitions/app.Response'
  18677. security:
  18678. - ApiKeyAuth: []
  18679. summary: 查询产能预售我的出价信息
  18680. tags:
  18681. - 产能预售
  18682. /CPTrade/QueryCPTradeOrderDetail:
  18683. get:
  18684. parameters:
  18685. - description: 预售商品ID
  18686. in: query
  18687. name: goodsid
  18688. type: integer
  18689. - description: 预售市场ID
  18690. in: query
  18691. name: marketid
  18692. type: integer
  18693. - description: 预售商品ID列表 - 格式:1,2,3
  18694. in: query
  18695. name: goodsids
  18696. type: string
  18697. produces:
  18698. - application/json
  18699. responses:
  18700. "200":
  18701. description: OK
  18702. schema:
  18703. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18704. "500":
  18705. description: Internal Server Error
  18706. schema:
  18707. $ref: '#/definitions/app.Response'
  18708. security:
  18709. - ApiKeyAuth: []
  18710. summary: 查询产能预售委托单信息
  18711. tags:
  18712. - 产能预售
  18713. /CPTrade/QueryMyCPTradeGoods:
  18714. get:
  18715. parameters:
  18716. - description: 资金账户
  18717. in: query
  18718. name: accountid
  18719. required: true
  18720. type: integer
  18721. produces:
  18722. - application/json
  18723. responses:
  18724. "200":
  18725. description: OK
  18726. schema:
  18727. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18728. "500":
  18729. description: Internal Server Error
  18730. schema:
  18731. $ref: '#/definitions/app.Response'
  18732. security:
  18733. - ApiKeyAuth: []
  18734. summary: 查询我的预售信息
  18735. tags:
  18736. - 产能预售
  18737. /CPTrade/QueryPositionCancel:
  18738. get:
  18739. parameters:
  18740. - description: 账户ID
  18741. in: query
  18742. name: userid
  18743. required: true
  18744. type: integer
  18745. - description: 注销ID
  18746. in: query
  18747. name: cancelid
  18748. type: integer
  18749. - description: 资金账户ID
  18750. in: query
  18751. name: accountid
  18752. type: integer
  18753. produces:
  18754. - application/json
  18755. responses:
  18756. "200":
  18757. description: OK
  18758. schema:
  18759. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18760. "500":
  18761. description: Internal Server Error
  18762. schema:
  18763. $ref: '#/definitions/app.Response'
  18764. security:
  18765. - ApiKeyAuth: []
  18766. summary: 查询远期订单注销申请信息
  18767. tags:
  18768. - 产能预售
  18769. /CPTrade/QueryPreasleApply:
  18770. get:
  18771. parameters:
  18772. - description: 账户ID
  18773. in: query
  18774. name: userid
  18775. required: true
  18776. type: integer
  18777. - description: 申请ID
  18778. in: query
  18779. name: applyid
  18780. type: integer
  18781. - description: 资金账户ID
  18782. in: query
  18783. name: accountid
  18784. type: integer
  18785. produces:
  18786. - application/json
  18787. responses:
  18788. "200":
  18789. description: OK
  18790. schema:
  18791. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18792. "500":
  18793. description: Internal Server Error
  18794. schema:
  18795. $ref: '#/definitions/app.Response'
  18796. security:
  18797. - ApiKeyAuth: []
  18798. summary: 查询产能预售申请信息
  18799. tags:
  18800. - 产能预售
  18801. /CPTrade/QueryPresaleGoodsEx:
  18802. get:
  18803. parameters:
  18804. - description: 预售商品ID
  18805. in: query
  18806. name: goodsid
  18807. type: integer
  18808. - description: 预售市场ID
  18809. in: query
  18810. name: marketid
  18811. type: integer
  18812. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18813. in: query
  18814. name: presalemode
  18815. type: integer
  18816. - description: 预售商品ID列表 - 格式:1,2,3
  18817. in: query
  18818. name: goodsids
  18819. type: string
  18820. - description: 预售商品代码
  18821. in: query
  18822. name: goodscode
  18823. type: string
  18824. produces:
  18825. - application/json
  18826. responses:
  18827. "200":
  18828. description: OK
  18829. schema:
  18830. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18831. "500":
  18832. description: Internal Server Error
  18833. schema:
  18834. $ref: '#/definitions/app.Response'
  18835. security:
  18836. - ApiKeyAuth: []
  18837. summary: 查询产能预售商品扩展信息
  18838. tags:
  18839. - 产能预售
  18840. /CPTrade/QueryUserGoodsData:
  18841. get:
  18842. parameters:
  18843. - description: 资金账户ID
  18844. in: query
  18845. name: accountid
  18846. required: true
  18847. type: integer
  18848. produces:
  18849. - application/json
  18850. responses:
  18851. "200":
  18852. description: OK
  18853. schema:
  18854. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18855. "500":
  18856. description: Internal Server Error
  18857. schema:
  18858. $ref: '#/definitions/app.Response'
  18859. security:
  18860. - ApiKeyAuth: []
  18861. summary: 查询远期订单信息
  18862. tags:
  18863. - 产能预售
  18864. /Common/GetAllEnums:
  18865. get:
  18866. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18867. parameters:
  18868. - description: 起始自增ID
  18869. in: query
  18870. name: autoid
  18871. type: integer
  18872. produces:
  18873. - application/json
  18874. responses:
  18875. "200":
  18876. description: OK
  18877. schema:
  18878. $ref: '#/definitions/models.Enumdicitem'
  18879. "500":
  18880. description: Internal Server Error
  18881. schema:
  18882. $ref: '#/definitions/app.Response'
  18883. summary: 获取所有枚举信息
  18884. tags:
  18885. - 通用服务
  18886. /Common/GetClientMenus:
  18887. get:
  18888. parameters:
  18889. - description: 登录账号
  18890. in: query
  18891. name: loginID
  18892. required: true
  18893. type: integer
  18894. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18895. in: query
  18896. name: clientType
  18897. type: integer
  18898. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18899. in: query
  18900. name: name
  18901. type: string
  18902. produces:
  18903. - application/json
  18904. responses:
  18905. "200":
  18906. description: OK
  18907. schema:
  18908. items:
  18909. $ref: '#/definitions/common.ClientMenu'
  18910. type: array
  18911. "500":
  18912. description: Internal Server Error
  18913. schema:
  18914. $ref: '#/definitions/app.Response'
  18915. security:
  18916. - ApiKeyAuth: []
  18917. summary: 获取交易端菜单
  18918. tags:
  18919. - 通用服务
  18920. /Common/GetDivisions:
  18921. get:
  18922. produces:
  18923. - application/json
  18924. responses:
  18925. "200":
  18926. description: OK
  18927. schema:
  18928. $ref: '#/definitions/models.Division'
  18929. "500":
  18930. description: Internal Server Error
  18931. schema:
  18932. $ref: '#/definitions/app.Response'
  18933. summary: 查询区域信息
  18934. tags:
  18935. - 通用服务
  18936. /Common/GetServerTime:
  18937. get:
  18938. produces:
  18939. - application/json
  18940. responses:
  18941. "200":
  18942. description: OK
  18943. schema:
  18944. $ref: '#/definitions/app.Response'
  18945. "500":
  18946. description: Internal Server Error
  18947. schema:
  18948. $ref: '#/definitions/app.Response'
  18949. summary: 获取服务器时间
  18950. tags:
  18951. - 通用服务
  18952. /Common/NoticeReaded:
  18953. post:
  18954. parameters:
  18955. - description: 登录账号
  18956. in: query
  18957. name: loginID
  18958. required: true
  18959. type: integer
  18960. - description: 通知公告ID
  18961. in: query
  18962. name: noticeID
  18963. required: true
  18964. type: integer
  18965. produces:
  18966. - application/json
  18967. responses:
  18968. "200":
  18969. description: OK
  18970. schema:
  18971. $ref: '#/definitions/app.Response'
  18972. "500":
  18973. description: Internal Server Error
  18974. schema:
  18975. $ref: '#/definitions/app.Response'
  18976. security:
  18977. - ApiKeyAuth: []
  18978. summary: 通知公告设置已读请求
  18979. tags:
  18980. - 通用服务
  18981. /Common/QueryErrorInfos:
  18982. get:
  18983. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18984. parameters:
  18985. - description: 起始行号前索引
  18986. in: query
  18987. name: rowNumber
  18988. type: string
  18989. produces:
  18990. - application/json
  18991. responses:
  18992. "200":
  18993. description: OK
  18994. schema:
  18995. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18996. "500":
  18997. description: Internal Server Error
  18998. schema:
  18999. $ref: '#/definitions/app.Response'
  19000. summary: 获取数据库错误信息
  19001. tags:
  19002. - 通用服务
  19003. /Common/QueryImageConfigs:
  19004. get:
  19005. parameters:
  19006. - description: 用户id
  19007. in: query
  19008. name: userId
  19009. type: integer
  19010. - description: 类型 - 1:App首页轮播 2:我的
  19011. in: query
  19012. name: imageType
  19013. type: integer
  19014. produces:
  19015. - application/json
  19016. responses:
  19017. "200":
  19018. description: OK
  19019. schema:
  19020. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19021. "500":
  19022. description: Internal Server Error
  19023. schema:
  19024. $ref: '#/definitions/app.Response'
  19025. summary: 查询轮播图配置信息
  19026. tags:
  19027. - 通用服务
  19028. /Common/QueryNotice:
  19029. get:
  19030. parameters:
  19031. - description: 页码
  19032. in: query
  19033. name: page
  19034. type: integer
  19035. - description: 每页条数
  19036. in: query
  19037. name: pagesize
  19038. type: integer
  19039. - description: 登录账号
  19040. in: query
  19041. name: loginID
  19042. required: true
  19043. type: integer
  19044. - description: 消息类型 - 1:公告通知 2:系统消息
  19045. in: query
  19046. name: msgType
  19047. type: integer
  19048. - description: 是否只获取未读信息
  19049. in: query
  19050. name: onlyUnRead
  19051. type: boolean
  19052. - description: 自增ID,传入后会返回这个ID后面的记录
  19053. in: query
  19054. name: lastID
  19055. type: integer
  19056. produces:
  19057. - application/json
  19058. responses:
  19059. "200":
  19060. description: OK
  19061. schema:
  19062. $ref: '#/definitions/common.QueryNoticeRsp'
  19063. "500":
  19064. description: Internal Server Error
  19065. schema:
  19066. $ref: '#/definitions/app.Response'
  19067. security:
  19068. - ApiKeyAuth: []
  19069. summary: 通知公告系统消息查询
  19070. tags:
  19071. - 通用服务
  19072. /Common/QueryProvincesAndCities:
  19073. get:
  19074. parameters:
  19075. - description: 省ID
  19076. in: query
  19077. name: provinceID
  19078. type: integer
  19079. produces:
  19080. - application/json
  19081. responses:
  19082. "200":
  19083. description: OK
  19084. schema:
  19085. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19086. "500":
  19087. description: Internal Server Error
  19088. schema:
  19089. $ref: '#/definitions/app.Response'
  19090. summary: 查询省市信息(不包括区)
  19091. tags:
  19092. - 通用服务
  19093. /Common/QueryTableDefine:
  19094. get:
  19095. parameters:
  19096. - description: 表key
  19097. in: query
  19098. name: tableKey
  19099. type: string
  19100. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19101. in: query
  19102. name: tableType
  19103. type: integer
  19104. produces:
  19105. - application/json
  19106. responses:
  19107. "200":
  19108. description: OK
  19109. schema:
  19110. $ref: '#/definitions/common.QueryTableDefineRsp'
  19111. "500":
  19112. description: Internal Server Error
  19113. schema:
  19114. $ref: '#/definitions/app.Response'
  19115. summary: 查询交易端列表头信息
  19116. tags:
  19117. - 通用服务
  19118. /Common/QueryTraderMenu:
  19119. get:
  19120. parameters:
  19121. - description: 登录账号
  19122. in: query
  19123. name: loginid
  19124. required: true
  19125. type: integer
  19126. produces:
  19127. - application/json
  19128. responses:
  19129. "200":
  19130. description: OK
  19131. schema:
  19132. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19133. "500":
  19134. description: Internal Server Error
  19135. schema:
  19136. $ref: '#/definitions/app.Response'
  19137. summary: 查询交易端菜单
  19138. tags:
  19139. - 通用服务
  19140. /Delivery/QueryDeliveryRelation:
  19141. get:
  19142. parameters:
  19143. - description: 商品ID
  19144. in: query
  19145. name: goodsid
  19146. type: integer
  19147. - description: 品种ID
  19148. in: query
  19149. name: deliverygoodsid
  19150. type: integer
  19151. - description: 市场ID
  19152. in: query
  19153. name: marketid
  19154. type: integer
  19155. produces:
  19156. - application/json
  19157. responses:
  19158. "200":
  19159. description: OK
  19160. schema:
  19161. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19162. "500":
  19163. description: Internal Server Error
  19164. schema:
  19165. $ref: '#/definitions/app.Response'
  19166. security:
  19167. - ApiKeyAuth: []
  19168. summary: 查询商品交割关系表
  19169. tags:
  19170. - 交割服务
  19171. /Ermcp/GetErmcpGoods:
  19172. get:
  19173. parameters:
  19174. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19175. in: query
  19176. name: lastUpdateTime
  19177. type: string
  19178. produces:
  19179. - application/json
  19180. responses:
  19181. "200":
  19182. description: OK
  19183. schema:
  19184. $ref: '#/definitions/models.ErmcpGoods'
  19185. "500":
  19186. description: Internal Server Error
  19187. schema:
  19188. $ref: '#/definitions/app.Response'
  19189. security:
  19190. - ApiKeyAuth: []
  19191. summary: 查询企业风管期货商品信息
  19192. tags:
  19193. - 企业风险管理(app)
  19194. /Ermcp/GetErmcpGoodsSortByPosition:
  19195. get:
  19196. parameters:
  19197. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19198. in: query
  19199. name: sortIndex
  19200. type: string
  19201. produces:
  19202. - application/json
  19203. responses:
  19204. "200":
  19205. description: OK
  19206. schema:
  19207. $ref: '#/definitions/models.Goodssortbypreposition'
  19208. "500":
  19209. description: Internal Server Error
  19210. schema:
  19211. $ref: '#/definitions/app.Response'
  19212. security:
  19213. - ApiKeyAuth: []
  19214. summary: 查询企业风管期货主力、次主力商品信息
  19215. tags:
  19216. - 企业风险管理(app)
  19217. /Ermcp/GetErmcpOutAccountStatus:
  19218. get:
  19219. parameters:
  19220. - description: 登录账号
  19221. in: query
  19222. name: loginID
  19223. required: true
  19224. type: integer
  19225. produces:
  19226. - application/json
  19227. responses:
  19228. "200":
  19229. description: OK
  19230. schema:
  19231. $ref: '#/definitions/models.Hedgemarketopenlog'
  19232. "500":
  19233. description: Internal Server Error
  19234. schema:
  19235. $ref: '#/definitions/app.Response'
  19236. security:
  19237. - ApiKeyAuth: []
  19238. summary: 获取目标登录账号当前对冲账号在线状态
  19239. tags:
  19240. - 企业风险管理(app)
  19241. /Ermcp/GetErmcpRoleFuncMenuLists:
  19242. get:
  19243. parameters:
  19244. - description: 登录账号
  19245. in: query
  19246. name: loginID
  19247. required: true
  19248. type: integer
  19249. produces:
  19250. - application/json
  19251. responses:
  19252. "200":
  19253. description: OK
  19254. schema:
  19255. $ref: '#/definitions/models.Funcmenulist'
  19256. "500":
  19257. description: Internal Server Error
  19258. schema:
  19259. $ref: '#/definitions/app.Response'
  19260. security:
  19261. - ApiKeyAuth: []
  19262. summary: 获取企业风管终端权限
  19263. tags:
  19264. - 企业风险管理(app)
  19265. /Ermcp/QueryAccMgrBizGroupSet:
  19266. get:
  19267. parameters:
  19268. - description: 用户ID
  19269. in: query
  19270. name: userid
  19271. required: true
  19272. type: integer
  19273. - description: 现货商品id
  19274. in: query
  19275. name: deliverygoodsid
  19276. type: integer
  19277. produces:
  19278. - application/json
  19279. responses:
  19280. "200":
  19281. description: OK
  19282. schema:
  19283. items:
  19284. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19285. type: array
  19286. "500":
  19287. description: Internal Server Error
  19288. schema:
  19289. $ref: '#/definitions/app.Response'
  19290. security:
  19291. - ApiKeyAuth: []
  19292. summary: 查询业务类型分组(账户管理/账户设置)
  19293. tags:
  19294. - 企业风险管理(app)
  19295. /Ermcp/QueryAccMgrLoginUser:
  19296. get:
  19297. parameters:
  19298. - description: 用户ID
  19299. in: query
  19300. name: userid
  19301. required: true
  19302. type: integer
  19303. - description: 用户类型 2-机构 7-企业成员
  19304. in: query
  19305. name: usertype
  19306. type: integer
  19307. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19308. in: query
  19309. name: querytype
  19310. required: true
  19311. type: integer
  19312. produces:
  19313. - application/json
  19314. responses:
  19315. "200":
  19316. description: OK
  19317. schema:
  19318. items:
  19319. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19320. type: array
  19321. "500":
  19322. description: Internal Server Error
  19323. schema:
  19324. $ref: '#/definitions/app.Response'
  19325. security:
  19326. - ApiKeyAuth: []
  19327. summary: 查询账户管理登录账号(账户管理/登录账号)
  19328. tags:
  19329. - 企业风险管理(app)
  19330. /Ermcp/QueryAccMgrMainAccountInfo:
  19331. get:
  19332. parameters:
  19333. - description: 用户ID
  19334. in: query
  19335. name: userid
  19336. type: integer
  19337. - description: 主账号id
  19338. in: query
  19339. name: accountid
  19340. type: integer
  19341. produces:
  19342. - application/json
  19343. responses:
  19344. "200":
  19345. description: OK
  19346. schema:
  19347. items:
  19348. $ref: '#/definitions/models.MainAccountInfo'
  19349. type: array
  19350. "500":
  19351. description: Internal Server Error
  19352. schema:
  19353. $ref: '#/definitions/app.Response'
  19354. security:
  19355. - ApiKeyAuth: []
  19356. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19357. tags:
  19358. - 企业风险管理(app)
  19359. /Ermcp/QueryAccMgrRole:
  19360. get:
  19361. parameters:
  19362. - description: 用户ID
  19363. in: query
  19364. name: userid
  19365. required: true
  19366. type: integer
  19367. produces:
  19368. - application/json
  19369. responses:
  19370. "200":
  19371. description: OK
  19372. schema:
  19373. items:
  19374. $ref: '#/definitions/models.ErmcpRole'
  19375. type: array
  19376. "500":
  19377. description: Internal Server Error
  19378. schema:
  19379. $ref: '#/definitions/app.Response'
  19380. security:
  19381. - ApiKeyAuth: []
  19382. summary: 查询账户管理角色设置(账户管理/角色设置)
  19383. tags:
  19384. - 企业风险管理(app)
  19385. /Ermcp/QueryAccMgrRoleMenu:
  19386. get:
  19387. parameters:
  19388. - description: 用户ID
  19389. in: query
  19390. name: userid
  19391. required: true
  19392. type: integer
  19393. - description: 角色id(可多个,逗号隔开)
  19394. in: query
  19395. name: roleid
  19396. type: string
  19397. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19398. in: query
  19399. name: menutype
  19400. type: integer
  19401. produces:
  19402. - application/json
  19403. responses:
  19404. "200":
  19405. description: OK
  19406. schema:
  19407. items:
  19408. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19409. type: array
  19410. "500":
  19411. description: Internal Server Error
  19412. schema:
  19413. $ref: '#/definitions/app.Response'
  19414. security:
  19415. - ApiKeyAuth: []
  19416. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19417. tags:
  19418. - 企业风险管理(app)
  19419. /Ermcp/QueryAccMgrTaAccountInfo:
  19420. get:
  19421. parameters:
  19422. - description: 用户ID
  19423. in: query
  19424. name: userid
  19425. required: true
  19426. type: integer
  19427. - description: 账号id
  19428. in: query
  19429. name: accountid
  19430. type: integer
  19431. produces:
  19432. - application/json
  19433. responses:
  19434. "200":
  19435. description: OK
  19436. schema:
  19437. items:
  19438. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19439. type: array
  19440. "500":
  19441. description: Internal Server Error
  19442. schema:
  19443. $ref: '#/definitions/app.Response'
  19444. security:
  19445. - ApiKeyAuth: []
  19446. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19447. tags:
  19448. - 企业风险管理(app)
  19449. /Ermcp/QueryAccMgrTaaccount:
  19450. get:
  19451. parameters:
  19452. - description: 用户ID
  19453. in: query
  19454. name: userid
  19455. required: true
  19456. type: integer
  19457. produces:
  19458. - application/json
  19459. responses:
  19460. "200":
  19461. description: OK
  19462. schema:
  19463. items:
  19464. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19465. type: array
  19466. "500":
  19467. description: Internal Server Error
  19468. schema:
  19469. $ref: '#/definitions/app.Response'
  19470. security:
  19471. - ApiKeyAuth: []
  19472. summary: 查询账户管理期货账号(账户管理/期货账号)
  19473. tags:
  19474. - 企业风险管理(app)
  19475. /Ermcp/QueryAvaildGoodsGroup:
  19476. get:
  19477. parameters:
  19478. - description: 所属机构ID
  19479. in: query
  19480. name: userid
  19481. required: true
  19482. type: integer
  19483. produces:
  19484. - application/json
  19485. responses:
  19486. "200":
  19487. description: OK
  19488. schema:
  19489. items:
  19490. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19491. type: array
  19492. "500":
  19493. description: Internal Server Error
  19494. schema:
  19495. $ref: '#/definitions/app.Response'
  19496. security:
  19497. - ApiKeyAuth: []
  19498. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19499. tags:
  19500. - 企业风险管理(app)
  19501. /Ermcp/QueryBusinessDj:
  19502. get:
  19503. parameters:
  19504. - description: 用户ID
  19505. in: query
  19506. name: UserId
  19507. required: true
  19508. type: integer
  19509. - description: 用户类型 2-机构 7-企业成员
  19510. in: query
  19511. name: usertype
  19512. type: integer
  19513. - description: 现货合同ID, 不填则查所有
  19514. in: query
  19515. name: relatedid
  19516. type: string
  19517. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19518. in: query
  19519. name: applystatus
  19520. type: string
  19521. produces:
  19522. - application/json
  19523. responses:
  19524. "200":
  19525. description: OK
  19526. schema:
  19527. items:
  19528. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19529. type: array
  19530. "500":
  19531. description: Internal Server Error
  19532. schema:
  19533. $ref: '#/definitions/app.Response'
  19534. security:
  19535. - ApiKeyAuth: []
  19536. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19537. tags:
  19538. - 企业风险管理(app)
  19539. /Ermcp/QueryBusinessFp:
  19540. get:
  19541. parameters:
  19542. - description: 用户ID
  19543. in: query
  19544. name: UserId
  19545. required: true
  19546. type: integer
  19547. - description: 用户类型 2-机构 7-企业成员
  19548. in: query
  19549. name: usertype
  19550. type: integer
  19551. - description: 现货合同ID, 不填则查所有
  19552. in: query
  19553. name: relatedid
  19554. type: string
  19555. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19556. in: query
  19557. name: applystatus
  19558. type: string
  19559. produces:
  19560. - application/json
  19561. responses:
  19562. "200":
  19563. description: OK
  19564. schema:
  19565. items:
  19566. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19567. type: array
  19568. "500":
  19569. description: Internal Server Error
  19570. schema:
  19571. $ref: '#/definitions/app.Response'
  19572. security:
  19573. - ApiKeyAuth: []
  19574. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19575. tags:
  19576. - 企业风险管理(app)
  19577. /Ermcp/QueryBusinessJs:
  19578. get:
  19579. parameters:
  19580. - description: 用户ID
  19581. in: query
  19582. name: UserId
  19583. required: true
  19584. type: integer
  19585. - description: 用户类型 2-机构 7-企业成员
  19586. in: query
  19587. name: usertype
  19588. type: integer
  19589. - description: 现货合同ID, 不填则查所有
  19590. in: query
  19591. name: relatedid
  19592. type: string
  19593. - description: 操作申请id
  19594. in: query
  19595. name: operateapplyid
  19596. type: string
  19597. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19598. in: query
  19599. name: applystatus
  19600. type: string
  19601. produces:
  19602. - application/json
  19603. responses:
  19604. "200":
  19605. description: OK
  19606. schema:
  19607. items:
  19608. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19609. type: array
  19610. "500":
  19611. description: Internal Server Error
  19612. schema:
  19613. $ref: '#/definitions/app.Response'
  19614. security:
  19615. - ApiKeyAuth: []
  19616. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19617. tags:
  19618. - 企业风险管理(app)
  19619. /Ermcp/QueryBusinessJsEx:
  19620. get:
  19621. parameters:
  19622. - description: 用户ID
  19623. in: query
  19624. name: UserId
  19625. required: true
  19626. type: integer
  19627. - description: 用户类型 2-机构 7-企业成员
  19628. in: query
  19629. name: usertype
  19630. type: integer
  19631. - description: 现货合同ID, 不填则查所有
  19632. in: query
  19633. name: relatedid
  19634. type: string
  19635. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19636. in: query
  19637. name: applystatus
  19638. type: string
  19639. produces:
  19640. - application/json
  19641. responses:
  19642. "200":
  19643. description: OK
  19644. schema:
  19645. items:
  19646. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19647. type: array
  19648. "500":
  19649. description: Internal Server Error
  19650. schema:
  19651. $ref: '#/definitions/app.Response'
  19652. security:
  19653. - ApiKeyAuth: []
  19654. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19655. tags:
  19656. - 企业风险管理(app)
  19657. /Ermcp/QueryBusinessKx:
  19658. get:
  19659. parameters:
  19660. - description: 用户ID
  19661. in: query
  19662. name: UserId
  19663. required: true
  19664. type: integer
  19665. - description: 用户类型 2-机构 7-企业成员
  19666. in: query
  19667. name: usertype
  19668. type: integer
  19669. - description: 现货合同ID, 不填则查所有
  19670. in: query
  19671. name: relatedid
  19672. type: string
  19673. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19674. in: query
  19675. name: applystatus
  19676. type: string
  19677. produces:
  19678. - application/json
  19679. responses:
  19680. "200":
  19681. description: OK
  19682. schema:
  19683. items:
  19684. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19685. type: array
  19686. "500":
  19687. description: Internal Server Error
  19688. schema:
  19689. $ref: '#/definitions/app.Response'
  19690. security:
  19691. - ApiKeyAuth: []
  19692. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19693. tags:
  19694. - 企业风险管理(app)
  19695. /Ermcp/QueryChangeLog:
  19696. get:
  19697. parameters:
  19698. - description: 合同ID
  19699. in: query
  19700. name: RelatedId
  19701. required: true
  19702. type: string
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. items:
  19710. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19711. type: array
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 查询变更记录
  19719. tags:
  19720. - 企业风险管理(app)
  19721. /Ermcp/QueryErmcpHisOrderDetails:
  19722. get:
  19723. parameters:
  19724. - description: 资金账户ID
  19725. in: query
  19726. name: accountID
  19727. required: true
  19728. type: integer
  19729. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19730. in: query
  19731. name: startDate
  19732. type: string
  19733. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19734. in: query
  19735. name: endDate
  19736. type: string
  19737. produces:
  19738. - application/json
  19739. responses:
  19740. "200":
  19741. description: OK
  19742. schema:
  19743. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19744. "500":
  19745. description: Internal Server Error
  19746. schema:
  19747. $ref: '#/definitions/app.Response'
  19748. security:
  19749. - ApiKeyAuth: []
  19750. summary: 获取企业风管期货历史委托单信息
  19751. tags:
  19752. - 企业风险管理(app)
  19753. /Ermcp/QueryErmcpHisTradeDetails:
  19754. get:
  19755. parameters:
  19756. - description: 资金账户ID
  19757. in: query
  19758. name: accountID
  19759. required: true
  19760. type: integer
  19761. - description: 商品ID
  19762. in: query
  19763. name: goodsID
  19764. type: integer
  19765. - description: 买卖方向,0:买 1:卖
  19766. in: query
  19767. name: buyOrSell
  19768. type: integer
  19769. - description: 关联委托单号
  19770. in: query
  19771. name: orderID
  19772. type: integer
  19773. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19774. in: query
  19775. name: startDate
  19776. type: string
  19777. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19778. in: query
  19779. name: endDate
  19780. type: string
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19788. "500":
  19789. description: Internal Server Error
  19790. schema:
  19791. $ref: '#/definitions/app.Response'
  19792. security:
  19793. - ApiKeyAuth: []
  19794. summary: 获取企业风管期货历史成交单信息
  19795. tags:
  19796. - 企业风险管理(app)
  19797. /Ermcp/QueryErmcpInnerHolderDetails:
  19798. get:
  19799. parameters:
  19800. - description: 资金账户ID
  19801. in: query
  19802. name: accountID
  19803. required: true
  19804. type: integer
  19805. - description: 商品ID
  19806. in: query
  19807. name: goodsID
  19808. type: integer
  19809. - description: 买卖方向,0:买 1:卖
  19810. in: query
  19811. name: buyOrSell
  19812. type: integer
  19813. produces:
  19814. - application/json
  19815. responses:
  19816. "200":
  19817. description: OK
  19818. schema:
  19819. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19820. "500":
  19821. description: Internal Server Error
  19822. schema:
  19823. $ref: '#/definitions/app.Response'
  19824. security:
  19825. - ApiKeyAuth: []
  19826. summary: 获取企业风管期货内部持仓单信息
  19827. tags:
  19828. - 企业风险管理(app)
  19829. /Ermcp/QueryErmcpOrderDetails:
  19830. get:
  19831. parameters:
  19832. - description: 资金账户ID
  19833. in: query
  19834. name: accountID
  19835. required: true
  19836. type: integer
  19837. produces:
  19838. - application/json
  19839. responses:
  19840. "200":
  19841. description: OK
  19842. schema:
  19843. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpTradeDetails:
  19854. get:
  19855. parameters:
  19856. - description: 资金账户ID
  19857. in: query
  19858. name: accountID
  19859. required: true
  19860. type: integer
  19861. - description: 商品ID
  19862. in: query
  19863. name: goodsID
  19864. type: integer
  19865. - description: 买卖方向,0:买 1:卖
  19866. in: query
  19867. name: buyOrSell
  19868. type: integer
  19869. - description: 关联委托单号
  19870. in: query
  19871. name: orderID
  19872. type: integer
  19873. produces:
  19874. - application/json
  19875. responses:
  19876. "200":
  19877. description: OK
  19878. schema:
  19879. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19880. "500":
  19881. description: Internal Server Error
  19882. schema:
  19883. $ref: '#/definitions/app.Response'
  19884. security:
  19885. - ApiKeyAuth: []
  19886. summary: 获取企业风管期货成交单信息
  19887. tags:
  19888. - 企业风险管理(app)
  19889. /Ermcp/QueryErmcpTradePosition:
  19890. get:
  19891. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19892. parameters:
  19893. - description: 资金账户ID
  19894. in: query
  19895. name: accountID
  19896. required: true
  19897. type: integer
  19898. - description: 所属市场ID
  19899. in: query
  19900. name: marketID
  19901. type: integer
  19902. produces:
  19903. - application/json
  19904. responses:
  19905. "200":
  19906. description: OK
  19907. schema:
  19908. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19909. "500":
  19910. description: Internal Server Error
  19911. schema:
  19912. $ref: '#/definitions/app.Response'
  19913. security:
  19914. - ApiKeyAuth: []
  19915. summary: 获取企业风管期货持仓头寸信息
  19916. tags:
  19917. - 企业风险管理(app)
  19918. /Ermcp/QueryExposureDetail:
  19919. get:
  19920. parameters:
  19921. - description: 所属机构ID
  19922. in: query
  19923. name: areaUserId
  19924. required: true
  19925. type: integer
  19926. - description: 套保商品
  19927. in: query
  19928. name: middleGoodsId
  19929. required: true
  19930. type: integer
  19931. produces:
  19932. - application/json
  19933. responses:
  19934. "200":
  19935. description: OK
  19936. schema:
  19937. items:
  19938. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19939. type: array
  19940. "500":
  19941. description: Internal Server Error
  19942. schema:
  19943. $ref: '#/definitions/app.Response'
  19944. security:
  19945. - ApiKeyAuth: []
  19946. summary: 查询敞口现货明细
  19947. tags:
  19948. - 企业风险管理(app)
  19949. /Ermcp/QueryExposureGoods:
  19950. get:
  19951. parameters:
  19952. - description: 套保商品id
  19953. in: query
  19954. name: middlegoodsid
  19955. required: true
  19956. type: integer
  19957. produces:
  19958. - application/json
  19959. responses:
  19960. "200":
  19961. description: OK
  19962. schema:
  19963. items:
  19964. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19965. type: array
  19966. "500":
  19967. description: Internal Server Error
  19968. schema:
  19969. $ref: '#/definitions/app.Response'
  19970. security:
  19971. - ApiKeyAuth: []
  19972. summary: 查询敞口主力合约
  19973. tags:
  19974. - 企业风险管理(app)
  19975. /Ermcp/QueryExposureHedgePosition:
  19976. get:
  19977. parameters:
  19978. - description: 用户id
  19979. in: query
  19980. name: userid
  19981. required: true
  19982. type: integer
  19983. produces:
  19984. - application/json
  19985. responses:
  19986. "200":
  19987. description: OK
  19988. schema:
  19989. items:
  19990. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19991. type: array
  19992. "500":
  19993. description: Internal Server Error
  19994. schema:
  19995. $ref: '#/definitions/app.Response'
  19996. security:
  19997. - ApiKeyAuth: []
  19998. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19999. tags:
  20000. - 企业风险管理(app)
  20001. /Ermcp/QueryExposureHedgePositionDetail:
  20002. get:
  20003. parameters:
  20004. - description: 所属机构ID
  20005. in: query
  20006. name: userid
  20007. required: true
  20008. type: integer
  20009. - description: 商品id
  20010. in: query
  20011. name: goodsId
  20012. required: true
  20013. type: integer
  20014. produces:
  20015. - application/json
  20016. responses:
  20017. "200":
  20018. description: OK
  20019. schema:
  20020. items:
  20021. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20022. type: array
  20023. "500":
  20024. description: Internal Server Error
  20025. schema:
  20026. $ref: '#/definitions/app.Response'
  20027. security:
  20028. - ApiKeyAuth: []
  20029. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20030. tags:
  20031. - 企业风险管理(app)
  20032. /Ermcp/QueryExposureSpot:
  20033. get:
  20034. parameters:
  20035. - description: 所属机构ID
  20036. in: query
  20037. name: areaUserId
  20038. required: true
  20039. type: integer
  20040. produces:
  20041. - application/json
  20042. responses:
  20043. "200":
  20044. description: OK
  20045. schema:
  20046. items:
  20047. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20048. type: array
  20049. "500":
  20050. description: Internal Server Error
  20051. schema:
  20052. $ref: '#/definitions/app.Response'
  20053. security:
  20054. - ApiKeyAuth: []
  20055. summary: 查询敞口现货头寸(敞口/现货头寸)
  20056. tags:
  20057. - 企业风险管理(app)
  20058. /Ermcp/QueryExposureSpotDetail:
  20059. get:
  20060. parameters:
  20061. - description: 所属机构ID
  20062. in: query
  20063. name: areaUserId
  20064. required: true
  20065. type: integer
  20066. - description: 现货品种ID
  20067. in: query
  20068. name: wrstandardId
  20069. required: true
  20070. type: integer
  20071. produces:
  20072. - application/json
  20073. responses:
  20074. "200":
  20075. description: OK
  20076. schema:
  20077. items:
  20078. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20079. type: array
  20080. "500":
  20081. description: Internal Server Error
  20082. schema:
  20083. $ref: '#/definitions/app.Response'
  20084. security:
  20085. - ApiKeyAuth: []
  20086. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20087. tags:
  20088. - 企业风险管理(app)
  20089. /Ermcp/QueryFuturesCompany:
  20090. get:
  20091. produces:
  20092. - application/json
  20093. responses:
  20094. "200":
  20095. description: OK
  20096. schema:
  20097. items:
  20098. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20099. type: array
  20100. "500":
  20101. description: Internal Server Error
  20102. schema:
  20103. $ref: '#/definitions/app.Response'
  20104. security:
  20105. - ApiKeyAuth: []
  20106. summary: 查询期货公司
  20107. tags:
  20108. - 企业风险管理(app)
  20109. /Ermcp/QueryGGConvertConfig:
  20110. get:
  20111. parameters:
  20112. - description: 品种id(不填则查所有)
  20113. in: query
  20114. name: goodsgroupid
  20115. type: integer
  20116. produces:
  20117. - application/json
  20118. responses:
  20119. "200":
  20120. description: OK
  20121. schema:
  20122. items:
  20123. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20124. type: array
  20125. "500":
  20126. description: Internal Server Error
  20127. schema:
  20128. $ref: '#/definitions/app.Response'
  20129. security:
  20130. - ApiKeyAuth: []
  20131. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20132. tags:
  20133. - 企业风险管理(app)
  20134. /Ermcp/QueryGoodsBrand:
  20135. get:
  20136. parameters:
  20137. - description: 用户ID
  20138. in: query
  20139. name: userid
  20140. required: true
  20141. type: integer
  20142. - description: 现货商品ID
  20143. in: query
  20144. name: wrstandardid
  20145. type: integer
  20146. produces:
  20147. - application/json
  20148. responses:
  20149. "200":
  20150. description: OK
  20151. schema:
  20152. items:
  20153. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20154. type: array
  20155. "500":
  20156. description: Internal Server Error
  20157. schema:
  20158. $ref: '#/definitions/app.Response'
  20159. security:
  20160. - ApiKeyAuth: []
  20161. summary: 查询商品品牌
  20162. tags:
  20163. - 企业风险管理(app)
  20164. /Ermcp/QueryGoodsModel:
  20165. get:
  20166. parameters:
  20167. - description: 用户ID
  20168. in: query
  20169. name: userid
  20170. required: true
  20171. type: integer
  20172. produces:
  20173. - application/json
  20174. responses:
  20175. "200":
  20176. description: OK
  20177. schema:
  20178. items:
  20179. $ref: '#/definitions/models.ErmcpGoodsModel'
  20180. type: array
  20181. "500":
  20182. description: Internal Server Error
  20183. schema:
  20184. $ref: '#/definitions/app.Response'
  20185. security:
  20186. - ApiKeyAuth: []
  20187. summary: 查询商品型号
  20188. tags:
  20189. - 企业风险管理(app)
  20190. /Ermcp/QueryHisExposure:
  20191. get:
  20192. parameters:
  20193. - description: 用户id
  20194. in: query
  20195. name: userid
  20196. required: true
  20197. type: integer
  20198. - description: 每个品种记录数
  20199. in: query
  20200. name: lastNum
  20201. required: true
  20202. type: integer
  20203. produces:
  20204. - application/json
  20205. responses:
  20206. "200":
  20207. description: OK
  20208. schema:
  20209. items:
  20210. $ref: '#/definitions/ermcp.HisExposureRsp'
  20211. type: array
  20212. "500":
  20213. description: Internal Server Error
  20214. schema:
  20215. $ref: '#/definitions/app.Response'
  20216. security:
  20217. - ApiKeyAuth: []
  20218. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20219. tags:
  20220. - 企业风险管理(app)
  20221. /Ermcp/QueryMiddleGoods:
  20222. get:
  20223. parameters:
  20224. - description: 所属机构ID
  20225. in: query
  20226. name: userid
  20227. required: true
  20228. type: integer
  20229. - description: 状态 0-停用 1-正常
  20230. in: query
  20231. name: status
  20232. required: true
  20233. type: integer
  20234. produces:
  20235. - application/json
  20236. responses:
  20237. "200":
  20238. description: OK
  20239. schema:
  20240. items:
  20241. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20242. type: array
  20243. "500":
  20244. description: Internal Server Error
  20245. schema:
  20246. $ref: '#/definitions/app.Response'
  20247. security:
  20248. - ApiKeyAuth: []
  20249. summary: 查询套保品种(菜单:套保品种)
  20250. tags:
  20251. - 企业风险管理(app)
  20252. /Ermcp/QueryMiddleGoodsChangeLog:
  20253. get:
  20254. parameters:
  20255. - description: 所属机构ID
  20256. in: query
  20257. name: userid
  20258. required: true
  20259. type: integer
  20260. - description: 套保品种id
  20261. in: query
  20262. name: middlegoodsid
  20263. required: true
  20264. type: integer
  20265. produces:
  20266. - application/json
  20267. responses:
  20268. "200":
  20269. description: OK
  20270. schema:
  20271. items:
  20272. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20273. type: array
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. security:
  20279. - ApiKeyAuth: []
  20280. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20281. tags:
  20282. - 企业风险管理(app)
  20283. /Ermcp/QueryMiddleGoodsDetail:
  20284. get:
  20285. parameters:
  20286. - description: 所属机构ID
  20287. in: query
  20288. name: userid
  20289. required: true
  20290. type: integer
  20291. - description: 套保品种id
  20292. in: query
  20293. name: middlegoodsid
  20294. type: integer
  20295. produces:
  20296. - application/json
  20297. responses:
  20298. "200":
  20299. description: OK
  20300. schema:
  20301. items:
  20302. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20303. type: array
  20304. "500":
  20305. description: Internal Server Error
  20306. schema:
  20307. $ref: '#/definitions/app.Response'
  20308. security:
  20309. - ApiKeyAuth: []
  20310. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20311. tags:
  20312. - 企业风险管理(app)
  20313. /Ermcp/QueryPendingAuditInfo:
  20314. get:
  20315. parameters:
  20316. - description: 用户ID
  20317. in: query
  20318. name: UserId
  20319. required: true
  20320. type: integer
  20321. produces:
  20322. - application/json
  20323. responses:
  20324. "200":
  20325. description: OK
  20326. schema:
  20327. items:
  20328. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20329. type: array
  20330. "500":
  20331. description: Internal Server Error
  20332. schema:
  20333. $ref: '#/definitions/app.Response'
  20334. security:
  20335. - ApiKeyAuth: []
  20336. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20337. tags:
  20338. - 企业风险管理(app)
  20339. /Ermcp/QueryRealtimeExposure:
  20340. get:
  20341. parameters:
  20342. - description: 所属机构ID
  20343. in: query
  20344. name: userid
  20345. required: true
  20346. type: integer
  20347. produces:
  20348. - application/json
  20349. responses:
  20350. "200":
  20351. description: OK
  20352. schema:
  20353. items:
  20354. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20355. type: array
  20356. "500":
  20357. description: Internal Server Error
  20358. schema:
  20359. $ref: '#/definitions/app.Response'
  20360. security:
  20361. - ApiKeyAuth: []
  20362. summary: 查询实时敞口
  20363. tags:
  20364. - 企业风险管理(app)
  20365. /Ermcp/QueryRealtimeExposurePosition:
  20366. get:
  20367. parameters:
  20368. - description: 用户id
  20369. in: query
  20370. name: userid
  20371. required: true
  20372. type: integer
  20373. - description: 套保商品ID
  20374. in: query
  20375. name: middleGoodsId
  20376. required: true
  20377. type: integer
  20378. produces:
  20379. - application/json
  20380. responses:
  20381. "200":
  20382. description: OK
  20383. schema:
  20384. items:
  20385. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20386. type: array
  20387. "500":
  20388. description: Internal Server Error
  20389. schema:
  20390. $ref: '#/definitions/app.Response'
  20391. security:
  20392. - ApiKeyAuth: []
  20393. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20394. tags:
  20395. - 企业风险管理(app)
  20396. /Ermcp/QueryRoleMenu:
  20397. get:
  20398. parameters:
  20399. - description: 登录ID
  20400. in: query
  20401. name: loginid
  20402. required: true
  20403. type: integer
  20404. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20405. in: query
  20406. name: menutype
  20407. type: integer
  20408. produces:
  20409. - application/json
  20410. responses:
  20411. "200":
  20412. description: OK
  20413. schema:
  20414. items:
  20415. $ref: '#/definitions/models.RoleMenu'
  20416. type: array
  20417. "500":
  20418. description: Internal Server Error
  20419. schema:
  20420. $ref: '#/definitions/app.Response'
  20421. security:
  20422. - ApiKeyAuth: []
  20423. summary: 查询角色菜单和权限
  20424. tags:
  20425. - 企业风险管理(app)
  20426. /Ermcp/QueryTradeConfigTMP:
  20427. get:
  20428. parameters:
  20429. - description: 所属机构id
  20430. in: query
  20431. name: areauserid
  20432. type: integer
  20433. produces:
  20434. - application/json
  20435. responses:
  20436. "200":
  20437. description: OK
  20438. schema:
  20439. items:
  20440. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20441. type: array
  20442. "500":
  20443. description: Internal Server Error
  20444. schema:
  20445. $ref: '#/definitions/app.Response'
  20446. security:
  20447. - ApiKeyAuth: []
  20448. summary: 查询交易模板配置
  20449. tags:
  20450. - 企业风险管理(app)
  20451. /Ermcp/QueryUserInfo:
  20452. get:
  20453. parameters:
  20454. - description: 所属机构用户ID
  20455. in: query
  20456. name: MemberUserID
  20457. required: true
  20458. type: integer
  20459. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20460. in: query
  20461. name: queryType
  20462. required: true
  20463. type: integer
  20464. produces:
  20465. - application/json
  20466. responses:
  20467. "200":
  20468. description: OK
  20469. schema:
  20470. items:
  20471. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20472. type: array
  20473. "500":
  20474. description: Internal Server Error
  20475. schema:
  20476. $ref: '#/definitions/app.Response'
  20477. security:
  20478. - ApiKeyAuth: []
  20479. summary: 查询客户资料
  20480. tags:
  20481. - 企业风险管理(app)
  20482. /Ermcp/QueryWarehouseInfo:
  20483. get:
  20484. parameters:
  20485. - description: 用户ID
  20486. in: query
  20487. name: userid
  20488. required: true
  20489. type: integer
  20490. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20491. in: query
  20492. name: status
  20493. type: string
  20494. produces:
  20495. - application/json
  20496. responses:
  20497. "200":
  20498. description: OK
  20499. schema:
  20500. items:
  20501. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20502. type: array
  20503. "500":
  20504. description: Internal Server Error
  20505. schema:
  20506. $ref: '#/definitions/app.Response'
  20507. security:
  20508. - ApiKeyAuth: []
  20509. summary: 查询仓库信息
  20510. tags:
  20511. - 企业风险管理(app)
  20512. /Ermcp3/QryAreaExpourseContractDetail:
  20513. get:
  20514. parameters:
  20515. - description: 用户ID
  20516. in: query
  20517. name: userid
  20518. required: true
  20519. type: integer
  20520. - description: 套保商品id
  20521. in: query
  20522. name: middlegoodsid
  20523. required: true
  20524. type: integer
  20525. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20526. in: query
  20527. name: cycletype
  20528. required: true
  20529. type: integer
  20530. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20531. in: query
  20532. name: cycletime
  20533. required: true
  20534. type: string
  20535. produces:
  20536. - application/json
  20537. responses:
  20538. "200":
  20539. description: OK
  20540. schema:
  20541. items:
  20542. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20543. type: array
  20544. "500":
  20545. description: Internal Server Error
  20546. schema:
  20547. $ref: '#/definitions/app.Response'
  20548. security:
  20549. - ApiKeyAuth: []
  20550. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20551. tags:
  20552. - 企业风险管理v3(app)
  20553. /Ermcp3/QryAreaExpourseFutuDetail:
  20554. get:
  20555. parameters:
  20556. - description: 用户ID
  20557. in: query
  20558. name: userid
  20559. required: true
  20560. type: integer
  20561. - description: 套保商品id
  20562. in: query
  20563. name: middlegoodsid
  20564. required: true
  20565. type: integer
  20566. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20567. in: query
  20568. name: cycletype
  20569. required: true
  20570. type: integer
  20571. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20572. in: query
  20573. name: cycletime
  20574. required: true
  20575. type: string
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. items:
  20583. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20584. type: array
  20585. "500":
  20586. description: Internal Server Error
  20587. schema:
  20588. $ref: '#/definitions/app.Response'
  20589. security:
  20590. - ApiKeyAuth: []
  20591. summary: 查询敞口期货明细(敞口报表/期货明细)
  20592. tags:
  20593. - 企业风险管理v3(app)
  20594. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20595. get:
  20596. parameters:
  20597. - description: 用户ID
  20598. in: query
  20599. name: userid
  20600. required: true
  20601. type: integer
  20602. - description: 套保商品id
  20603. in: query
  20604. name: middlegoodsid
  20605. required: true
  20606. type: integer
  20607. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20608. in: query
  20609. name: cycletype
  20610. required: true
  20611. type: integer
  20612. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20613. in: query
  20614. name: cycletime
  20615. required: true
  20616. type: string
  20617. produces:
  20618. - application/json
  20619. responses:
  20620. "200":
  20621. description: OK
  20622. schema:
  20623. items:
  20624. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20625. type: array
  20626. "500":
  20627. description: Internal Server Error
  20628. schema:
  20629. $ref: '#/definitions/app.Response'
  20630. security:
  20631. - ApiKeyAuth: []
  20632. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20633. tags:
  20634. - 企业风险管理v3(app)
  20635. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20636. get:
  20637. parameters:
  20638. - description: 用户ID
  20639. in: query
  20640. name: userid
  20641. required: true
  20642. type: integer
  20643. - description: 套保商品id
  20644. in: query
  20645. name: middlegoodsid
  20646. required: true
  20647. type: integer
  20648. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20649. in: query
  20650. name: cycletype
  20651. required: true
  20652. type: integer
  20653. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20654. in: query
  20655. name: cycletime
  20656. required: true
  20657. type: string
  20658. produces:
  20659. - application/json
  20660. responses:
  20661. "200":
  20662. description: OK
  20663. schema:
  20664. items:
  20665. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20666. type: array
  20667. "500":
  20668. description: Internal Server Error
  20669. schema:
  20670. $ref: '#/definitions/app.Response'
  20671. security:
  20672. - ApiKeyAuth: []
  20673. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20674. tags:
  20675. - 企业风险管理v3(app)
  20676. /Ermcp3/QryAreaExpourseReport:
  20677. get:
  20678. parameters:
  20679. - description: 用户ID
  20680. in: query
  20681. name: userid
  20682. required: true
  20683. type: integer
  20684. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20685. in: query
  20686. name: querytype
  20687. required: true
  20688. type: integer
  20689. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20690. in: query
  20691. name: cycletype
  20692. required: true
  20693. type: integer
  20694. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20695. in: query
  20696. name: cycletime
  20697. required: true
  20698. type: string
  20699. produces:
  20700. - application/json
  20701. responses:
  20702. "200":
  20703. description: OK
  20704. schema:
  20705. items:
  20706. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20707. type: array
  20708. "500":
  20709. description: Internal Server Error
  20710. schema:
  20711. $ref: '#/definitions/app.Response'
  20712. security:
  20713. - ApiKeyAuth: []
  20714. summary: 查询敞口报表
  20715. tags:
  20716. - 企业风险管理v3(app)
  20717. /Ermcp3/QryAreaSpotplReport:
  20718. get:
  20719. parameters:
  20720. - description: 用户ID
  20721. in: query
  20722. name: userid
  20723. required: true
  20724. type: integer
  20725. - description: 查询类型 1-报表 2-报表明细
  20726. in: query
  20727. name: querytype
  20728. required: true
  20729. type: integer
  20730. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20731. in: query
  20732. name: cycletype
  20733. required: true
  20734. type: integer
  20735. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20736. in: query
  20737. name: cycletime
  20738. required: true
  20739. type: string
  20740. - description: 现货品种id(明细必填)
  20741. in: query
  20742. name: deliverygoodsid
  20743. type: integer
  20744. - description: 币种id(明细必填)
  20745. in: query
  20746. name: currencyid
  20747. type: integer
  20748. produces:
  20749. - application/json
  20750. responses:
  20751. "200":
  20752. description: OK
  20753. schema:
  20754. items:
  20755. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20756. type: array
  20757. "500":
  20758. description: Internal Server Error
  20759. schema:
  20760. $ref: '#/definitions/app.Response'
  20761. security:
  20762. - ApiKeyAuth: []
  20763. summary: 查询现货报表
  20764. tags:
  20765. - 企业风险管理v3(app)
  20766. /Ermcp3/QryAreaStockReport:
  20767. get:
  20768. parameters:
  20769. - description: 用户ID
  20770. in: query
  20771. name: userid
  20772. required: true
  20773. type: integer
  20774. - description: 查询类型 1-报表 2-报表明细
  20775. in: query
  20776. name: querytype
  20777. required: true
  20778. type: integer
  20779. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20780. in: query
  20781. name: cycletype
  20782. required: true
  20783. type: integer
  20784. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20785. in: query
  20786. name: cycletime
  20787. required: true
  20788. type: string
  20789. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20790. in: query
  20791. name: sumfields
  20792. type: string
  20793. - description: 品种ID
  20794. in: query
  20795. name: deliverygoodsid
  20796. type: integer
  20797. - description: 品类ID
  20798. in: query
  20799. name: wrstandardid
  20800. type: integer
  20801. - description: 品牌ID
  20802. in: query
  20803. name: spotgoodsbrandid
  20804. type: integer
  20805. - description: 仓库ID
  20806. in: query
  20807. name: warehouseinfoid
  20808. type: integer
  20809. produces:
  20810. - application/json
  20811. responses:
  20812. "200":
  20813. description: OK
  20814. schema:
  20815. items:
  20816. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20817. type: array
  20818. "500":
  20819. description: Internal Server Error
  20820. schema:
  20821. $ref: '#/definitions/app.Response'
  20822. security:
  20823. - ApiKeyAuth: []
  20824. summary: 查询库存报表
  20825. tags:
  20826. - 企业风险管理v3(app)
  20827. /Ermcp3/QryAreaSumPL:
  20828. get:
  20829. parameters:
  20830. - description: 用户ID
  20831. in: query
  20832. name: userid
  20833. required: true
  20834. type: integer
  20835. - description: 查询类型 1-报表 2-报表明细
  20836. in: query
  20837. name: querytype
  20838. required: true
  20839. type: integer
  20840. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20841. in: query
  20842. name: cycletype
  20843. required: true
  20844. type: integer
  20845. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20846. in: query
  20847. name: cycletime
  20848. required: true
  20849. type: string
  20850. - description: 币种id(明细必填)
  20851. in: query
  20852. name: currencyid
  20853. type: integer
  20854. produces:
  20855. - application/json
  20856. responses:
  20857. "200":
  20858. description: OK
  20859. schema:
  20860. items:
  20861. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20862. type: array
  20863. "500":
  20864. description: Internal Server Error
  20865. schema:
  20866. $ref: '#/definitions/app.Response'
  20867. security:
  20868. - ApiKeyAuth: []
  20869. summary: 查询汇总损益表
  20870. tags:
  20871. - 企业风险管理v3(app)
  20872. /Ermcp3/QryFinanceReport:
  20873. get:
  20874. parameters:
  20875. - description: 用户ID
  20876. in: query
  20877. name: userid
  20878. required: true
  20879. type: integer
  20880. - description: 查询类型 1-报表 2-报表明细
  20881. in: query
  20882. name: querytype
  20883. required: true
  20884. type: integer
  20885. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20886. in: query
  20887. name: cycletype
  20888. required: true
  20889. type: integer
  20890. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20891. in: query
  20892. name: cycletime
  20893. required: true
  20894. type: string
  20895. - description: 币种id(报表明细必填)
  20896. in: query
  20897. name: currencyid
  20898. type: integer
  20899. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20900. in: query
  20901. name: sumfields
  20902. type: string
  20903. produces:
  20904. - application/json
  20905. responses:
  20906. "200":
  20907. description: OK
  20908. schema:
  20909. items:
  20910. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20911. type: array
  20912. "500":
  20913. description: Internal Server Error
  20914. schema:
  20915. $ref: '#/definitions/app.Response'
  20916. security:
  20917. - ApiKeyAuth: []
  20918. summary: 查询财务报表
  20919. tags:
  20920. - 企业风险管理v3(app)
  20921. /Ermcp3/QrySCMiddleGoodsReport:
  20922. get:
  20923. parameters:
  20924. - description: 用户ID
  20925. in: query
  20926. name: userid
  20927. required: true
  20928. type: integer
  20929. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20930. in: query
  20931. name: cycletype
  20932. required: true
  20933. type: integer
  20934. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20935. in: query
  20936. name: cycletime
  20937. required: true
  20938. type: string
  20939. - description: 现货合同id
  20940. in: query
  20941. name: spotcontractid
  20942. type: integer
  20943. - description: 套保品种id
  20944. in: query
  20945. name: middlegoodsid
  20946. type: integer
  20947. - description: 现货品种id
  20948. in: query
  20949. name: deliverygoodsid
  20950. type: integer
  20951. - description: 现货商品id
  20952. in: query
  20953. name: wrstandardid
  20954. type: integer
  20955. produces:
  20956. - application/json
  20957. responses:
  20958. "200":
  20959. description: OK
  20960. schema:
  20961. items:
  20962. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  20963. type: array
  20964. "500":
  20965. description: Internal Server Error
  20966. schema:
  20967. $ref: '#/definitions/app.Response'
  20968. security:
  20969. - ApiKeyAuth: []
  20970. summary: 查询定价报表
  20971. tags:
  20972. - 企业风险管理v3(app)
  20973. /Ermcp3/QryTaFutureDataReport:
  20974. get:
  20975. parameters:
  20976. - description: 用户ID
  20977. in: query
  20978. name: userid
  20979. required: true
  20980. type: integer
  20981. - description: 查询类型 1-报表 2-报表明细
  20982. in: query
  20983. name: querytype
  20984. required: true
  20985. type: integer
  20986. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20987. in: query
  20988. name: cycletype
  20989. required: true
  20990. type: integer
  20991. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20992. in: query
  20993. name: cycletime
  20994. required: true
  20995. type: string
  20996. - description: 币种id(查明细必填)
  20997. in: query
  20998. name: currencyid
  20999. type: integer
  21000. - description: 品种id(查明细必填)
  21001. in: query
  21002. name: goodsgroupid
  21003. type: integer
  21004. - description: 商品id(查明细必填)
  21005. in: query
  21006. name: goodsid
  21007. type: integer
  21008. - description: 买卖方向(查明细必填)
  21009. in: query
  21010. name: buyorsell
  21011. type: integer
  21012. produces:
  21013. - application/json
  21014. responses:
  21015. "200":
  21016. description: OK
  21017. schema:
  21018. items:
  21019. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21020. type: array
  21021. "500":
  21022. description: Internal Server Error
  21023. schema:
  21024. $ref: '#/definitions/app.Response'
  21025. security:
  21026. - ApiKeyAuth: []
  21027. summary: 查询期货报表
  21028. tags:
  21029. - 企业风险管理v3(app)
  21030. /Ermcp3/QueryAreaStock:
  21031. get:
  21032. parameters:
  21033. - description: 用户ID
  21034. in: query
  21035. name: userid
  21036. required: true
  21037. type: integer
  21038. produces:
  21039. - application/json
  21040. responses:
  21041. "200":
  21042. description: OK
  21043. schema:
  21044. items:
  21045. $ref: '#/definitions/models.Ermcp3AreaStock'
  21046. type: array
  21047. "500":
  21048. description: Internal Server Error
  21049. schema:
  21050. $ref: '#/definitions/app.Response'
  21051. security:
  21052. - ApiKeyAuth: []
  21053. summary: 查询机构库存(库存管理/当前库存)
  21054. tags:
  21055. - 企业风险管理v3(app)
  21056. /Ermcp3/QueryAreaStockApply:
  21057. get:
  21058. parameters:
  21059. - description: 用户ID
  21060. in: query
  21061. name: userid
  21062. required: true
  21063. type: integer
  21064. - description: 用户类型 2-机构 7-企业成员
  21065. in: query
  21066. name: usertype
  21067. type: integer
  21068. - description: 现货商品ID
  21069. in: query
  21070. name: deliverygoodsid
  21071. type: integer
  21072. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21073. in: query
  21074. name: inouttype
  21075. type: string
  21076. - description: 合同ID
  21077. in: query
  21078. name: spotcontractid
  21079. type: integer
  21080. - description: 品类ID
  21081. in: query
  21082. name: wrstandardid
  21083. type: integer
  21084. - description: 品牌ID
  21085. in: query
  21086. name: spotgoodsbrandid
  21087. type: integer
  21088. - description: 仓库ID
  21089. in: query
  21090. name: warehouseinfoid
  21091. type: integer
  21092. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21093. in: query
  21094. name: applystatus
  21095. type: string
  21096. produces:
  21097. - application/json
  21098. responses:
  21099. "200":
  21100. description: OK
  21101. schema:
  21102. items:
  21103. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21104. type: array
  21105. "500":
  21106. description: Internal Server Error
  21107. schema:
  21108. $ref: '#/definitions/app.Response'
  21109. security:
  21110. - ApiKeyAuth: []
  21111. summary: 查询库存申请(出入库记录|库存审核)
  21112. tags:
  21113. - 企业风险管理v3(app)
  21114. /Ermcp3/QueryAreaStockApplySum:
  21115. get:
  21116. parameters:
  21117. - description: 合同ID
  21118. in: query
  21119. name: spotcontractid
  21120. required: true
  21121. type: integer
  21122. produces:
  21123. - application/json
  21124. responses:
  21125. "200":
  21126. description: OK
  21127. schema:
  21128. items:
  21129. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21130. type: array
  21131. "500":
  21132. description: Internal Server Error
  21133. schema:
  21134. $ref: '#/definitions/app.Response'
  21135. security:
  21136. - ApiKeyAuth: []
  21137. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21138. tags:
  21139. - 企业风险管理v3(app)
  21140. /Ermcp3/QueryDGFactoryItem:
  21141. get:
  21142. parameters:
  21143. - description: 用户id
  21144. in: query
  21145. name: userid
  21146. type: integer
  21147. - description: 用户类型 2-机构 7-企业成员
  21148. in: query
  21149. name: usertype
  21150. type: integer
  21151. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21152. in: query
  21153. name: dgfactoryitemid
  21154. type: integer
  21155. - description: 现货品种ID
  21156. in: query
  21157. name: deliverygoodsid
  21158. type: integer
  21159. - description: 要素项类型
  21160. in: query
  21161. name: dgfactoryitemtypeid
  21162. type: integer
  21163. - description: 顺序
  21164. in: query
  21165. name: orderindex
  21166. type: integer
  21167. produces:
  21168. - application/json
  21169. responses:
  21170. "200":
  21171. description: OK
  21172. schema:
  21173. items:
  21174. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21175. type: array
  21176. "500":
  21177. description: Internal Server Error
  21178. schema:
  21179. $ref: '#/definitions/app.Response'
  21180. security:
  21181. - ApiKeyAuth: []
  21182. summary: 查询品种要素定义项
  21183. tags:
  21184. - 企业风险管理v3(app)
  21185. /Ermcp3/QueryDeliveryGoods:
  21186. get:
  21187. parameters:
  21188. - description: 用户id
  21189. in: query
  21190. name: userid
  21191. required: true
  21192. type: integer
  21193. - description: 用户类型 2-机构 7-企业成员
  21194. in: query
  21195. name: usertype
  21196. type: integer
  21197. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21198. in: query
  21199. name: excludecfg
  21200. type: integer
  21201. produces:
  21202. - application/json
  21203. responses:
  21204. "200":
  21205. description: OK
  21206. schema:
  21207. items:
  21208. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21209. type: array
  21210. "500":
  21211. description: Internal Server Error
  21212. schema:
  21213. $ref: '#/definitions/app.Response'
  21214. security:
  21215. - ApiKeyAuth: []
  21216. summary: 查询现货商品
  21217. tags:
  21218. - 企业风险管理v3(app)
  21219. /Ermcp3/QueryDeliveryGoodsDetail:
  21220. get:
  21221. parameters:
  21222. - description: 用户id
  21223. in: query
  21224. name: userid
  21225. required: true
  21226. type: integer
  21227. - description: 用户类型 2-机构 7-企业成员
  21228. in: query
  21229. name: usertype
  21230. type: integer
  21231. - description: 现货商品id
  21232. in: query
  21233. name: deliverygoodsid
  21234. type: integer
  21235. produces:
  21236. - application/json
  21237. responses:
  21238. "200":
  21239. description: OK
  21240. schema:
  21241. items:
  21242. $ref: '#/definitions/models.XHDeliveryGoods'
  21243. type: array
  21244. "500":
  21245. description: Internal Server Error
  21246. schema:
  21247. $ref: '#/definitions/app.Response'
  21248. security:
  21249. - ApiKeyAuth: []
  21250. summary: 查询现货商品详情
  21251. tags:
  21252. - 企业风险管理v3(app)
  21253. /Ermcp3/QueryExposureDetail:
  21254. get:
  21255. parameters:
  21256. - description: 用户id
  21257. in: query
  21258. name: userid
  21259. required: true
  21260. type: integer
  21261. - description: 用户类型 2-机构 7-企业成员
  21262. in: query
  21263. name: usertype
  21264. type: integer
  21265. - description: 套保商品
  21266. in: query
  21267. name: middlegoodsid
  21268. required: true
  21269. type: integer
  21270. produces:
  21271. - application/json
  21272. responses:
  21273. "200":
  21274. description: OK
  21275. schema:
  21276. items:
  21277. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21278. type: array
  21279. "500":
  21280. description: Internal Server Error
  21281. schema:
  21282. $ref: '#/definitions/app.Response'
  21283. security:
  21284. - ApiKeyAuth: []
  21285. summary: 查询敞口现货明细
  21286. tags:
  21287. - 企业风险管理v3(app)
  21288. /Ermcp3/QueryExposureSpot:
  21289. get:
  21290. parameters:
  21291. - description: 用户id
  21292. in: query
  21293. name: userid
  21294. required: true
  21295. type: integer
  21296. - description: 用户类型 2-机构 7-企业成员
  21297. in: query
  21298. name: usertype
  21299. type: integer
  21300. produces:
  21301. - application/json
  21302. responses:
  21303. "200":
  21304. description: OK
  21305. schema:
  21306. items:
  21307. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21308. type: array
  21309. "500":
  21310. description: Internal Server Error
  21311. schema:
  21312. $ref: '#/definitions/app.Response'
  21313. security:
  21314. - ApiKeyAuth: []
  21315. summary: 查询敞口现货头寸(敞口/现货头寸)
  21316. tags:
  21317. - 企业风险管理v3(app)
  21318. /Ermcp3/QueryExposureSpotDetail:
  21319. get:
  21320. parameters:
  21321. - description: 用户id
  21322. in: query
  21323. name: userid
  21324. required: true
  21325. type: integer
  21326. - description: 用户类型 2-机构 7-企业成员
  21327. in: query
  21328. name: usertype
  21329. type: integer
  21330. - description: 现货商品ID
  21331. in: query
  21332. name: wrstandardid
  21333. required: true
  21334. type: integer
  21335. produces:
  21336. - application/json
  21337. responses:
  21338. "200":
  21339. description: OK
  21340. schema:
  21341. items:
  21342. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21343. type: array
  21344. "500":
  21345. description: Internal Server Error
  21346. schema:
  21347. $ref: '#/definitions/app.Response'
  21348. security:
  21349. - ApiKeyAuth: []
  21350. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21351. tags:
  21352. - 企业风险管理v3(app)
  21353. /Ermcp3/QueryGoodsGroup:
  21354. get:
  21355. parameters:
  21356. - description: 用户id
  21357. in: query
  21358. name: userid
  21359. required: true
  21360. type: integer
  21361. - description: 用户类型 2-机构 7-企业成员
  21362. in: query
  21363. name: usertype
  21364. type: integer
  21365. - description: 排除套保品中已关联的商品组 1-排除
  21366. in: query
  21367. name: excludecfg
  21368. type: integer
  21369. produces:
  21370. - application/json
  21371. responses:
  21372. "200":
  21373. description: OK
  21374. schema:
  21375. items:
  21376. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21377. type: array
  21378. "500":
  21379. description: Internal Server Error
  21380. schema:
  21381. $ref: '#/definitions/app.Response'
  21382. security:
  21383. - ApiKeyAuth: []
  21384. summary: 查询期货商品组
  21385. tags:
  21386. - 企业风险管理v3(app)
  21387. /Ermcp3/QueryGoodsWrstandard:
  21388. get:
  21389. parameters:
  21390. - description: 用户id
  21391. in: query
  21392. name: userid
  21393. required: true
  21394. type: integer
  21395. - description: 用户类型 2-机构 7-企业成员
  21396. in: query
  21397. name: usertype
  21398. type: integer
  21399. - description: 现货商品id
  21400. in: query
  21401. name: deliverygoodsid
  21402. type: integer
  21403. produces:
  21404. - application/json
  21405. responses:
  21406. "200":
  21407. description: OK
  21408. schema:
  21409. items:
  21410. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21411. type: array
  21412. "500":
  21413. description: Internal Server Error
  21414. schema:
  21415. $ref: '#/definitions/app.Response'
  21416. security:
  21417. - ApiKeyAuth: []
  21418. summary: 查询商品品类
  21419. tags:
  21420. - 企业风险管理v3(app)
  21421. /Ermcp3/QueryGoodsbrand:
  21422. get:
  21423. parameters:
  21424. - description: 用户id
  21425. in: query
  21426. name: userid
  21427. required: true
  21428. type: integer
  21429. - description: 用户类型 2-机构 7-企业成员
  21430. in: query
  21431. name: usertype
  21432. type: integer
  21433. produces:
  21434. - application/json
  21435. responses:
  21436. "200":
  21437. description: OK
  21438. schema:
  21439. items:
  21440. $ref: '#/definitions/models.Ermcp3Brand'
  21441. type: array
  21442. "500":
  21443. description: Internal Server Error
  21444. schema:
  21445. $ref: '#/definitions/app.Response'
  21446. security:
  21447. - ApiKeyAuth: []
  21448. summary: 查询商品品牌
  21449. tags:
  21450. - 企业风险管理v3(app)
  21451. /Ermcp3/QueryHedgePlan:
  21452. get:
  21453. parameters:
  21454. - description: 用户ID
  21455. in: query
  21456. name: userid
  21457. required: true
  21458. type: integer
  21459. - description: 用户类型 2-机构 7-企业成员
  21460. in: query
  21461. name: usertype
  21462. type: integer
  21463. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21464. in: query
  21465. name: hedgeplanstatus
  21466. required: true
  21467. type: string
  21468. produces:
  21469. - application/json
  21470. responses:
  21471. "200":
  21472. description: OK
  21473. schema:
  21474. items:
  21475. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21476. type: array
  21477. "500":
  21478. description: Internal Server Error
  21479. schema:
  21480. $ref: '#/definitions/app.Response'
  21481. security:
  21482. - ApiKeyAuth: []
  21483. summary: 查询套保计划
  21484. tags:
  21485. - 企业风险管理v3(app)
  21486. /Ermcp3/QueryInnerTradeLink:
  21487. get:
  21488. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21489. parameters:
  21490. - description: 外部成交单号
  21491. in: query
  21492. name: outtradeid
  21493. required: true
  21494. type: integer
  21495. produces:
  21496. - application/json
  21497. responses:
  21498. "200":
  21499. description: OK
  21500. schema:
  21501. items:
  21502. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21503. type: array
  21504. "500":
  21505. description: Internal Server Error
  21506. schema:
  21507. $ref: '#/definitions/app.Response'
  21508. security:
  21509. - ApiKeyAuth: []
  21510. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21511. tags:
  21512. - 企业风险管理v3(app)
  21513. /Ermcp3/QueryMiddleGoodsDetail:
  21514. get:
  21515. parameters:
  21516. - description: 用户id
  21517. in: query
  21518. name: userid
  21519. required: true
  21520. type: integer
  21521. - description: 用户类型 2-机构 7-企业成员
  21522. in: query
  21523. name: usertype
  21524. type: integer
  21525. - description: 套保品种id
  21526. in: query
  21527. name: middlegoodsid
  21528. type: integer
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. items:
  21536. $ref: '#/definitions/models.TBMiddleGoods'
  21537. type: array
  21538. "500":
  21539. description: Internal Server Error
  21540. schema:
  21541. $ref: '#/definitions/app.Response'
  21542. security:
  21543. - ApiKeyAuth: []
  21544. summary: 查询套保品种详情(套保品种/商品详情)
  21545. tags:
  21546. - 企业风险管理v3(app)
  21547. /Ermcp3/QueryOutTradeLink:
  21548. get:
  21549. description: 页面 app 现货->期现关联->外部成交单关联
  21550. parameters:
  21551. - description: 用户ID(填登录用户的userid)
  21552. in: query
  21553. name: userid
  21554. required: true
  21555. type: integer
  21556. - description: 外部订单号(模糊匹配)
  21557. in: query
  21558. name: outtradeid
  21559. type: string
  21560. - description: 合约名称/代码(模糊匹配)
  21561. in: query
  21562. name: goodsname
  21563. type: string
  21564. - description: 关联状态 0-未关联 1-已关联
  21565. in: query
  21566. name: hasinnerorder
  21567. type: integer
  21568. produces:
  21569. - application/json
  21570. responses:
  21571. "200":
  21572. description: OK
  21573. schema:
  21574. items:
  21575. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21576. type: array
  21577. "500":
  21578. description: Internal Server Error
  21579. schema:
  21580. $ref: '#/definitions/app.Response'
  21581. security:
  21582. - ApiKeyAuth: []
  21583. summary: 查询外部成交单关联
  21584. tags:
  21585. - 企业风险管理v3(app)
  21586. /Ermcp3/QueryPaAreaAuditCfg:
  21587. get:
  21588. parameters:
  21589. - description: 用户id
  21590. in: query
  21591. name: userid
  21592. required: true
  21593. type: integer
  21594. produces:
  21595. - application/json
  21596. responses:
  21597. "200":
  21598. description: OK
  21599. schema:
  21600. items:
  21601. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21602. type: array
  21603. "500":
  21604. description: Internal Server Error
  21605. schema:
  21606. $ref: '#/definitions/app.Response'
  21607. security:
  21608. - ApiKeyAuth: []
  21609. summary: 查询审核设置
  21610. tags:
  21611. - 企业风险管理v3(app)
  21612. /Ermcp3/QueryPaAreaSubject:
  21613. get:
  21614. parameters:
  21615. - description: 用户id
  21616. in: query
  21617. name: userid
  21618. required: true
  21619. type: integer
  21620. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21621. in: query
  21622. name: subjectid
  21623. type: integer
  21624. - description: 主体类型 - 1:交易主体 2:业务部门
  21625. in: query
  21626. name: subjecttype
  21627. type: integer
  21628. - description: '主体状态 - 1:正常 2: 停用'
  21629. in: query
  21630. name: subjectstatus
  21631. type: integer
  21632. produces:
  21633. - application/json
  21634. responses:
  21635. "200":
  21636. description: OK
  21637. schema:
  21638. items:
  21639. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21640. type: array
  21641. "500":
  21642. description: Internal Server Error
  21643. schema:
  21644. $ref: '#/definitions/app.Response'
  21645. security:
  21646. - ApiKeyAuth: []
  21647. summary: 查询交易主体
  21648. tags:
  21649. - 企业风险管理v3(app)
  21650. /Ermcp3/QueryPaTradeLink:
  21651. get:
  21652. description: 页面 app 现货->期现关联->期现单据关联
  21653. parameters:
  21654. - description: 用户ID
  21655. in: query
  21656. name: userid
  21657. required: true
  21658. type: integer
  21659. produces:
  21660. - application/json
  21661. responses:
  21662. "200":
  21663. description: OK
  21664. schema:
  21665. items:
  21666. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21667. type: array
  21668. "500":
  21669. description: Internal Server Error
  21670. schema:
  21671. $ref: '#/definitions/app.Response'
  21672. security:
  21673. - ApiKeyAuth: []
  21674. summary: 查询期现单据关联
  21675. tags:
  21676. - 企业风险管理v3(app)
  21677. /Ermcp3/QueryPaTradeLinkDetail:
  21678. get:
  21679. description: 页面 app 现货->期现关联->关联记录
  21680. parameters:
  21681. - description: 用户ID(填登录用户的userid)
  21682. in: query
  21683. name: userid
  21684. required: true
  21685. type: integer
  21686. - description: 期货订单号(模糊匹配)
  21687. in: query
  21688. name: tradeid
  21689. type: string
  21690. - description: 现货编号(模糊匹配)
  21691. in: query
  21692. name: contractno
  21693. type: string
  21694. - description: 期货账户(模糊匹配)
  21695. in: query
  21696. name: taname
  21697. type: string
  21698. produces:
  21699. - application/json
  21700. responses:
  21701. "200":
  21702. description: OK
  21703. schema:
  21704. items:
  21705. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21706. type: array
  21707. "500":
  21708. description: Internal Server Error
  21709. schema:
  21710. $ref: '#/definitions/app.Response'
  21711. security:
  21712. - ApiKeyAuth: []
  21713. summary: 查询期现关联记录
  21714. tags:
  21715. - 企业风险管理v3(app)
  21716. /Ermcp3/QueryParamChangeApp:
  21717. get:
  21718. description: |-
  21719. 原型页面:
  21720. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重
  21721. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  21722. parameters:
  21723. - description: 用户ID
  21724. in: query
  21725. name: userid
  21726. required: true
  21727. type: integer
  21728. - description: 现货品种id
  21729. in: query
  21730. name: deliverygoodsid
  21731. type: integer
  21732. - description: 现货商品id
  21733. in: query
  21734. name: wrstandardid
  21735. type: integer
  21736. - description: 套保商品id
  21737. in: query
  21738. name: middlegoodsid
  21739. type: integer
  21740. - description: 操作类型 1:新增 2:修改
  21741. in: query
  21742. name: operatetype
  21743. type: integer
  21744. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  21745. in: query
  21746. name: paramchangetype
  21747. type: integer
  21748. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21749. in: query
  21750. name: ftstatus
  21751. type: string
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. items:
  21759. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  21760. type: array
  21761. "500":
  21762. description: Internal Server Error
  21763. schema:
  21764. $ref: '#/definitions/app.Response'
  21765. security:
  21766. - ApiKeyAuth: []
  21767. summary: 查询现货商品参数变更申请(流水)
  21768. tags:
  21769. - 企业风险管理v3(app)
  21770. /Ermcp3/QueryRootUserAccount:
  21771. get:
  21772. parameters:
  21773. - description: 用户ID
  21774. in: query
  21775. name: userid
  21776. required: true
  21777. type: integer
  21778. produces:
  21779. - application/json
  21780. responses:
  21781. "200":
  21782. description: OK
  21783. schema:
  21784. items:
  21785. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21786. type: array
  21787. "500":
  21788. description: Internal Server Error
  21789. schema:
  21790. $ref: '#/definitions/app.Response'
  21791. security:
  21792. - ApiKeyAuth: []
  21793. summary: 查询顶级用户信息
  21794. tags:
  21795. - 企业风险管理v3(app)
  21796. /Ermcp3/QuerySCMiddleGoods:
  21797. get:
  21798. description: |-
  21799. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21800. 现货编号 即 合同编号
  21801. parameters:
  21802. - description: 用户ID(填登录用户的userid)
  21803. in: query
  21804. name: userid
  21805. required: true
  21806. type: integer
  21807. - description: 买卖方向 0-买 1-卖
  21808. in: query
  21809. name: buyorsell
  21810. required: true
  21811. type: integer
  21812. - description: 商品组id
  21813. in: query
  21814. name: goodsgroupid
  21815. required: true
  21816. type: integer
  21817. - description: 现货编号(模糊匹配)
  21818. in: query
  21819. name: contractno
  21820. type: string
  21821. - description: 对手方(模糊匹配)
  21822. in: query
  21823. name: customername
  21824. type: string
  21825. - description: 现货商品名称(模糊匹配)
  21826. in: query
  21827. name: wrstandardname
  21828. type: string
  21829. produces:
  21830. - application/json
  21831. responses:
  21832. "200":
  21833. description: OK
  21834. schema:
  21835. items:
  21836. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21837. type: array
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询现货订单
  21845. tags:
  21846. - 企业风险管理v3(app)
  21847. /Ermcp3/QuerySpotContract:
  21848. get:
  21849. parameters:
  21850. - description: 用户id(当指定contractid, userid可不填)
  21851. in: query
  21852. name: userid
  21853. required: true
  21854. type: integer
  21855. - description: 用户类型 2-机构 7-企业成员
  21856. in: query
  21857. name: usertype
  21858. type: integer
  21859. - description: 合同类型 1-采购, -1-销售
  21860. in: query
  21861. name: contracttype
  21862. type: integer
  21863. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  21864. in: query
  21865. name: querytype
  21866. required: true
  21867. type: integer
  21868. - description: 合同ID(SpotContractId)
  21869. in: query
  21870. name: contractid
  21871. type: string
  21872. produces:
  21873. - application/json
  21874. responses:
  21875. "200":
  21876. description: OK
  21877. schema:
  21878. items:
  21879. $ref: '#/definitions/models.Ermcp3Contract'
  21880. type: array
  21881. "500":
  21882. description: Internal Server Error
  21883. schema:
  21884. $ref: '#/definitions/app.Response'
  21885. security:
  21886. - ApiKeyAuth: []
  21887. summary: 查询现货合同
  21888. tags:
  21889. - 企业风险管理v3(app)
  21890. /Ermcp3/QuerySpotContractBS:
  21891. get:
  21892. parameters:
  21893. - description: 用户id
  21894. in: query
  21895. name: userid
  21896. required: true
  21897. type: integer
  21898. - description: 用户类型 2-机构 7-企业成员
  21899. in: query
  21900. name: usertype
  21901. type: integer
  21902. - description: 合同类型 1-采购, -1-销售
  21903. in: query
  21904. name: contracttype
  21905. required: true
  21906. type: integer
  21907. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21908. in: query
  21909. name: querytype
  21910. required: true
  21911. type: integer
  21912. - description: 合同ID(SpotContractId)
  21913. in: query
  21914. name: contractid
  21915. type: string
  21916. produces:
  21917. - application/json
  21918. responses:
  21919. "200":
  21920. description: OK
  21921. schema:
  21922. items:
  21923. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21924. type: array
  21925. "500":
  21926. description: Internal Server Error
  21927. schema:
  21928. $ref: '#/definitions/app.Response'
  21929. security:
  21930. - ApiKeyAuth: []
  21931. summary: 查询合同(采购/销售)
  21932. tags:
  21933. - 企业风险管理v3(app)
  21934. /Ermcp3/QuerySpotGoodsPrice:
  21935. get:
  21936. parameters:
  21937. - description: 用户ID
  21938. in: query
  21939. name: userid
  21940. required: true
  21941. type: integer
  21942. produces:
  21943. - application/json
  21944. responses:
  21945. "200":
  21946. description: OK
  21947. schema:
  21948. items:
  21949. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21950. type: array
  21951. "500":
  21952. description: Internal Server Error
  21953. schema:
  21954. $ref: '#/definitions/app.Response'
  21955. security:
  21956. - ApiKeyAuth: []
  21957. summary: 查询现货市价(现货市价)
  21958. tags:
  21959. - 企业风险管理v3(app)
  21960. /Ermcp3/QuerySpotGoodsPriceLog:
  21961. get:
  21962. parameters:
  21963. - description: 用户ID
  21964. in: query
  21965. name: userid
  21966. required: true
  21967. type: integer
  21968. - description: 现货商品ID
  21969. in: query
  21970. name: deliverygoodsid
  21971. required: true
  21972. type: integer
  21973. - description: 品牌ID
  21974. in: query
  21975. name: brandid
  21976. type: integer
  21977. - description: 品类ID
  21978. in: query
  21979. name: wrstandardid
  21980. type: integer
  21981. produces:
  21982. - application/json
  21983. responses:
  21984. "200":
  21985. description: OK
  21986. schema:
  21987. items:
  21988. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21989. type: array
  21990. "500":
  21991. description: Internal Server Error
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. security:
  21995. - ApiKeyAuth: []
  21996. summary: 查询现货市价详情(现货市价/详情)
  21997. tags:
  21998. - 企业风险管理v3(app)
  21999. /Ermcp3/QuerySubTaaccount:
  22000. get:
  22001. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22002. parameters:
  22003. - description: 母账号id
  22004. in: query
  22005. name: parentaccountid
  22006. type: integer
  22007. - description: 母账号代码
  22008. in: query
  22009. name: parentaccountcode
  22010. type: string
  22011. produces:
  22012. - application/json
  22013. responses:
  22014. "200":
  22015. description: OK
  22016. schema:
  22017. items:
  22018. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22019. type: array
  22020. "500":
  22021. description: Internal Server Error
  22022. schema:
  22023. $ref: '#/definitions/app.Response'
  22024. security:
  22025. - ApiKeyAuth: []
  22026. summary: 查询期货子账户
  22027. tags:
  22028. - 企业风险管理v3(app)
  22029. /Erms2/QueryArbitrageStrategy:
  22030. get:
  22031. parameters:
  22032. - description: 账户ID
  22033. in: query
  22034. name: userid
  22035. required: true
  22036. type: integer
  22037. - description: 商品组ID(品种ID)
  22038. in: query
  22039. name: goodsgroupid
  22040. type: string
  22041. produces:
  22042. - application/json
  22043. responses:
  22044. "200":
  22045. description: OK
  22046. schema:
  22047. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22048. "500":
  22049. description: Internal Server Error
  22050. schema:
  22051. $ref: '#/definitions/app.Response'
  22052. security:
  22053. - ApiKeyAuth: []
  22054. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22055. tags:
  22056. - 风险管理
  22057. /Erms2/QueryInnerTradeDetail:
  22058. get:
  22059. parameters:
  22060. - description: 资金账户
  22061. in: query
  22062. name: accountid
  22063. required: true
  22064. type: integer
  22065. produces:
  22066. - application/json
  22067. responses:
  22068. "200":
  22069. description: OK
  22070. schema:
  22071. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22072. "500":
  22073. description: Internal Server Error
  22074. schema:
  22075. $ref: '#/definitions/app.Response'
  22076. security:
  22077. - ApiKeyAuth: []
  22078. summary: 查询内部成交单信息
  22079. tags:
  22080. - 风险管理
  22081. /Erms2/QuerySpotContract:
  22082. get:
  22083. parameters:
  22084. - description: 策略申请ID
  22085. in: query
  22086. name: asapplyid
  22087. required: true
  22088. type: integer
  22089. - description: 现货合同ID
  22090. in: query
  22091. name: spotcontractid
  22092. type: integer
  22093. produces:
  22094. - application/json
  22095. responses:
  22096. "200":
  22097. description: OK
  22098. schema:
  22099. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22100. "500":
  22101. description: Internal Server Error
  22102. schema:
  22103. $ref: '#/definitions/app.Response'
  22104. security:
  22105. - ApiKeyAuth: []
  22106. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22107. tags:
  22108. - 风险管理
  22109. /Erms3/AddErms2ASApply:
  22110. post:
  22111. parameters:
  22112. - description: 申请参数
  22113. in: body
  22114. name: jsonBody
  22115. required: true
  22116. schema:
  22117. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22118. produces:
  22119. - application/json
  22120. responses:
  22121. "200":
  22122. description: OK
  22123. schema:
  22124. $ref: '#/definitions/app.Response'
  22125. "500":
  22126. description: Internal Server Error
  22127. schema:
  22128. $ref: '#/definitions/app.Response'
  22129. security:
  22130. - ApiKeyAuth: []
  22131. summary: 新增期现套利业务申请
  22132. tags:
  22133. - 风险管理v3
  22134. /Erms3/AddErms2SpotTradeApply:
  22135. post:
  22136. parameters:
  22137. - description: 申请参数
  22138. in: body
  22139. name: jsonBody
  22140. required: true
  22141. schema:
  22142. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22143. produces:
  22144. - application/json
  22145. responses:
  22146. "200":
  22147. description: OK
  22148. schema:
  22149. $ref: '#/definitions/app.Response'
  22150. "500":
  22151. description: Internal Server Error
  22152. schema:
  22153. $ref: '#/definitions/app.Response'
  22154. security:
  22155. - ApiKeyAuth: []
  22156. summary: 新增现货贸易业务申请
  22157. tags:
  22158. - 风险管理v3
  22159. /Erms3/AddSpotContractApply:
  22160. post:
  22161. parameters:
  22162. - description: 申请参数
  22163. in: body
  22164. name: jsonBody
  22165. required: true
  22166. schema:
  22167. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22168. produces:
  22169. - application/json
  22170. responses:
  22171. "200":
  22172. description: OK
  22173. schema:
  22174. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22175. "500":
  22176. description: Internal Server Error
  22177. schema:
  22178. $ref: '#/definitions/app.Response'
  22179. security:
  22180. - ApiKeyAuth: []
  22181. summary: 新增现货合同申请
  22182. tags:
  22183. - 风险管理v3
  22184. /Erms3/AddUserInfoApply:
  22185. post:
  22186. parameters:
  22187. - description: 用户信息
  22188. in: body
  22189. name: jsonBody
  22190. required: true
  22191. schema:
  22192. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22193. produces:
  22194. - application/json
  22195. responses:
  22196. "200":
  22197. description: OK
  22198. schema:
  22199. $ref: '#/definitions/app.Response'
  22200. "500":
  22201. description: Internal Server Error
  22202. schema:
  22203. $ref: '#/definitions/app.Response'
  22204. security:
  22205. - ApiKeyAuth: []
  22206. summary: 新增客户申请
  22207. tags:
  22208. - 风险管理v3
  22209. /Erms3/DeleteUserInfoApply:
  22210. get:
  22211. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22212. parameters:
  22213. - description: 用户ID
  22214. in: query
  22215. name: userID
  22216. required: true
  22217. type: integer
  22218. produces:
  22219. - application/json
  22220. responses:
  22221. "200":
  22222. description: OK
  22223. schema:
  22224. $ref: '#/definitions/app.Response'
  22225. "500":
  22226. description: Internal Server Error
  22227. schema:
  22228. $ref: '#/definitions/app.Response'
  22229. security:
  22230. - ApiKeyAuth: []
  22231. summary: 删除客户申请
  22232. tags:
  22233. - 风险管理v3
  22234. /Erms3/ModifyUserInfoApply:
  22235. post:
  22236. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22237. parameters:
  22238. - description: 用户信息
  22239. in: body
  22240. name: jsonBody
  22241. required: true
  22242. schema:
  22243. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. $ref: '#/definitions/app.Response'
  22251. "500":
  22252. description: Internal Server Error
  22253. schema:
  22254. $ref: '#/definitions/app.Response'
  22255. security:
  22256. - ApiKeyAuth: []
  22257. summary: 修改客户申请
  22258. tags:
  22259. - 风险管理v3
  22260. /Erms3/QueryBusinessInfo:
  22261. get:
  22262. parameters:
  22263. - description: 资金账号ID列表,用逗号分隔
  22264. in: query
  22265. name: accountids
  22266. required: true
  22267. type: string
  22268. - description: 状态,0为未结束 1为已结束
  22269. in: query
  22270. name: status
  22271. required: true
  22272. type: integer
  22273. produces:
  22274. - application/json
  22275. responses:
  22276. "200":
  22277. description: OK
  22278. schema:
  22279. items:
  22280. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22281. type: array
  22282. "500":
  22283. description: Internal Server Error
  22284. schema:
  22285. $ref: '#/definitions/app.Response'
  22286. security:
  22287. - ApiKeyAuth: []
  22288. summary: 查询业务表单数据
  22289. tags:
  22290. - 风险管理v3
  22291. /Erms3/QueryPendingAuditContract:
  22292. get:
  22293. parameters:
  22294. - description: 资金账号ID列表,逗号隔开
  22295. in: query
  22296. name: accountids
  22297. required: true
  22298. type: string
  22299. - description: 合同类型 1-采购 -1-销售
  22300. in: query
  22301. name: contracttype
  22302. required: true
  22303. type: integer
  22304. - description: 合同模式 1-普通 2-回购
  22305. in: query
  22306. name: contractmode
  22307. required: true
  22308. type: integer
  22309. produces:
  22310. - application/json
  22311. responses:
  22312. "200":
  22313. description: OK
  22314. schema:
  22315. items:
  22316. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22317. type: array
  22318. "500":
  22319. description: Internal Server Error
  22320. schema:
  22321. $ref: '#/definitions/app.Response'
  22322. security:
  22323. - ApiKeyAuth: []
  22324. summary: 查询待审核合同
  22325. tags:
  22326. - 风险管理v3
  22327. /Erms3/QueryPendingBusiness:
  22328. get:
  22329. parameters:
  22330. - description: 资金账号ID列表,逗号隔开
  22331. in: query
  22332. name: accountids
  22333. required: true
  22334. type: string
  22335. produces:
  22336. - application/json
  22337. responses:
  22338. "200":
  22339. description: OK
  22340. schema:
  22341. items:
  22342. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22343. type: array
  22344. "500":
  22345. description: Internal Server Error
  22346. schema:
  22347. $ref: '#/definitions/app.Response'
  22348. security:
  22349. - ApiKeyAuth: []
  22350. summary: 查询待审核基差贸易业务
  22351. tags:
  22352. - 风险管理v3
  22353. /Erms3/QuerySpotContractAppleForm:
  22354. get:
  22355. parameters:
  22356. - description: 登录账号
  22357. in: query
  22358. name: loginID
  22359. required: true
  22360. type: integer
  22361. produces:
  22362. - application/json
  22363. responses:
  22364. "200":
  22365. description: OK
  22366. schema:
  22367. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询合同申请表单数据
  22375. tags:
  22376. - 风险管理v3
  22377. /Erms3/QuerySpotContractDetail:
  22378. get:
  22379. parameters:
  22380. - description: 资金账号ID列表,用逗号分隔
  22381. in: query
  22382. name: accountids
  22383. required: true
  22384. type: string
  22385. - description: 合同类型,1为采购合同 -1为销售合同
  22386. in: query
  22387. name: contracttype
  22388. required: true
  22389. type: integer
  22390. - description: 合同模式,1为普通合同 2为回购销售合同
  22391. in: query
  22392. name: contractmode
  22393. required: true
  22394. type: integer
  22395. - description: 状态,0为履约中 1为已完成
  22396. in: query
  22397. name: status
  22398. required: true
  22399. type: integer
  22400. produces:
  22401. - application/json
  22402. responses:
  22403. "200":
  22404. description: OK
  22405. schema:
  22406. items:
  22407. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22408. type: array
  22409. "500":
  22410. description: Internal Server Error
  22411. schema:
  22412. $ref: '#/definitions/app.Response'
  22413. security:
  22414. - ApiKeyAuth: []
  22415. summary: 查询合同详细信息
  22416. tags:
  22417. - 风险管理v3
  22418. /Erms3/QueryUserInfoApplies:
  22419. get:
  22420. parameters:
  22421. - description: 页码
  22422. in: query
  22423. name: page
  22424. type: integer
  22425. - description: 每页条数
  22426. in: query
  22427. name: pagesize
  22428. type: integer
  22429. - description: 客户名称,支持模糊查询
  22430. in: query
  22431. name: userName
  22432. type: string
  22433. produces:
  22434. - application/json
  22435. responses:
  22436. "200":
  22437. description: OK
  22438. schema:
  22439. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22440. "500":
  22441. description: Internal Server Error
  22442. schema:
  22443. $ref: '#/definitions/app.Response'
  22444. security:
  22445. - ApiKeyAuth: []
  22446. summary: 客户申请信息查询
  22447. tags:
  22448. - 风险管理v3
  22449. /Erms3/QueryUserInfos:
  22450. get:
  22451. parameters:
  22452. - description: 页码
  22453. in: query
  22454. name: page
  22455. type: integer
  22456. - description: 每页条数
  22457. in: query
  22458. name: pagesize
  22459. type: integer
  22460. - description: 客户名称,支持模糊查询
  22461. in: query
  22462. name: userName
  22463. type: string
  22464. produces:
  22465. - application/json
  22466. responses:
  22467. "200":
  22468. description: OK
  22469. schema:
  22470. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22471. "500":
  22472. description: Internal Server Error
  22473. schema:
  22474. $ref: '#/definitions/app.Response'
  22475. security:
  22476. - ApiKeyAuth: []
  22477. summary: 客户信息查询
  22478. tags:
  22479. - 风险管理v3
  22480. /HSBY/GetHsbyMyCount:
  22481. get:
  22482. description: 说明: 不包括已完成的数量。
  22483. parameters:
  22484. - description: 资金账户列表,格式:1,2,3
  22485. in: query
  22486. name: accountIDs
  22487. required: true
  22488. type: string
  22489. produces:
  22490. - application/json
  22491. responses:
  22492. "200":
  22493. description: OK
  22494. schema:
  22495. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22496. "500":
  22497. description: Internal Server Error
  22498. schema:
  22499. $ref: '#/definitions/app.Response'
  22500. security:
  22501. - ApiKeyAuth: []
  22502. summary: 获取我的订单与包裹数量
  22503. tags:
  22504. - 定制【海商报业】
  22505. /HSBY/QueryClientFixedADConfigs:
  22506. get:
  22507. produces:
  22508. - application/json
  22509. responses:
  22510. "200":
  22511. description: OK
  22512. schema:
  22513. $ref: '#/definitions/models.Clientfixedadconfig'
  22514. "500":
  22515. description: Internal Server Error
  22516. schema:
  22517. $ref: '#/definitions/app.Response'
  22518. security:
  22519. - ApiKeyAuth: []
  22520. summary: 获取终端固定广告配置
  22521. tags:
  22522. - 定制【海商报业】
  22523. /HSBY/QueryHsbyBuyMyTradeDetail:
  22524. get:
  22525. parameters:
  22526. - description: 页码
  22527. in: query
  22528. name: page
  22529. type: integer
  22530. - description: 每页条数
  22531. in: query
  22532. name: pagesize
  22533. type: integer
  22534. - description: 资金账户列表,格式:1,2,3
  22535. in: query
  22536. name: accountIDs
  22537. required: true
  22538. type: string
  22539. produces:
  22540. - application/json
  22541. responses:
  22542. "200":
  22543. description: OK
  22544. schema:
  22545. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22546. "500":
  22547. description: Internal Server Error
  22548. schema:
  22549. $ref: '#/definitions/app.Response'
  22550. security:
  22551. - ApiKeyAuth: []
  22552. summary: 查询"我的订单 - 已完成"单据信息
  22553. tags:
  22554. - 定制【海商报业】
  22555. /HSBY/QueryHsbyGoodsOrderDetails:
  22556. get:
  22557. description: 说明:查询结果已按委托价格和委托时间排序
  22558. parameters:
  22559. - description: 商品ID
  22560. in: query
  22561. name: goodsID
  22562. required: true
  22563. type: integer
  22564. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22565. in: query
  22566. name: accountIDs
  22567. type: string
  22568. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22569. in: query
  22570. name: buyOrSell
  22571. type: integer
  22572. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22573. in: query
  22574. name: price
  22575. type: number
  22576. - description: 档位,不传则默认为3档
  22577. in: query
  22578. name: speed
  22579. type: integer
  22580. produces:
  22581. - application/json
  22582. responses:
  22583. "200":
  22584. description: OK
  22585. schema:
  22586. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22587. "500":
  22588. description: Internal Server Error
  22589. schema:
  22590. $ref: '#/definitions/app.Response'
  22591. security:
  22592. - ApiKeyAuth: []
  22593. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22594. tags:
  22595. - 定制【海商报业】
  22596. /HSBY/QueryHsbyListingGoodsDetail:
  22597. get:
  22598. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22599. parameters:
  22600. - description: 商品ID
  22601. in: query
  22602. name: goodsID
  22603. required: true
  22604. type: integer
  22605. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22606. in: query
  22607. name: accountID
  22608. type: integer
  22609. produces:
  22610. - application/json
  22611. responses:
  22612. "200":
  22613. description: OK
  22614. schema:
  22615. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22616. "500":
  22617. description: Internal Server Error
  22618. schema:
  22619. $ref: '#/definitions/app.Response'
  22620. security:
  22621. - ApiKeyAuth: []
  22622. summary: 查询二级市场(挂牌点选)商品信息详情
  22623. tags:
  22624. - 定制【海商报业】
  22625. /HSBY/QueryHsbyMarketGoodsDetail:
  22626. get:
  22627. parameters:
  22628. - description: 委托单号
  22629. in: query
  22630. name: orderID
  22631. required: true
  22632. type: integer
  22633. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22634. in: query
  22635. name: accountID
  22636. type: integer
  22637. produces:
  22638. - application/json
  22639. responses:
  22640. "200":
  22641. description: OK
  22642. schema:
  22643. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22644. "500":
  22645. description: Internal Server Error
  22646. schema:
  22647. $ref: '#/definitions/app.Response'
  22648. security:
  22649. - ApiKeyAuth: []
  22650. summary: 查询三级市场(商城)商品信息详情
  22651. tags:
  22652. - 定制【海商报业】
  22653. /HSBY/QueryHsbyMarketGoodses:
  22654. get:
  22655. parameters:
  22656. - description: 页码
  22657. in: query
  22658. name: page
  22659. type: integer
  22660. - description: 每页条数
  22661. in: query
  22662. name: pagesize
  22663. type: integer
  22664. - description: 市场ID列表,格式:1,2,3
  22665. in: query
  22666. name: marketIDs
  22667. required: true
  22668. type: string
  22669. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22670. in: query
  22671. name: accountID
  22672. required: true
  22673. type: integer
  22674. - description: 类别ID
  22675. in: query
  22676. name: categoryID
  22677. type: integer
  22678. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22679. in: query
  22680. name: goodsIDs
  22681. type: string
  22682. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22683. in: query
  22684. name: couponTypeID
  22685. type: integer
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. $ref: '#/definitions/models.HsbyMarketGoods'
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询特卖商品列表(三级商城)
  22700. tags:
  22701. - 定制【海商报业】
  22702. /HSBY/QueryHsbyMarkets:
  22703. get:
  22704. produces:
  22705. - application/json
  22706. responses:
  22707. "200":
  22708. description: OK
  22709. schema:
  22710. $ref: '#/definitions/models.HsbyMarketInfo'
  22711. "500":
  22712. description: Internal Server Error
  22713. schema:
  22714. $ref: '#/definitions/app.Response'
  22715. security:
  22716. - ApiKeyAuth: []
  22717. summary: 查询海商报业相关市场信息
  22718. tags:
  22719. - 定制【海商报业】
  22720. /HSBY/QueryHsbyMyBuyOrderDetails:
  22721. get:
  22722. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22723. parameters:
  22724. - description: 资金账户列表,格式:1,2,3
  22725. in: query
  22726. name: accountIDs
  22727. required: true
  22728. type: string
  22729. produces:
  22730. - application/json
  22731. responses:
  22732. "200":
  22733. description: OK
  22734. schema:
  22735. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22736. "500":
  22737. description: Internal Server Error
  22738. schema:
  22739. $ref: '#/definitions/app.Response'
  22740. security:
  22741. - ApiKeyAuth: []
  22742. summary: 查询“我的订单”信息
  22743. tags:
  22744. - 定制【海商报业】
  22745. /HSBY/QueryHsbyMyGoods:
  22746. get:
  22747. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22748. parameters:
  22749. - description: 资金账户列表,格式:1,2,3
  22750. in: query
  22751. name: accountIDs
  22752. required: true
  22753. type: string
  22754. produces:
  22755. - application/json
  22756. responses:
  22757. "200":
  22758. description: OK
  22759. schema:
  22760. $ref: '#/definitions/models.HsbyMyGoods'
  22761. "500":
  22762. description: Internal Server Error
  22763. schema:
  22764. $ref: '#/definitions/app.Response'
  22765. security:
  22766. - ApiKeyAuth: []
  22767. summary: 查询“我的商品”信息
  22768. tags:
  22769. - 定制【海商报业】
  22770. /HSBY/QueryHsbyMyPackages:
  22771. get:
  22772. parameters:
  22773. - description: 资金账户列表,格式:1,2,3
  22774. in: query
  22775. name: accountIDs
  22776. required: true
  22777. type: string
  22778. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22779. in: query
  22780. name: takeOrderStatus
  22781. type: integer
  22782. produces:
  22783. - application/json
  22784. responses:
  22785. "200":
  22786. description: OK
  22787. schema:
  22788. $ref: '#/definitions/models.HsbyMyPackage'
  22789. "500":
  22790. description: Internal Server Error
  22791. schema:
  22792. $ref: '#/definitions/app.Response'
  22793. security:
  22794. - ApiKeyAuth: []
  22795. summary: 查询我的包裹信息
  22796. tags:
  22797. - 定制【海商报业】
  22798. /HSBY/QueryHsbyPreGoodsDetail:
  22799. get:
  22800. parameters:
  22801. - description: 商品ID
  22802. in: query
  22803. name: goodsID
  22804. required: true
  22805. type: integer
  22806. - description: 资金账户,主要用于获取预售商品购买上限
  22807. in: query
  22808. name: accountID
  22809. type: integer
  22810. produces:
  22811. - application/json
  22812. responses:
  22813. "200":
  22814. description: OK
  22815. schema:
  22816. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22817. "500":
  22818. description: Internal Server Error
  22819. schema:
  22820. $ref: '#/definitions/app.Response'
  22821. security:
  22822. - ApiKeyAuth: []
  22823. summary: 查询一级市场(预售)商品信息详情
  22824. tags:
  22825. - 定制【海商报业】
  22826. /HSBY/QueryHsbyPreGoodses:
  22827. get:
  22828. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22829. parameters:
  22830. - description: 页码
  22831. in: query
  22832. name: page
  22833. type: integer
  22834. - description: 每页条数
  22835. in: query
  22836. name: pagesize
  22837. type: integer
  22838. - description: 市场ID列表,格式:1,2,3
  22839. in: query
  22840. name: marketIDs
  22841. required: true
  22842. type: string
  22843. - description: 目的地(省)ID
  22844. in: query
  22845. name: descProvinceID
  22846. type: integer
  22847. - description: 目的地(市)ID
  22848. in: query
  22849. name: descCityID
  22850. type: integer
  22851. produces:
  22852. - application/json
  22853. responses:
  22854. "200":
  22855. description: OK
  22856. schema:
  22857. $ref: '#/definitions/models.HsbyPreGoods'
  22858. "500":
  22859. description: Internal Server Error
  22860. schema:
  22861. $ref: '#/definitions/app.Response'
  22862. security:
  22863. - ApiKeyAuth: []
  22864. summary: 查询新品上市商品列表(一级市场预售)
  22865. tags:
  22866. - 定制【海商报业】
  22867. /HSBY/QueryHsbySellMyDetails:
  22868. get:
  22869. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  22870. parameters:
  22871. - description: 页码
  22872. in: query
  22873. name: page
  22874. type: integer
  22875. - description: 每页条数
  22876. in: query
  22877. name: pagesize
  22878. type: integer
  22879. - description: 资金账户列表,格式:1,2,3
  22880. in: query
  22881. name: accountIDs
  22882. required: true
  22883. type: string
  22884. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  22885. in: query
  22886. name: orderType
  22887. type: integer
  22888. produces:
  22889. - application/json
  22890. responses:
  22891. "200":
  22892. description: OK
  22893. schema:
  22894. $ref: '#/definitions/models.HsbySellMyDetail'
  22895. "500":
  22896. description: Internal Server Error
  22897. schema:
  22898. $ref: '#/definitions/app.Response'
  22899. security:
  22900. - ApiKeyAuth: []
  22901. summary: 查询"我的闲置"单据信息
  22902. tags:
  22903. - 定制【海商报业】
  22904. /HSBY/QueryHsbyTopGoodses:
  22905. get:
  22906. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  22907. parameters:
  22908. - description: 页码
  22909. in: query
  22910. name: page
  22911. type: integer
  22912. - description: 每页条数
  22913. in: query
  22914. name: pagesize
  22915. type: integer
  22916. - description: 市场ID列表,格式:1,2,3
  22917. in: query
  22918. name: marketIDs
  22919. required: true
  22920. type: string
  22921. - description: 目的地(省)ID
  22922. in: query
  22923. name: descProvinceID
  22924. type: integer
  22925. - description: 目的地(市)ID
  22926. in: query
  22927. name: descCityID
  22928. type: integer
  22929. produces:
  22930. - application/json
  22931. responses:
  22932. "200":
  22933. description: OK
  22934. schema:
  22935. $ref: '#/definitions/models.HsbyTopGoods'
  22936. "500":
  22937. description: Internal Server Error
  22938. schema:
  22939. $ref: '#/definitions/app.Response'
  22940. security:
  22941. - ApiKeyAuth: []
  22942. summary: 查询热卖商品列表(二级市场挂牌点选)
  22943. tags:
  22944. - 定制【海商报业】
  22945. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22946. get:
  22947. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22948. parameters:
  22949. - description: 商品ID
  22950. in: query
  22951. name: goodsID
  22952. required: true
  22953. type: integer
  22954. produces:
  22955. - application/json
  22956. responses:
  22957. "200":
  22958. description: OK
  22959. schema:
  22960. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22961. "500":
  22962. description: Internal Server Error
  22963. schema:
  22964. $ref: '#/definitions/app.Response'
  22965. security:
  22966. - ApiKeyAuth: []
  22967. summary: 查询游客三级市场(商城)商品信息详情
  22968. tags:
  22969. - 定制【海商报业】
  22970. /HSBY/QueryHsbyVisitorMarketGoodses:
  22971. get:
  22972. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22973. parameters:
  22974. - description: 页码
  22975. in: query
  22976. name: page
  22977. type: integer
  22978. - description: 每页条数
  22979. in: query
  22980. name: pagesize
  22981. type: integer
  22982. - description: 市场ID列表,格式:1,2,3
  22983. in: query
  22984. name: marketIDs
  22985. required: true
  22986. type: string
  22987. - description: 类别ID
  22988. in: query
  22989. name: categoryID
  22990. type: integer
  22991. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22992. in: query
  22993. name: goodsIDs
  22994. type: string
  22995. produces:
  22996. - application/json
  22997. responses:
  22998. "200":
  22999. description: OK
  23000. schema:
  23001. $ref: '#/definitions/models.HsbyMarketGoods'
  23002. "500":
  23003. description: Internal Server Error
  23004. schema:
  23005. $ref: '#/definitions/app.Response'
  23006. security:
  23007. - ApiKeyAuth: []
  23008. summary: 查询游客特卖商品列表(三级商城)
  23009. tags:
  23010. - 定制【海商报业】
  23011. /HSBY/QueryMyCollectionOrders:
  23012. get:
  23013. parameters:
  23014. - description: 页码
  23015. in: query
  23016. name: page
  23017. type: integer
  23018. - description: 每页条数
  23019. in: query
  23020. name: pagesize
  23021. type: integer
  23022. - description: 资金账户,格式:1,2,3
  23023. in: query
  23024. name: accountIDs
  23025. required: true
  23026. type: string
  23027. produces:
  23028. - application/json
  23029. responses:
  23030. "200":
  23031. description: OK
  23032. schema:
  23033. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23034. "500":
  23035. description: Internal Server Error
  23036. schema:
  23037. $ref: '#/definitions/app.Response'
  23038. security:
  23039. - ApiKeyAuth: []
  23040. summary: 我的闲置中收款信息查询
  23041. tags:
  23042. - 定制【海商报业】
  23043. /HSBY/QueryMyCouponHolds:
  23044. get:
  23045. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23046. parameters:
  23047. - description: 资金账户列表,格式:1,2,3
  23048. in: query
  23049. name: accountIDs
  23050. required: true
  23051. type: string
  23052. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23053. in: query
  23054. name: holdStatus
  23055. type: string
  23056. produces:
  23057. - application/json
  23058. responses:
  23059. "200":
  23060. description: OK
  23061. schema:
  23062. $ref: '#/definitions/models.MyCouponHold'
  23063. "500":
  23064. description: Internal Server Error
  23065. schema:
  23066. $ref: '#/definitions/app.Response'
  23067. security:
  23068. - ApiKeyAuth: []
  23069. summary: 我的优惠卷持仓查询
  23070. tags:
  23071. - 定制【海商报业】
  23072. /HSBY/QueryMyCoupons:
  23073. get:
  23074. parameters:
  23075. - description: 资金账户列表,格式:1,2,3
  23076. in: query
  23077. name: accountIDs
  23078. required: true
  23079. type: string
  23080. - description: 商品ID, 一般与sellUserID配套传入
  23081. in: query
  23082. name: goodsID
  23083. type: integer
  23084. - description: 卖方UserID
  23085. in: query
  23086. name: sellUserID
  23087. type: integer
  23088. produces:
  23089. - application/json
  23090. responses:
  23091. "200":
  23092. description: OK
  23093. schema:
  23094. $ref: '#/definitions/models.MyCoupon'
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 我的优惠卷查询
  23102. tags:
  23103. - 定制【海商报业】
  23104. /HSBY/QueryMyPayOrders:
  23105. get:
  23106. parameters:
  23107. - description: 页码
  23108. in: query
  23109. name: page
  23110. type: integer
  23111. - description: 每页条数
  23112. in: query
  23113. name: pagesize
  23114. type: integer
  23115. - description: 资金账户列表,格式:1,2,3
  23116. in: query
  23117. name: accountIDs
  23118. required: true
  23119. type: string
  23120. - description: 买方委托单号
  23121. in: query
  23122. name: buyOrderID
  23123. type: integer
  23124. - description: 卖方委托单号
  23125. in: query
  23126. name: sellOrderID
  23127. type: integer
  23128. produces:
  23129. - application/json
  23130. responses:
  23131. "200":
  23132. description: OK
  23133. schema:
  23134. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 获取我的订单中待付款信息
  23142. tags:
  23143. - 定制【海商报业】
  23144. /HSBY/QueryMyUsedCoupon:
  23145. get:
  23146. parameters:
  23147. - description: 资金账户列表,格式:1,2,3
  23148. in: query
  23149. name: accountIDs
  23150. required: true
  23151. type: string
  23152. produces:
  23153. - application/json
  23154. responses:
  23155. "200":
  23156. description: OK
  23157. schema:
  23158. $ref: '#/definitions/models.MyUsedCoupon'
  23159. "500":
  23160. description: Internal Server Error
  23161. schema:
  23162. $ref: '#/definitions/app.Response'
  23163. security:
  23164. - ApiKeyAuth: []
  23165. summary: 已使用优惠卷查询
  23166. tags:
  23167. - 定制【海商报业】
  23168. /HSBY/QueryProvincesAndCities:
  23169. get:
  23170. description: 查询结果只包括二级市场商品已关连的省市信息。
  23171. parameters:
  23172. - description: 省ID
  23173. in: query
  23174. name: provinceID
  23175. type: integer
  23176. produces:
  23177. - application/json
  23178. responses:
  23179. "200":
  23180. description: OK
  23181. schema:
  23182. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23183. "500":
  23184. description: Internal Server Error
  23185. schema:
  23186. $ref: '#/definitions/app.Response'
  23187. security:
  23188. - ApiKeyAuth: []
  23189. summary: 查询省市信息(不包括区)
  23190. tags:
  23191. - 定制【海商报业】
  23192. /HSBY/SetHsbyMyPackagesStatus:
  23193. post:
  23194. parameters:
  23195. - description: 提货单号
  23196. in: query
  23197. name: takeOrderID
  23198. required: true
  23199. type: string
  23200. - description: 资金账号
  23201. in: query
  23202. name: accountID
  23203. required: true
  23204. type: integer
  23205. produces:
  23206. - application/json
  23207. responses:
  23208. "200":
  23209. description: OK
  23210. schema:
  23211. $ref: '#/definitions/app.Response'
  23212. "500":
  23213. description: Internal Server Error
  23214. schema:
  23215. $ref: '#/definitions/app.Response'
  23216. security:
  23217. - ApiKeyAuth: []
  23218. summary: 设置我的包裹已收货状态
  23219. tags:
  23220. - 定制【海商报业】
  23221. /Market/GetAllExExchanges:
  23222. get:
  23223. produces:
  23224. - application/json
  23225. responses:
  23226. "200":
  23227. description: OK
  23228. schema:
  23229. $ref: '#/definitions/models.Goods'
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 获取所有外部交易所信息
  23237. tags:
  23238. - 通用市场
  23239. /Market/QueryGoodsesByLoginID:
  23240. get:
  23241. parameters:
  23242. - description: 登录账号
  23243. in: query
  23244. name: loginID
  23245. required: true
  23246. type: integer
  23247. - description: 市场ID列表,格式:1,2,3
  23248. in: query
  23249. name: marketIDs
  23250. type: string
  23251. produces:
  23252. - application/json
  23253. responses:
  23254. "200":
  23255. description: OK
  23256. schema:
  23257. $ref: '#/definitions/models.Goods'
  23258. "500":
  23259. description: Internal Server Error
  23260. schema:
  23261. $ref: '#/definitions/app.Response'
  23262. security:
  23263. - ApiKeyAuth: []
  23264. summary: 获取登录账号有权限的商品信息
  23265. tags:
  23266. - 通用市场
  23267. /Market/QueryMarketRun:
  23268. get:
  23269. parameters:
  23270. - description: 市场ID,不传返回所有
  23271. in: query
  23272. name: marketID
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. $ref: '#/definitions/models.Marketrun'
  23281. "500":
  23282. description: Internal Server Error
  23283. schema:
  23284. $ref: '#/definitions/app.Response'
  23285. security:
  23286. - ApiKeyAuth: []
  23287. summary: 查询市场运行信息
  23288. tags:
  23289. - 通用市场
  23290. /Market/QueryMarketsByLoginID:
  23291. get:
  23292. parameters:
  23293. - description: 登录账号
  23294. in: query
  23295. name: loginID
  23296. required: true
  23297. type: integer
  23298. produces:
  23299. - application/json
  23300. responses:
  23301. "200":
  23302. description: OK
  23303. schema:
  23304. $ref: '#/definitions/models.Market'
  23305. "500":
  23306. description: Internal Server Error
  23307. schema:
  23308. $ref: '#/definitions/app.Response'
  23309. security:
  23310. - ApiKeyAuth: []
  23311. summary: 获取登录账号有权限的市场信息
  23312. tags:
  23313. - 通用市场
  23314. /Order/QueryHisTradeDetail:
  23315. get:
  23316. parameters:
  23317. - description: 资金账户 - 格式:1,2,3
  23318. in: query
  23319. name: accountID
  23320. required: true
  23321. type: string
  23322. - description: 成交单号
  23323. in: query
  23324. name: tradeID
  23325. type: integer
  23326. - description: 委托单号
  23327. in: query
  23328. name: orderID
  23329. type: integer
  23330. - description: 商品ID
  23331. in: query
  23332. name: goodsID
  23333. type: integer
  23334. - description: 交易模式 - 格式:1,2,3
  23335. in: query
  23336. name: tradeMode
  23337. type: string
  23338. - description: 委托单据类型
  23339. in: query
  23340. name: buildType
  23341. type: integer
  23342. - description: 成交类别 - 格式:1,2,3
  23343. in: query
  23344. name: tradeType
  23345. type: string
  23346. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23347. in: query
  23348. name: startDate
  23349. type: string
  23350. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23351. in: query
  23352. name: endDate
  23353. type: string
  23354. produces:
  23355. - application/json
  23356. responses:
  23357. "200":
  23358. description: OK
  23359. schema:
  23360. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23361. "500":
  23362. description: Internal Server Error
  23363. schema:
  23364. $ref: '#/definitions/app.Response'
  23365. security:
  23366. - ApiKeyAuth: []
  23367. summary: 历史成交单查询(合约市场)
  23368. tags:
  23369. - 通用单据
  23370. /Order/QueryHisTradeOrderDetail:
  23371. get:
  23372. parameters:
  23373. - description: 资金账户 - 格式:1,2,3
  23374. in: query
  23375. name: accountID
  23376. required: true
  23377. type: string
  23378. - description: 交易模式 - 格式:1,2,3
  23379. in: query
  23380. name: tradeMode
  23381. type: string
  23382. - description: 委托状态 - 格式:1,2,3
  23383. in: query
  23384. name: orderStatus
  23385. type: string
  23386. - description: 委托单号
  23387. in: query
  23388. name: orderID
  23389. type: integer
  23390. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23391. in: query
  23392. name: startDate
  23393. type: string
  23394. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23395. in: query
  23396. name: endDate
  23397. type: string
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23405. "500":
  23406. description: Internal Server Error
  23407. schema:
  23408. $ref: '#/definitions/app.Response'
  23409. security:
  23410. - ApiKeyAuth: []
  23411. summary: 历史委托单查询请求(合约市场)
  23412. tags:
  23413. - 通用单据
  23414. /Order/QueryTradeDetail:
  23415. get:
  23416. parameters:
  23417. - description: 资金账户 - 格式:1,2,3
  23418. in: query
  23419. name: accountID
  23420. required: true
  23421. type: string
  23422. - description: 成交单号
  23423. in: query
  23424. name: tradeID
  23425. type: integer
  23426. - description: 委托单号
  23427. in: query
  23428. name: orderID
  23429. type: integer
  23430. - description: 交易模式 - 格式:1,2,3
  23431. in: query
  23432. name: tradeMode
  23433. type: string
  23434. - description: 委托单据类型
  23435. in: query
  23436. name: buildType
  23437. type: integer
  23438. - description: 成交类别 - 格式:1,2,3
  23439. in: query
  23440. name: tradeType
  23441. type: string
  23442. - description: 商品ID
  23443. in: query
  23444. name: goodsID
  23445. type: integer
  23446. produces:
  23447. - application/json
  23448. responses:
  23449. "200":
  23450. description: OK
  23451. schema:
  23452. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23453. "500":
  23454. description: Internal Server Error
  23455. schema:
  23456. $ref: '#/definitions/app.Response'
  23457. security:
  23458. - ApiKeyAuth: []
  23459. summary: 成交单查询(合约市场)
  23460. tags:
  23461. - 通用单据
  23462. /Order/QueryTradeHolderDetail:
  23463. get:
  23464. parameters:
  23465. - description: 用户id
  23466. in: query
  23467. name: userid
  23468. type: integer
  23469. - description: 资金账号, 格式 1,2,3
  23470. in: query
  23471. name: accids
  23472. type: string
  23473. - description: 交易模式, 格式 1,2,3
  23474. in: query
  23475. name: trademodes
  23476. type: string
  23477. - description: 市场id, 格式 1,2,3
  23478. in: query
  23479. name: marketids
  23480. type: string
  23481. - description: 商品id
  23482. in: query
  23483. name: goodsid
  23484. type: integer
  23485. - description: 买卖方向 0-买 1-卖
  23486. in: query
  23487. name: buyorsell
  23488. type: integer
  23489. produces:
  23490. - application/json
  23491. responses:
  23492. "200":
  23493. description: OK
  23494. schema:
  23495. items:
  23496. $ref: '#/definitions/models.TradeHolderDetail'
  23497. type: array
  23498. "500":
  23499. description: Internal Server Error
  23500. schema:
  23501. $ref: '#/definitions/app.Response'
  23502. security:
  23503. - ApiKeyAuth: []
  23504. summary: 查询持仓明细
  23505. tags:
  23506. - 通用单据
  23507. /Order/QueryTradeOrderDetail:
  23508. get:
  23509. parameters:
  23510. - description: 资金账户 - 格式:1,2,3
  23511. in: query
  23512. name: accountID
  23513. required: true
  23514. type: string
  23515. - description: 交易模式 - 格式:1,2,3
  23516. in: query
  23517. name: tradeMode
  23518. type: string
  23519. - description: 委托状态 - 格式:1,2,3
  23520. in: query
  23521. name: orderStatus
  23522. type: string
  23523. - description: 委托单号
  23524. in: query
  23525. name: orderID
  23526. type: integer
  23527. produces:
  23528. - application/json
  23529. responses:
  23530. "200":
  23531. description: OK
  23532. schema:
  23533. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23534. "500":
  23535. description: Internal Server Error
  23536. schema:
  23537. $ref: '#/definitions/app.Response'
  23538. security:
  23539. - ApiKeyAuth: []
  23540. summary: 委托单查询请求(合约市场)
  23541. tags:
  23542. - 通用单据
  23543. /Order/QueryTradePosition:
  23544. get:
  23545. parameters:
  23546. - description: 资金账户 - 格式:1,2,3
  23547. in: query
  23548. name: accountID
  23549. required: true
  23550. type: string
  23551. - description: 交易模式 - 格式:1,2,3
  23552. in: query
  23553. name: tradeMode
  23554. type: string
  23555. produces:
  23556. - application/json
  23557. responses:
  23558. "200":
  23559. description: OK
  23560. schema:
  23561. $ref: '#/definitions/order.QueryTradePositionRsp'
  23562. "500":
  23563. description: Internal Server Error
  23564. schema:
  23565. $ref: '#/definitions/app.Response'
  23566. security:
  23567. - ApiKeyAuth: []
  23568. summary: 持仓汇总查询(合约市场)
  23569. tags:
  23570. - 通用单据
  23571. /Qhj/QueryAccountInOutApply:
  23572. get:
  23573. parameters:
  23574. - description: 用户ID
  23575. in: query
  23576. name: userid
  23577. required: true
  23578. type: integer
  23579. - description: 申请起始日期(格式yyyymmdd)
  23580. in: query
  23581. name: begindate
  23582. type: string
  23583. - description: 申请截止日期(格式yyyymmdd)
  23584. in: query
  23585. name: enddate
  23586. type: string
  23587. - description: 模糊搜索名称
  23588. in: query
  23589. name: likename
  23590. type: string
  23591. produces:
  23592. - application/json
  23593. responses:
  23594. "200":
  23595. description: OK
  23596. schema:
  23597. items:
  23598. $ref: '#/definitions/models.QhjAccountOutInApply'
  23599. type: array
  23600. "500":
  23601. description: Internal Server Error
  23602. schema:
  23603. $ref: '#/definitions/app.Response'
  23604. security:
  23605. - ApiKeyAuth: []
  23606. summary: 查询充值提现
  23607. tags:
  23608. - 大连千海金
  23609. /Qhj/QueryAreaFinanceConfig:
  23610. get:
  23611. parameters:
  23612. - description: 机构用户ID 其他做市关系,都设置为 1
  23613. in: query
  23614. name: userid
  23615. type: integer
  23616. produces:
  23617. - application/json
  23618. responses:
  23619. "200":
  23620. description: OK
  23621. schema:
  23622. items:
  23623. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23624. type: array
  23625. "500":
  23626. description: Internal Server Error
  23627. schema:
  23628. $ref: '#/definitions/app.Response'
  23629. security:
  23630. - ApiKeyAuth: []
  23631. summary: 查询企业配置表
  23632. tags:
  23633. - 大连千海金
  23634. /Qhj/QueryBankAccountSign:
  23635. get:
  23636. parameters:
  23637. - description: 用户ID
  23638. in: query
  23639. name: userid
  23640. required: true
  23641. type: integer
  23642. produces:
  23643. - application/json
  23644. responses:
  23645. "200":
  23646. description: OK
  23647. schema:
  23648. items:
  23649. $ref: '#/definitions/models.QhjBankAccountSign'
  23650. type: array
  23651. "500":
  23652. description: Internal Server Error
  23653. schema:
  23654. $ref: '#/definitions/app.Response'
  23655. security:
  23656. - ApiKeyAuth: []
  23657. summary: 查询签约银行信息(提现账户管理)
  23658. tags:
  23659. - 大连千海金
  23660. /Qhj/QueryBankInfo:
  23661. get:
  23662. produces:
  23663. - application/json
  23664. responses:
  23665. "200":
  23666. description: OK
  23667. schema:
  23668. items:
  23669. $ref: '#/definitions/models.QhjBankInfo'
  23670. type: array
  23671. "500":
  23672. description: Internal Server Error
  23673. schema:
  23674. $ref: '#/definitions/app.Response'
  23675. security:
  23676. - ApiKeyAuth: []
  23677. summary: 查询开户行
  23678. tags:
  23679. - 大连千海金
  23680. /Qhj/QueryBrokerApply:
  23681. get:
  23682. parameters:
  23683. - description: 所属机构ID
  23684. in: query
  23685. name: userid
  23686. type: integer
  23687. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23688. in: query
  23689. name: filterstatus
  23690. type: string
  23691. produces:
  23692. - application/json
  23693. responses:
  23694. "200":
  23695. description: OK
  23696. schema:
  23697. items:
  23698. $ref: '#/definitions/models.QhjBrokerApply'
  23699. type: array
  23700. "500":
  23701. description: Internal Server Error
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. security:
  23705. - ApiKeyAuth: []
  23706. summary: 查询经纪人申请
  23707. tags:
  23708. - 大连千海金
  23709. /Qhj/QueryBrokerApplyEx:
  23710. get:
  23711. parameters:
  23712. - description: 所属机构ID
  23713. in: query
  23714. name: userid
  23715. type: integer
  23716. produces:
  23717. - application/json
  23718. responses:
  23719. "200":
  23720. description: OK
  23721. schema:
  23722. items:
  23723. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23724. type: array
  23725. "500":
  23726. description: Internal Server Error
  23727. schema:
  23728. $ref: '#/definitions/app.Response'
  23729. security:
  23730. - ApiKeyAuth: []
  23731. summary: 查询经纪人信息和申请记录
  23732. tags:
  23733. - 大连千海金
  23734. /Qhj/QueryBrokerRewardLog:
  23735. get:
  23736. parameters:
  23737. - description: 用户ID
  23738. in: query
  23739. name: userid
  23740. required: true
  23741. type: integer
  23742. - description: 开始交易日(yyyymmdd)
  23743. in: query
  23744. name: begindate
  23745. type: string
  23746. - description: 结束交易日(yyyymmdd)
  23747. in: query
  23748. name: enddate
  23749. type: string
  23750. produces:
  23751. - application/json
  23752. responses:
  23753. "200":
  23754. description: OK
  23755. schema:
  23756. items:
  23757. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23758. type: array
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 查询奖励流水(我的奖励)
  23766. tags:
  23767. - 大连千海金
  23768. /Qhj/QueryContract:
  23769. get:
  23770. parameters:
  23771. - description: 用户ID
  23772. in: query
  23773. name: userid
  23774. type: integer
  23775. - description: scf合同id
  23776. in: query
  23777. name: scfcontractid
  23778. type: integer
  23779. produces:
  23780. - application/json
  23781. responses:
  23782. "200":
  23783. description: OK
  23784. schema:
  23785. items:
  23786. $ref: '#/definitions/models.QhjContract'
  23787. type: array
  23788. "500":
  23789. description: Internal Server Error
  23790. schema:
  23791. $ref: '#/definitions/app.Response'
  23792. security:
  23793. - ApiKeyAuth: []
  23794. summary: 查询融资明细(合同)
  23795. tags:
  23796. - 大连千海金
  23797. /Qhj/QueryContractLog:
  23798. get:
  23799. parameters:
  23800. - description: scf合同id
  23801. in: query
  23802. name: scfcontractid
  23803. required: true
  23804. type: integer
  23805. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23806. in: query
  23807. name: amounttype
  23808. type: string
  23809. produces:
  23810. - application/json
  23811. responses:
  23812. "200":
  23813. description: OK
  23814. schema:
  23815. items:
  23816. $ref: '#/definitions/models.QhjContractLog'
  23817. type: array
  23818. "500":
  23819. description: Internal Server Error
  23820. schema:
  23821. $ref: '#/definitions/app.Response'
  23822. security:
  23823. - ApiKeyAuth: []
  23824. summary: 查询融资明细流水(融资明细详情页中的流水)
  23825. tags:
  23826. - 大连千海金
  23827. /Qhj/QueryCusBankSignBank:
  23828. get:
  23829. produces:
  23830. - application/json
  23831. responses:
  23832. "200":
  23833. description: OK
  23834. schema:
  23835. items:
  23836. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23837. type: array
  23838. "500":
  23839. description: Internal Server Error
  23840. schema:
  23841. $ref: '#/definitions/app.Response'
  23842. security:
  23843. - ApiKeyAuth: []
  23844. summary: 查询托管银行
  23845. tags:
  23846. - 大连千海金
  23847. /Qhj/QueryCustomerInfo:
  23848. get:
  23849. parameters:
  23850. - description: 用户ID
  23851. in: query
  23852. name: userid
  23853. required: true
  23854. type: integer
  23855. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23856. in: query
  23857. name: querytype
  23858. required: true
  23859. type: integer
  23860. - description: 客户类型 1-个人 2-企业
  23861. in: query
  23862. name: userinfotype
  23863. type: integer
  23864. - description: 客户名称(模糊匹配)
  23865. in: query
  23866. name: customername
  23867. type: string
  23868. - description: 昵称(模糊匹配)
  23869. in: query
  23870. name: nickname
  23871. type: string
  23872. - description: 是否包含子级 1-包含
  23873. in: query
  23874. name: includesub
  23875. type: integer
  23876. produces:
  23877. - application/json
  23878. responses:
  23879. "200":
  23880. description: OK
  23881. schema:
  23882. items:
  23883. $ref: '#/definitions/models.QhjCustomer'
  23884. type: array
  23885. "500":
  23886. description: Internal Server Error
  23887. schema:
  23888. $ref: '#/definitions/app.Response'
  23889. security:
  23890. - ApiKeyAuth: []
  23891. summary: 查询客户资料
  23892. tags:
  23893. - 大连千海金
  23894. /Qhj/QueryGoodsEx:
  23895. get:
  23896. parameters:
  23897. - description: 商品id
  23898. in: query
  23899. name: goodsid
  23900. type: integer
  23901. produces:
  23902. - application/json
  23903. responses:
  23904. "200":
  23905. description: OK
  23906. schema:
  23907. items:
  23908. $ref: '#/definitions/models.Qhjgoodsex'
  23909. type: array
  23910. "500":
  23911. description: Internal Server Error
  23912. schema:
  23913. $ref: '#/definitions/app.Response'
  23914. security:
  23915. - ApiKeyAuth: []
  23916. summary: 交易商品扩展表
  23917. tags:
  23918. - 大连千海金
  23919. /Qhj/QueryMyTeam:
  23920. get:
  23921. parameters:
  23922. - description: 用户ID
  23923. in: query
  23924. name: userid
  23925. required: true
  23926. type: integer
  23927. produces:
  23928. - application/json
  23929. responses:
  23930. "200":
  23931. description: OK
  23932. schema:
  23933. items:
  23934. $ref: '#/definitions/models.QhjMyTeamEx'
  23935. type: array
  23936. "500":
  23937. description: Internal Server Error
  23938. schema:
  23939. $ref: '#/definitions/app.Response'
  23940. security:
  23941. - ApiKeyAuth: []
  23942. summary: 查询我的团队
  23943. tags:
  23944. - 大连千海金
  23945. /Qhj/QueryMyTeamOrder:
  23946. get:
  23947. parameters:
  23948. - description: 页码
  23949. in: query
  23950. name: page
  23951. type: integer
  23952. - description: 每页条数
  23953. in: query
  23954. name: pagesize
  23955. type: integer
  23956. - description: 用户ID
  23957. in: query
  23958. name: userid
  23959. required: true
  23960. type: integer
  23961. - description: 交易模式
  23962. in: query
  23963. name: trademode
  23964. type: integer
  23965. - description: 名称(模糊搜索账户)
  23966. in: query
  23967. name: filtername
  23968. type: string
  23969. produces:
  23970. - application/json
  23971. responses:
  23972. "200":
  23973. description: OK
  23974. schema:
  23975. items:
  23976. $ref: '#/definitions/models.QhjTeamOrder'
  23977. type: array
  23978. "500":
  23979. description: Internal Server Error
  23980. schema:
  23981. $ref: '#/definitions/app.Response'
  23982. security:
  23983. - ApiKeyAuth: []
  23984. summary: 查询团队订单(我的团队/团队订单)
  23985. tags:
  23986. - 大连千海金
  23987. /Qhj/QueryParentAreaList:
  23988. get:
  23989. parameters:
  23990. - description: 用户ID
  23991. in: query
  23992. name: userid
  23993. required: true
  23994. type: integer
  23995. produces:
  23996. - application/json
  23997. responses:
  23998. "200":
  23999. description: OK
  24000. schema:
  24001. items:
  24002. $ref: '#/definitions/models.QhjParentAreaList'
  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/QueryPayOrder:
  24014. get:
  24015. parameters:
  24016. - description: 资金账号id
  24017. in: query
  24018. name: accountid
  24019. required: true
  24020. type: integer
  24021. - description: 成交单号
  24022. in: query
  24023. name: tradeid
  24024. type: integer
  24025. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24026. in: query
  24027. name: payflag
  24028. type: string
  24029. produces:
  24030. - application/json
  24031. responses:
  24032. "200":
  24033. description: OK
  24034. schema:
  24035. items:
  24036. $ref: '#/definitions/models.QhjPayOrder'
  24037. type: array
  24038. "500":
  24039. description: Internal Server Error
  24040. schema:
  24041. $ref: '#/definitions/app.Response'
  24042. security:
  24043. - ApiKeyAuth: []
  24044. summary: 查询待付款单据
  24045. tags:
  24046. - 大连千海金
  24047. /Qhj/QueryPickArea:
  24048. get:
  24049. parameters:
  24050. - description: 用户ID
  24051. in: query
  24052. name: userid
  24053. type: integer
  24054. produces:
  24055. - application/json
  24056. responses:
  24057. "200":
  24058. description: OK
  24059. schema:
  24060. items:
  24061. $ref: '#/definitions/models.QhjPickArea'
  24062. type: array
  24063. "500":
  24064. description: Internal Server Error
  24065. schema:
  24066. $ref: '#/definitions/app.Response'
  24067. security:
  24068. - ApiKeyAuth: []
  24069. summary: 查询提货门店
  24070. tags:
  24071. - 大连千海金
  24072. /Qhj/QueryPickGoods:
  24073. get:
  24074. parameters:
  24075. - description: 交易商品id
  24076. in: query
  24077. name: goodsid
  24078. required: true
  24079. type: integer
  24080. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24081. in: query
  24082. name: status
  24083. type: string
  24084. produces:
  24085. - application/json
  24086. responses:
  24087. "200":
  24088. description: OK
  24089. schema:
  24090. items:
  24091. $ref: '#/definitions/models.QhjPickGoods'
  24092. type: array
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 查询提货商品
  24100. tags:
  24101. - 大连千海金
  24102. /Qhj/QueryRSTriggerLog:
  24103. get:
  24104. parameters:
  24105. - description: 用户ID
  24106. in: query
  24107. name: userid
  24108. type: integer
  24109. - description: 定投策略id
  24110. in: query
  24111. name: regularlystrategyid
  24112. type: integer
  24113. - description: 商品id
  24114. in: query
  24115. name: goodsid
  24116. type: integer
  24117. - description: 开始交易日(yyyymmdd)
  24118. in: query
  24119. name: begindate
  24120. type: string
  24121. - description: 结束交易日(yyyymmdd)
  24122. in: query
  24123. name: enddate
  24124. type: string
  24125. - description: 名称(模糊搜索账户)
  24126. in: query
  24127. name: filtername
  24128. type: string
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. items:
  24136. $ref: '#/definitions/models.QhjRSTriggerLog'
  24137. type: array
  24138. "500":
  24139. description: Internal Server Error
  24140. schema:
  24141. $ref: '#/definitions/app.Response'
  24142. security:
  24143. - ApiKeyAuth: []
  24144. summary: 查询定投记录(定投管理/详情/定投记录)
  24145. tags:
  24146. - 大连千海金
  24147. /Qhj/QueryRStrategy:
  24148. get:
  24149. parameters:
  24150. - description: 用户ID
  24151. in: query
  24152. name: userid
  24153. type: integer
  24154. - description: 商品id
  24155. in: query
  24156. name: goodsid
  24157. type: integer
  24158. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24159. in: query
  24160. name: status
  24161. type: string
  24162. - description: 名称(模糊搜索账户)
  24163. in: query
  24164. name: filtername
  24165. type: string
  24166. produces:
  24167. - application/json
  24168. responses:
  24169. "200":
  24170. description: OK
  24171. schema:
  24172. items:
  24173. $ref: '#/definitions/models.QhjRStrategy'
  24174. type: array
  24175. "500":
  24176. description: Internal Server Error
  24177. schema:
  24178. $ref: '#/definitions/app.Response'
  24179. security:
  24180. - ApiKeyAuth: []
  24181. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24182. tags:
  24183. - 大连千海金
  24184. /Qhj/QueryReckonPriceLog:
  24185. get:
  24186. parameters:
  24187. - description: 商品ID
  24188. in: query
  24189. name: goodsid
  24190. type: integer
  24191. - description: 交易日 格式(yyyymmdd)
  24192. in: query
  24193. name: tradedate
  24194. type: string
  24195. produces:
  24196. - application/json
  24197. responses:
  24198. "200":
  24199. description: OK
  24200. schema:
  24201. items:
  24202. $ref: '#/definitions/models.QhjReckonPriceLog'
  24203. type: array
  24204. "500":
  24205. description: Internal Server Error
  24206. schema:
  24207. $ref: '#/definitions/app.Response'
  24208. security:
  24209. - ApiKeyAuth: []
  24210. summary: 查询定投价(结算价)
  24211. tags:
  24212. - 大连千海金
  24213. /Qhj/QueryScoreLog:
  24214. get:
  24215. parameters:
  24216. - description: 用户ID
  24217. in: query
  24218. name: userid
  24219. required: true
  24220. type: integer
  24221. - description: 开始交易日(yyyymmdd)
  24222. in: query
  24223. name: begindate
  24224. type: string
  24225. - description: 结束交易日(yyyymmdd)
  24226. in: query
  24227. name: enddate
  24228. type: string
  24229. - description: 最近多少条
  24230. in: query
  24231. name: lastnum
  24232. type: integer
  24233. produces:
  24234. - application/json
  24235. responses:
  24236. "200":
  24237. description: OK
  24238. schema:
  24239. items:
  24240. $ref: '#/definitions/models.QhjScoreLog'
  24241. type: array
  24242. "500":
  24243. description: Internal Server Error
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. security:
  24247. - ApiKeyAuth: []
  24248. summary: 查询积分流水(我的积分)
  24249. tags:
  24250. - 大连千海金
  24251. /Qhj/QuerySiteColumnDetail:
  24252. get:
  24253. parameters:
  24254. - description: 用户ID
  24255. in: query
  24256. name: userid
  24257. required: true
  24258. type: integer
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. items:
  24266. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24267. type: array
  24268. "500":
  24269. description: Internal Server Error
  24270. schema:
  24271. $ref: '#/definitions/app.Response'
  24272. security:
  24273. - ApiKeyAuth: []
  24274. summary: 查询资讯
  24275. tags:
  24276. - 大连千海金
  24277. /Qhj/QueryTradeGoodsPickup:
  24278. get:
  24279. parameters:
  24280. - description: 用户ID
  24281. in: query
  24282. name: userid
  24283. required: true
  24284. type: integer
  24285. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24286. in: query
  24287. name: takeorderstatus
  24288. type: integer
  24289. produces:
  24290. - application/json
  24291. responses:
  24292. "200":
  24293. description: OK
  24294. schema:
  24295. items:
  24296. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24297. type: array
  24298. "500":
  24299. description: Internal Server Error
  24300. schema:
  24301. $ref: '#/definitions/app.Response'
  24302. security:
  24303. - ApiKeyAuth: []
  24304. summary: 查询提货
  24305. tags:
  24306. - 大连千海金
  24307. /Qhj/QueryUserCollectConfig:
  24308. get:
  24309. parameters:
  24310. - description: 用户ID
  24311. in: query
  24312. name: userid
  24313. required: true
  24314. type: integer
  24315. produces:
  24316. - application/json
  24317. responses:
  24318. "200":
  24319. description: OK
  24320. schema:
  24321. items:
  24322. $ref: '#/definitions/models.UserCollectConfig'
  24323. type: array
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 查询提现账户设置
  24331. tags:
  24332. - 大连千海金
  24333. /Qhj/QueryUserReceiveInfo:
  24334. get:
  24335. parameters:
  24336. - description: 用户ID
  24337. in: query
  24338. name: userid
  24339. required: true
  24340. type: integer
  24341. produces:
  24342. - application/json
  24343. responses:
  24344. "200":
  24345. description: OK
  24346. schema:
  24347. items:
  24348. $ref: '#/definitions/models.UserReceiveInfo'
  24349. type: array
  24350. "500":
  24351. description: Internal Server Error
  24352. schema:
  24353. $ref: '#/definitions/app.Response'
  24354. security:
  24355. - ApiKeyAuth: []
  24356. summary: 查询收货地址信息
  24357. tags:
  24358. - 大连千海金
  24359. /QhjMgr/QueryAccountInOutApply:
  24360. get:
  24361. parameters:
  24362. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24363. in: query
  24364. name: querytype
  24365. required: true
  24366. type: integer
  24367. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24368. in: query
  24369. name: applystatus
  24370. type: integer
  24371. - description: 申请起始日期(格式yyyymmdd)
  24372. in: query
  24373. name: begindate
  24374. type: string
  24375. - description: 申请截止日期(格式yyyymmdd)
  24376. in: query
  24377. name: enddate
  24378. type: string
  24379. - description: 模糊搜索名称
  24380. in: query
  24381. name: likename
  24382. type: string
  24383. produces:
  24384. - application/json
  24385. responses:
  24386. "200":
  24387. description: OK
  24388. schema:
  24389. items:
  24390. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24391. type: array
  24392. "500":
  24393. description: Internal Server Error
  24394. schema:
  24395. $ref: '#/definitions/app.Response'
  24396. security:
  24397. - ApiKeyAuth: []
  24398. summary: 查询充值提现
  24399. tags:
  24400. - 大连千海金(PCWeb)
  24401. /QhjMgr/QueryBrokerApply:
  24402. get:
  24403. parameters:
  24404. - description: 所属机构ID
  24405. in: query
  24406. name: userid
  24407. type: integer
  24408. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24409. in: query
  24410. name: filterstatus
  24411. type: string
  24412. - description: 名称(模糊匹配)
  24413. in: query
  24414. name: filtername
  24415. type: string
  24416. - description: 是否包含子级 1-包含
  24417. in: query
  24418. name: includesub
  24419. type: integer
  24420. produces:
  24421. - application/json
  24422. responses:
  24423. "200":
  24424. description: OK
  24425. schema:
  24426. items:
  24427. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24428. type: array
  24429. "500":
  24430. description: Internal Server Error
  24431. schema:
  24432. $ref: '#/definitions/app.Response'
  24433. security:
  24434. - ApiKeyAuth: []
  24435. summary: 查询经纪人申请
  24436. tags:
  24437. - 大连千海金(PCWeb)
  24438. /QhjMgr/QueryBrokerRewardReport:
  24439. get:
  24440. parameters:
  24441. - description: 所属机构ID
  24442. in: query
  24443. name: userid
  24444. required: true
  24445. type: integer
  24446. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24447. in: query
  24448. name: cycletype
  24449. required: true
  24450. type: integer
  24451. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24452. in: query
  24453. name: cycletime
  24454. required: true
  24455. type: string
  24456. - description: 名称(模糊匹配)
  24457. in: query
  24458. name: filtername
  24459. type: string
  24460. - description: 是否包含子级 1-包含
  24461. in: query
  24462. name: includesub
  24463. type: integer
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. items:
  24471. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24472. type: array
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 查询经纪人奖励报表(废弃)
  24480. tags:
  24481. - 大连千海金(PCWeb)
  24482. /QhjMgr/QueryContract:
  24483. get:
  24484. parameters:
  24485. - description: 用户ID
  24486. in: query
  24487. name: userid
  24488. type: integer
  24489. - description: 商品id
  24490. in: query
  24491. name: goodsid
  24492. type: integer
  24493. - description: 名称(模糊搜索账户)
  24494. in: query
  24495. name: filtername
  24496. type: string
  24497. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24498. in: query
  24499. name: risklevel
  24500. type: string
  24501. - description: 开始交易日(yyyymmdd)
  24502. in: query
  24503. name: begindate
  24504. type: string
  24505. - description: 结束交易日(yyyymmdd)
  24506. in: query
  24507. name: enddate
  24508. type: string
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/models.QhjMgrContract'
  24517. type: array
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 查询融资信息(合同)
  24525. tags:
  24526. - 大连千海金(PCWeb)
  24527. /QhjMgr/QueryCustomerInfo:
  24528. get:
  24529. parameters:
  24530. - description: 用户ID
  24531. in: query
  24532. name: userid
  24533. required: true
  24534. type: integer
  24535. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24536. in: query
  24537. name: querytype
  24538. required: true
  24539. type: integer
  24540. - description: 客户类型 1-个人 2-企业
  24541. in: query
  24542. name: userinfotype
  24543. type: integer
  24544. - description: 客户名称(模糊匹配)
  24545. in: query
  24546. name: customername
  24547. type: string
  24548. - description: 昵称(模糊匹配)
  24549. in: query
  24550. name: nickname
  24551. type: string
  24552. - description: 所属客户经理(模糊匹配)
  24553. in: query
  24554. name: brokername
  24555. type: string
  24556. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24557. in: query
  24558. name: birthday
  24559. type: string
  24560. - description: 是否包含子级 1-包含
  24561. in: query
  24562. name: includesub
  24563. type: integer
  24564. produces:
  24565. - application/json
  24566. responses:
  24567. "200":
  24568. description: OK
  24569. schema:
  24570. items:
  24571. $ref: '#/definitions/models.QhjMgrCustomer'
  24572. type: array
  24573. "500":
  24574. description: Internal Server Error
  24575. schema:
  24576. $ref: '#/definitions/app.Response'
  24577. security:
  24578. - ApiKeyAuth: []
  24579. summary: 查询客户资料
  24580. tags:
  24581. - 大连千海金(PCWeb)
  24582. /QhjMgr/QueryPickGoods:
  24583. get:
  24584. parameters:
  24585. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24586. in: query
  24587. name: status
  24588. type: string
  24589. produces:
  24590. - application/json
  24591. responses:
  24592. "200":
  24593. description: OK
  24594. schema:
  24595. items:
  24596. $ref: '#/definitions/models.QhjMgrPickGoods'
  24597. type: array
  24598. "500":
  24599. description: Internal Server Error
  24600. schema:
  24601. $ref: '#/definitions/app.Response'
  24602. security:
  24603. - ApiKeyAuth: []
  24604. summary: 查询提货商品
  24605. tags:
  24606. - 大连千海金(PCWeb)
  24607. /QhjMgr/QuerySubArea:
  24608. get:
  24609. parameters:
  24610. - description: 用户ID
  24611. in: query
  24612. name: userid
  24613. required: true
  24614. type: integer
  24615. produces:
  24616. - application/json
  24617. responses:
  24618. "200":
  24619. description: OK
  24620. schema:
  24621. items:
  24622. $ref: '#/definitions/models.QhjMgrSubArea'
  24623. type: array
  24624. "500":
  24625. description: Internal Server Error
  24626. schema:
  24627. $ref: '#/definitions/app.Response'
  24628. security:
  24629. - ApiKeyAuth: []
  24630. summary: 查询子机构列表
  24631. tags:
  24632. - 大连千海金(PCWeb)
  24633. /QhjMgr/QueryTradeDetail:
  24634. get:
  24635. parameters:
  24636. - description: 用户ID
  24637. in: query
  24638. name: userid
  24639. required: true
  24640. type: integer
  24641. - description: 用户类型 1-个人 2-企业
  24642. in: query
  24643. name: userinfotype
  24644. type: integer
  24645. - description: 交易模式
  24646. in: query
  24647. name: trademode
  24648. type: integer
  24649. - description: 商品id
  24650. in: query
  24651. name: goodsid
  24652. type: integer
  24653. - description: 名称(模糊搜索账户)
  24654. in: query
  24655. name: filtername
  24656. type: string
  24657. - description: 开始交易日(yyyymmdd)
  24658. in: query
  24659. name: begindate
  24660. type: string
  24661. - description: 结束交易日(yyyymmdd)
  24662. in: query
  24663. name: enddate
  24664. type: string
  24665. - description: 是否包含子级 1-包含
  24666. in: query
  24667. name: includesub
  24668. type: integer
  24669. produces:
  24670. - application/json
  24671. responses:
  24672. "200":
  24673. description: OK
  24674. schema:
  24675. items:
  24676. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24677. type: array
  24678. "500":
  24679. description: Internal Server Error
  24680. schema:
  24681. $ref: '#/definitions/app.Response'
  24682. security:
  24683. - ApiKeyAuth: []
  24684. summary: 查询成交明细
  24685. tags:
  24686. - 大连千海金(PCWeb)
  24687. /QhjMgr/QueryTradeOrderDetail:
  24688. get:
  24689. parameters:
  24690. - description: 用户ID
  24691. in: query
  24692. name: userid
  24693. required: true
  24694. type: integer
  24695. - description: 用户类型 1-个人 2-企业
  24696. in: query
  24697. name: userinfotype
  24698. type: integer
  24699. - description: 交易模式
  24700. in: query
  24701. name: trademode
  24702. type: integer
  24703. - description: 商品id
  24704. in: query
  24705. name: goodsid
  24706. type: integer
  24707. - description: 名称(模糊搜索账户)
  24708. in: query
  24709. name: filtername
  24710. type: string
  24711. - description: 开始交易日(yyyymmdd)
  24712. in: query
  24713. name: begindate
  24714. type: string
  24715. - description: 结束交易日(yyyymmdd)
  24716. in: query
  24717. name: enddate
  24718. type: string
  24719. - description: 是否包含子级 1-包含
  24720. in: query
  24721. name: includesub
  24722. type: integer
  24723. produces:
  24724. - application/json
  24725. responses:
  24726. "200":
  24727. description: OK
  24728. schema:
  24729. items:
  24730. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24731. type: array
  24732. "500":
  24733. description: Internal Server Error
  24734. schema:
  24735. $ref: '#/definitions/app.Response'
  24736. security:
  24737. - ApiKeyAuth: []
  24738. summary: 查询委托明细
  24739. tags:
  24740. - 大连千海金(PCWeb)
  24741. /QhjMgr/QueryTradePayOrder:
  24742. get:
  24743. parameters:
  24744. - description: 用户ID
  24745. in: query
  24746. name: userid
  24747. required: true
  24748. type: integer
  24749. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24750. in: query
  24751. name: payflag
  24752. type: string
  24753. - description: 用户类型 1-个人 2-企业
  24754. in: query
  24755. name: userinfotype
  24756. type: integer
  24757. - description: 交易模式
  24758. in: query
  24759. name: trademode
  24760. type: integer
  24761. - description: 商品id
  24762. in: query
  24763. name: goodsid
  24764. type: integer
  24765. - description: 名称(模糊搜索账户)
  24766. in: query
  24767. name: filtername
  24768. type: string
  24769. - description: 开始交易日(yyyymmdd)
  24770. in: query
  24771. name: begindate
  24772. type: string
  24773. - description: 结束交易日(yyyymmdd)
  24774. in: query
  24775. name: enddate
  24776. type: string
  24777. - description: 是否包含子级 1-包含
  24778. in: query
  24779. name: includesub
  24780. type: integer
  24781. produces:
  24782. - application/json
  24783. responses:
  24784. "200":
  24785. description: OK
  24786. schema:
  24787. items:
  24788. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24789. type: array
  24790. "500":
  24791. description: Internal Server Error
  24792. schema:
  24793. $ref: '#/definitions/app.Response'
  24794. security:
  24795. - ApiKeyAuth: []
  24796. summary: 查询待付款单
  24797. tags:
  24798. - 大连千海金(PCWeb)
  24799. /QhjMgr/QueryTradePosition:
  24800. get:
  24801. parameters:
  24802. - description: 用户ID
  24803. in: query
  24804. name: userid
  24805. required: true
  24806. type: integer
  24807. - description: 用户类型 1-个人 2-企业
  24808. in: query
  24809. name: userinfotype
  24810. type: integer
  24811. - description: 交易模式
  24812. in: query
  24813. name: trademode
  24814. type: integer
  24815. - description: 商品id
  24816. in: query
  24817. name: goodsid
  24818. type: integer
  24819. - description: 名称(模糊搜索账户)
  24820. in: query
  24821. name: filtername
  24822. type: string
  24823. - description: 是否包含子级 1-包含
  24824. in: query
  24825. name: includesub
  24826. type: integer
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. items:
  24834. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24835. type: array
  24836. "500":
  24837. description: Internal Server Error
  24838. schema:
  24839. $ref: '#/definitions/app.Response'
  24840. security:
  24841. - ApiKeyAuth: []
  24842. summary: 查询持仓汇总
  24843. tags:
  24844. - 大连千海金(PCWeb)
  24845. /QhjSys/QueryAgreementChangeLog:
  24846. get:
  24847. parameters:
  24848. - description: 协议ID
  24849. in: query
  24850. name: agreementid
  24851. type: integer
  24852. - description: 协议版本号
  24853. in: query
  24854. name: agreementversion
  24855. type: integer
  24856. - description: 协议类型 - 1:注册 2:登录 3:交易
  24857. in: query
  24858. name: agreementtype
  24859. type: integer
  24860. - description: 协议编号(模糊匹配)
  24861. in: query
  24862. name: agreementno
  24863. type: string
  24864. - description: 协议名称(模糊匹配)
  24865. in: query
  24866. name: agreementname
  24867. type: string
  24868. produces:
  24869. - application/json
  24870. responses:
  24871. "200":
  24872. description: OK
  24873. schema:
  24874. items:
  24875. $ref: '#/definitions/models.QhjAgreementChangeLog'
  24876. type: array
  24877. "500":
  24878. description: Internal Server Error
  24879. schema:
  24880. $ref: '#/definitions/app.Response'
  24881. security:
  24882. - ApiKeyAuth: []
  24883. summary: 查询协议配置变更流水
  24884. tags:
  24885. - 大连千海金(协议和签约信息)
  24886. /QhjSys/QueryAgreementConfig:
  24887. get:
  24888. parameters:
  24889. - description: 协议ID
  24890. in: query
  24891. name: agreementid
  24892. type: integer
  24893. - description: 协议版本号
  24894. in: query
  24895. name: agreementversion
  24896. type: integer
  24897. - description: 协议类型 - 1:注册 2:登录 3:交易
  24898. in: query
  24899. name: agreementtype
  24900. type: integer
  24901. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  24902. in: query
  24903. name: isvalid
  24904. type: integer
  24905. - description: 协议编号(模糊匹配)
  24906. in: query
  24907. name: agreementno
  24908. type: string
  24909. - description: 协议名称(模糊匹配)
  24910. in: query
  24911. name: agreementname
  24912. type: string
  24913. produces:
  24914. - application/json
  24915. responses:
  24916. "200":
  24917. description: OK
  24918. schema:
  24919. items:
  24920. $ref: '#/definitions/models.QhjAgreementConfig'
  24921. type: array
  24922. "500":
  24923. description: Internal Server Error
  24924. schema:
  24925. $ref: '#/definitions/app.Response'
  24926. security:
  24927. - ApiKeyAuth: []
  24928. summary: 查询协议配置
  24929. tags:
  24930. - 大连千海金(协议和签约信息)
  24931. /QhjSys/QueryCustomerSignStatus:
  24932. get:
  24933. parameters:
  24934. - description: 客户ID
  24935. in: query
  24936. name: userid
  24937. type: integer
  24938. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24939. in: query
  24940. name: nodetype
  24941. type: integer
  24942. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24943. in: query
  24944. name: goodsid
  24945. type: integer
  24946. - description: 创建交易日(yyyyMMdd)
  24947. in: query
  24948. name: tradedate
  24949. type: string
  24950. - description: 用户名称(模糊匹配)
  24951. in: query
  24952. name: username
  24953. type: string
  24954. produces:
  24955. - application/json
  24956. responses:
  24957. "200":
  24958. description: OK
  24959. schema:
  24960. items:
  24961. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24962. type: array
  24963. "500":
  24964. description: Internal Server Error
  24965. schema:
  24966. $ref: '#/definitions/app.Response'
  24967. security:
  24968. - ApiKeyAuth: []
  24969. summary: 查询客户协议签约状态
  24970. tags:
  24971. - 大连千海金(协议和签约信息)
  24972. /QhjSys/QueryNodeAgreementConfig:
  24973. get:
  24974. parameters:
  24975. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24976. in: query
  24977. name: configid
  24978. type: integer
  24979. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24980. in: query
  24981. name: nodetype
  24982. type: integer
  24983. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24984. in: query
  24985. name: goodsid
  24986. type: integer
  24987. - description: 协议ID
  24988. in: query
  24989. name: agreementid
  24990. type: integer
  24991. - description: 协议类型 - 1:注册 2:登录 3:交易
  24992. in: query
  24993. name: agreementtype
  24994. type: integer
  24995. - description: 协议版本号
  24996. in: query
  24997. name: agreementversion
  24998. type: integer
  24999. - description: 协议编号(模糊匹配)
  25000. in: query
  25001. name: agreementno
  25002. type: string
  25003. - description: 协议名称(模糊匹配)
  25004. in: query
  25005. name: agreementname
  25006. type: string
  25007. produces:
  25008. - application/json
  25009. responses:
  25010. "200":
  25011. description: OK
  25012. schema:
  25013. items:
  25014. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25015. type: array
  25016. "500":
  25017. description: Internal Server Error
  25018. schema:
  25019. $ref: '#/definitions/app.Response'
  25020. security:
  25021. - ApiKeyAuth: []
  25022. summary: 查询协议节点配置
  25023. tags:
  25024. - 大连千海金(协议和签约信息)
  25025. /QhjSys/QueryQhjCustomerSignLog:
  25026. get:
  25027. parameters:
  25028. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25029. in: query
  25030. name: logid
  25031. type: integer
  25032. - description: 客户ID
  25033. in: query
  25034. name: userid
  25035. type: integer
  25036. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25037. in: query
  25038. name: nodetype
  25039. type: integer
  25040. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25041. in: query
  25042. name: goodsid
  25043. type: integer
  25044. - description: 协议ID
  25045. in: query
  25046. name: agreementid
  25047. type: integer
  25048. - description: 用户名称(模糊匹配)
  25049. in: query
  25050. name: username
  25051. type: string
  25052. - description: 协议编号(模糊匹配)
  25053. in: query
  25054. name: agreementno
  25055. type: string
  25056. - description: 协议名称(模糊匹配)
  25057. in: query
  25058. name: agreementname
  25059. type: string
  25060. produces:
  25061. - application/json
  25062. responses:
  25063. "200":
  25064. description: OK
  25065. schema:
  25066. items:
  25067. $ref: '#/definitions/models.QhjCustomerSignLog'
  25068. type: array
  25069. "500":
  25070. description: Internal Server Error
  25071. schema:
  25072. $ref: '#/definitions/app.Response'
  25073. security:
  25074. - ApiKeyAuth: []
  25075. summary: 查询客户协议签约流水
  25076. tags:
  25077. - 大连千海金(协议和签约信息)
  25078. /QhjSys/QueryUserNodeCfgAndStatus:
  25079. get:
  25080. parameters:
  25081. - description: 客户ID
  25082. in: query
  25083. name: userid
  25084. type: integer
  25085. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25086. in: query
  25087. name: configid
  25088. type: integer
  25089. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25090. in: query
  25091. name: nodetype
  25092. type: string
  25093. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25094. in: query
  25095. name: goodsid
  25096. type: integer
  25097. - description: 协议ID
  25098. in: query
  25099. name: agreementid
  25100. type: integer
  25101. - description: 协议类型 - 1:注册 2:登录 3:交易
  25102. in: query
  25103. name: agreementtype
  25104. type: integer
  25105. - description: 协议版本号
  25106. in: query
  25107. name: agreementversion
  25108. type: integer
  25109. - description: 协议编号(模糊匹配)
  25110. in: query
  25111. name: agreementno
  25112. type: string
  25113. - description: 协议名称(模糊匹配)
  25114. in: query
  25115. name: agreementname
  25116. type: string
  25117. produces:
  25118. - application/json
  25119. responses:
  25120. "200":
  25121. description: OK
  25122. schema:
  25123. items:
  25124. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25125. type: array
  25126. "500":
  25127. description: Internal Server Error
  25128. schema:
  25129. $ref: '#/definitions/app.Response'
  25130. security:
  25131. - ApiKeyAuth: []
  25132. summary: 查询用户协议节点配置和状态
  25133. tags:
  25134. - 大连千海金(协议和签约信息)
  25135. /Quote/QueryHistoryDatas:
  25136. get:
  25137. parameters:
  25138. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25139. in: query
  25140. name: cycleType
  25141. required: true
  25142. type: integer
  25143. - description: 商品代码
  25144. in: query
  25145. name: goodsCode
  25146. required: true
  25147. type: string
  25148. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25149. in: query
  25150. name: startTime
  25151. type: string
  25152. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25153. in: query
  25154. name: endTime
  25155. type: string
  25156. - description: 条数
  25157. in: query
  25158. name: count
  25159. type: integer
  25160. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25161. in: query
  25162. name: isAsc
  25163. type: boolean
  25164. produces:
  25165. - application/json
  25166. responses:
  25167. "200":
  25168. description: OK
  25169. schema:
  25170. $ref: '#/definitions/quote.HistoryData'
  25171. "500":
  25172. description: Internal Server Error
  25173. schema:
  25174. $ref: '#/definitions/app.Response'
  25175. security:
  25176. - ApiKeyAuth: []
  25177. summary: 查询行情历史数据
  25178. tags:
  25179. - 行情服务
  25180. /Quote/QueryHistoryTikDatas:
  25181. get:
  25182. parameters:
  25183. - description: 商品代码
  25184. in: query
  25185. name: goodsCode
  25186. required: true
  25187. type: string
  25188. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25189. in: query
  25190. name: startTime
  25191. type: string
  25192. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25193. in: query
  25194. name: endTime
  25195. type: string
  25196. - description: 条数
  25197. in: query
  25198. name: count
  25199. type: integer
  25200. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25201. in: query
  25202. name: isAsc
  25203. type: boolean
  25204. produces:
  25205. - application/json
  25206. responses:
  25207. "200":
  25208. description: OK
  25209. schema:
  25210. $ref: '#/definitions/quote.HistoryTikData'
  25211. "500":
  25212. description: Internal Server Error
  25213. schema:
  25214. $ref: '#/definitions/app.Response'
  25215. security:
  25216. - ApiKeyAuth: []
  25217. summary: 查询行情Tik数据
  25218. tags:
  25219. - 行情服务
  25220. /Quote/QueryQuoteDay:
  25221. get:
  25222. parameters:
  25223. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25224. in: query
  25225. name: goodsCodes
  25226. required: true
  25227. type: string
  25228. produces:
  25229. - application/json
  25230. responses:
  25231. "200":
  25232. description: OK
  25233. schema:
  25234. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25235. "500":
  25236. description: Internal Server Error
  25237. schema:
  25238. $ref: '#/definitions/app.Response'
  25239. security:
  25240. - ApiKeyAuth: []
  25241. summary: 获取商品盘面信息
  25242. tags:
  25243. - 行情服务
  25244. /Quote/QueryTSData:
  25245. get:
  25246. parameters:
  25247. - description: 商品代码
  25248. in: query
  25249. name: goodsCode
  25250. required: true
  25251. type: string
  25252. produces:
  25253. - application/json
  25254. responses:
  25255. "200":
  25256. description: OK
  25257. schema:
  25258. $ref: '#/definitions/quote.QueryTSDataRsp'
  25259. "500":
  25260. description: Internal Server Error
  25261. schema:
  25262. $ref: '#/definitions/app.Response'
  25263. security:
  25264. - ApiKeyAuth: []
  25265. summary: 分时图数据查询
  25266. tags:
  25267. - 行情服务
  25268. /SZDZ/QueryConvertConfig:
  25269. get:
  25270. parameters:
  25271. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25272. in: query
  25273. name: convertType
  25274. type: integer
  25275. - description: 外部商品代码[JD\PD]
  25276. in: query
  25277. name: outerGoodsCode
  25278. type: string
  25279. - description: 内部商品ID列表[交易],格式:1,2,3
  25280. in: query
  25281. name: innerGoodsIDs
  25282. type: string
  25283. produces:
  25284. - application/json
  25285. responses:
  25286. "200":
  25287. description: OK
  25288. schema:
  25289. $ref: '#/definitions/models.Szdz3convertconfig'
  25290. "500":
  25291. description: Internal Server Error
  25292. schema:
  25293. $ref: '#/definitions/app.Response'
  25294. security:
  25295. - ApiKeyAuth: []
  25296. summary: 查询交易系统转换设置
  25297. tags:
  25298. - 定制【尚志大宗】
  25299. /SZDZ/QueryConvertLog:
  25300. get:
  25301. parameters:
  25302. - description: 资金账户 - 格式:1,2,3
  25303. in: query
  25304. name: accountID
  25305. required: true
  25306. type: string
  25307. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25308. in: query
  25309. name: startDate
  25310. type: string
  25311. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25312. in: query
  25313. name: endDate
  25314. type: string
  25315. produces:
  25316. - application/json
  25317. responses:
  25318. "200":
  25319. description: OK
  25320. schema:
  25321. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25322. "500":
  25323. description: Internal Server Error
  25324. schema:
  25325. $ref: '#/definitions/app.Response'
  25326. security:
  25327. - ApiKeyAuth: []
  25328. summary: 交易系统转换流水查询
  25329. tags:
  25330. - 定制【尚志大宗】
  25331. /SZDZ/QueryGoodsPickup:
  25332. get:
  25333. parameters:
  25334. - description: 资金账户 - 格式:1,2,3
  25335. in: query
  25336. name: accountID
  25337. required: true
  25338. type: string
  25339. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25340. in: query
  25341. name: takeOrderStatus
  25342. type: integer
  25343. produces:
  25344. - application/json
  25345. responses:
  25346. "200":
  25347. description: OK
  25348. schema:
  25349. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25350. "500":
  25351. description: Internal Server Error
  25352. schema:
  25353. $ref: '#/definitions/app.Response'
  25354. security:
  25355. - ApiKeyAuth: []
  25356. summary: 商品提货单查询
  25357. tags:
  25358. - 定制【尚志大宗】
  25359. /SZDZ/QueryRecieptOrder:
  25360. get:
  25361. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25362. parameters:
  25363. - description: 页码
  25364. in: query
  25365. name: page
  25366. type: integer
  25367. - description: 每页条数
  25368. in: query
  25369. name: pagesize
  25370. type: integer
  25371. - description: 商品ID
  25372. in: query
  25373. name: goodsID
  25374. required: true
  25375. type: integer
  25376. - description: 所属账户名称
  25377. in: query
  25378. name: accountName
  25379. type: string
  25380. - description: 市场ID
  25381. in: query
  25382. name: marketID
  25383. type: integer
  25384. - description: 方向 - 0:买 1:卖
  25385. in: query
  25386. name: buyorsell
  25387. required: true
  25388. type: integer
  25389. produces:
  25390. - application/json
  25391. responses:
  25392. "200":
  25393. description: OK
  25394. schema:
  25395. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25396. "500":
  25397. description: Internal Server Error
  25398. schema:
  25399. $ref: '#/definitions/app.Response'
  25400. security:
  25401. - ApiKeyAuth: []
  25402. summary: 点选挂牌委托单据查询(摘牌大厅)
  25403. tags:
  25404. - 定制【尚志大宗】
  25405. /SZDZ/QuerySZDZTradePosition:
  25406. get:
  25407. parameters:
  25408. - description: 资金账户
  25409. in: query
  25410. name: accountID
  25411. required: true
  25412. type: integer
  25413. produces:
  25414. - application/json
  25415. responses:
  25416. "200":
  25417. description: OK
  25418. schema:
  25419. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25420. "500":
  25421. description: Internal Server Error
  25422. schema:
  25423. $ref: '#/definitions/app.Response'
  25424. security:
  25425. - ApiKeyAuth: []
  25426. summary: 持仓汇总查询(尚志大宗)
  25427. tags:
  25428. - 定制【尚志大宗】
  25429. /SZDZ/SearchWhite:
  25430. get:
  25431. parameters:
  25432. - description: 用户ID
  25433. in: query
  25434. name: userID
  25435. required: true
  25436. type: integer
  25437. produces:
  25438. - application/json
  25439. responses:
  25440. "200":
  25441. description: OK
  25442. schema:
  25443. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25444. "500":
  25445. description: Internal Server Error
  25446. schema:
  25447. $ref: '#/definitions/app.Response'
  25448. security:
  25449. - ApiKeyAuth: []
  25450. summary: 搜索白名单
  25451. tags:
  25452. - 定制【尚志大宗】
  25453. /Search/SearchGoodses:
  25454. get:
  25455. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25456. parameters:
  25457. - description: 检索内容
  25458. in: query
  25459. name: content
  25460. required: true
  25461. type: string
  25462. - description: 交易模式,格式:1,2,3
  25463. in: query
  25464. name: tradeModes
  25465. type: string
  25466. produces:
  25467. - application/json
  25468. responses:
  25469. "200":
  25470. description: OK
  25471. schema:
  25472. $ref: '#/definitions/models.SearchGoods'
  25473. "500":
  25474. description: Internal Server Error
  25475. schema:
  25476. $ref: '#/definitions/app.Response'
  25477. summary: 检索商品信息
  25478. tags:
  25479. - 检索服务
  25480. /TaAccount/GetTaAccounts:
  25481. get:
  25482. parameters:
  25483. - description: 登录账户
  25484. in: query
  25485. name: loginID
  25486. required: true
  25487. type: integer
  25488. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25489. in: query
  25490. name: taAccountType
  25491. type: integer
  25492. produces:
  25493. - application/json
  25494. responses:
  25495. "200":
  25496. description: OK
  25497. schema:
  25498. $ref: '#/definitions/models.Taaccount'
  25499. "500":
  25500. description: Internal Server Error
  25501. schema:
  25502. $ref: '#/definitions/app.Response'
  25503. security:
  25504. - ApiKeyAuth: []
  25505. summary: 获取资金账户信息
  25506. tags:
  25507. - 资金账户
  25508. /TaAccount/QueryAmountLog:
  25509. get:
  25510. parameters:
  25511. - description: 页码
  25512. in: query
  25513. name: page
  25514. type: integer
  25515. - description: 每页条数
  25516. in: query
  25517. name: pagesize
  25518. type: integer
  25519. - description: 资金账户 - 格式:1,2,3
  25520. in: query
  25521. name: accountID
  25522. required: true
  25523. type: string
  25524. - description: 资金操作类型 - 格式:1,2,3
  25525. in: query
  25526. name: OperateType
  25527. type: string
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25535. "500":
  25536. description: Internal Server Error
  25537. schema:
  25538. $ref: '#/definitions/app.Response'
  25539. security:
  25540. - ApiKeyAuth: []
  25541. summary: 资金流水查询(当前)
  25542. tags:
  25543. - 资金账户
  25544. /TaAccount/QueryHisAmountLog:
  25545. get:
  25546. parameters:
  25547. - description: 页码
  25548. in: query
  25549. name: page
  25550. type: integer
  25551. - description: 每页条数
  25552. in: query
  25553. name: pagesize
  25554. type: integer
  25555. - description: 资金账户 - 格式:1,2,3
  25556. in: query
  25557. name: accountID
  25558. required: true
  25559. type: string
  25560. - description: 资金操作类型 - 格式:1,2,3
  25561. in: query
  25562. name: OperateType
  25563. type: string
  25564. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25565. in: query
  25566. name: startDate
  25567. type: string
  25568. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25569. in: query
  25570. name: endDate
  25571. type: string
  25572. produces:
  25573. - application/json
  25574. responses:
  25575. "200":
  25576. description: OK
  25577. schema:
  25578. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25579. "500":
  25580. description: Internal Server Error
  25581. schema:
  25582. $ref: '#/definitions/app.Response'
  25583. security:
  25584. - ApiKeyAuth: []
  25585. summary: 资金流水查询(历史)
  25586. tags:
  25587. - 资金账户
  25588. /Tjmd/QueryQuoteGoodsList:
  25589. get:
  25590. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25591. parameters:
  25592. - description: 用户类型
  25593. in: query
  25594. name: usertype
  25595. required: true
  25596. type: integer
  25597. - description: 市场id, 格式 1,2,3
  25598. in: query
  25599. name: marketids
  25600. type: string
  25601. - description: 商品组id
  25602. in: query
  25603. name: goodsgroupid
  25604. type: integer
  25605. - description: 商品id
  25606. in: query
  25607. name: goodsid
  25608. type: integer
  25609. produces:
  25610. - application/json
  25611. responses:
  25612. "200":
  25613. description: OK
  25614. schema:
  25615. items:
  25616. $ref: '#/definitions/models.TjmdQuoteGoods'
  25617. type: array
  25618. "500":
  25619. description: Internal Server Error
  25620. schema:
  25621. $ref: '#/definitions/app.Response'
  25622. security:
  25623. - ApiKeyAuth: []
  25624. summary: 查询掉期报价列表
  25625. tags:
  25626. - 天津麦顿
  25627. /Tjmd/QueryTjmdTodayAccountMargin:
  25628. get:
  25629. parameters:
  25630. - description: 市场id
  25631. in: query
  25632. name: marketid
  25633. type: string
  25634. - description: 商品id
  25635. in: query
  25636. name: goodsid
  25637. type: string
  25638. - description: 资金账号
  25639. in: query
  25640. name: accountid
  25641. type: string
  25642. produces:
  25643. - application/json
  25644. responses:
  25645. "200":
  25646. description: OK
  25647. schema:
  25648. items:
  25649. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25650. type: array
  25651. "500":
  25652. description: Internal Server Error
  25653. schema:
  25654. $ref: '#/definitions/app.Response'
  25655. security:
  25656. - ApiKeyAuth: []
  25657. summary: 查询今日账户保证金配置
  25658. tags:
  25659. - 天津麦顿
  25660. /Tjmd/QueryTjmdTradeOrderDetail:
  25661. get:
  25662. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25663. parameters:
  25664. - description: 页码
  25665. in: query
  25666. name: page
  25667. type: integer
  25668. - description: 每页条数
  25669. in: query
  25670. name: pagesize
  25671. type: integer
  25672. - description: 用户id
  25673. in: query
  25674. name: userid
  25675. required: true
  25676. type: integer
  25677. - description: 用户类型
  25678. in: query
  25679. name: usertype
  25680. required: true
  25681. type: integer
  25682. - description: 市场id, 格式 1,2,3
  25683. in: query
  25684. name: marketids
  25685. type: string
  25686. - description: 商品id
  25687. in: query
  25688. name: goodsid
  25689. required: true
  25690. type: integer
  25691. - description: 买卖方向 0-买 1-卖
  25692. in: query
  25693. name: buyorsell
  25694. required: true
  25695. type: integer
  25696. produces:
  25697. - application/json
  25698. responses:
  25699. "200":
  25700. description: OK
  25701. schema:
  25702. items:
  25703. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25704. type: array
  25705. "500":
  25706. description: Internal Server Error
  25707. schema:
  25708. $ref: '#/definitions/app.Response'
  25709. security:
  25710. - ApiKeyAuth: []
  25711. summary: 查询掉期买卖大厅
  25712. tags:
  25713. - 天津麦顿
  25714. /Tjmd/QueryTjmdTransferApply:
  25715. get:
  25716. parameters:
  25717. - description: 类型 1-我的申请 2-对方申请
  25718. in: query
  25719. name: applytype
  25720. required: true
  25721. type: integer
  25722. - description: 市场id, 格式 1,2,3
  25723. in: query
  25724. name: marketids
  25725. type: string
  25726. - description: 资金账号, 格式 25000000001,25000000003
  25727. in: query
  25728. name: accountids
  25729. type: string
  25730. produces:
  25731. - application/json
  25732. responses:
  25733. "200":
  25734. description: OK
  25735. schema:
  25736. items:
  25737. $ref: '#/definitions/models.TjmdTransferApply'
  25738. type: array
  25739. "500":
  25740. description: Internal Server Error
  25741. schema:
  25742. $ref: '#/definitions/app.Response'
  25743. security:
  25744. - ApiKeyAuth: []
  25745. summary: 查询掉期协议单
  25746. tags:
  25747. - 天津麦顿
  25748. /Trade/QueryRecieptOrder:
  25749. get:
  25750. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25751. parameters:
  25752. - description: 页码
  25753. in: query
  25754. name: page
  25755. type: integer
  25756. - description: 每页条数
  25757. in: query
  25758. name: pagesize
  25759. type: integer
  25760. - description: 商品ID
  25761. in: query
  25762. name: goodsID
  25763. required: true
  25764. type: integer
  25765. - description: 所属账户名称
  25766. in: query
  25767. name: accountName
  25768. type: string
  25769. - description: 市场ID
  25770. in: query
  25771. name: marketID
  25772. type: integer
  25773. - description: 方向 - 0:买 1:卖
  25774. in: query
  25775. name: buyorsell
  25776. required: true
  25777. type: integer
  25778. produces:
  25779. - application/json
  25780. responses:
  25781. "200":
  25782. description: OK
  25783. schema:
  25784. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25785. "500":
  25786. description: Internal Server Error
  25787. schema:
  25788. $ref: '#/definitions/app.Response'
  25789. security:
  25790. - ApiKeyAuth: []
  25791. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25792. tags:
  25793. - 通用交易
  25794. /User/AddMessageBoard:
  25795. post:
  25796. parameters:
  25797. - description: 用户ID
  25798. in: query
  25799. name: userID
  25800. required: true
  25801. type: integer
  25802. - description: 留言信息
  25803. in: query
  25804. name: message
  25805. required: true
  25806. type: string
  25807. - description: 联系电话
  25808. in: query
  25809. name: contactNum
  25810. required: true
  25811. type: string
  25812. produces:
  25813. - application/json
  25814. responses:
  25815. "200":
  25816. description: OK
  25817. schema:
  25818. $ref: '#/definitions/app.Response'
  25819. "500":
  25820. description: Internal Server Error
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. security:
  25824. - ApiKeyAuth: []
  25825. summary: 添加用户留言板信息
  25826. tags:
  25827. - 用户信息
  25828. /User/AddUserFavoriteGoods:
  25829. post:
  25830. parameters:
  25831. - description: 用户ID
  25832. in: query
  25833. name: userID
  25834. required: true
  25835. type: integer
  25836. - description: 商品ID
  25837. in: query
  25838. name: goodsID
  25839. required: true
  25840. type: integer
  25841. produces:
  25842. - application/json
  25843. responses:
  25844. "200":
  25845. description: OK
  25846. schema:
  25847. $ref: '#/definitions/app.Response'
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 添加用户商品收藏信息
  25855. tags:
  25856. - 用户信息
  25857. /User/GetLoginID:
  25858. get:
  25859. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25860. parameters:
  25861. - description: 登录代码
  25862. in: query
  25863. name: username
  25864. required: true
  25865. type: string
  25866. produces:
  25867. - application/json
  25868. responses:
  25869. "200":
  25870. description: OK
  25871. schema:
  25872. $ref: '#/definitions/app.Response'
  25873. "500":
  25874. description: Internal Server Error
  25875. schema:
  25876. $ref: '#/definitions/app.Response'
  25877. summary: 获取登录ID
  25878. tags:
  25879. - 用户信息
  25880. /User/GetUserAccount:
  25881. get:
  25882. parameters:
  25883. - description: 用户ID
  25884. in: query
  25885. name: userID
  25886. required: true
  25887. type: integer
  25888. produces:
  25889. - application/json
  25890. responses:
  25891. "200":
  25892. description: OK
  25893. schema:
  25894. $ref: '#/definitions/models.Useraccount'
  25895. "500":
  25896. description: Internal Server Error
  25897. schema:
  25898. $ref: '#/definitions/app.Response'
  25899. security:
  25900. - ApiKeyAuth: []
  25901. summary: 获取用户账号信息
  25902. tags:
  25903. - 用户信息
  25904. /User/GetUserAuthStatus:
  25905. get:
  25906. parameters:
  25907. - description: 用户ID
  25908. in: query
  25909. name: userID
  25910. required: true
  25911. type: integer
  25912. produces:
  25913. - application/json
  25914. responses:
  25915. "200":
  25916. description: OK
  25917. schema:
  25918. $ref: '#/definitions/app.Response'
  25919. "500":
  25920. description: Internal Server Error
  25921. schema:
  25922. $ref: '#/definitions/app.Response'
  25923. security:
  25924. - ApiKeyAuth: []
  25925. summary: 获取用户实名认证状态
  25926. tags:
  25927. - 用户信息
  25928. /User/LoginQuery:
  25929. get:
  25930. parameters:
  25931. - description: 登录账号
  25932. in: query
  25933. name: loginID
  25934. required: true
  25935. type: integer
  25936. produces:
  25937. - application/json
  25938. responses:
  25939. "200":
  25940. description: OK
  25941. schema:
  25942. $ref: '#/definitions/user.LoginQueryRsp'
  25943. "500":
  25944. description: Internal Server Error
  25945. schema:
  25946. $ref: '#/definitions/app.Response'
  25947. security:
  25948. - ApiKeyAuth: []
  25949. summary: 账户登录后信息查询
  25950. tags:
  25951. - 用户信息
  25952. /User/QueryMessageBoard:
  25953. get:
  25954. parameters:
  25955. - description: 用户ID
  25956. in: query
  25957. name: userID
  25958. required: true
  25959. type: integer
  25960. produces:
  25961. - application/json
  25962. responses:
  25963. "200":
  25964. description: OK
  25965. schema:
  25966. $ref: '#/definitions/models.Messageboard'
  25967. "500":
  25968. description: Internal Server Error
  25969. schema:
  25970. $ref: '#/definitions/app.Response'
  25971. security:
  25972. - ApiKeyAuth: []
  25973. summary: 获取用户留言板信息
  25974. tags:
  25975. - 用户信息
  25976. /User/QueryUserFavoriteGoodses:
  25977. get:
  25978. parameters:
  25979. - description: 用户ID
  25980. in: query
  25981. name: userID
  25982. required: true
  25983. type: integer
  25984. produces:
  25985. - application/json
  25986. responses:
  25987. "200":
  25988. description: OK
  25989. schema:
  25990. $ref: '#/definitions/models.Userfavoritegoods'
  25991. "500":
  25992. description: Internal Server Error
  25993. schema:
  25994. $ref: '#/definitions/app.Response'
  25995. security:
  25996. - ApiKeyAuth: []
  25997. summary: 获取用户商品收藏信息
  25998. tags:
  25999. - 用户信息
  26000. /User/QueryUserInfo:
  26001. get:
  26002. parameters:
  26003. - description: 用户ID
  26004. in: query
  26005. name: userID
  26006. required: true
  26007. type: integer
  26008. - description: 是否解密
  26009. in: query
  26010. name: isDecrypt
  26011. type: boolean
  26012. produces:
  26013. - application/json
  26014. responses:
  26015. "200":
  26016. description: OK
  26017. schema:
  26018. $ref: '#/definitions/models.Userinfo'
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 获取用户信息
  26026. tags:
  26027. - 用户信息
  26028. /User/QueryUserReferNum:
  26029. get:
  26030. parameters:
  26031. - description: 用户ID
  26032. in: query
  26033. name: userID
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. summary: 获取用户邀请码
  26048. tags:
  26049. - 用户信息
  26050. /User/RemoveUserFavoriteGoods:
  26051. post:
  26052. parameters:
  26053. - description: 用户ID
  26054. in: query
  26055. name: userID
  26056. required: true
  26057. type: integer
  26058. - description: 商品ID
  26059. in: query
  26060. name: goodsID
  26061. required: true
  26062. type: integer
  26063. produces:
  26064. - application/json
  26065. responses:
  26066. "200":
  26067. description: OK
  26068. schema:
  26069. $ref: '#/definitions/app.Response'
  26070. "500":
  26071. description: Internal Server Error
  26072. schema:
  26073. $ref: '#/definitions/app.Response'
  26074. security:
  26075. - ApiKeyAuth: []
  26076. summary: 移除用户商品收藏信息
  26077. tags:
  26078. - 用户信息
  26079. /User/UpdateUserAccountStatus:
  26080. post:
  26081. parameters:
  26082. - description: 用户ID
  26083. in: query
  26084. name: userID
  26085. required: true
  26086. type: integer
  26087. - description: 账户状态 - 4:正常 6:注销(停用)
  26088. in: query
  26089. name: accountStatus
  26090. required: true
  26091. type: integer
  26092. produces:
  26093. - application/json
  26094. responses:
  26095. "200":
  26096. description: OK
  26097. schema:
  26098. $ref: '#/definitions/app.Response'
  26099. "500":
  26100. description: Internal Server Error
  26101. schema:
  26102. $ref: '#/definitions/app.Response'
  26103. security:
  26104. - ApiKeyAuth: []
  26105. summary: 更新用户状态
  26106. tags:
  26107. - 用户信息
  26108. /WRTrade/GetAllDeliveryGoods:
  26109. get:
  26110. produces:
  26111. - application/json
  26112. - application/json
  26113. responses:
  26114. "200":
  26115. description: OK
  26116. schema:
  26117. $ref: '#/definitions/app.Response'
  26118. "500":
  26119. description: Internal Server Error
  26120. schema:
  26121. $ref: '#/definitions/app.Response'
  26122. security:
  26123. - ApiKeyAuth: []
  26124. - ApiKeyAuth: []
  26125. summary: 获取带仓单分类的种类信息
  26126. tags:
  26127. - 仓单贸易
  26128. - 仓单贸易
  26129. /WrTrade2/QueryFaProductDetail:
  26130. get:
  26131. description: 页面 买卖大厅 -> 选择融资方案
  26132. parameters:
  26133. - description: 仓单要素id
  26134. in: query
  26135. name: wrfactortypeid
  26136. required: true
  26137. type: integer
  26138. produces:
  26139. - application/json
  26140. responses:
  26141. "200":
  26142. description: OK
  26143. schema:
  26144. items:
  26145. $ref: '#/definitions/models.WrFAProductDetail'
  26146. type: array
  26147. "500":
  26148. description: Internal Server Error
  26149. schema:
  26150. $ref: '#/definitions/app.Response'
  26151. security:
  26152. - ApiKeyAuth: []
  26153. summary: 查询融资产品列表
  26154. tags:
  26155. - 仓单贸易v2
  26156. /WrTrade2/QueryFilterItem:
  26157. get:
  26158. parameters:
  26159. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26160. in: query
  26161. name: itype
  26162. required: true
  26163. type: string
  26164. produces:
  26165. - application/json
  26166. responses:
  26167. "200":
  26168. description: OK
  26169. schema:
  26170. items:
  26171. $ref: '#/definitions/models.WrFilterItem'
  26172. type: array
  26173. "500":
  26174. description: Internal Server Error
  26175. schema:
  26176. $ref: '#/definitions/app.Response'
  26177. security:
  26178. - ApiKeyAuth: []
  26179. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26180. tags:
  26181. - 仓单贸易v2
  26182. /WrTrade2/QueryFtDeliveryGoods:
  26183. get:
  26184. produces:
  26185. - application/json
  26186. responses:
  26187. "200":
  26188. description: OK
  26189. schema:
  26190. items:
  26191. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26192. type: array
  26193. "500":
  26194. description: Internal Server Error
  26195. schema:
  26196. $ref: '#/definitions/app.Response'
  26197. security:
  26198. - ApiKeyAuth: []
  26199. summary: 查询品种品类筛选框列表
  26200. tags:
  26201. - 仓单贸易v2
  26202. /WrTrade2/QueryHoldLB:
  26203. get:
  26204. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26205. parameters:
  26206. - description: 资金账号
  26207. in: query
  26208. name: accountid
  26209. required: true
  26210. type: integer
  26211. - description: 仓库id
  26212. in: query
  26213. name: warehouseid
  26214. type: integer
  26215. - description: 品种id
  26216. in: query
  26217. name: deliverygoodsid
  26218. type: integer
  26219. - description: 品类id
  26220. in: query
  26221. name: wrstandardid
  26222. type: integer
  26223. - description: 仓单要素id
  26224. in: query
  26225. name: wrfactortypeid
  26226. type: integer
  26227. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26228. in: query
  26229. name: dgitemname
  26230. type: string
  26231. produces:
  26232. - application/json
  26233. responses:
  26234. "200":
  26235. description: OK
  26236. schema:
  26237. items:
  26238. $ref: '#/definitions/models.WrHoldLB'
  26239. type: array
  26240. "500":
  26241. description: Internal Server Error
  26242. schema:
  26243. $ref: '#/definitions/app.Response'
  26244. security:
  26245. - ApiKeyAuth: []
  26246. summary: 查询仓单持有记录
  26247. tags:
  26248. - 仓单贸易v2
  26249. /WrTrade2/QueryOrderQuote:
  26250. get:
  26251. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26252. parameters:
  26253. - description: 页码
  26254. in: query
  26255. name: page
  26256. type: integer
  26257. - description: 每页条数
  26258. in: query
  26259. name: pagesize
  26260. type: integer
  26261. - description: 仓单贸易市场id
  26262. in: query
  26263. name: marketid
  26264. type: integer
  26265. - description: 价格方式 - 1:固定价 2-浮动价
  26266. in: query
  26267. name: wrpricetype
  26268. required: true
  26269. type: integer
  26270. - description: 0:仓单预售 1:仓单贸易
  26271. in: query
  26272. name: haswr
  26273. required: true
  26274. type: integer
  26275. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26276. in: query
  26277. name: dgitemname
  26278. type: string
  26279. - description: 仓库id(筛选条件)
  26280. in: query
  26281. name: warehouseid
  26282. type: integer
  26283. - description: 品种id
  26284. in: query
  26285. name: deliverygoodsid
  26286. type: integer
  26287. - description: 品类id
  26288. in: query
  26289. name: wrstandardid
  26290. type: integer
  26291. - description: 仓单要素id
  26292. in: query
  26293. name: wrfactortypeid
  26294. type: integer
  26295. - description: 交收月(yyyy-mm) 仓单预售填写
  26296. in: query
  26297. name: deliverymonth
  26298. type: string
  26299. produces:
  26300. - application/json
  26301. responses:
  26302. "200":
  26303. description: OK
  26304. schema:
  26305. items:
  26306. $ref: '#/definitions/models.WrOrderQuote'
  26307. type: array
  26308. "500":
  26309. description: Internal Server Error
  26310. schema:
  26311. $ref: '#/definitions/app.Response'
  26312. security:
  26313. - ApiKeyAuth: []
  26314. summary: 查询大厅行情列表
  26315. tags:
  26316. - 仓单贸易v2
  26317. /WrTrade2/QueryOrderQuoteDetail:
  26318. get:
  26319. parameters:
  26320. - description: 页码
  26321. in: query
  26322. name: page
  26323. type: integer
  26324. - description: 每页条数
  26325. in: query
  26326. name: pagesize
  26327. type: integer
  26328. - description: 仓单贸易市场id
  26329. in: query
  26330. name: marketid
  26331. type: integer
  26332. - description: 价格方式 - 1:固定价 2-浮动价
  26333. in: query
  26334. name: wrpricetype
  26335. required: true
  26336. type: integer
  26337. - description: 0:仓单预售 1:仓单贸易
  26338. in: query
  26339. name: haswr
  26340. required: true
  26341. type: integer
  26342. - description: 仓单要素id
  26343. in: query
  26344. name: wrfactortypeid
  26345. required: true
  26346. type: integer
  26347. - description: 期货商品id(浮动价方式时填)
  26348. in: query
  26349. name: goodsid
  26350. type: integer
  26351. - description: 买卖方向 0-买 1-卖
  26352. in: query
  26353. name: buyorsell
  26354. required: true
  26355. type: integer
  26356. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26357. in: query
  26358. name: deliverymonth
  26359. type: string
  26360. produces:
  26361. - application/json
  26362. responses:
  26363. "200":
  26364. description: OK
  26365. schema:
  26366. items:
  26367. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26368. type: array
  26369. "500":
  26370. description: Internal Server Error
  26371. schema:
  26372. $ref: '#/definitions/app.Response'
  26373. security:
  26374. - ApiKeyAuth: []
  26375. summary: 查询买卖大厅
  26376. tags:
  26377. - 仓单贸易v2
  26378. /WrTrade2/QueryOrderQuoteMyq:
  26379. get:
  26380. parameters:
  26381. - description: 页码
  26382. in: query
  26383. name: page
  26384. type: integer
  26385. - description: 每页条数
  26386. in: query
  26387. name: pagesize
  26388. type: integer
  26389. - description: 用户id
  26390. in: query
  26391. name: userid
  26392. required: true
  26393. type: integer
  26394. - description: 仓单贸易市场id
  26395. in: query
  26396. name: marketid
  26397. type: integer
  26398. - description: 0:仓单预售 1:仓单贸易
  26399. in: query
  26400. name: haswr
  26401. required: true
  26402. type: integer
  26403. - description: 买卖方向 0-买 1-卖
  26404. in: query
  26405. name: buyorsell
  26406. required: true
  26407. type: integer
  26408. - description: 品种id
  26409. in: query
  26410. name: deliverygoodsid
  26411. type: integer
  26412. - description: 品类id
  26413. in: query
  26414. name: wrstandardid
  26415. type: integer
  26416. - description: 交收月(yyyy-mm) 仓单预售填写
  26417. in: query
  26418. name: deliverymonth
  26419. type: string
  26420. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26421. in: query
  26422. name: dgitemname
  26423. type: string
  26424. produces:
  26425. - application/json
  26426. responses:
  26427. "200":
  26428. description: OK
  26429. schema:
  26430. items:
  26431. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26432. type: array
  26433. "500":
  26434. description: Internal Server Error
  26435. schema:
  26436. $ref: '#/definitions/app.Response'
  26437. security:
  26438. - ApiKeyAuth: []
  26439. summary: 查询贸易圈挂牌大厅
  26440. tags:
  26441. - 仓单贸易v2
  26442. /WrTrade2/QueryPerformancePlan:
  26443. get:
  26444. parameters:
  26445. - description: 用户id
  26446. in: query
  26447. name: userid
  26448. required: true
  26449. type: integer
  26450. - description: 买卖方向 0-买 1-卖
  26451. in: query
  26452. name: buyorsell
  26453. required: true
  26454. type: integer
  26455. produces:
  26456. - application/json
  26457. responses:
  26458. "200":
  26459. description: OK
  26460. schema:
  26461. items:
  26462. $ref: '#/definitions/models.WrPerformancePlan'
  26463. type: array
  26464. "500":
  26465. description: Internal Server Error
  26466. schema:
  26467. $ref: '#/definitions/app.Response'
  26468. security:
  26469. - ApiKeyAuth: []
  26470. summary: 查询履约信息
  26471. tags:
  26472. - 仓单贸易v2
  26473. /WrTrade2/QueryPermancePlanTmp:
  26474. get:
  26475. description: 返回指定用户的模板和公共模板(用户id为空)
  26476. parameters:
  26477. - description: 用户id
  26478. in: query
  26479. name: userid
  26480. type: integer
  26481. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26482. in: query
  26483. name: tmptype
  26484. type: string
  26485. - description: 是否包含公共模板(用户id为空的) 1-包含
  26486. in: query
  26487. name: includepub
  26488. type: integer
  26489. produces:
  26490. - application/json
  26491. responses:
  26492. "200":
  26493. description: OK
  26494. schema:
  26495. items:
  26496. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26497. type: array
  26498. "500":
  26499. description: Internal Server Error
  26500. schema:
  26501. $ref: '#/definitions/app.Response'
  26502. security:
  26503. - ApiKeyAuth: []
  26504. summary: 查询履约模板
  26505. tags:
  26506. - 仓单贸易v2
  26507. /WrTrade2/QueryWrAverageTradePrice:
  26508. get:
  26509. parameters:
  26510. - description: 页码
  26511. in: query
  26512. name: page
  26513. type: integer
  26514. - description: 每页条数
  26515. in: query
  26516. name: pagesize
  26517. type: integer
  26518. - description: 0:仓单预售 1:仓单贸易
  26519. in: query
  26520. name: haswr
  26521. required: true
  26522. type: integer
  26523. - description: 仓单要素id
  26524. in: query
  26525. name: wrfactortypeid
  26526. required: true
  26527. type: integer
  26528. produces:
  26529. - application/json
  26530. responses:
  26531. "200":
  26532. description: OK
  26533. schema:
  26534. items:
  26535. $ref: '#/definitions/models.WrAverageTradePrice'
  26536. type: array
  26537. "500":
  26538. description: Internal Server Error
  26539. schema:
  26540. $ref: '#/definitions/app.Response'
  26541. security:
  26542. - ApiKeyAuth: []
  26543. summary: 查询成交价(历史走势)
  26544. tags:
  26545. - 仓单贸易v2
  26546. /WrTrade2/QueryWrBsGoodsInfo:
  26547. get:
  26548. description: 合约交易/买卖大厅/详情
  26549. parameters:
  26550. - description: 商品id
  26551. in: query
  26552. name: goodsid
  26553. required: true
  26554. type: integer
  26555. produces:
  26556. - application/json
  26557. responses:
  26558. "200":
  26559. description: OK
  26560. schema:
  26561. items:
  26562. $ref: '#/definitions/models.WrBsGoodsInfo'
  26563. type: array
  26564. "500":
  26565. description: Internal Server Error
  26566. schema:
  26567. $ref: '#/definitions/app.Response'
  26568. security:
  26569. - ApiKeyAuth: []
  26570. summary: 查询合约交易买卖大厅详情
  26571. tags:
  26572. - 仓单贸易v2
  26573. /WrTrade2/QueryWrBuybackDetail:
  26574. get:
  26575. parameters:
  26576. - description: 融资合同id
  26577. in: query
  26578. name: scfcontractid
  26579. type: integer
  26580. produces:
  26581. - application/json
  26582. responses:
  26583. "200":
  26584. description: OK
  26585. schema:
  26586. items:
  26587. $ref: '#/definitions/models.WrBuybackDetail'
  26588. type: array
  26589. "500":
  26590. description: Internal Server Error
  26591. schema:
  26592. $ref: '#/definitions/app.Response'
  26593. security:
  26594. - ApiKeyAuth: []
  26595. summary: 查询仓单回购明细
  26596. tags:
  26597. - 仓单贸易v2
  26598. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26599. get:
  26600. parameters:
  26601. - description: 资金账号
  26602. in: query
  26603. name: accountid
  26604. required: true
  26605. type: integer
  26606. - description: 商品id
  26607. in: query
  26608. name: goodsid
  26609. required: true
  26610. type: integer
  26611. produces:
  26612. - application/json
  26613. responses:
  26614. "200":
  26615. description: OK
  26616. schema:
  26617. items:
  26618. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26619. type: array
  26620. "500":
  26621. description: Internal Server Error
  26622. schema:
  26623. $ref: '#/definitions/app.Response'
  26624. security:
  26625. - ApiKeyAuth: []
  26626. summary: 查询合约交收可点选仓单
  26627. tags:
  26628. - 仓单贸易v2
  26629. /WrTrade2/QueryWrDeliveryDetail:
  26630. get:
  26631. parameters:
  26632. - description: 用户id
  26633. in: query
  26634. name: userid
  26635. required: true
  26636. type: integer
  26637. - description: 资金账号id
  26638. in: query
  26639. name: accountid
  26640. type: integer
  26641. produces:
  26642. - application/json
  26643. responses:
  26644. "200":
  26645. description: OK
  26646. schema:
  26647. items:
  26648. $ref: '#/definitions/models.WrDeliveryDetail'
  26649. type: array
  26650. "500":
  26651. description: Internal Server Error
  26652. schema:
  26653. $ref: '#/definitions/app.Response'
  26654. security:
  26655. - ApiKeyAuth: []
  26656. summary: 查询交收
  26657. tags:
  26658. - 仓单贸易v2
  26659. /WrTrade2/QueryWrFactorTypeInfo:
  26660. get:
  26661. parameters:
  26662. - description: 仓单要素id
  26663. in: query
  26664. name: wrfactortypeid
  26665. required: true
  26666. type: integer
  26667. produces:
  26668. - application/json
  26669. responses:
  26670. "200":
  26671. description: OK
  26672. schema:
  26673. items:
  26674. $ref: '#/definitions/models.WrFactorTypeInfo'
  26675. type: array
  26676. "500":
  26677. description: Internal Server Error
  26678. schema:
  26679. $ref: '#/definitions/app.Response'
  26680. security:
  26681. - ApiKeyAuth: []
  26682. summary: 查询仓单要素详细信息
  26683. tags:
  26684. - 仓单贸易v2
  26685. /WrTrade2/QueryWrFactorTypeInfoEx:
  26686. get:
  26687. parameters:
  26688. - description: 仓单要素id
  26689. in: query
  26690. name: wrfactortypeid
  26691. required: true
  26692. type: integer
  26693. produces:
  26694. - application/json
  26695. responses:
  26696. "200":
  26697. description: OK
  26698. schema:
  26699. items:
  26700. $ref: '#/definitions/models.WrTypeItem'
  26701. type: array
  26702. "500":
  26703. description: Internal Server Error
  26704. schema:
  26705. $ref: '#/definitions/app.Response'
  26706. security:
  26707. - ApiKeyAuth: []
  26708. summary: 查询仓单要素详细信息列表项
  26709. tags:
  26710. - 仓单贸易v2
  26711. /WrTrade2/QueryWrFinanceBuyApply:
  26712. get:
  26713. description: 页面 融资信息+ / 申请单
  26714. parameters:
  26715. - description: 用户id
  26716. in: query
  26717. name: userid
  26718. required: true
  26719. type: integer
  26720. produces:
  26721. - application/json
  26722. responses:
  26723. "200":
  26724. description: OK
  26725. schema:
  26726. items:
  26727. $ref: '#/definitions/models.WrFinanceBuyApply'
  26728. type: array
  26729. "500":
  26730. description: Internal Server Error
  26731. schema:
  26732. $ref: '#/definitions/app.Response'
  26733. security:
  26734. - ApiKeyAuth: []
  26735. summary: 查询融资购买申请
  26736. tags:
  26737. - 仓单贸易v2
  26738. /WrTrade2/QueryWrFriendApply:
  26739. get:
  26740. parameters:
  26741. - description: 用户id
  26742. in: query
  26743. name: userid
  26744. required: true
  26745. type: integer
  26746. produces:
  26747. - application/json
  26748. responses:
  26749. "200":
  26750. description: OK
  26751. schema:
  26752. items:
  26753. $ref: '#/definitions/models.WrFriendApply'
  26754. type: array
  26755. "500":
  26756. description: Internal Server Error
  26757. schema:
  26758. $ref: '#/definitions/app.Response'
  26759. security:
  26760. - ApiKeyAuth: []
  26761. summary: 查询好友申请记录
  26762. tags:
  26763. - 仓单贸易v2
  26764. /WrTrade2/QueryWrGoodsInfo:
  26765. get:
  26766. parameters:
  26767. - description: 仓单贸易市场id
  26768. in: query
  26769. name: marketid
  26770. type: integer
  26771. - description: 0:仓单预售 1:仓单贸易
  26772. in: query
  26773. name: haswr
  26774. required: true
  26775. type: integer
  26776. - description: 仓单要素id
  26777. in: query
  26778. name: wrfactortypeid
  26779. required: true
  26780. type: integer
  26781. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26782. in: query
  26783. name: tmplateid
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.WrGoodsInfo'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询仓单商品信息
  26801. tags:
  26802. - 仓单贸易v2
  26803. /WrTrade2/QueryWrMarketTradeConfig:
  26804. get:
  26805. parameters:
  26806. - description: 市场id
  26807. in: query
  26808. name: marketid
  26809. type: integer
  26810. produces:
  26811. - application/json
  26812. responses:
  26813. "200":
  26814. description: OK
  26815. schema:
  26816. items:
  26817. $ref: '#/definitions/models.WrMarketTradeConfig'
  26818. type: array
  26819. "500":
  26820. description: Internal Server Error
  26821. schema:
  26822. $ref: '#/definitions/app.Response'
  26823. security:
  26824. - ApiKeyAuth: []
  26825. summary: 查询市场交易参数配置
  26826. tags:
  26827. - 仓单贸易v2
  26828. /WrTrade2/QueryWrOrderDetail:
  26829. get:
  26830. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26831. parameters:
  26832. - description: 页码
  26833. in: query
  26834. name: page
  26835. type: integer
  26836. - description: 每页条数
  26837. in: query
  26838. name: pagesize
  26839. type: integer
  26840. - description: 用户id
  26841. in: query
  26842. name: userid
  26843. required: true
  26844. type: integer
  26845. - description: 仓单贸易市场id
  26846. in: query
  26847. name: marketid
  26848. type: integer
  26849. - description: 0:仓单预售 1:仓单贸易
  26850. in: query
  26851. name: haswr
  26852. required: true
  26853. type: integer
  26854. produces:
  26855. - application/json
  26856. responses:
  26857. "200":
  26858. description: OK
  26859. schema:
  26860. items:
  26861. $ref: '#/definitions/models.WrOrderDetail'
  26862. type: array
  26863. "500":
  26864. description: Internal Server Error
  26865. schema:
  26866. $ref: '#/definitions/app.Response'
  26867. security:
  26868. - ApiKeyAuth: []
  26869. summary: 查询仓单委托单(挂单)
  26870. tags:
  26871. - 仓单贸易v2
  26872. /WrTrade2/QueryWrOutInApply:
  26873. get:
  26874. parameters:
  26875. - description: 用户id
  26876. in: query
  26877. name: userid
  26878. required: true
  26879. type: integer
  26880. produces:
  26881. - application/json
  26882. responses:
  26883. "200":
  26884. description: OK
  26885. schema:
  26886. items:
  26887. $ref: '#/definitions/models.WrOutInApply'
  26888. type: array
  26889. "500":
  26890. description: Internal Server Error
  26891. schema:
  26892. $ref: '#/definitions/app.Response'
  26893. security:
  26894. - ApiKeyAuth: []
  26895. summary: 查询提货申请
  26896. tags:
  26897. - 仓单贸易v2
  26898. /WrTrade2/QueryWrPerformancePlanStep:
  26899. get:
  26900. parameters:
  26901. - description: 履约计划id(performanceplanid)
  26902. in: query
  26903. name: planid
  26904. required: true
  26905. type: integer
  26906. - description: 当前步骤id
  26907. in: query
  26908. name: curstepid
  26909. type: integer
  26910. produces:
  26911. - application/json
  26912. responses:
  26913. "200":
  26914. description: OK
  26915. schema:
  26916. items:
  26917. $ref: '#/definitions/models.WrPerformancePlanStep'
  26918. type: array
  26919. "500":
  26920. description: Internal Server Error
  26921. schema:
  26922. $ref: '#/definitions/app.Response'
  26923. security:
  26924. - ApiKeyAuth: []
  26925. summary: 查询履约信息详情
  26926. tags:
  26927. - 仓单贸易v2
  26928. /WrTrade2/QueryWrPerformanceStepType:
  26929. get:
  26930. produces:
  26931. - application/json
  26932. responses:
  26933. "200":
  26934. description: OK
  26935. schema:
  26936. items:
  26937. $ref: '#/definitions/models.WrPerformanceStepType'
  26938. type: array
  26939. "500":
  26940. description: Internal Server Error
  26941. schema:
  26942. $ref: '#/definitions/app.Response'
  26943. security:
  26944. - ApiKeyAuth: []
  26945. summary: 查询履约步骤枚举
  26946. tags:
  26947. - 仓单贸易v2
  26948. /WrTrade2/QueryWrPosition:
  26949. get:
  26950. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26951. parameters:
  26952. - description: 用户id
  26953. in: query
  26954. name: userid
  26955. required: true
  26956. type: integer
  26957. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26958. in: query
  26959. name: querytype
  26960. required: true
  26961. type: integer
  26962. - description: 0:仓单预售 1:仓单贸易
  26963. in: query
  26964. name: haswr
  26965. required: true
  26966. type: integer
  26967. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26968. in: query
  26969. name: dgitemname
  26970. type: string
  26971. - description: 仓库id(筛选条件)
  26972. in: query
  26973. name: warehouseid
  26974. type: integer
  26975. - description: 品种id
  26976. in: query
  26977. name: deliverygoodsid
  26978. type: integer
  26979. - description: 品类id
  26980. in: query
  26981. name: wrstandardid
  26982. type: integer
  26983. produces:
  26984. - application/json
  26985. responses:
  26986. "200":
  26987. description: OK
  26988. schema:
  26989. items:
  26990. $ref: '#/definitions/models.WrPosition'
  26991. type: array
  26992. "500":
  26993. description: Internal Server Error
  26994. schema:
  26995. $ref: '#/definitions/app.Response'
  26996. security:
  26997. - ApiKeyAuth: []
  26998. summary: 查询现货(预售)仓单持仓
  26999. tags:
  27000. - 仓单贸易v2
  27001. /WrTrade2/QueryWrScfContract:
  27002. get:
  27003. parameters:
  27004. - description: 用户id
  27005. in: query
  27006. name: userid
  27007. required: true
  27008. type: integer
  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.WrScfContract'
  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/QueryWrScfContractInterest:
  27032. get:
  27033. parameters:
  27034. - description: 融资合同id
  27035. in: query
  27036. name: scfcontractid
  27037. type: integer
  27038. produces:
  27039. - application/json
  27040. responses:
  27041. "200":
  27042. description: OK
  27043. schema:
  27044. items:
  27045. $ref: '#/definitions/models.WrScfContractInterest'
  27046. type: array
  27047. "500":
  27048. description: Internal Server Error
  27049. schema:
  27050. $ref: '#/definitions/app.Response'
  27051. security:
  27052. - ApiKeyAuth: []
  27053. summary: 查询融资合同费用明细
  27054. tags:
  27055. - 仓单贸易v2
  27056. /WrTrade2/QueryWrSpecialMatchOrder:
  27057. get:
  27058. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27059. parameters:
  27060. - description: 页码
  27061. in: query
  27062. name: page
  27063. type: integer
  27064. - description: 每页条数
  27065. in: query
  27066. name: pagesize
  27067. type: integer
  27068. - description: 用户id
  27069. in: query
  27070. name: userid
  27071. required: true
  27072. type: integer
  27073. - description: 仓单贸易市场id
  27074. in: query
  27075. name: marketid
  27076. type: integer
  27077. - description: 0:仓单预售 1:仓单贸易
  27078. in: query
  27079. name: haswr
  27080. required: true
  27081. type: integer
  27082. produces:
  27083. - application/json
  27084. responses:
  27085. "200":
  27086. description: OK
  27087. schema:
  27088. items:
  27089. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27090. type: array
  27091. "500":
  27092. description: Internal Server Error
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. security:
  27096. - ApiKeyAuth: []
  27097. summary: 查询指定成交
  27098. tags:
  27099. - 仓单贸易v2
  27100. /WrTrade2/QueryWrStandardFactoryItem:
  27101. get:
  27102. parameters:
  27103. - description: 品类id
  27104. in: query
  27105. name: wrstandardid
  27106. required: true
  27107. type: integer
  27108. produces:
  27109. - application/json
  27110. responses:
  27111. "200":
  27112. description: OK
  27113. schema:
  27114. items:
  27115. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27116. type: array
  27117. "500":
  27118. description: Internal Server Error
  27119. schema:
  27120. $ref: '#/definitions/app.Response'
  27121. security:
  27122. - ApiKeyAuth: []
  27123. summary: 查询品类要素定义项
  27124. tags:
  27125. - 仓单贸易v2
  27126. /WrTrade2/QueryWrTradeBargainApply:
  27127. get:
  27128. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27129. parameters:
  27130. - description: 议价人id(摘牌方)
  27131. in: query
  27132. name: userid
  27133. type: integer
  27134. - description: 挂牌方id(查对方议价时,填写此项)
  27135. in: query
  27136. name: matchuserid
  27137. type: integer
  27138. - description: 关联委托单id
  27139. in: query
  27140. name: wrtradeorderid
  27141. type: integer
  27142. - description: 0:仓单预售 1:仓单贸易
  27143. in: query
  27144. name: haswr
  27145. required: true
  27146. type: integer
  27147. produces:
  27148. - application/json
  27149. responses:
  27150. "200":
  27151. description: OK
  27152. schema:
  27153. items:
  27154. $ref: '#/definitions/models.WRTradeBargainApply'
  27155. type: array
  27156. "500":
  27157. description: Internal Server Error
  27158. schema:
  27159. $ref: '#/definitions/app.Response'
  27160. security:
  27161. - ApiKeyAuth: []
  27162. summary: 查询议价单
  27163. tags:
  27164. - 仓单贸易v2
  27165. /WrTrade2/QueryWrTradeDetail:
  27166. get:
  27167. parameters:
  27168. - description: 页码
  27169. in: query
  27170. name: page
  27171. type: integer
  27172. - description: 每页条数
  27173. in: query
  27174. name: pagesize
  27175. type: integer
  27176. - description: 用户id
  27177. in: query
  27178. name: userid
  27179. required: true
  27180. type: integer
  27181. - description: 仓单贸易市场id
  27182. in: query
  27183. name: marketid
  27184. type: integer
  27185. - description: 0:仓单预售 1:仓单贸易
  27186. in: query
  27187. name: haswr
  27188. required: true
  27189. type: integer
  27190. produces:
  27191. - application/json
  27192. responses:
  27193. "200":
  27194. description: OK
  27195. schema:
  27196. items:
  27197. $ref: '#/definitions/models.WrTradeDetail'
  27198. type: array
  27199. "500":
  27200. description: Internal Server Error
  27201. schema:
  27202. $ref: '#/definitions/app.Response'
  27203. security:
  27204. - ApiKeyAuth: []
  27205. summary: 查询仓单成交明细
  27206. tags:
  27207. - 仓单贸易v2
  27208. /WrTrade2/QueryWrTradeOrderDetail:
  27209. get:
  27210. parameters:
  27211. - description: 页码
  27212. in: query
  27213. name: page
  27214. type: integer
  27215. - description: 每页条数
  27216. in: query
  27217. name: pagesize
  27218. type: integer
  27219. - description: 商品id
  27220. in: query
  27221. name: goodsid
  27222. required: true
  27223. type: integer
  27224. - description: 买卖方向 0-买 1-卖
  27225. in: query
  27226. name: buyorsell
  27227. required: true
  27228. type: integer
  27229. produces:
  27230. - application/json
  27231. responses:
  27232. "200":
  27233. description: OK
  27234. schema:
  27235. items:
  27236. $ref: '#/definitions/models.WrTradeOrderDetail'
  27237. type: array
  27238. "500":
  27239. description: Internal Server Error
  27240. schema:
  27241. $ref: '#/definitions/app.Response'
  27242. security:
  27243. - ApiKeyAuth: []
  27244. summary: 查询合约交易买卖大厅
  27245. tags:
  27246. - 仓单贸易v2
  27247. /WrTrade2/QueryWrUserFriend:
  27248. get:
  27249. parameters:
  27250. - description: 用户id
  27251. in: query
  27252. name: userid
  27253. required: true
  27254. type: integer
  27255. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27256. in: query
  27257. name: newuserid
  27258. type: integer
  27259. produces:
  27260. - application/json
  27261. responses:
  27262. "200":
  27263. description: OK
  27264. schema:
  27265. items:
  27266. $ref: '#/definitions/models.WrUserFriend'
  27267. type: array
  27268. "500":
  27269. description: Internal Server Error
  27270. schema:
  27271. $ref: '#/definitions/app.Response'
  27272. security:
  27273. - ApiKeyAuth: []
  27274. summary: 查询我的朋友
  27275. tags:
  27276. - 仓单贸易v2
  27277. /ZJ/GetBankTip:
  27278. get:
  27279. produces:
  27280. - application/json
  27281. responses:
  27282. "200":
  27283. description: OK
  27284. schema:
  27285. type: string
  27286. "500":
  27287. description: Internal Server Error
  27288. schema:
  27289. $ref: '#/definitions/app.Response'
  27290. summary: 获取中江网银端出入金提示信息
  27291. tags:
  27292. - 中江
  27293. /ZJ/GetCusBankChannels:
  27294. get:
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. items:
  27302. type: string
  27303. type: array
  27304. "500":
  27305. description: Internal Server Error
  27306. schema:
  27307. $ref: '#/definitions/app.Response'
  27308. summary: 获取中江出入金渠道显示列表
  27309. tags:
  27310. - 中江
  27311. securityDefinitions:
  27312. ApiKeyAuth:
  27313. in: header
  27314. name: Authorization
  27315. type: apiKey
  27316. swagger: "2.0"