swagger.yaml 783 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceamount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. exexehangecode:
  2123. description: 外部交易所代码
  2124. type: string
  2125. exexehangeid:
  2126. description: 外部交易所id
  2127. type: integer
  2128. goodscode:
  2129. description: 商品代码(内部)
  2130. type: string
  2131. goodsid:
  2132. description: 商品ID(自增ID SEQ_GOODS)
  2133. type: integer
  2134. goodsname:
  2135. description: 商品名称
  2136. type: string
  2137. last:
  2138. description: 现价
  2139. type: number
  2140. marketid:
  2141. description: 所属市场ID
  2142. type: integer
  2143. openaverageprice:
  2144. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2145. type: number
  2146. opencost:
  2147. description: 开仓成本
  2148. type: number
  2149. openpl:
  2150. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2151. type: number
  2152. outgoodscode:
  2153. description: 商品代码(外部)
  2154. type: string
  2155. positionaverageprice:
  2156. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2157. type: number
  2158. positioncost:
  2159. description: 持仓成本
  2160. type: number
  2161. positionpl:
  2162. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2163. type: number
  2164. positionplrate:
  2165. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2166. type: number
  2167. usedmargin:
  2168. description: 占用保证金
  2169. type: number
  2170. type: object
  2171. ermcp.RealtimeExposurePositionRsp:
  2172. properties:
  2173. agreeunit:
  2174. description: 合约单位
  2175. type: string
  2176. areauserid:
  2177. description: 所属机构id
  2178. type: integer
  2179. convertratio:
  2180. description: 期货品种系数(折算系数)
  2181. type: number
  2182. curqty:
  2183. description: 当前持仓
  2184. type: integer
  2185. diffhedgeqty:
  2186. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2187. type: number
  2188. diffqty:
  2189. description: 持仓变动量=当前持仓-昨日持仓
  2190. type: integer
  2191. goodscode:
  2192. description: 商品代码
  2193. type: string
  2194. goodsid:
  2195. description: 商品id
  2196. type: integer
  2197. goodsname:
  2198. description: 商品名称
  2199. type: string
  2200. middlegoodsid:
  2201. description: 套保商品id
  2202. type: integer
  2203. ydqty:
  2204. description: 昨日持仓
  2205. type: integer
  2206. type: object
  2207. ermcp.RealtimeExposureRsp:
  2208. properties:
  2209. AreaUserID:
  2210. description: 所属机构
  2211. type: integer
  2212. BuyFutureQty:
  2213. description: 买入期货数量
  2214. type: number
  2215. BuyPlanQty:
  2216. description: 采购计划数量
  2217. type: number
  2218. BuyPricedQty:
  2219. description: 采购合同已定价数量
  2220. type: number
  2221. MiddleGoodsCode:
  2222. description: 套保品种代码
  2223. type: string
  2224. MiddleGoodsHedgeRatio:
  2225. description: 套保比例
  2226. type: number
  2227. MiddleGoodsID:
  2228. description: 套保品种
  2229. type: integer
  2230. MiddleGoodsName:
  2231. description: 套保品种名称
  2232. type: string
  2233. NeedHedgeExposoure:
  2234. description: 应套保敞口(套保敞口)
  2235. type: number
  2236. NeedHedgeRatio:
  2237. description: 应套保敞口比例
  2238. type: number
  2239. OriBuyFutureQty:
  2240. description: 期初买入期货数量
  2241. type: number
  2242. OriBuyPlanQty:
  2243. description: 期初采购计划数量
  2244. type: number
  2245. OriBuyPricedQty:
  2246. description: 期初采购合同已定价数量
  2247. type: number
  2248. OriSellFutureQty:
  2249. description: 期初卖出期货数量
  2250. type: number
  2251. OriSellPlanQty:
  2252. description: 期初销售计划数量
  2253. type: number
  2254. OriSellPricedQty:
  2255. description: 期初销售合同已定价数量
  2256. type: number
  2257. OriTotalSpotQty:
  2258. description: 期初现货总量
  2259. type: number
  2260. SellFutureQty:
  2261. description: 卖出期货数量
  2262. type: number
  2263. SellPlanQty:
  2264. description: 销售计划数量
  2265. type: number
  2266. SellPricedQty:
  2267. description: 销售合同已定价数量
  2268. type: number
  2269. TotalExposure:
  2270. description: 总敞口 平安:净敞口
  2271. type: number
  2272. TotalFutureQty:
  2273. description: 期货总量 平安:保值净持仓量
  2274. type: number
  2275. TotalHedgeRatio:
  2276. description: 敞口比例
  2277. type: number
  2278. TotalNeedHedgeQty:
  2279. description: 应套保总量(现货应套保总量)
  2280. type: number
  2281. TotalSpotQty:
  2282. description: 现货总量 平安:采销定价净值
  2283. type: number
  2284. arbitrageqty:
  2285. description: 套利量
  2286. type: number
  2287. diffArbitrageQty:
  2288. description: 套利变动量
  2289. type: number
  2290. diffExposoureQty:
  2291. description: 变动量(套保敞口)
  2292. type: number
  2293. diffFutuQty:
  2294. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2295. type: number
  2296. diffHedgeQty:
  2297. description: 套保变动量
  2298. type: number
  2299. diffQty:
  2300. description: 变动量(总敞口) 平安:净敞口今日变动
  2301. type: number
  2302. diffSpotHedgeQty:
  2303. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2304. type: number
  2305. diffSpotQty:
  2306. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2307. type: number
  2308. enumdicname:
  2309. description: 单位名称
  2310. type: string
  2311. hedgeqty:
  2312. description: 套保量
  2313. type: number
  2314. needarbitrageqty:
  2315. description: 应套利量
  2316. type: number
  2317. needarbitrageratio:
  2318. description: 套利比例
  2319. type: number
  2320. needhedgeqty:
  2321. description: 应套保量
  2322. type: number
  2323. oriarbitrageqty:
  2324. description: 期初套利量
  2325. type: number
  2326. orihedgeqty:
  2327. description: 期初套保量
  2328. type: number
  2329. orineedhedgeexposoure:
  2330. description: 期初套保敞口
  2331. type: number
  2332. oritotalexposure:
  2333. description: 期初总敞口
  2334. type: number
  2335. oritotalfutureqty:
  2336. description: 期初期货总量
  2337. type: number
  2338. oritotalneedhedgeqty:
  2339. description: 期初现货应套保量
  2340. type: number
  2341. type: object
  2342. erms2.QueryArbitrageStrategyRsp:
  2343. properties:
  2344. applybasis:
  2345. description: 申请基差
  2346. type: number
  2347. asapplyid:
  2348. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2349. type: string
  2350. asname:
  2351. description: 策略名称
  2352. type: string
  2353. asno:
  2354. description: 策略编号
  2355. type: string
  2356. basischangepl:
  2357. description: 基差变动损益[结算更新]
  2358. type: number
  2359. biztype:
  2360. description: 业务类型 - 1:正向套利 -1:反向套利
  2361. type: integer
  2362. closetradedate:
  2363. description: 完结交易日(yyyyMMdd)
  2364. type: string
  2365. curbasis:
  2366. description: 当前基差[结算更新]
  2367. type: number
  2368. deliverygoodsid:
  2369. description: 现货品种ID
  2370. type: integer
  2371. futureavgprice:
  2372. description: 期货建仓均价
  2373. type: number
  2374. futurecloseamount:
  2375. description: 期货平仓金额
  2376. type: number
  2377. futurecloseqty:
  2378. description: 期货平仓数量
  2379. type: number
  2380. futureopenamount:
  2381. description: 期货开仓金额
  2382. type: number
  2383. futureopenqty:
  2384. description: 期货开仓数量
  2385. type: number
  2386. futurepl:
  2387. description: 期货总盈亏[结算更新]
  2388. type: number
  2389. futureqty:
  2390. description: 期货持仓数量
  2391. type: number
  2392. futurequote:
  2393. description: 期货额度
  2394. type: number
  2395. goodsgroupid:
  2396. description: 期货品种ID
  2397. type: integer
  2398. marketid:
  2399. description: 市场ID
  2400. type: integer
  2401. netexposure:
  2402. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2403. type: number
  2404. netexposurepl:
  2405. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2406. type: number
  2407. netexposurerate:
  2408. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2409. type: number
  2410. openbasis:
  2411. description: 建仓基差
  2412. type: number
  2413. pricedspotqty:
  2414. description: 已定价现货数量
  2415. type: number
  2416. pricedspotqtynotax:
  2417. description: 已定价现货不含税数量
  2418. type: number
  2419. remark:
  2420. description: 备注
  2421. type: string
  2422. spotavgprice:
  2423. description: 现货均价
  2424. type: number
  2425. spotbuyamount:
  2426. description: 现货采购金额
  2427. type: number
  2428. spotbuyqty:
  2429. description: 现货采购数量
  2430. type: number
  2431. spotpl:
  2432. description: 现货总盈亏[结算更新]
  2433. type: number
  2434. spotquota:
  2435. description: 现货额度
  2436. type: number
  2437. spotsellamount:
  2438. description: 现货销售金额
  2439. type: number
  2440. spotsellqty:
  2441. description: 现货销售数量
  2442. type: number
  2443. spotusedquota:
  2444. description: 现货占用资金
  2445. type: number
  2446. strategystatus:
  2447. description: 策略状态 - 0:未结束 1:已结束
  2448. type: integer
  2449. totalpl:
  2450. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2451. type: number
  2452. tradedate:
  2453. description: 交易日(yyyyMMdd)
  2454. type: string
  2455. updatetime:
  2456. description: 更新时间
  2457. type: string
  2458. usedquota:
  2459. description: 已占用资金
  2460. type: number
  2461. userid:
  2462. description: 所属机构
  2463. type: integer
  2464. required:
  2465. - asapplyid
  2466. type: object
  2467. erms2.QueryInnerTradeDetailRsp:
  2468. properties:
  2469. accountid:
  2470. description: 账号ID
  2471. type: integer
  2472. agreeunit:
  2473. description: 合约单位
  2474. type: number
  2475. asapplyid:
  2476. description: 策略申请ID
  2477. type: integer
  2478. asname:
  2479. description: 策略名称
  2480. type: string
  2481. asno:
  2482. description: 策略编号
  2483. type: string
  2484. buyorsell:
  2485. description: 方向 - 0:买 1:卖
  2486. type: integer
  2487. channelbuildtype:
  2488. description: 委托单据类型 0:无 1:建仓 2:平仓
  2489. type: integer
  2490. closetype:
  2491. description: 平仓方式 - 0:无 1:平今 2:平昨
  2492. type: integer
  2493. decimalplace:
  2494. description: 报价小数位
  2495. type: integer
  2496. detailtype:
  2497. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2498. type: integer
  2499. exexchangecode:
  2500. description: 外部交易所代码
  2501. type: string
  2502. exexchangename:
  2503. description: 外部交易所名称
  2504. type: string
  2505. goodscode:
  2506. description: 商品代码(合约)
  2507. type: string
  2508. goodsgroupid:
  2509. description: 商品组ID(品种ID)
  2510. type: integer
  2511. goodsgroupname:
  2512. description: 商品组名称(品种)
  2513. type: string
  2514. goodsid:
  2515. description: 商品ID
  2516. type: integer
  2517. goodsname:
  2518. description: 商品名称(合约)
  2519. type: string
  2520. goodunit:
  2521. description: 报价单位
  2522. type: string
  2523. marketid:
  2524. description: 市场ID
  2525. type: integer
  2526. orderid:
  2527. description: 委托单号
  2528. type: string
  2529. outgoodscode:
  2530. description: 商品代码(外部)
  2531. type: string
  2532. relatedouttradeid:
  2533. description: 关联外部成交单ID
  2534. type: string
  2535. remark:
  2536. description: 备注
  2537. type: string
  2538. spotcontractid:
  2539. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2540. type: integer
  2541. spotcontractno:
  2542. description: 现货合同编号
  2543. type: string
  2544. tradeid:
  2545. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2546. type: string
  2547. tradeprice:
  2548. description: 成交价格
  2549. type: number
  2550. tradeqty:
  2551. description: 成交数量
  2552. type: integer
  2553. tradetime:
  2554. description: 成交时间
  2555. type: string
  2556. updatetime:
  2557. description: 更新时间
  2558. type: string
  2559. required:
  2560. - asapplyid
  2561. - buyorsell
  2562. - goodscode
  2563. - goodsgroupid
  2564. - goodsgroupname
  2565. - goodsname
  2566. - tradeid
  2567. type: object
  2568. erms2.QuerySpotContractRsp:
  2569. properties:
  2570. accountid:
  2571. description: 资金账户ID
  2572. type: integer
  2573. areauserid:
  2574. description: 所属机构
  2575. type: integer
  2576. closedate:
  2577. description: 终止日期
  2578. type: string
  2579. closeremark:
  2580. description: 结束备注
  2581. type: string
  2582. closetradedate:
  2583. description: 完结交易日(yyyyMMdd)
  2584. type: string
  2585. closetype:
  2586. description: 终止类型 - 1:违约 2:提前终止
  2587. type: integer
  2588. contractamount:
  2589. description: 合同金额
  2590. type: number
  2591. contractattachment:
  2592. description: 合同附件
  2593. type: string
  2594. contractno:
  2595. description: 现货合同编号
  2596. type: string
  2597. contractqty:
  2598. description: 合同数量(数值) (用于计算)
  2599. type: number
  2600. contractqtychar:
  2601. description: 合同数量\已订价数量 (用于显示)
  2602. type: string
  2603. contractstatus:
  2604. description: 合同状态 - 0:未结束 1:已结束
  2605. type: integer
  2606. contracttype:
  2607. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2608. type: integer
  2609. customeraccountid:
  2610. description: 客户资金账户ID
  2611. type: integer
  2612. customeruserid:
  2613. description: 客户ID
  2614. type: integer
  2615. deliverygoodsdesc:
  2616. description: 品种说明
  2617. type: string
  2618. deliverygoodsid:
  2619. description: 现货品种ID
  2620. type: integer
  2621. handlestatus:
  2622. description: 处理状态
  2623. type: integer
  2624. invoiceatt:
  2625. description: 发票附件
  2626. type: string
  2627. invoicedatetime:
  2628. description: 开收票更新时间
  2629. type: string
  2630. invoiceopentime:
  2631. description: 开票时间
  2632. type: string
  2633. invoiceremark:
  2634. description: 发票备注
  2635. type: string
  2636. invoicestatus:
  2637. description: 开收票状态 - 0:未开票 1:已开票
  2638. type: integer
  2639. lastdate:
  2640. description: 交货时间
  2641. type: string
  2642. marketid:
  2643. description: 市场ID
  2644. type: integer
  2645. paydatetime:
  2646. description: 收付款更新时间
  2647. type: string
  2648. payremark:
  2649. description: 收付款备注
  2650. type: string
  2651. paystatus:
  2652. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2653. type: integer
  2654. positionqty:
  2655. description: 头寸数量 - 合同数量去小数部分
  2656. type: integer
  2657. producttype:
  2658. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2659. type: integer
  2660. relatedqty:
  2661. description: 已关联数量
  2662. type: number
  2663. relatedstatus:
  2664. description: 关联完结状态 - 0:未结束 1:已结束
  2665. type: integer
  2666. remark:
  2667. description: 备注
  2668. type: string
  2669. signdate:
  2670. description: 签订日期
  2671. type: string
  2672. spotcontractid:
  2673. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2674. type: string
  2675. spotdatetime:
  2676. description: 收发货更新时间
  2677. type: string
  2678. spotprice:
  2679. description: 价格
  2680. type: number
  2681. spotremark:
  2682. description: 收发货备注
  2683. type: string
  2684. spotstatus:
  2685. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2686. type: integer
  2687. tradedate:
  2688. description: 交易日(yyyyMMdd)
  2689. type: string
  2690. userid:
  2691. description: 业务员用户ID
  2692. type: integer
  2693. warehouseid:
  2694. description: 仓库ID
  2695. type: integer
  2696. wrfactortypeid:
  2697. description: 仓单要素类型ID
  2698. type: integer
  2699. wrstandardid:
  2700. description: 仓单标准ID(SEQ_WRSTANDARD)
  2701. type: integer
  2702. required:
  2703. - spotcontractid
  2704. type: object
  2705. erms3.AddErms2ASApplyReq:
  2706. properties:
  2707. applybasis:
  2708. description: 申请基差
  2709. type: number
  2710. applystatus:
  2711. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2712. type: integer
  2713. asapplyid:
  2714. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2715. type: integer
  2716. asname:
  2717. description: 策略名称
  2718. type: string
  2719. asno:
  2720. description: 策略编号
  2721. type: string
  2722. auditid:
  2723. description: 审核人
  2724. type: integer
  2725. auditremark:
  2726. description: 审核备注
  2727. type: string
  2728. audittime:
  2729. description: 审核时间
  2730. type: string
  2731. biztype:
  2732. description: 业务类型 - 1:正向套利 2:反向套利
  2733. type: integer
  2734. createtime:
  2735. description: 创建时间
  2736. type: string
  2737. creatorid:
  2738. description: 创建人
  2739. type: integer
  2740. deliverygoodsid:
  2741. description: 现货品种ID
  2742. type: integer
  2743. futurequote:
  2744. description: 期货额度
  2745. type: number
  2746. goodsgroupid:
  2747. description: 期货品种ID
  2748. type: integer
  2749. marketid:
  2750. description: 市场ID
  2751. type: integer
  2752. remark:
  2753. description: 备注
  2754. type: string
  2755. spotquota:
  2756. description: 现货额度
  2757. type: number
  2758. tradedate:
  2759. description: 交易日(yyyyMMdd)
  2760. type: string
  2761. userid:
  2762. description: 所属机构
  2763. type: integer
  2764. required:
  2765. - asapplyid
  2766. type: object
  2767. erms3.AddErms2SpotTradeApplyReq:
  2768. properties:
  2769. applyjsondetail:
  2770. description: 申请明细(JSON)
  2771. type: string
  2772. applystatus:
  2773. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2774. type: integer
  2775. areauserid:
  2776. description: 所属机构
  2777. type: integer
  2778. auditid:
  2779. description: 审核人
  2780. type: integer
  2781. auditremark:
  2782. description: 审核备注
  2783. type: string
  2784. audittime:
  2785. description: 审核时间
  2786. type: string
  2787. createtime:
  2788. description: 创建时间
  2789. type: string
  2790. creatorid:
  2791. description: 创建人
  2792. type: integer
  2793. deliverygoodsid:
  2794. description: 现货品种ID
  2795. type: integer
  2796. futureaccountid:
  2797. description: 期货资金账户
  2798. type: integer
  2799. goodsgroupid:
  2800. description: 期货品种
  2801. type: integer
  2802. marketid:
  2803. description: 市场ID
  2804. type: integer
  2805. remark:
  2806. description: 备注
  2807. type: string
  2808. spotaccountid:
  2809. description: 现货资金账户
  2810. type: integer
  2811. spottradeid:
  2812. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2813. type: integer
  2814. spottradename:
  2815. description: 业务名称
  2816. type: string
  2817. spottradeno:
  2818. description: 业务编号
  2819. type: string
  2820. tradedate:
  2821. description: 交易日(yyyyMMdd)
  2822. type: string
  2823. wrstandardid:
  2824. description: 仓单标准ID
  2825. type: integer
  2826. required:
  2827. - spottradeid
  2828. type: object
  2829. erms3.AddSpotContractApplyReq:
  2830. properties:
  2831. accountid:
  2832. description: 资金账户ID
  2833. type: integer
  2834. areauserid:
  2835. description: 所属机构
  2836. type: integer
  2837. contractattachment:
  2838. description: 合同附件
  2839. type: string
  2840. contractno:
  2841. description: 现货合同编号
  2842. type: string
  2843. contracttype:
  2844. description: 现货合同类型 - 1:采购 -1:销售
  2845. type: integer
  2846. creatorid:
  2847. description: 申请人
  2848. type: integer
  2849. customeraccountid:
  2850. description: 客户资金账户ID
  2851. type: integer
  2852. customeruserid:
  2853. description: 客户ID
  2854. type: integer
  2855. details:
  2856. description: 明细
  2857. items:
  2858. $ref: '#/definitions/erms3.SoptContractDetail'
  2859. type: array
  2860. orimargin:
  2861. description: 初始保证金
  2862. type: number
  2863. remark:
  2864. description: 备注
  2865. type: string
  2866. signdate:
  2867. description: 签订日期
  2868. type: string
  2869. required:
  2870. - accountid
  2871. - areauserid
  2872. - contractno
  2873. - contracttype
  2874. - customeraccountid
  2875. - customeruserid
  2876. - details
  2877. - orimargin
  2878. - signdate
  2879. type: object
  2880. erms3.AddSpotContractApplyRsp:
  2881. properties:
  2882. contractno:
  2883. description: 现货合同编号
  2884. type: string
  2885. spotcontractid:
  2886. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2887. type: integer
  2888. required:
  2889. - contractno
  2890. type: object
  2891. erms3.AddUserInfoApplyReq:
  2892. properties:
  2893. accountid:
  2894. description: 交易系统帐号Id (加密存储)
  2895. type: integer
  2896. areacode:
  2897. description: 机构代码
  2898. type: string
  2899. areaid:
  2900. description: 机构Id
  2901. type: integer
  2902. attachment1:
  2903. description: 附件1
  2904. type: string
  2905. attachment2:
  2906. description: 附件2
  2907. type: string
  2908. attachment3:
  2909. description: 附件3
  2910. type: string
  2911. attachment4:
  2912. description: 附件4
  2913. type: string
  2914. attachment5:
  2915. description: 附件5
  2916. type: string
  2917. auditedby:
  2918. description: 审核人
  2919. type: string
  2920. auditime:
  2921. description: 审核时间
  2922. type: string
  2923. auditsrc:
  2924. description: 审核来源 - 1:管理端 2:终端
  2925. type: integer
  2926. bankaccount:
  2927. description: 银行帐号 (加密存储)
  2928. type: string
  2929. bankaccountname:
  2930. description: 收款人名称
  2931. type: string
  2932. bankcardbackphotourl:
  2933. description: 银行卡背面照地址
  2934. type: string
  2935. bankcardfrontphotourl:
  2936. description: 银行卡正面照地址
  2937. type: string
  2938. bankid:
  2939. description: 银行编码
  2940. type: string
  2941. bankname:
  2942. description: 银行名称
  2943. type: string
  2944. bankpictureurl:
  2945. description: 银行卡正面地址
  2946. type: string
  2947. biznature:
  2948. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2949. type: integer
  2950. bizscope:
  2951. description: 企业经营范围(企业)
  2952. type: string
  2953. biztype:
  2954. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2955. type: integer
  2956. brokerid:
  2957. description: 经纪人ID(加密存储)
  2958. type: string
  2959. cardaddress:
  2960. description: 证件地址 (加密存储)
  2961. type: string
  2962. cardbackphotourl:
  2963. description: 背面证件照地址
  2964. type: string
  2965. cardfrontphotourl:
  2966. description: 正面证件照地址
  2967. type: string
  2968. cardnum:
  2969. description: 证件号码 (加密存储)
  2970. type: string
  2971. cardtype:
  2972. description: 证件类型
  2973. type: integer
  2974. cityid:
  2975. description: 市
  2976. type: integer
  2977. company:
  2978. description: 公司(个人)
  2979. type: string
  2980. contactcardbackphotourl:
  2981. description: 联系人证件背面图片地址
  2982. type: string
  2983. contactcardfrontphotourl:
  2984. description: 联系人证件正面图片地址
  2985. type: string
  2986. contactname:
  2987. description: 联系人
  2988. type: string
  2989. countryid:
  2990. description: 国家
  2991. type: integer
  2992. createtime:
  2993. description: 开户申请时间
  2994. type: string
  2995. cusbankid:
  2996. description: 签约类型
  2997. type: string
  2998. cusbankname:
  2999. description: 签约类型名称
  3000. type: string
  3001. customername:
  3002. description: 客户名称(企业名称)
  3003. type: string
  3004. districtid:
  3005. description: 地区
  3006. type: integer
  3007. email:
  3008. description: Email地址(加密存储)
  3009. type: string
  3010. halfbodyphotourl:
  3011. description: 半身照地址
  3012. type: string
  3013. headurl:
  3014. description: 头像地址
  3015. type: string
  3016. ipaddress:
  3017. description: IP地址
  3018. type: string
  3019. isvalidate:
  3020. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3021. type: string
  3022. legalcardbackphotourl:
  3023. description: 法人身份证背面照地址
  3024. type: string
  3025. legalcardfrontphotourl:
  3026. description: 法人身份证正面照地址
  3027. type: string
  3028. legalpersonname:
  3029. description: 法人姓名(企业)
  3030. type: string
  3031. logincode:
  3032. description: 登录帐号 (加密存储)
  3033. type: string
  3034. memberareaid:
  3035. description: 所属会员ID
  3036. type: integer
  3037. mobile2:
  3038. description: 手机号码[明文-尚志]
  3039. type: string
  3040. mobilephone:
  3041. description: 手机号码 (加密存储)
  3042. type: string
  3043. modifiedby:
  3044. description: 修改人帐号
  3045. type: integer
  3046. modifiedtime:
  3047. description: 修改时间
  3048. type: string
  3049. nickname:
  3050. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3051. type: string
  3052. openmode:
  3053. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3054. type: integer
  3055. otherurl:
  3056. description: 其它图片地址[使用分号分隔]
  3057. type: string
  3058. postalcode:
  3059. description: 邮政编码
  3060. type: string
  3061. provinceid:
  3062. description: 省
  3063. type: integer
  3064. proxystatementurl:
  3065. description: 授权委托书
  3066. type: string
  3067. qq:
  3068. description: QQ(加密存储
  3069. type: string
  3070. referral:
  3071. description: 推荐人编码
  3072. type: string
  3073. remark:
  3074. description: 备注
  3075. type: string
  3076. removebeforestatus:
  3077. description: REMOVEBEFORESTATUS
  3078. type: integer
  3079. sex:
  3080. description: 性别 - 0:女 1:男
  3081. type: integer
  3082. signedstatus:
  3083. description: 账户一号签签约状态
  3084. type: integer
  3085. signpdfurl:
  3086. description: 签约pdf文件
  3087. type: string
  3088. subbranch:
  3089. description: 开户支行
  3090. type: string
  3091. taxpayernum:
  3092. description: 纳税人识别号
  3093. type: string
  3094. telphone:
  3095. description: 联系电话(加密存储)
  3096. type: string
  3097. userid:
  3098. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3099. type: integer
  3100. userinfotype:
  3101. description: 用户信息类型 - 1:个人 2:企业
  3102. type: integer
  3103. username:
  3104. description: 用户姓名
  3105. type: string
  3106. userstate:
  3107. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3108. type: integer
  3109. usertype:
  3110. description: 用户类型 - 1:投资者 2:机构
  3111. type: integer
  3112. videourl:
  3113. description: 视频地址
  3114. type: string
  3115. wechat:
  3116. description: 微信号 (加密存储)
  3117. type: string
  3118. required:
  3119. - userid
  3120. type: object
  3121. erms3.CustomerInfo:
  3122. properties:
  3123. accountids:
  3124. description: 资金账户ID列表
  3125. items:
  3126. type: integer
  3127. type: array
  3128. customername:
  3129. description: 名称(企业名称)
  3130. type: string
  3131. mobile:
  3132. description: 手机号码
  3133. type: string
  3134. userid:
  3135. description: 用户ID
  3136. type: integer
  3137. required:
  3138. - userid
  3139. type: object
  3140. erms3.ModifyUserInfoApplyReq:
  3141. properties:
  3142. accountid:
  3143. description: 交易系统帐号Id (加密存储)
  3144. type: integer
  3145. areacode:
  3146. description: 机构代码
  3147. type: string
  3148. areaid:
  3149. description: 机构Id
  3150. type: integer
  3151. attachment1:
  3152. description: 附件1
  3153. type: string
  3154. attachment2:
  3155. description: 附件2
  3156. type: string
  3157. attachment3:
  3158. description: 附件3
  3159. type: string
  3160. attachment4:
  3161. description: 附件4
  3162. type: string
  3163. attachment5:
  3164. description: 附件5
  3165. type: string
  3166. auditedby:
  3167. description: 审核人
  3168. type: string
  3169. auditime:
  3170. description: 审核时间
  3171. type: string
  3172. auditsrc:
  3173. description: 审核来源 - 1:管理端 2:终端
  3174. type: integer
  3175. bankaccount:
  3176. description: 银行帐号 (加密存储)
  3177. type: string
  3178. bankaccountname:
  3179. description: 收款人名称
  3180. type: string
  3181. bankcardbackphotourl:
  3182. description: 银行卡背面照地址
  3183. type: string
  3184. bankcardfrontphotourl:
  3185. description: 银行卡正面照地址
  3186. type: string
  3187. bankid:
  3188. description: 银行编码
  3189. type: string
  3190. bankname:
  3191. description: 银行名称
  3192. type: string
  3193. bankpictureurl:
  3194. description: 银行卡正面地址
  3195. type: string
  3196. biznature:
  3197. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3198. type: integer
  3199. bizscope:
  3200. description: 企业经营范围(企业)
  3201. type: string
  3202. biztype:
  3203. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3204. type: integer
  3205. brokerid:
  3206. description: 经纪人ID(加密存储)
  3207. type: string
  3208. cardaddress:
  3209. description: 证件地址 (加密存储)
  3210. type: string
  3211. cardbackphotourl:
  3212. description: 背面证件照地址
  3213. type: string
  3214. cardfrontphotourl:
  3215. description: 正面证件照地址
  3216. type: string
  3217. cardnum:
  3218. description: 证件号码 (加密存储)
  3219. type: string
  3220. cardtype:
  3221. description: 证件类型
  3222. type: integer
  3223. cityid:
  3224. description: 市
  3225. type: integer
  3226. company:
  3227. description: 公司(个人)
  3228. type: string
  3229. contactcardbackphotourl:
  3230. description: 联系人证件背面图片地址
  3231. type: string
  3232. contactcardfrontphotourl:
  3233. description: 联系人证件正面图片地址
  3234. type: string
  3235. contactname:
  3236. description: 联系人
  3237. type: string
  3238. countryid:
  3239. description: 国家
  3240. type: integer
  3241. createtime:
  3242. description: 开户申请时间
  3243. type: string
  3244. cusbankid:
  3245. description: 签约类型
  3246. type: string
  3247. cusbankname:
  3248. description: 签约类型名称
  3249. type: string
  3250. customername:
  3251. description: 客户名称(企业名称)
  3252. type: string
  3253. districtid:
  3254. description: 地区
  3255. type: integer
  3256. email:
  3257. description: Email地址(加密存储)
  3258. type: string
  3259. halfbodyphotourl:
  3260. description: 半身照地址
  3261. type: string
  3262. headurl:
  3263. description: 头像地址
  3264. type: string
  3265. ipaddress:
  3266. description: IP地址
  3267. type: string
  3268. isvalidate:
  3269. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3270. type: string
  3271. legalcardbackphotourl:
  3272. description: 法人身份证背面照地址
  3273. type: string
  3274. legalcardfrontphotourl:
  3275. description: 法人身份证正面照地址
  3276. type: string
  3277. legalpersonname:
  3278. description: 法人姓名(企业)
  3279. type: string
  3280. logincode:
  3281. description: 登录帐号 (加密存储)
  3282. type: string
  3283. memberareaid:
  3284. description: 所属会员ID
  3285. type: integer
  3286. mobile2:
  3287. description: 手机号码[明文-尚志]
  3288. type: string
  3289. mobilephone:
  3290. description: 手机号码 (加密存储)
  3291. type: string
  3292. modifiedby:
  3293. description: 修改人帐号
  3294. type: integer
  3295. modifiedtime:
  3296. description: 修改时间
  3297. type: string
  3298. nickname:
  3299. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3300. type: string
  3301. openmode:
  3302. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3303. type: integer
  3304. otherurl:
  3305. description: 其它图片地址[使用分号分隔]
  3306. type: string
  3307. postalcode:
  3308. description: 邮政编码
  3309. type: string
  3310. provinceid:
  3311. description: 省
  3312. type: integer
  3313. proxystatementurl:
  3314. description: 授权委托书
  3315. type: string
  3316. qq:
  3317. description: QQ(加密存储
  3318. type: string
  3319. referral:
  3320. description: 推荐人编码
  3321. type: string
  3322. remark:
  3323. description: 备注
  3324. type: string
  3325. removebeforestatus:
  3326. description: REMOVEBEFORESTATUS
  3327. type: integer
  3328. sex:
  3329. description: 性别 - 0:女 1:男
  3330. type: integer
  3331. signedstatus:
  3332. description: 账户一号签签约状态
  3333. type: integer
  3334. signpdfurl:
  3335. description: 签约pdf文件
  3336. type: string
  3337. subbranch:
  3338. description: 开户支行
  3339. type: string
  3340. taxpayernum:
  3341. description: 纳税人识别号
  3342. type: string
  3343. telphone:
  3344. description: 联系电话(加密存储)
  3345. type: string
  3346. userid:
  3347. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3348. type: integer
  3349. userinfotype:
  3350. description: 用户信息类型 - 1:个人 2:企业
  3351. type: integer
  3352. username:
  3353. description: 用户姓名
  3354. type: string
  3355. userstate:
  3356. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3357. type: integer
  3358. usertype:
  3359. description: 用户类型 - 1:投资者 2:机构
  3360. type: integer
  3361. videourl:
  3362. description: 视频地址
  3363. type: string
  3364. wechat:
  3365. description: 微信号 (加密存储)
  3366. type: string
  3367. required:
  3368. - userid
  3369. type: object
  3370. erms3.QryAuditContractRsp:
  3371. properties:
  3372. accountid:
  3373. description: 交易员ID
  3374. type: string
  3375. applystatus:
  3376. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3377. type: integer
  3378. curdeliveryqty:
  3379. description: 未交收量
  3380. type: integer
  3381. customername:
  3382. description: 采购方ID
  3383. type: string
  3384. deliverygoodsid:
  3385. description: 品种ID
  3386. type: string
  3387. deliveryqty:
  3388. description: 交收量
  3389. type: integer
  3390. enumdicname:
  3391. description: 单位名称
  3392. type: string
  3393. matchaccountid:
  3394. description: 业务员ID
  3395. type: string
  3396. matchcustomername:
  3397. description: 销售方ID
  3398. type: string
  3399. pricedqty:
  3400. description: 定价量
  3401. type: number
  3402. signdate:
  3403. description: 签订日期
  3404. type: string
  3405. spotcontractid:
  3406. description: 合同ID
  3407. type: string
  3408. totaldqty:
  3409. description: 合同量
  3410. type: number
  3411. unpricedqty:
  3412. description: 未定价量
  3413. type: number
  3414. wrstandardname:
  3415. description: 商品名称
  3416. type: string
  3417. required:
  3418. - matchcustomername
  3419. - spotcontractid
  3420. type: object
  3421. erms3.QryPendingBizRsp:
  3422. properties:
  3423. accountid:
  3424. description: 现货账户
  3425. type: string
  3426. areaname:
  3427. description: 所属部门
  3428. type: string
  3429. bizid:
  3430. description: 业务ID
  3431. type: string
  3432. bizname:
  3433. description: 业务名称
  3434. type: string
  3435. status:
  3436. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3437. type: integer
  3438. type:
  3439. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3440. type: integer
  3441. type: object
  3442. erms3.QueryBusinessInfoRsp:
  3443. properties:
  3444. businessid:
  3445. description: 业务ID.
  3446. type: integer
  3447. buyamount:
  3448. description: 采购额.
  3449. type: number
  3450. buyqty:
  3451. description: 采购量.
  3452. type: string
  3453. futurepl:
  3454. description: 期货盈亏.
  3455. type: number
  3456. futureqty:
  3457. description: 期货敞口.
  3458. type: string
  3459. goodsid:
  3460. description: 商品名称/商品代码.
  3461. type: string
  3462. hedgingqty:
  3463. description: 套保量.
  3464. type: string
  3465. sellamount:
  3466. description: 销售额.
  3467. type: number
  3468. sellqty:
  3469. description: 销售量.
  3470. type: string
  3471. spotmarketvalue:
  3472. description: 现货市值.
  3473. type: number
  3474. spotpl:
  3475. description: 浮动权益.
  3476. type: number
  3477. spotqty:
  3478. description: 现货量.
  3479. type: string
  3480. statu:
  3481. description: 状态,0-未结束 1-已结束.
  3482. type: integer
  3483. totalpl:
  3484. description: 总盈亏.
  3485. type: number
  3486. totalqty:
  3487. description: 总敞口.
  3488. type: string
  3489. type:
  3490. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3491. type: integer
  3492. type: object
  3493. erms3.QuerySpotContractAppleFormRsp:
  3494. properties:
  3495. goodses:
  3496. description: 合约列表
  3497. items:
  3498. $ref: '#/definitions/models.GoodsIDAndName'
  3499. type: array
  3500. oppositeusers:
  3501. description: 对方账号列表
  3502. items:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. type: array
  3505. ouruser:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. description: 我方账号
  3508. warehouseinfos:
  3509. description: 仓库信息列表
  3510. items:
  3511. $ref: '#/definitions/models.Warehouseinfo'
  3512. type: array
  3513. wrstandards:
  3514. description: 仓单标准列表
  3515. items:
  3516. $ref: '#/definitions/models.WRStandardInfo'
  3517. type: array
  3518. type: object
  3519. erms3.QuerySpotContractInfoRsp:
  3520. properties:
  3521. accountid:
  3522. description: 表示交易员ID.
  3523. type: integer
  3524. curdeliveryqty:
  3525. description: 表示未交收量.
  3526. type: number
  3527. customername:
  3528. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3529. type: string
  3530. deliverygoodsid:
  3531. description: 表示品种ID.
  3532. type: string
  3533. deliveryqty:
  3534. description: 表示交收量.
  3535. type: number
  3536. matchaccountid:
  3537. description: 表示业务员ID.
  3538. type: integer
  3539. matchcustomername:
  3540. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3541. type: string
  3542. priceqty:
  3543. description: 表示定价量.
  3544. type: number
  3545. relatedbizid:
  3546. description: 表示业务ID.
  3547. type: string
  3548. signdate:
  3549. description: 表示签订日期.
  3550. type: string
  3551. spotcontractid:
  3552. description: 合同ID
  3553. type: string
  3554. status:
  3555. description: 表示状态,0-履约中 1-已完成.
  3556. type: integer
  3557. totalqty:
  3558. description: 表示合同量.
  3559. type: number
  3560. unpricedqty:
  3561. description: 表示未定价量.
  3562. type: number
  3563. wrstandardname:
  3564. description: 表示商品ID.
  3565. type: string
  3566. type: object
  3567. erms3.QueryUserInfoAppliesRsp:
  3568. properties:
  3569. biznature:
  3570. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3571. type: integer
  3572. contactname:
  3573. description: 联系人
  3574. type: string
  3575. createtime:
  3576. description: 开户申请时间
  3577. type: string
  3578. userid:
  3579. description: 用户ID(自增ID)
  3580. type: integer
  3581. userinfotype:
  3582. description: 用户信息类型 - 1:个人 2:企业
  3583. type: integer
  3584. username:
  3585. description: 用户姓名
  3586. type: string
  3587. userstate:
  3588. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3589. type: integer
  3590. required:
  3591. - userid
  3592. type: object
  3593. erms3.QueryUserInfosRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. customername:
  3602. description: 客户名称(企业名称)
  3603. type: string
  3604. userid:
  3605. description: 用户ID
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. userstatus:
  3611. description: 用户状态 - 1:正常 2:注销
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.SoptContractDetail:
  3617. properties:
  3618. deliverygoodsdesc:
  3619. description: 现货品种说明
  3620. type: string
  3621. deliverygoodsid:
  3622. description: 现货品种ID
  3623. type: integer
  3624. deliverygoodsname:
  3625. description: 现货品种名称
  3626. type: string
  3627. pointdesc:
  3628. description: 点价描述
  3629. type: string
  3630. producttype:
  3631. description: 产品类型 1:标准仓单 2:等标 3:非标
  3632. type: integer
  3633. producttypename:
  3634. description: 产品类型名称
  3635. type: string
  3636. spotPointOrderVoList:
  3637. description: 点价列表
  3638. items:
  3639. $ref: '#/definitions/erms3.SpotPointOrder'
  3640. type: array
  3641. spotPriceOrderList:
  3642. description: 定价列表
  3643. items:
  3644. $ref: '#/definitions/erms3.SpotPriceOrder'
  3645. type: array
  3646. unitname:
  3647. description: 单位名称
  3648. type: string
  3649. warehouseid:
  3650. description: 仓库ID
  3651. type: integer
  3652. warehousename:
  3653. description: 仓库名称
  3654. type: string
  3655. wrstandardid:
  3656. description: 交易标的ID
  3657. type: integer
  3658. wrstandardname:
  3659. description: 交易标的名称
  3660. type: string
  3661. required:
  3662. - deliverygoodsid
  3663. - producttype
  3664. - unitname
  3665. - warehouseid
  3666. - wrstandardid
  3667. - wrstandardname
  3668. type: object
  3669. erms3.SpotPointOrder:
  3670. properties:
  3671. basic:
  3672. description: 基差
  3673. type: number
  3674. deliveryenddate:
  3675. description: 交收结束日期
  3676. type: string
  3677. deliverystartdate:
  3678. description: 交收开始日期
  3679. type: string
  3680. enddate:
  3681. description: 点价结束日期
  3682. type: string
  3683. goodsid:
  3684. description: 商品ID
  3685. type: integer
  3686. goodsname:
  3687. description: 商品名称
  3688. type: string
  3689. qty:
  3690. description: 数量
  3691. type: number
  3692. startdate:
  3693. description: 点价开始日期
  3694. type: string
  3695. required:
  3696. - basic
  3697. - goodsid
  3698. - qty
  3699. type: object
  3700. erms3.SpotPriceOrder:
  3701. properties:
  3702. amount:
  3703. description: 金额
  3704. type: number
  3705. deliveryenddate:
  3706. description: 交收结束日期
  3707. type: string
  3708. deliverystartdate:
  3709. description: 交收开始日期
  3710. type: string
  3711. price:
  3712. description: 价格
  3713. type: number
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. required:
  3718. - amount
  3719. - price
  3720. - qty
  3721. type: object
  3722. hsby.GetHsbyMyCountRsp:
  3723. properties:
  3724. myCouponCount:
  3725. description: 我的优惠卷数量
  3726. type: integer
  3727. myOrderDetailListingCount:
  3728. description: 我的订单求购中数量
  3729. type: integer
  3730. myOrderDetailPreCount:
  3731. description: 我的订单抢购中数量
  3732. type: integer
  3733. myPackageUnReceiveCount:
  3734. description: 我的包裹待收货数量
  3735. type: integer
  3736. myPackageUnSendCount:
  3737. description: 我的包裹待发货数量
  3738. type: integer
  3739. myPayOrderCount:
  3740. description: 我的订单待付款数量
  3741. type: integer
  3742. type: object
  3743. hsby.QueryProvincesAndCitiesRsp:
  3744. properties:
  3745. cities:
  3746. description: 市
  3747. items:
  3748. $ref: '#/definitions/models.Division'
  3749. type: array
  3750. province:
  3751. $ref: '#/definitions/models.Division'
  3752. description: 省
  3753. type: object
  3754. models.Arearole:
  3755. properties:
  3756. createtime:
  3757. description: 创建时间
  3758. type: string
  3759. creatorid:
  3760. description: 创建人ID
  3761. type: integer
  3762. fromuserid:
  3763. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3764. type: integer
  3765. isreturnscore:
  3766. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3767. type: integer
  3768. modifierid:
  3769. description: 修改人ID
  3770. type: integer
  3771. modifytime:
  3772. description: 修改时间
  3773. type: string
  3774. orgtype:
  3775. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3776. type: integer
  3777. outuserid:
  3778. description: 外部账户[场外期权做市商]
  3779. type: string
  3780. parentuserid:
  3781. description: 上级组织机构(组织机构)
  3782. type: integer
  3783. roletype:
  3784. 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:门店
  3785. type: integer
  3786. rootuserid:
  3787. description: 顶级组织机构用户ID(组织机构)
  3788. type: integer
  3789. shoppassword:
  3790. description: 商城店铺登陆密码(商城店铺角色使用)
  3791. type: string
  3792. sublevelpath:
  3793. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3794. type: string
  3795. suborgtype:
  3796. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3797. type: integer
  3798. tradeaccountid:
  3799. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3800. type: integer
  3801. transurl:
  3802. description: 物流地址(物流机构)
  3803. type: string
  3804. userid:
  3805. description: 机构用户ID其他做市关系,都设置为 1
  3806. type: integer
  3807. required:
  3808. - roletype
  3809. - userid
  3810. type: object
  3811. models.Clientfixedadconfig:
  3812. properties:
  3813. adsort:
  3814. description: 排序
  3815. type: integer
  3816. adtype:
  3817. description: 广告位类型 - 1:新品抢购(HSBY)
  3818. type: integer
  3819. areauserid:
  3820. description: 所属机构ID
  3821. type: integer
  3822. createdate:
  3823. description: 创建时间
  3824. type: string
  3825. creatorid:
  3826. description: 创建人
  3827. type: integer
  3828. imagepath:
  3829. description: 图片
  3830. type: string
  3831. isshow:
  3832. description: 是否展示 - 0:不展示 1:展示
  3833. type: integer
  3834. modifierid:
  3835. description: 操作人
  3836. type: integer
  3837. recsize:
  3838. description: 推荐尺寸
  3839. type: string
  3840. title:
  3841. description: 标题
  3842. type: string
  3843. updatedate:
  3844. description: 更新时间
  3845. type: string
  3846. urlcontent:
  3847. description: 链接(地址或商品ID)
  3848. type: string
  3849. urltype:
  3850. description: 链接类型 - 1:直接地址 2:商品ID
  3851. type: integer
  3852. required:
  3853. - adsort
  3854. - adtype
  3855. type: object
  3856. models.Division:
  3857. properties:
  3858. autoid:
  3859. description: 自增ID
  3860. type: integer
  3861. divisioncode:
  3862. description: 行政代码
  3863. type: string
  3864. divisionlevel:
  3865. description: 行政级别
  3866. type: string
  3867. divisionname:
  3868. description: 行政名称
  3869. type: string
  3870. modifierid:
  3871. description: 修改人
  3872. type: integer
  3873. modifytime:
  3874. description: 修改时间
  3875. type: string
  3876. parentcode:
  3877. description: 上级行政代码
  3878. type: string
  3879. pathname:
  3880. description: 路径名称
  3881. type: string
  3882. postcode:
  3883. description: 邮政编码
  3884. type: string
  3885. separablename:
  3886. description: 可拆分的全称
  3887. type: string
  3888. shortcode:
  3889. description: 地区简码
  3890. type: string
  3891. required:
  3892. - autoid
  3893. - divisioncode
  3894. type: object
  3895. models.Enumdicitem:
  3896. properties:
  3897. autoid:
  3898. description: 自增ID
  3899. type: integer
  3900. bankmappedvalue:
  3901. description: 银行服务对应值
  3902. type: string
  3903. enumdiccode:
  3904. description: 所属枚举代码
  3905. type: string
  3906. enumdicid:
  3907. description: 所属枚举ID
  3908. type: integer
  3909. enumdicname:
  3910. description: 枚举项名称
  3911. type: string
  3912. enumitemname:
  3913. description: 枚举项值
  3914. type: integer
  3915. enumitemstatus:
  3916. description: 枚举项状态 - 1.启用 2.不启用
  3917. type: integer
  3918. enumitemvalue:
  3919. description: 通用值 - [币种通用简写]
  3920. type: string
  3921. param1:
  3922. description: 参数1[币种:币种小数位]
  3923. type: string
  3924. param2:
  3925. description: 参数1[币种:币种显示单位]
  3926. type: string
  3927. remark:
  3928. description: 备注
  3929. type: string
  3930. required:
  3931. - autoid
  3932. - enumdiccode
  3933. - enumdicid
  3934. - enumitemname
  3935. type: object
  3936. models.Ermcp3AreaSpot:
  3937. properties:
  3938. areauserid:
  3939. description: 所属机构
  3940. type: integer
  3941. convertratio:
  3942. description: 套保系数
  3943. type: number
  3944. decreaseqty:
  3945. description: 减少数量=-(销售已定价数量+采购计划数量)
  3946. type: number
  3947. enumdicname:
  3948. description: 单位名称
  3949. type: string
  3950. increaseqty:
  3951. description: 增加数量=销售计划数量+采购已定价数量
  3952. type: number
  3953. oritoalspotqty:
  3954. description: 昨日数量
  3955. type: number
  3956. totalspotqty:
  3957. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3958. type: number
  3959. unitid:
  3960. description: 现货商品单位id
  3961. type: integer
  3962. updatetime:
  3963. description: 更新时间
  3964. type: string
  3965. wrstandardcode:
  3966. description: 现货商品代码
  3967. type: string
  3968. wrstandardid:
  3969. description: 现货商品ID(SEQ_WRSTANDARD)
  3970. type: integer
  3971. wrstandardname:
  3972. description: 现货商品名称
  3973. type: string
  3974. type: object
  3975. models.Ermcp3AreaSpotDetail:
  3976. properties:
  3977. contracttype:
  3978. description: 合同类型 1-采购 -1-销售
  3979. type: integer
  3980. createtime:
  3981. description: 创建时间
  3982. type: string
  3983. enumdicname:
  3984. description: 现货商品单位名称
  3985. type: string
  3986. logtype:
  3987. description: 记录类型 1-套保 2-现货合同
  3988. type: integer
  3989. qty:
  3990. description: 数量
  3991. type: number
  3992. recordname:
  3993. description: 类型名称
  3994. type: string
  3995. relatedid:
  3996. description: 套保计划ID/现货合同ID
  3997. type: string
  3998. relatedno:
  3999. description: 编号
  4000. type: string
  4001. strtime:
  4002. description: 时间
  4003. type: string
  4004. wrstandardcode:
  4005. description: 现货商品代码
  4006. type: string
  4007. wrstandardid:
  4008. description: 现货商品ID(SEQ_WRSTANDARD)
  4009. type: integer
  4010. wrstandardname:
  4011. description: 现货商品名称
  4012. type: string
  4013. type: object
  4014. models.Ermcp3AreaSpotPLReport:
  4015. properties:
  4016. accountid:
  4017. description: 期货账户ID (作废, 默认为0)
  4018. type: integer
  4019. accountname:
  4020. description: 机构名称
  4021. type: string
  4022. actualpl:
  4023. description: 现货损益
  4024. type: number
  4025. areauserid:
  4026. description: 所属机构\交易用户ID
  4027. type: integer
  4028. begindate:
  4029. description: 开始交易日
  4030. type: string
  4031. biztype:
  4032. description: 业务类型 - 1:套保 2:套利
  4033. type: integer
  4034. brandname:
  4035. description: 品牌名称
  4036. type: string
  4037. curamount:
  4038. description: 期末额
  4039. type: number
  4040. curaverageprice:
  4041. description: 期末均价
  4042. type: number
  4043. curbuyamount:
  4044. description: 期末采购总额
  4045. type: number
  4046. curbuyqty:
  4047. description: 期末采购总量
  4048. type: number
  4049. curmarketvalue:
  4050. description: 参考市值(期末市值)
  4051. type: number
  4052. curqty:
  4053. description: 期末量
  4054. type: number
  4055. currencyid:
  4056. description: 结算币种ID【原值】
  4057. type: integer
  4058. currencyname:
  4059. description: 币种名称
  4060. type: string
  4061. cursellamount:
  4062. description: 期末销售总额
  4063. type: number
  4064. cursellqty:
  4065. description: 期末销售总量
  4066. type: number
  4067. curspotprice:
  4068. description: 参考市价(最新价)
  4069. type: number
  4070. cycletime:
  4071. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4072. type: string
  4073. cycletype:
  4074. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4075. type: integer
  4076. deliverygoodscode:
  4077. description: 现货商品代码
  4078. type: string
  4079. deliverygoodsid:
  4080. description: 现货品种ID
  4081. type: integer
  4082. deliverygoodsname:
  4083. description: 现货商品名称
  4084. type: string
  4085. enddate:
  4086. description: 结束交易日
  4087. type: string
  4088. enumdicname:
  4089. description: 现货商品单位名称
  4090. type: string
  4091. floatpl:
  4092. description: 浮动损益
  4093. type: number
  4094. goodsunitid:
  4095. description: 现货商品单位id
  4096. type: integer
  4097. oriamount:
  4098. description: 期初额
  4099. type: number
  4100. oriaverageprice:
  4101. description: 期初均价
  4102. type: number
  4103. oribuyamount:
  4104. description: 期初采购总额
  4105. type: number
  4106. oribuyqty:
  4107. description: 期初采购总量
  4108. type: number
  4109. oriqty:
  4110. description: 期初量
  4111. type: number
  4112. orisellamount:
  4113. description: 期初销售总额
  4114. type: number
  4115. orisellqty:
  4116. description: 期初销售总量
  4117. type: number
  4118. reckondate:
  4119. description: 日照时期(yyyyMMdd)
  4120. type: string
  4121. spotgoodsbrandid:
  4122. description: 现货品牌ID
  4123. type: integer
  4124. todaybuyamount:
  4125. description: 今日采购额(今采购额)
  4126. type: number
  4127. todaybuyaverageprice:
  4128. description: 今日采购均价
  4129. type: number
  4130. todaybuyqty:
  4131. description: 今日采购量(今采购量)
  4132. type: number
  4133. todayinqty:
  4134. description: 今日入库量(今入库量)
  4135. type: number
  4136. todayoutqty:
  4137. description: 今日出库量(今出库量)
  4138. type: number
  4139. todaysellamount:
  4140. description: 今日销售额(今销售额)
  4141. type: number
  4142. todaysellaverageprice:
  4143. description: 今日销售均价
  4144. type: number
  4145. todaysellqty:
  4146. description: 今日销售量(今销售量)
  4147. type: number
  4148. unitid:
  4149. description: 品类单位id
  4150. type: integer
  4151. unitidname:
  4152. description: 品类单位名称
  4153. type: string
  4154. updatetime:
  4155. description: 更新时间
  4156. type: string
  4157. wrfactortypeid:
  4158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4159. type: integer
  4160. wrstandardcode:
  4161. description: 品类代码
  4162. type: string
  4163. wrstandardid:
  4164. description: 现货品类ID
  4165. type: integer
  4166. wrstandardname:
  4167. description: 品类名称
  4168. type: string
  4169. type: object
  4170. models.Ermcp3AreaStock:
  4171. properties:
  4172. brandname:
  4173. description: 品牌名称
  4174. type: string
  4175. curstock:
  4176. description: 期末库存量(今日量)
  4177. type: number
  4178. deliverygoodscode:
  4179. description: 现货品种代码
  4180. type: string
  4181. deliverygoodsid:
  4182. description: 现货品种id
  4183. type: integer
  4184. deliverygoodsname:
  4185. description: 现货品种名称
  4186. type: string
  4187. enumdicname:
  4188. description: 单位名称
  4189. type: string
  4190. goodsunitid:
  4191. description: 现货商品单位id
  4192. type: integer
  4193. oristock:
  4194. description: 期初库存量(昨日量)
  4195. type: number
  4196. spotgoodsbrandid:
  4197. description: 现货品牌ID
  4198. type: integer
  4199. todaybuyinqty:
  4200. description: 今日采购入库量
  4201. type: number
  4202. todayproduceinqty:
  4203. description: 今日生产入库量
  4204. type: number
  4205. todayproduceoutqty:
  4206. description: 今日生产出库量
  4207. type: number
  4208. todayselloutqty:
  4209. description: 今日销售出库量
  4210. type: number
  4211. unitid:
  4212. description: 单位id
  4213. type: integer
  4214. updatetime:
  4215. description: 更新时间
  4216. type: string
  4217. userid:
  4218. description: 机构ID
  4219. type: integer
  4220. username:
  4221. description: 机构名称
  4222. type: string
  4223. warehousecode:
  4224. description: 仓库代码
  4225. type: string
  4226. warehouseinfoid:
  4227. description: 仓库ID
  4228. type: string
  4229. warehousename:
  4230. description: 仓库名称
  4231. type: string
  4232. warehousetype:
  4233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4234. type: integer
  4235. wrstandardcode:
  4236. description: 品类代码
  4237. type: string
  4238. wrstandardid:
  4239. description: 品类ID
  4240. type: string
  4241. wrstandardname:
  4242. description: 品类名称
  4243. type: string
  4244. required:
  4245. - userid
  4246. type: object
  4247. models.Ermcp3AreaStockApply:
  4248. properties:
  4249. applyid:
  4250. description: 申请人
  4251. type: integer
  4252. applyname:
  4253. description: 申请人名称
  4254. type: string
  4255. applyremark:
  4256. description: 申请备注
  4257. type: string
  4258. applysrc:
  4259. description: 申请来源 - 1:管理端 2:终端
  4260. type: integer
  4261. applystatus:
  4262. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4263. type: integer
  4264. applytime:
  4265. description: 申请时间
  4266. type: string
  4267. auditid:
  4268. description: 审核人
  4269. type: integer
  4270. auditname:
  4271. description: 审核人名称
  4272. type: string
  4273. auditremark:
  4274. description: 审核备注
  4275. type: string
  4276. auditsrc:
  4277. description: 审核来源 - 1:管理端 2:终端
  4278. type: integer
  4279. audittime:
  4280. description: 审核时间
  4281. type: string
  4282. audittradedate:
  4283. description: 审核交易日(yyyyMMdd)
  4284. type: string
  4285. brandname:
  4286. description: 品牌名称
  4287. type: string
  4288. buynickname:
  4289. description: 采购方昵称
  4290. type: string
  4291. buyuserid:
  4292. description: 采购方userid
  4293. type: integer
  4294. buyusername:
  4295. description: 采购方名称
  4296. type: string
  4297. contractno:
  4298. description: 合同编号
  4299. type: string
  4300. contractqty:
  4301. description: 合同量
  4302. type: number
  4303. contracttype:
  4304. description: 现货合同类型 - 1:采购 -1:销售
  4305. type: integer
  4306. deliverygoodscode:
  4307. description: 现货品种代码
  4308. type: string
  4309. deliverygoodsid:
  4310. description: 现货品种id
  4311. type: integer
  4312. deliverygoodsname:
  4313. description: 现货品种名称
  4314. type: string
  4315. detailjson:
  4316. description: 明细数据
  4317. type: string
  4318. enumdicname:
  4319. description: 现货商品单位名称
  4320. type: string
  4321. inoutapplyid:
  4322. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4323. type: string
  4324. inouttype:
  4325. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4326. type: integer
  4327. pricetype:
  4328. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4329. type: integer
  4330. qty:
  4331. description: 数量
  4332. type: number
  4333. sellnickname:
  4334. description: 销售方昵称
  4335. type: string
  4336. selluserid:
  4337. description: 销售方userid
  4338. type: integer
  4339. sellusername:
  4340. description: 销售方名称
  4341. type: string
  4342. spotcontractid:
  4343. description: 关联现货合同ID
  4344. type: string
  4345. spotgoodsbrandid:
  4346. description: 现货品牌ID
  4347. type: integer
  4348. unitid:
  4349. description: 单位id
  4350. type: integer
  4351. userid:
  4352. description: 机构ID
  4353. type: integer
  4354. warehousecode:
  4355. description: 仓库代码
  4356. type: string
  4357. warehouseinfoid:
  4358. description: 现货仓库ID
  4359. type: string
  4360. warehousename:
  4361. description: 仓库名称
  4362. type: string
  4363. warehousetype:
  4364. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4365. type: integer
  4366. wrstandardcode:
  4367. description: 品类代码
  4368. type: string
  4369. wrstandardid:
  4370. description: 品类ID
  4371. type: integer
  4372. wrstandardname:
  4373. description: 品类名称
  4374. type: string
  4375. type: object
  4376. models.Ermcp3AreaStockApplySum:
  4377. properties:
  4378. brandname:
  4379. description: 品牌名称
  4380. type: string
  4381. inouttype:
  4382. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4383. type: integer
  4384. spotcontractid:
  4385. description: 关联现货合同ID
  4386. type: string
  4387. spotgoodsbrandid:
  4388. description: 品牌id
  4389. type: integer
  4390. totalqty:
  4391. description: 总数量
  4392. type: number
  4393. wrstandardid:
  4394. description: 品类id
  4395. type: integer
  4396. wrstandardname:
  4397. description: 品类名称
  4398. type: string
  4399. type: object
  4400. models.Ermcp3AreaStockReportEx:
  4401. properties:
  4402. begindate:
  4403. description: 开始交易日
  4404. type: string
  4405. brandname:
  4406. description: 品牌名称
  4407. type: string
  4408. curstock:
  4409. description: 期末库存量
  4410. type: number
  4411. cycletime:
  4412. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4413. type: string
  4414. cycletype:
  4415. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4416. type: integer
  4417. deliverygoodscode:
  4418. description: 现货品种代码
  4419. type: string
  4420. deliverygoodsid:
  4421. description: 现货品种id
  4422. type: integer
  4423. deliverygoodsname:
  4424. description: 现货品种名称
  4425. type: string
  4426. diffqty:
  4427. description: 库存变化量 = 期末 - 期初
  4428. type: number
  4429. enddate:
  4430. description: 结束交易日
  4431. type: string
  4432. enumdicname:
  4433. description: 单位名称
  4434. type: string
  4435. goodsunitid:
  4436. description: 现货单位id
  4437. type: integer
  4438. oristock:
  4439. description: 期初库存量
  4440. type: number
  4441. reckondate:
  4442. description: 日照时期(yyyyMMdd)
  4443. type: string
  4444. spotgoodsbrandid:
  4445. description: 现货品牌ID
  4446. type: integer
  4447. todaybuyinqty:
  4448. description: 今采购入库量
  4449. type: number
  4450. todayproduceinqty:
  4451. description: 今内部入库量
  4452. type: number
  4453. todayproduceoutqty:
  4454. description: 今内部出库量
  4455. type: number
  4456. todayselloutqty:
  4457. description: 今销售出库量
  4458. type: number
  4459. unbuyinqty:
  4460. description: 采购未入库量(数据库未找到相关字段?)
  4461. type: number
  4462. unitid:
  4463. description: 品类单位id
  4464. type: integer
  4465. unselloutqty:
  4466. description: 销售未出库量(数据库未找到相关字段?)
  4467. type: number
  4468. updatetime:
  4469. description: 更新时间
  4470. type: string
  4471. userid:
  4472. description: 机构ID
  4473. type: integer
  4474. username:
  4475. description: 机构名称
  4476. type: string
  4477. warehousecode:
  4478. description: 仓库代码
  4479. type: string
  4480. warehouseinfoid:
  4481. description: 仓库ID
  4482. type: string
  4483. warehousename:
  4484. description: 仓库名称
  4485. type: string
  4486. warehousetype:
  4487. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4488. type: integer
  4489. wrstandardcode:
  4490. description: 品类代码
  4491. type: string
  4492. wrstandardid:
  4493. description: 品类ID
  4494. type: integer
  4495. wrstandardname:
  4496. description: 品类名称
  4497. type: string
  4498. type: object
  4499. models.Ermcp3ArealSumPL:
  4500. properties:
  4501. accountname:
  4502. description: 机构名称
  4503. type: string
  4504. areauserid:
  4505. description: 所属机构\交易用户ID
  4506. type: integer
  4507. begindate:
  4508. description: 开始交易日
  4509. type: string
  4510. currencyid:
  4511. description: 结算币种ID
  4512. type: integer
  4513. currencyname:
  4514. description: 币种名称
  4515. type: string
  4516. cycletime:
  4517. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4518. type: string
  4519. cycletype:
  4520. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4521. type: integer
  4522. enddate:
  4523. description: 结束交易日
  4524. type: string
  4525. enumdicname:
  4526. description: 单位名称(套保品种)
  4527. type: string
  4528. futureactualpl:
  4529. description: 期货损益
  4530. type: number
  4531. futurefloatpl:
  4532. description: 期货浮动损益
  4533. type: number
  4534. futurespotratio:
  4535. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4536. type: number
  4537. goodsunitid:
  4538. description: 套保品种单位id
  4539. type: integer
  4540. hedgeexposurepl:
  4541. description: 套保敞口损益
  4542. type: number
  4543. middlegoodscode:
  4544. description: 套保品种代码
  4545. type: string
  4546. middlegoodsid:
  4547. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4548. type: integer
  4549. middlegoodsname:
  4550. description: 套保品种名称
  4551. type: string
  4552. reckondate:
  4553. description: 日照时期(yyyyMMdd)
  4554. type: string
  4555. spotactualpl:
  4556. description: 现货损益
  4557. type: number
  4558. spotfloatpl:
  4559. description: 现货浮动损益
  4560. type: number
  4561. sumactualpl:
  4562. description: 实际损益 = (ActualPL + FutureActualPL)
  4563. type: number
  4564. sumpl:
  4565. description: 总敞口损益 | 汇总损益
  4566. type: number
  4567. totalfutureqty:
  4568. description: 期货头寸总量
  4569. type: number
  4570. totalneedhedgeqty:
  4571. description: 应套保总量
  4572. type: number
  4573. totalspotqty:
  4574. description: 现货头寸总量
  4575. type: number
  4576. updatetime:
  4577. description: 更新时间
  4578. type: string
  4579. type: object
  4580. models.Ermcp3Brand:
  4581. properties:
  4582. areauserid:
  4583. description: 用户id
  4584. type: integer
  4585. brandid:
  4586. description: 品牌id
  4587. type: integer
  4588. brandname:
  4589. description: 品牌名称
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 品种ID
  4593. type: integer
  4594. isvalid:
  4595. description: 是否有效
  4596. type: integer
  4597. type: object
  4598. models.Ermcp3Contract:
  4599. properties:
  4600. accountid:
  4601. description: 期货账户id
  4602. type: string
  4603. amount:
  4604. description: 金额 [1:一口价、3:暂定价]
  4605. type: number
  4606. attachment:
  4607. description: 附件
  4608. type: string
  4609. auditremark:
  4610. description: 审核意见
  4611. type: string
  4612. audittime:
  4613. description: 审核时间
  4614. type: string
  4615. biztype:
  4616. description: 业务类型 1-套保 2-套利
  4617. type: integer
  4618. brandname:
  4619. description: 品牌名称
  4620. type: string
  4621. buynickname:
  4622. description: 销售方昵称
  4623. type: string
  4624. buyuserid:
  4625. description: 采购方ID
  4626. type: integer
  4627. buyusername:
  4628. description: 采购方名称
  4629. type: string
  4630. contracctstatus:
  4631. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4632. type: integer
  4633. contractmargin:
  4634. description: 合同保证金
  4635. type: number
  4636. contractno:
  4637. description: 现货合同编号
  4638. type: string
  4639. contracttype:
  4640. description: 现货合同类型 - 1:采购 -1:销售
  4641. type: integer
  4642. convertfactor:
  4643. description: 标仓系数(品类)
  4644. type: number
  4645. createtime:
  4646. description: 创建时间
  4647. type: string
  4648. currencyid:
  4649. description: 币种id
  4650. type: integer
  4651. currencyname:
  4652. description: 币种名称
  4653. type: string
  4654. deliveryenddate:
  4655. description: 交收期(结束)
  4656. type: string
  4657. deliverygoodscode:
  4658. description: 现货品种代码
  4659. type: string
  4660. deliverygoodsid:
  4661. description: 现货品种ID
  4662. type: integer
  4663. deliverygoodsname:
  4664. description: 现货品种名称
  4665. type: string
  4666. deliverystartdate:
  4667. description: 交收期(开始)
  4668. type: string
  4669. enddate:
  4670. description: 点价结束日期 [2:点价 3:暂定价]
  4671. type: string
  4672. enumdicname:
  4673. description: 单位名称
  4674. type: string
  4675. goodscode:
  4676. description: 点价合约代码
  4677. type: string
  4678. goodsid:
  4679. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4680. type: integer
  4681. goodsname:
  4682. description: 点价商品名称
  4683. type: string
  4684. margin:
  4685. description: 当前保证金
  4686. type: number
  4687. meruserid:
  4688. description: 跟单员id
  4689. type: integer
  4690. meruserlogincode:
  4691. description: 跟单员登录代码
  4692. type: string
  4693. merusername:
  4694. description: 跟单员名称
  4695. type: string
  4696. price:
  4697. description: 价格\暂定价 [1:一口价、3:暂定价]
  4698. type: number
  4699. pricemove:
  4700. description: 升贴水 [2:点价 3:暂定价]
  4701. type: number
  4702. pricetype:
  4703. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4704. type: integer
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. qty:
  4709. description: 数量
  4710. type: number
  4711. remark:
  4712. description: 备注
  4713. type: string
  4714. saleuserid:
  4715. description: 业务员id
  4716. type: integer
  4717. saleuserlogincode:
  4718. description: 业务员登录代码
  4719. type: string
  4720. saleusername:
  4721. description: 业务员名称
  4722. type: string
  4723. sellnickname:
  4724. description: 采购方昵称
  4725. type: string
  4726. selluserid:
  4727. description: 销售方ID
  4728. type: integer
  4729. sellusername:
  4730. description: 销售方名称
  4731. type: string
  4732. spotcontractid:
  4733. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4734. type: string
  4735. spotgoodsbrandid:
  4736. description: 现货品牌ID(DGFactoryItem表的ID)
  4737. type: integer
  4738. spotgoodsdesc:
  4739. description: 商品型号
  4740. type: string
  4741. startdate:
  4742. description: 点价开始日期 [2:点价 3:暂定价]
  4743. type: string
  4744. subjectid:
  4745. description: 交易主体ID
  4746. type: integer
  4747. subjectname:
  4748. description: 交易主体名称
  4749. type: string
  4750. tradeuserid:
  4751. description: 交易员id
  4752. type: integer
  4753. tradeuserlogincode:
  4754. description: 交易员登录代码
  4755. type: string
  4756. tradeusername:
  4757. description: 交易员名称
  4758. type: string
  4759. unitid:
  4760. description: 单位id(取品类上的单位id)
  4761. type: integer
  4762. updatetime:
  4763. description: 更新时间
  4764. type: string
  4765. userid:
  4766. description: 所属机构ID
  4767. type: integer
  4768. vatrate:
  4769. description: 增值税率
  4770. type: number
  4771. wrstandardcode:
  4772. description: 品类代码
  4773. type: string
  4774. wrstandardid:
  4775. description: 品类ID
  4776. type: integer
  4777. wrstandardname:
  4778. description: 品类名称
  4779. type: string
  4780. type: object
  4781. models.Ermcp3ExposureContractDetail:
  4782. properties:
  4783. biztype:
  4784. description: 业务类型 1-套保 2-套利
  4785. type: integer
  4786. brandname:
  4787. description: 品牌名称
  4788. type: string
  4789. buyuserid:
  4790. description: 采购方id
  4791. type: integer
  4792. buyusername:
  4793. description: 采购方名称
  4794. type: string
  4795. contractno:
  4796. description: 合同编号
  4797. type: string
  4798. contracttype:
  4799. description: 现货合同类型 - 1:采购 -1:销售
  4800. type: integer
  4801. convertfactor:
  4802. description: 标仓系数
  4803. type: number
  4804. convertratio:
  4805. description: 折算系数(套保品种)
  4806. type: number
  4807. curqty:
  4808. description: 今定价量
  4809. type: number
  4810. deliverygoodscode:
  4811. description: 现货品种代码
  4812. type: string
  4813. deliverygoodsid:
  4814. description: 现货品种id
  4815. type: integer
  4816. deliverygoodsname:
  4817. description: 现货品种名称
  4818. type: string
  4819. diffhedgeqty:
  4820. description: 套保变动量
  4821. type: number
  4822. diffneedhedgeqty:
  4823. description: 应套保变动量
  4824. type: number
  4825. diffqty:
  4826. description: 套保品种今变动量
  4827. type: number
  4828. enumdicname:
  4829. description: 单位名称
  4830. type: string
  4831. mgunitname:
  4832. description: 套保品种单位名称
  4833. type: string
  4834. middlegoodscode:
  4835. description: 套保品种代码
  4836. type: string
  4837. middlegoodsid:
  4838. description: 套保品种id
  4839. type: integer
  4840. middlegoodsname:
  4841. description: 套保品种名称
  4842. type: string
  4843. needarbitrageratio:
  4844. description: 应套利比例
  4845. type: number
  4846. needhedgeratio:
  4847. description: 应套保比例
  4848. type: number
  4849. pricedqty:
  4850. description: 已定价量
  4851. type: number
  4852. qty:
  4853. description: 合同量
  4854. type: number
  4855. selluserid:
  4856. description: 销售方id
  4857. type: integer
  4858. sellusername:
  4859. description: 销售方名称
  4860. type: string
  4861. spotcontractid:
  4862. description: 合同id
  4863. type: string
  4864. todaypricedqty:
  4865. description: 今定价量
  4866. type: number
  4867. tradedate:
  4868. description: 交易日
  4869. type: string
  4870. unitid:
  4871. description: 品类单位id
  4872. type: integer
  4873. userid:
  4874. description: 机构id
  4875. type: integer
  4876. username:
  4877. description: 交易用户
  4878. type: string
  4879. wrstandardcode:
  4880. description: 现货商品代码
  4881. type: string
  4882. wrstandardid:
  4883. description: 现货商品id
  4884. type: integer
  4885. wrstandardname:
  4886. description: 现货商品名称
  4887. type: string
  4888. type: object
  4889. models.Ermcp3ExposureDetail:
  4890. properties:
  4891. areauserid:
  4892. description: 机构ID
  4893. type: integer
  4894. changeQty:
  4895. description: 套保变动量
  4896. type: number
  4897. contracttype:
  4898. description: 现货合同类型 - 1:采购 -1:销售
  4899. type: integer
  4900. convertfactor:
  4901. description: 标仓系数
  4902. type: number
  4903. convertratio:
  4904. description: 折算系数
  4905. type: number
  4906. createtime:
  4907. description: 时间
  4908. type: string
  4909. enumdicname:
  4910. description: 现货商品单位名称
  4911. type: string
  4912. logtype:
  4913. description: 类型 - 1:套保计划 2:现货合同
  4914. type: integer
  4915. mgunitid:
  4916. description: 套保品种单位id
  4917. type: integer
  4918. mgunitidname:
  4919. description: 套保品种单位名称
  4920. type: string
  4921. middlegoodsId:
  4922. description: 套保商品id
  4923. type: integer
  4924. middlegoodscode:
  4925. description: 套保商品代码
  4926. type: string
  4927. middlegoodsname:
  4928. description: 套保商品名称
  4929. type: string
  4930. qty:
  4931. description: 数量
  4932. type: number
  4933. relateNo:
  4934. description: 现货合同/套保计划编号
  4935. type: string
  4936. unitid:
  4937. description: 现货商品单位id
  4938. type: integer
  4939. wrstandardcode:
  4940. description: 现货商品代码
  4941. type: string
  4942. wrstandardid:
  4943. description: 现货商品ID(SEQ_WRSTANDARD)
  4944. type: integer
  4945. wrstandardname:
  4946. description: 现货商品名称
  4947. type: string
  4948. type: object
  4949. models.Ermcp3ExposureFutuDetail:
  4950. properties:
  4951. accountid:
  4952. description: 交易账户id
  4953. type: integer
  4954. accountname:
  4955. description: 交易账户
  4956. type: string
  4957. begindate:
  4958. description: 开始交易日
  4959. type: string
  4960. buyorsell:
  4961. description: 方向 0-买 1-卖
  4962. type: integer
  4963. diffmgqty:
  4964. description: 套保品种今变化量
  4965. type: number
  4966. diffneedqty:
  4967. description: 应套保总量变化量
  4968. type: number
  4969. difftradeqty:
  4970. description: 交易品种今变化量
  4971. type: number
  4972. enddate:
  4973. description: 结束交易日
  4974. type: string
  4975. enumdicname:
  4976. description: 单位名称
  4977. type: string
  4978. goodscode:
  4979. description: 商品代码
  4980. type: string
  4981. goodsid:
  4982. description: 商品id
  4983. type: integer
  4984. goodsname:
  4985. description: 商品名称
  4986. type: string
  4987. holdqty:
  4988. description: 期末持仓量
  4989. type: number
  4990. middlegoodscode:
  4991. description: 套保商品代码
  4992. type: string
  4993. middlegoodsid:
  4994. description: 套保商品id
  4995. type: integer
  4996. middlegoodsname:
  4997. description: 套保商品名称
  4998. type: string
  4999. oriholdqty:
  5000. description: 期初持仓量
  5001. type: number
  5002. todaycloseqty:
  5003. description: 今平仓量
  5004. type: number
  5005. todayopenqty:
  5006. description: 今开仓量
  5007. type: number
  5008. tradedate:
  5009. description: 交易日
  5010. type: string
  5011. username:
  5012. description: 用户名称(交易用户)
  5013. type: string
  5014. type: object
  5015. models.Ermcp3ExposureHedgeplanDetail:
  5016. properties:
  5017. biztype:
  5018. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5019. type: integer
  5020. changqty:
  5021. description: 应套保总量变化量
  5022. type: number
  5023. contracttype:
  5024. description: 计划类型 - 1:采购 -1:销售
  5025. type: integer
  5026. convertratio:
  5027. description: 折算系数(套保品种)
  5028. type: number
  5029. deliverygoodscode:
  5030. description: 现货商品代码
  5031. type: string
  5032. deliverygoodsid:
  5033. description: 现货商品id
  5034. type: integer
  5035. deliverygoodsname:
  5036. description: 现货商吕名称
  5037. type: string
  5038. dgunitid:
  5039. description: 现货商品单位id
  5040. type: integer
  5041. dgunitidname:
  5042. description: 单位名称(现货商品)
  5043. type: string
  5044. diffqty:
  5045. description: 套保品种今变动量
  5046. type: number
  5047. enumdicname:
  5048. description: 单位名称(品类)
  5049. type: string
  5050. hedgeplanid:
  5051. description: 套保计划id
  5052. type: string
  5053. hedgeplanno:
  5054. description: 套保计划名称
  5055. type: string
  5056. hedgeplanstatus:
  5057. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5058. type: integer
  5059. mgunitidname:
  5060. description: 单位名称(套保商品)
  5061. type: string
  5062. middlegoodscode:
  5063. description: 套保品种代码
  5064. type: string
  5065. middlegoodsid:
  5066. description: 套保品种id
  5067. type: integer
  5068. middlegoodsname:
  5069. description: 套保品种名称
  5070. type: string
  5071. needarbitrageratio:
  5072. description: 应套利比例
  5073. type: number
  5074. needhedgeratio:
  5075. description: 应套保比例
  5076. type: number
  5077. pricedqty:
  5078. description: 已定价量
  5079. type: number
  5080. qty:
  5081. description: 合同量
  5082. type: number
  5083. tradedate:
  5084. description: 交易日(登记日)
  5085. type: string
  5086. unitid:
  5087. description: 品类单位id
  5088. type: integer
  5089. userid:
  5090. description: 机构id
  5091. type: integer
  5092. wrstandardcode:
  5093. description: 品类代码
  5094. type: string
  5095. wrstandardid:
  5096. description: 品类id
  5097. type: integer
  5098. wrstandardname:
  5099. description: 品类名称
  5100. type: string
  5101. type: object
  5102. models.Ermcp3ExposureParamChLog:
  5103. properties:
  5104. accountid:
  5105. description: 期货账户ID (作废, 默认为0)
  5106. type: integer
  5107. aftervalue:
  5108. description: 应套保\套利量变更后(调整后应套保总量)
  5109. type: number
  5110. areauserid:
  5111. description: 所属机构\交易用户ID
  5112. type: integer
  5113. beforevalue:
  5114. description: 应套保\套利量变更前(调整前应套保总量)
  5115. type: number
  5116. begindate:
  5117. description: 开始交易日
  5118. type: string
  5119. changelogtype:
  5120. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5121. type: integer
  5122. curvalue:
  5123. description: 当前套保\套利量(套保总量|套利总量)
  5124. type: number
  5125. diffvalue:
  5126. description: 应套保总量变化量
  5127. type: number
  5128. enddate:
  5129. description: 结束交易日
  5130. type: string
  5131. logdatetime:
  5132. description: 流水日期
  5133. type: string
  5134. logid:
  5135. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. middlegoodscode:
  5138. description: 套保品种代码
  5139. type: string
  5140. middlegoodsid:
  5141. description: 套保品种
  5142. type: integer
  5143. middlegoodsname:
  5144. description: 套保品种名称
  5145. type: string
  5146. paramaftervalue:
  5147. description: 参数变更后(调整后参数值)
  5148. type: number
  5149. parambeforevalue:
  5150. description: 参数变更前(调整前参数值)
  5151. type: number
  5152. tradedate:
  5153. description: 交易日(yyyyMMdd)
  5154. type: string
  5155. type: object
  5156. models.Ermcp3ExpourseReport:
  5157. properties:
  5158. accountid:
  5159. description: 期货账户ID (作废, 默认为0)
  5160. type: integer
  5161. accountname:
  5162. description: 机构名称
  5163. type: string
  5164. arbitrageqty:
  5165. description: 套利量
  5166. type: number
  5167. areauserid:
  5168. description: 所属机构\交易用户ID
  5169. type: integer
  5170. begindate:
  5171. description: 开始交易日
  5172. type: string
  5173. buyfutureqty:
  5174. description: 买入期货数量
  5175. type: number
  5176. buyplanqty:
  5177. description: 采购计划数量
  5178. type: number
  5179. buypricedqty:
  5180. description: 采购合同已定价数量
  5181. type: number
  5182. cycletime:
  5183. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5184. type: string
  5185. cycletype:
  5186. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5187. type: integer
  5188. diffexposure:
  5189. description: 变动量(套保敞口)
  5190. type: number
  5191. difffutuqty:
  5192. description: 变动量(期货)
  5193. type: number
  5194. diffhedgeqty:
  5195. description: 变动量(现货应套保总量)
  5196. type: number
  5197. diffmgqtya:
  5198. description: 套保变动量
  5199. type: number
  5200. diffmgqtyb:
  5201. description: 套利变动量
  5202. type: number
  5203. diffqty:
  5204. description: 变动量(总敞口)
  5205. type: number
  5206. diffspotqty:
  5207. description: 变动量(现货)
  5208. type: number
  5209. enddate:
  5210. description: 结束交易日
  5211. type: string
  5212. enumdicname:
  5213. description: 单位名称
  5214. type: string
  5215. hedgeqty:
  5216. description: 套保量
  5217. type: number
  5218. mgneedhedgeratio:
  5219. description: 套保比例(套保品的)
  5220. type: number
  5221. middlegoodsid:
  5222. description: 套保品种ID
  5223. type: integer
  5224. middlegoodsname:
  5225. description: 套保商品名称
  5226. type: string
  5227. middlgoodscode:
  5228. description: 套保商品代码
  5229. type: string
  5230. needarbitrageqty:
  5231. description: 应套利量
  5232. type: number
  5233. needarbitrageratio:
  5234. description: 套利比例(套保品的)
  5235. type: number
  5236. needhedgeexposoure:
  5237. description: 应套保敞口(套保敞口)
  5238. type: number
  5239. needhedgeqty:
  5240. description: 应套保量
  5241. type: number
  5242. needhedgeratio:
  5243. description: 应套保敞口比例
  5244. type: number
  5245. oriarbitrageqty:
  5246. description: 期初套利量
  5247. type: number
  5248. oribuyfutureqty:
  5249. description: 期初买入期货数量
  5250. type: number
  5251. oribuyplanqty:
  5252. description: 期初采购计划数量
  5253. type: number
  5254. oribuypricedqty:
  5255. description: 期初采购合同已定价数量
  5256. type: number
  5257. orihedgeqty:
  5258. description: 期初套保量
  5259. type: number
  5260. orineedarbitrageqty:
  5261. description: 期初应套利量
  5262. type: number
  5263. orineedhedgeexposoure:
  5264. description: 期初应套保敞口
  5265. type: number
  5266. orineedhedgeqty:
  5267. description: 期初应套保量
  5268. type: number
  5269. orisellfutureqty:
  5270. description: 期初卖出期货数量
  5271. type: number
  5272. orisellplanqty:
  5273. description: 期初销售计划数量
  5274. type: number
  5275. orisellpricedqty:
  5276. description: 期初销售合同已定价数量
  5277. type: number
  5278. oritotalexposure:
  5279. description: 期初实时总敞口
  5280. type: number
  5281. oritotalfutureqty:
  5282. description: 期初期货头寸总量
  5283. type: number
  5284. oritotalneedhedgeqty:
  5285. description: 期初应套保总量
  5286. type: number
  5287. oritotalspotqty:
  5288. description: 期初现货头寸总量
  5289. type: number
  5290. reckondate:
  5291. description: 日照时期(yyyyMMdd)
  5292. type: string
  5293. sellfutureqty:
  5294. description: 卖出期货数量
  5295. type: number
  5296. sellplanqty:
  5297. description: 销售计划数量
  5298. type: number
  5299. sellpricedqty:
  5300. description: 销售合同已定价数量
  5301. type: number
  5302. totalexposure:
  5303. description: 实时总敞口(总敞口)
  5304. type: number
  5305. totalfutureqty:
  5306. description: 期货头寸总量(期货总量)
  5307. type: number
  5308. totalhedgeratio:
  5309. description: 敞口比例
  5310. type: number
  5311. totalneedhedgeqty:
  5312. description: 应套保总量(现货应套保总量)
  5313. type: number
  5314. totalspotqty:
  5315. description: 现货头寸总量
  5316. type: number
  5317. unitid:
  5318. description: 单位id
  5319. type: integer
  5320. updatetime:
  5321. description: 更新时间
  5322. type: string
  5323. type: object
  5324. models.Ermcp3FinanceReport:
  5325. properties:
  5326. accountname:
  5327. description: 机构名称
  5328. type: string
  5329. areauserid:
  5330. description: 所属机构\交易用户ID
  5331. type: integer
  5332. begindate:
  5333. description: 开始交易日
  5334. type: string
  5335. biztype:
  5336. description: 业务类型 - 1:套保 2:套利
  5337. type: integer
  5338. brandname:
  5339. description: 品牌名称
  5340. type: string
  5341. buypreinvoicedamount:
  5342. description: 采购预收票额(预收票额)
  5343. type: number
  5344. buyprepaidamount:
  5345. description: 采购预付款额(预付货款额)
  5346. type: number
  5347. buytodayinvoiceamount:
  5348. description: 采购今收票额(今收票额)
  5349. type: number
  5350. buytodayrefundamount:
  5351. description: 采购今收退款额(今收退款额)
  5352. type: number
  5353. buytodaysettleamount:
  5354. description: 采购今付款额(今付货款额)
  5355. type: number
  5356. buyuninvoicedamount:
  5357. description: 采购应收票额(应收票额)
  5358. type: number
  5359. buyunpaidamount:
  5360. description: 采购应付款额(应付货款额)
  5361. type: number
  5362. currencyid:
  5363. description: 结算币种ID
  5364. type: integer
  5365. currencyname:
  5366. description: 币种名称
  5367. type: string
  5368. cycletime:
  5369. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5370. type: string
  5371. cycletype:
  5372. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5373. type: integer
  5374. deliverygoodscode:
  5375. description: 现货品种代码
  5376. type: string
  5377. deliverygoodsid:
  5378. description: 现货品种ID
  5379. type: integer
  5380. deliverygoodsname:
  5381. description: 现货品种名称
  5382. type: string
  5383. enddate:
  5384. description: 结束交易日
  5385. type: string
  5386. reckondate:
  5387. description: 日照时期(yyyyMMdd)
  5388. type: string
  5389. sellpreinvoicedamount:
  5390. description: 销售预开票额(预开票额)
  5391. type: number
  5392. sellprepaidamount:
  5393. description: 销售预收款额(预收货款额)
  5394. type: number
  5395. selltodayinvoiceamount:
  5396. description: 销售今开票额(今开票额)
  5397. type: number
  5398. selltodayrefundamount:
  5399. description: 销售今付退款额(今付退款额)
  5400. type: number
  5401. selltodaysettleamount:
  5402. description: 销售今收款额(今收货款额)
  5403. type: number
  5404. selluninvoicedamount:
  5405. description: 销售应开票额(应开票额)
  5406. type: number
  5407. sellunpaidamount:
  5408. description: 销售应收款额(应收货款额)
  5409. type: number
  5410. spotgoodsbrandid:
  5411. description: 现货品牌ID
  5412. type: integer
  5413. todaypaysum:
  5414. description: 今付款合计
  5415. type: number
  5416. todayreceivesum:
  5417. description: 今收款合计
  5418. type: number
  5419. updatetime:
  5420. description: 更新时间
  5421. type: string
  5422. wrfactortypeid:
  5423. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5424. type: integer
  5425. wrstandardcode:
  5426. description: 品类代码
  5427. type: string
  5428. wrstandardid:
  5429. description: 现货商品ID
  5430. type: integer
  5431. wrstandardname:
  5432. description: 品类名称
  5433. type: string
  5434. type: object
  5435. models.Ermcp3GoodsGroup:
  5436. properties:
  5437. agreeunit:
  5438. description: 合约单位
  5439. type: number
  5440. areauserid:
  5441. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5442. type: integer
  5443. canshort:
  5444. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5445. type: integer
  5446. closepricemode:
  5447. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5448. type: integer
  5449. createtime:
  5450. description: 创建时间
  5451. type: string
  5452. creatorid:
  5453. description: 创建人
  5454. type: integer
  5455. currencyid:
  5456. description: 报价货币ID
  5457. type: integer
  5458. decimalplace:
  5459. description: 报价小数位
  5460. type: integer
  5461. enumdicname:
  5462. description: 单位名称
  5463. type: string
  5464. exchangefullname:
  5465. description: 交易所全称
  5466. type: string
  5467. excludecfg:
  5468. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5469. type: integer
  5470. exexchangecode:
  5471. description: 交易所代码
  5472. type: string
  5473. exexchangeid:
  5474. description: 外部交易所ID[通道交易]
  5475. type: integer
  5476. exexchangename:
  5477. description: 交易所名称
  5478. type: string
  5479. goodsgroupid:
  5480. description: 商品组ID(自增ID)
  5481. type: integer
  5482. goodsgroupname:
  5483. description: 商品组名称
  5484. type: string
  5485. goodsgroupstatus:
  5486. description: 商品组状态 - 1:正常 2:注销
  5487. type: integer
  5488. goodunitid:
  5489. description: 报价单位ID
  5490. type: integer
  5491. groupcategroyid:
  5492. description: 品种分类ID
  5493. type: integer
  5494. innerdealmode:
  5495. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5496. type: integer
  5497. marketid:
  5498. description: 所属市场ID
  5499. type: integer
  5500. modifierid:
  5501. description: 修改人
  5502. type: integer
  5503. modifytime:
  5504. description: 修改时间
  5505. type: string
  5506. outerdealmode:
  5507. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5508. type: integer
  5509. outergroupcode:
  5510. description: 外部商品组代码[通道交易]
  5511. type: string
  5512. quoteminunit:
  5513. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5514. type: integer
  5515. quotesourcegroupid:
  5516. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5517. type: integer
  5518. syncgoodsqty:
  5519. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5520. type: integer
  5521. required:
  5522. - areauserid
  5523. type: object
  5524. models.Ermcp3HedgePlan:
  5525. properties:
  5526. accountid:
  5527. description: 资金账号
  5528. type: integer
  5529. areauserid:
  5530. description: 用户ID
  5531. type: integer
  5532. auditid:
  5533. description: 审核id
  5534. type: integer
  5535. auditname:
  5536. description: 审核人名称
  5537. type: string
  5538. auditremark:
  5539. description: 审核备注
  5540. type: string
  5541. auditsrc:
  5542. description: 审核来源 1-管理端 2-终端
  5543. type: integer
  5544. audittime:
  5545. description: 审核时间
  5546. type: string
  5547. contracttype:
  5548. description: 计划类型 - 1:采购 -1:销售
  5549. type: integer
  5550. convertfactor:
  5551. description: 标仓系数
  5552. type: number
  5553. createtime:
  5554. description: 创建时间
  5555. type: string
  5556. currencyid:
  5557. description: 币种id
  5558. type: integer
  5559. currencyname:
  5560. description: 币种名称
  5561. type: string
  5562. deliverygoodscode:
  5563. description: 现货品种代码
  5564. type: string
  5565. deliverygoodsid:
  5566. description: 现货品种ID
  5567. type: integer
  5568. deliverygoodsname:
  5569. description: 现货品种名称
  5570. type: string
  5571. enumdicname:
  5572. description: 单位名称(现货商品)
  5573. type: string
  5574. hedgeplanid:
  5575. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5576. type: string
  5577. hedgeplanno:
  5578. description: 套保计划编号(名称)
  5579. type: string
  5580. hedgeplanstatus:
  5581. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5582. type: integer
  5583. planqty:
  5584. description: 计划数量
  5585. type: number
  5586. plantime:
  5587. description: 计划时间
  5588. type: string
  5589. producttype:
  5590. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5591. type: integer
  5592. remark:
  5593. description: 备注
  5594. type: string
  5595. spotgoodsdesc:
  5596. description: 商品型号
  5597. type: string
  5598. taaccountname:
  5599. description: 资金账号名称
  5600. type: string
  5601. tradeuserid:
  5602. description: 交易用户id
  5603. type: integer
  5604. tradeusername:
  5605. description: 交易用户名称
  5606. type: string
  5607. unitid:
  5608. description: 单位id(现货商品)
  5609. type: integer
  5610. updatetime:
  5611. description: 更新时间
  5612. type: string
  5613. vatrate:
  5614. description: 增值税率
  5615. type: number
  5616. wrstandardcode:
  5617. description: 品类代码
  5618. type: string
  5619. wrstandardid:
  5620. description: 品类id
  5621. type: integer
  5622. wrstandardname:
  5623. description: 品类名称
  5624. type: string
  5625. wrunitid:
  5626. description: 品类单位id
  5627. type: integer
  5628. wrunitidame:
  5629. description: 品类单位名称
  5630. type: string
  5631. type: object
  5632. models.Ermcp3InnerTradeLink:
  5633. properties:
  5634. accountid:
  5635. description: 期货账号代码 | 资金账号ID
  5636. type: integer
  5637. buyorsell:
  5638. description: 方向 - 0:买 1:卖
  5639. type: integer
  5640. channelbuildtype:
  5641. description: 委托单据类型 0:无 1:建仓 2:平仓
  5642. type: integer
  5643. currencyid:
  5644. description: 币种id
  5645. type: integer
  5646. currencyname:
  5647. description: 结算币种 名称
  5648. type: string
  5649. goodscode:
  5650. description: 商品代码
  5651. type: string
  5652. goodsid:
  5653. description: 商品ID
  5654. type: integer
  5655. goodsname:
  5656. description: 商品名称
  5657. type: string
  5658. outtradeid:
  5659. description: 外部成交单号
  5660. type: string
  5661. taname:
  5662. description: 期货账户名称
  5663. type: string
  5664. tradeid:
  5665. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5666. type: string
  5667. tradeprice:
  5668. description: 成交价格
  5669. type: number
  5670. tradeqty:
  5671. description: 期货成交数量
  5672. type: integer
  5673. tradetime:
  5674. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5675. type: string
  5676. username:
  5677. description: 用户名称
  5678. type: string
  5679. type: object
  5680. models.Ermcp3OutTradeLink:
  5681. properties:
  5682. buyorsell:
  5683. description: 买卖方向 - 0:买 1:卖
  5684. type: integer
  5685. channelbuildtype:
  5686. description: 开平标志- 0:无 1:建仓 2:平仓
  5687. type: integer
  5688. currencyname:
  5689. description: 币种名称
  5690. type: string
  5691. exexchangecode:
  5692. description: 交易所代码
  5693. type: string
  5694. exexchangename:
  5695. description: 交易所名称
  5696. type: string
  5697. goodscode:
  5698. description: 合约代码
  5699. type: string
  5700. goodsid:
  5701. description: 合约id
  5702. type: integer
  5703. goodsname:
  5704. description: 合约名称
  5705. type: string
  5706. hasinnerorder:
  5707. description: 是否有内部单关联 - 0:无 1:有
  5708. type: integer
  5709. hedgeaccountcode:
  5710. description: 外部账号 | 对冲账号
  5711. type: string
  5712. outtradeid:
  5713. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5714. type: string
  5715. tradeprice:
  5716. description: 成交价格
  5717. type: number
  5718. tradeqty:
  5719. description: 成交数量
  5720. type: integer
  5721. tradetime:
  5722. description: 成交时间
  5723. type: string
  5724. type: object
  5725. models.Ermcp3PaAreaAuditCfg:
  5726. properties:
  5727. areauserid:
  5728. description: 用户ID
  5729. type: integer
  5730. buyinauditflag:
  5731. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. costratioauditflag:
  5734. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. customerauditflag:
  5737. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. deliveryauditflag:
  5740. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. invoiceauditflag:
  5743. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. mgneedhedgeratioauditflag:
  5746. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. moneyauditflag:
  5749. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. operatorid:
  5752. description: 操作人
  5753. type: integer
  5754. operatorsrc:
  5755. description: 操作来源 - 1:管理端 2:终端
  5756. type: integer
  5757. pointpriceauditflag:
  5758. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceinauditflag:
  5761. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceoutauditflag:
  5764. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. selloutauditflag:
  5767. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgconvertratioauditflag:
  5770. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgvtaratioauditflag:
  5773. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. spotcontractauditflag:
  5776. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. updatetime:
  5779. description: 更新时间
  5780. type: string
  5781. type: object
  5782. models.Ermcp3PaAreaSubject:
  5783. properties:
  5784. areauserid:
  5785. description: 所属机构
  5786. type: integer
  5787. canmodify:
  5788. description: 是否可修改 - 0:否 1:是
  5789. type: integer
  5790. createtime:
  5791. description: 创建时间
  5792. type: string
  5793. creatorid:
  5794. description: 创建人ID
  5795. type: string
  5796. creatorsrc:
  5797. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5798. type: integer
  5799. modifierid:
  5800. description: 修改人
  5801. type: string
  5802. modifiersrc:
  5803. description: 修改人来源 - 1:管理端 2:终端
  5804. type: integer
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. parentsubjectid:
  5809. description: 上级主体ID
  5810. type: string
  5811. remark:
  5812. description: 备注
  5813. type: string
  5814. subjectid:
  5815. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5816. type: integer
  5817. subjectname:
  5818. description: 主体名称
  5819. type: string
  5820. subjectstatus:
  5821. description: '主体状态 - 1:正常 2: 停用'
  5822. type: integer
  5823. subjecttype:
  5824. description: 主体类型 - 1:交易主体 2:业务部门
  5825. type: integer
  5826. type: object
  5827. models.Ermcp3PaTradeLink:
  5828. properties:
  5829. accountid:
  5830. description: 期货账户代码 | 账号ID
  5831. type: integer
  5832. agreeunit:
  5833. description: 合约乘数
  5834. type: number
  5835. buyorsell:
  5836. description: 方向 - 0:买 1:卖
  5837. type: integer
  5838. channelbuildtype:
  5839. description: 委托单据类型 0:无 1:建仓 2:平仓
  5840. type: integer
  5841. charge:
  5842. description: 手续费
  5843. type: number
  5844. closepl:
  5845. description: 平仓盈亏
  5846. type: number
  5847. closetype:
  5848. description: 平仓方式 - 0:无 1:平今 2:平昨
  5849. type: integer
  5850. convertratio:
  5851. description: 折算系数
  5852. type: number
  5853. enumdicname:
  5854. description: 单位名称
  5855. type: string
  5856. executeprice:
  5857. description: 执行价 [期权]
  5858. type: integer
  5859. goodscode:
  5860. description: 合约代码
  5861. type: string
  5862. goodsgroupid:
  5863. description: 对冲品种ID[期货合约商品组ID]
  5864. type: integer
  5865. goodsid:
  5866. description: 商品ID
  5867. type: integer
  5868. goodsname:
  5869. description: 合约名称
  5870. type: string
  5871. goodunitid:
  5872. description: 单位id
  5873. type: integer
  5874. hedgeflag:
  5875. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5876. type: integer
  5877. marketid:
  5878. description: 市场ID
  5879. type: integer
  5880. middlegoodsid:
  5881. description: 套保品种ID
  5882. type: integer
  5883. middlegoodsqty:
  5884. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5885. type: number
  5886. optioncode:
  5887. description: 期权代码 [期权]
  5888. type: string
  5889. ordertype:
  5890. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5891. type: integer
  5892. ordertypename:
  5893. description: 订单类型
  5894. type: string
  5895. parentaccountid:
  5896. description: 所属母账户
  5897. type: integer
  5898. premium:
  5899. description: 权利金 [期权]
  5900. type: number
  5901. relatedlot:
  5902. description: 已关联数量(已关联数量手) | db:关联手数
  5903. type: number
  5904. relatedouttradeid:
  5905. description: 关联外部成交单ID
  5906. type: string
  5907. relatedqty:
  5908. description: 关联数量
  5909. type: number
  5910. spotcontractid:
  5911. description: 现货合同ID [4:套期保值\10\11]
  5912. type: string
  5913. taname:
  5914. description: 期货账户名称
  5915. type: string
  5916. tradeamount:
  5917. description: 成交金额(账户)
  5918. type: number
  5919. tradedate:
  5920. description: 交易日(yyyyMMdd)
  5921. type: string
  5922. tradeid:
  5923. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5924. type: string
  5925. tradelot:
  5926. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5927. type: integer
  5928. tradeprice:
  5929. description: 成交价格
  5930. type: number
  5931. tradetime:
  5932. description: 时间 | db:成交时间
  5933. type: string
  5934. tradetype:
  5935. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5936. type: integer
  5937. userid:
  5938. description: 所属机构 - 所属母账户的UserID
  5939. type: string
  5940. username:
  5941. description: 用户名称
  5942. type: string
  5943. type: object
  5944. models.Ermcp3ParamChangeApp:
  5945. properties:
  5946. aftervalue:
  5947. description: 变更后
  5948. type: number
  5949. applicationid:
  5950. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5951. type: string
  5952. applyid:
  5953. description: 申请人
  5954. type: string
  5955. applyname:
  5956. description: 申请人名称(代码)
  5957. type: string
  5958. applyremark:
  5959. description: 申请备注
  5960. type: string
  5961. applysrc:
  5962. description: 申请来源 - 1:管理端 2:终端
  5963. type: integer
  5964. applystatus:
  5965. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5966. type: integer
  5967. applytime:
  5968. description: 申请时间
  5969. type: string
  5970. areauserid:
  5971. description: 所属机构用户ID
  5972. type: integer
  5973. auditid:
  5974. description: 审核人
  5975. type: string
  5976. auditname:
  5977. description: 审核人名称(代码)
  5978. type: string
  5979. auditremark:
  5980. description: 审核备注
  5981. type: string
  5982. auditsrc:
  5983. description: 审核来源 - 1:管理端 2:终端
  5984. type: integer
  5985. audittime:
  5986. description: 审核时间
  5987. type: string
  5988. audittradedate:
  5989. description: 审核交易日(yyyyMMdd)
  5990. type: string
  5991. beforevalue:
  5992. description: 变更前
  5993. type: number
  5994. deliverygoodscode:
  5995. description: 品种代码
  5996. type: string
  5997. deliverygoodsid:
  5998. description: 品种id
  5999. type: integer
  6000. deliverygoodsname:
  6001. description: 品种名称
  6002. type: string
  6003. middlegoodscode:
  6004. description: 套保品种代码
  6005. type: string
  6006. middlegoodsid:
  6007. description: 套保品种ID [ParamChangeType = 2,3,4]
  6008. type: integer
  6009. middlegoodsname:
  6010. description: 套保品种名称
  6011. type: string
  6012. operatetype:
  6013. description: 操作类型 - 1:新增 2:修改
  6014. type: integer
  6015. paramchangetype:
  6016. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6017. type: integer
  6018. wrstandardcode:
  6019. description: 现货商品代码
  6020. type: string
  6021. wrstandardid:
  6022. description: 现货商品ID [ParamChangeType = 1,2,3]
  6023. type: integer
  6024. wrstandardname:
  6025. description: 现货商品名称
  6026. type: string
  6027. type: object
  6028. models.Ermcp3RootUserAccount:
  6029. properties:
  6030. accountname:
  6031. description: 账户名称(机构名称)
  6032. type: string
  6033. accountstatus:
  6034. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6035. type: integer
  6036. applysrc:
  6037. description: 申请来源 - 1:管理端 2:终端
  6038. type: integer
  6039. auditremark:
  6040. description: 审核备注
  6041. type: string
  6042. auditsrc:
  6043. description: 审核来源 - 1:管理端 2:终端
  6044. type: integer
  6045. audittime:
  6046. description: 审核时间
  6047. type: string
  6048. audituserid:
  6049. description: 审核人
  6050. type: integer
  6051. broker:
  6052. description: 所属经纪人ID
  6053. type: integer
  6054. canceltime:
  6055. description: 销户时间
  6056. type: string
  6057. canceluserid:
  6058. description: 销户人
  6059. type: integer
  6060. canrecommend:
  6061. description: 是否可推荐 - 0:不可 1;可
  6062. type: integer
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. creatorid:
  6067. description: 创建人
  6068. type: integer
  6069. hasauth:
  6070. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6071. type: integer
  6072. isanonymous:
  6073. description: 是否匿名下单 - 0:否 1:是
  6074. type: integer
  6075. maxinvestornum:
  6076. description: 最大用户数(经纪会员下投资者个数)
  6077. type: integer
  6078. memberuserid:
  6079. description: 所属会员ID
  6080. type: integer
  6081. modifierid:
  6082. description: 修改人
  6083. type: integer
  6084. modifyremark:
  6085. description: 变更备注
  6086. type: string
  6087. modifystatus:
  6088. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6089. type: integer
  6090. modifytime:
  6091. description: 修改时间
  6092. type: string
  6093. nickname:
  6094. description: 昵称
  6095. type: string
  6096. parenttopuser:
  6097. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6098. type: string
  6099. parentuserid:
  6100. description: 所属机构ID
  6101. type: integer
  6102. reckonaccountid:
  6103. description: 默认结算资金账号ID(机构分润使用) 作废
  6104. type: integer
  6105. refercount:
  6106. description: 推荐总人数
  6107. type: integer
  6108. refereeuserid:
  6109. description: 推荐人ID
  6110. type: integer
  6111. refernum:
  6112. description: 推荐码
  6113. type: string
  6114. rootuserid:
  6115. description: 根用户ID
  6116. type: integer
  6117. subaccountlevel:
  6118. description: 子账户层数
  6119. type: integer
  6120. subarealevelpath:
  6121. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6122. type: string
  6123. userid:
  6124. description: 用户ID
  6125. type: integer
  6126. usertype:
  6127. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6128. type: integer
  6129. type: object
  6130. models.Ermcp3SCMiddleGoods:
  6131. properties:
  6132. biztype:
  6133. description: 业务类型 1:套保 2:套利
  6134. type: integer
  6135. contractno:
  6136. description: 合同编号
  6137. type: string
  6138. contracttype:
  6139. description: 合同类型 1:采购 -1:销售
  6140. type: integer
  6141. convertratio:
  6142. description: 折算系数
  6143. type: number
  6144. customername:
  6145. description: 对手手名称
  6146. type: string
  6147. customeruserid:
  6148. description: 对手id
  6149. type: integer
  6150. deliverygoodscode:
  6151. description: 现货品种代码
  6152. type: string
  6153. deliverygoodsid:
  6154. description: 现货品种ID
  6155. type: integer
  6156. deliverygoodsname:
  6157. description: 现货品种名称
  6158. type: string
  6159. enumdicname:
  6160. description: 现货单位名称
  6161. type: string
  6162. middlegoodsid:
  6163. description: 套保品种ID
  6164. type: integer
  6165. middlegoodspricedqty3:
  6166. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6167. type: number
  6168. needhedgeratio:
  6169. description: 套保比例
  6170. type: number
  6171. pricedqty:
  6172. description: 已定价量
  6173. type: number
  6174. relatedmiddlegoodsqty:
  6175. description: 已关联量(套保品种)(期货)
  6176. type: number
  6177. spotcontractid:
  6178. description: 合同编号
  6179. type: string
  6180. unitid:
  6181. description: 现货单位id
  6182. type: integer
  6183. userid:
  6184. description: 用户id
  6185. type: integer
  6186. vatrate:
  6187. description: 增值税率
  6188. type: number
  6189. wrstandardcode:
  6190. description: 现货商品代码
  6191. type: string
  6192. wrstandardid:
  6193. description: 现货商品id
  6194. type: integer
  6195. wrstandardname:
  6196. description: 现货商品名称
  6197. type: string
  6198. type: object
  6199. models.Ermcp3SCMiddleGoodsReport:
  6200. properties:
  6201. begindate:
  6202. description: 开始交易日
  6203. type: string
  6204. contractno:
  6205. description: 合同编号
  6206. type: string
  6207. contracttype:
  6208. description: 合同类型 1:采购 -1:销售
  6209. type: integer
  6210. convertratio:
  6211. description: 折算系数
  6212. type: number
  6213. cycletime:
  6214. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6215. type: string
  6216. cycletype:
  6217. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6218. type: integer
  6219. deliverygoodscode:
  6220. description: 品种代码
  6221. type: string
  6222. deliverygoodsid:
  6223. description: 现货品种ID
  6224. type: integer
  6225. deliverygoodsname:
  6226. description: 品种名称
  6227. type: string
  6228. diffprice:
  6229. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6230. type: number
  6231. diffqty:
  6232. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6233. type: number
  6234. enddate:
  6235. description: 结束交易日
  6236. type: string
  6237. hedgeplanqty:
  6238. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6239. type: number
  6240. matchname:
  6241. description: 交易对手方(个人:用户名称 企业:简称)
  6242. type: string
  6243. middlegoodscode:
  6244. description: 套保品种代码
  6245. type: string
  6246. middlegoodsid:
  6247. description: 套保品种ID
  6248. type: integer
  6249. middlegoodsname:
  6250. description: 套保品种名称
  6251. type: string
  6252. middlegoodspricedqty:
  6253. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6254. type: number
  6255. middlegoodspricedqty2:
  6256. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6257. type: number
  6258. middlegoodspricedqty3:
  6259. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6260. type: number
  6261. needhedgeratio:
  6262. description: 套保系数
  6263. type: number
  6264. pricedamount:
  6265. description: 已定价额(现货)
  6266. type: number
  6267. pricedamount2:
  6268. description: 已定价额(现货-基价额)
  6269. type: number
  6270. pricedqty:
  6271. description: 已定价量(现货)
  6272. type: number
  6273. reckondate:
  6274. description: 日照时期(yyyyMMdd)
  6275. type: string
  6276. relatedmiddlegoodsamount:
  6277. description: 已关联额(期货)
  6278. type: number
  6279. relatedmiddlegoodsqty:
  6280. description: 已关联量(套保品种)(期货)
  6281. type: number
  6282. spotcontractid:
  6283. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6284. type: string
  6285. todayavgfutuprice:
  6286. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6287. type: number
  6288. todayavgprice:
  6289. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6290. type: number
  6291. todayavgprice2:
  6292. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6293. type: number
  6294. todaypricedamount:
  6295. description: 今日定价额(现货)
  6296. type: number
  6297. todaypricedamount2:
  6298. description: 今日定价额(现货-基价额)
  6299. type: number
  6300. todaypricedqty:
  6301. description: 今日定价量(现货)
  6302. type: number
  6303. todayrelatedfutureqty:
  6304. description: 今日关联量(期货)
  6305. type: number
  6306. todayrelatedmiddlegoodsamount:
  6307. description: 今日关联额(期货)
  6308. type: number
  6309. todayrelatedmiddlegoodsqty:
  6310. description: 今日关联量(套保品-期货)
  6311. type: number
  6312. updatetime:
  6313. description: 更新时间
  6314. type: string
  6315. userid:
  6316. description: 合同所属用户id
  6317. type: integer
  6318. vatrate:
  6319. description: 增值税率
  6320. type: number
  6321. wrstandardcode:
  6322. description: 商品(品类) 代码
  6323. type: string
  6324. wrstandardid:
  6325. description: 现货商品ID
  6326. type: integer
  6327. wrstandardname:
  6328. description: 商品(品类) 名称
  6329. type: string
  6330. type: object
  6331. models.Ermcp3SellBuyContract:
  6332. properties:
  6333. accountid:
  6334. description: 期货账户id
  6335. type: string
  6336. accountname:
  6337. description: 账户名称
  6338. type: string
  6339. attachment:
  6340. description: 附件
  6341. type: string
  6342. audittime:
  6343. description: 审核时间
  6344. type: string
  6345. bizsubjectid:
  6346. description: 归属业务部门ID - SubjectID
  6347. type: integer
  6348. biztype:
  6349. description: 业务类型 1-套保 2-套利
  6350. type: integer
  6351. brandname:
  6352. description: 品牌名称
  6353. type: string
  6354. contracctstatus:
  6355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6356. type: integer
  6357. contractmargin:
  6358. description: 合同保证金
  6359. type: number
  6360. contractno:
  6361. description: 合同编号
  6362. type: string
  6363. contracttype:
  6364. description: 合同类型 1-采购, -1-销售
  6365. type: integer
  6366. convertfactor:
  6367. description: 标仓系数(品类)
  6368. type: number
  6369. createtime:
  6370. description: 创建时间
  6371. type: string
  6372. currencyid:
  6373. description: 币种id
  6374. type: integer
  6375. currencyname:
  6376. description: 币种名称
  6377. type: string
  6378. daikaiamount:
  6379. description: 应收(开)票额
  6380. type: number
  6381. deliveryenddate:
  6382. description: 交割结束日
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货商品ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. deliverystartdate:
  6394. description: 交割开始日
  6395. type: string
  6396. enddate:
  6397. description: 点价结束日
  6398. type: string
  6399. enumdicname:
  6400. description: 单位名称
  6401. type: string
  6402. goodscode:
  6403. description: 点价商品代码
  6404. type: string
  6405. goodsgroupid:
  6406. description: 点价商品组id
  6407. type: integer
  6408. goodsid:
  6409. description: 点价商品ID
  6410. type: integer
  6411. goodsname:
  6412. description: 点价商品名称
  6413. type: string
  6414. invoiceamount:
  6415. description: 已开票额
  6416. type: number
  6417. loanamount:
  6418. description: 贷款总额=已定价额+调整金额
  6419. type: number
  6420. margin:
  6421. description: 保证金
  6422. type: number
  6423. meruserid:
  6424. description: 跟单员id
  6425. type: integer
  6426. meruserlogincode:
  6427. description: 跟单员登录代码
  6428. type: string
  6429. merusername:
  6430. description: 跟单员名称
  6431. type: string
  6432. nickname:
  6433. description: 账户昵称
  6434. type: string
  6435. payamount:
  6436. description: 已收付额(收款或付款)
  6437. type: number
  6438. preinvoiceamount:
  6439. description: 预收(开)票额
  6440. type: number
  6441. prepayamount:
  6442. description: 预收付额
  6443. type: number
  6444. price:
  6445. description: 价格
  6446. type: number
  6447. pricedamount:
  6448. description: 已定价额
  6449. type: number
  6450. pricedavg:
  6451. description: 已点均价
  6452. type: number
  6453. pricedqty:
  6454. description: 已定价量
  6455. type: number
  6456. pricemove:
  6457. description: 升贴水
  6458. type: number
  6459. pricetype:
  6460. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6461. type: integer
  6462. producttype:
  6463. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6464. type: integer
  6465. qty:
  6466. description: 合同量
  6467. type: number
  6468. reckonadjustamount:
  6469. description: 调整金额
  6470. type: number
  6471. reckonedamount:
  6472. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6473. type: number
  6474. reckonotheramount:
  6475. description: 其它费用
  6476. type: number
  6477. reckonrealqty:
  6478. description: 已确定量
  6479. type: number
  6480. remark:
  6481. description: 备注
  6482. type: string
  6483. saleuserid:
  6484. description: 业务员id
  6485. type: integer
  6486. saleuserlogincode:
  6487. description: 业务员登录代码
  6488. type: string
  6489. saleusername:
  6490. description: 业务员名称
  6491. type: string
  6492. spotcontractid:
  6493. description: 合同ID
  6494. type: string
  6495. spotgoodsbrandid:
  6496. description: 现货品牌ID(DGFactoryItem表的ID)
  6497. type: integer
  6498. spotgoodsdesc:
  6499. description: 商品型号(商品规格)
  6500. type: string
  6501. startdate:
  6502. description: 点价开始日
  6503. type: string
  6504. subjectid:
  6505. description: 交易主体ID
  6506. type: integer
  6507. subjectname:
  6508. description: 交易主体名称
  6509. type: string
  6510. totalamount:
  6511. description: 合计总额
  6512. type: number
  6513. tradeuserid:
  6514. description: 交易员id
  6515. type: integer
  6516. tradeuserlogincode:
  6517. description: 交易员登录代码
  6518. type: string
  6519. tradeusername:
  6520. description: 交易员名称
  6521. type: string
  6522. unpayamount:
  6523. description: 应收付款额(应支付或应收款)
  6524. type: number
  6525. unpricedqty:
  6526. description: 未定价量
  6527. type: number
  6528. unsureqty:
  6529. description: 未确定量
  6530. type: number
  6531. userid:
  6532. description: 机构ID
  6533. type: integer
  6534. vatrate:
  6535. description: 增值税率
  6536. type: number
  6537. wrstandardcode:
  6538. description: 品类代码
  6539. type: string
  6540. wrstandardid:
  6541. description: 品类ID
  6542. type: integer
  6543. wrstandardname:
  6544. description: 品类名称
  6545. type: string
  6546. type: object
  6547. models.Ermcp3SpotGoodsPrice:
  6548. properties:
  6549. areauserid:
  6550. description: 所属机构id
  6551. type: integer
  6552. brandname:
  6553. description: 品牌名称
  6554. type: string
  6555. currencyid:
  6556. description: 报价货币ID
  6557. type: integer
  6558. currencyname:
  6559. description: 币种名称
  6560. type: string
  6561. deliverygoodscode:
  6562. description: 现货商品代码
  6563. type: string
  6564. deliverygoodsid:
  6565. description: 现货商品id
  6566. type: integer
  6567. deliverygoodsname:
  6568. description: 现货商品名称
  6569. type: string
  6570. enumdicname:
  6571. description: 现货商品单位名称
  6572. type: string
  6573. gbenumdicname:
  6574. description: 品类单位名称
  6575. type: string
  6576. gmunitid:
  6577. description: 品类单位id
  6578. type: integer
  6579. isvalid:
  6580. description: 是否有效 - 0:无效 1:有效
  6581. type: integer
  6582. operateid:
  6583. description: 最后操作人
  6584. type: integer
  6585. operatesrc:
  6586. description: 最后操作来源 - 1:管理端 2:终端
  6587. type: integer
  6588. operatetime:
  6589. description: 最后操作时间
  6590. type: string
  6591. operatorname:
  6592. description: 操作人名称
  6593. type: string
  6594. spotgoodsbrandid:
  6595. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6596. type: integer
  6597. spotgoodsprice:
  6598. description: 现货价格
  6599. type: number
  6600. tradedate:
  6601. description: 交易日(yyyyMMdd)
  6602. type: string
  6603. unitid:
  6604. description: 现货商品单位id
  6605. type: integer
  6606. wrstandardcode:
  6607. description: 品类代码
  6608. type: string
  6609. wrstandardid:
  6610. description: 现货品类ID(通用则为0)
  6611. type: integer
  6612. wrstandardname:
  6613. description: 品类名称
  6614. type: string
  6615. type: object
  6616. models.Ermcp3SpotGoodsPriceLog:
  6617. properties:
  6618. areauserid:
  6619. description: 所属机构id
  6620. type: integer
  6621. brandname:
  6622. description: 品牌名称
  6623. type: string
  6624. currencyid:
  6625. description: 报价货币ID
  6626. type: integer
  6627. deliverygoodscode:
  6628. description: 现货商品代码
  6629. type: string
  6630. deliverygoodsid:
  6631. description: 现货商品id
  6632. type: integer
  6633. deliverygoodsname:
  6634. description: 现货商品名称
  6635. type: string
  6636. enumdicname:
  6637. description: 现货商品单位名称
  6638. type: string
  6639. gbenumdicname:
  6640. description: 品类单位名称
  6641. type: string
  6642. gmunitid:
  6643. description: 品类单位id
  6644. type: integer
  6645. logid:
  6646. description: 日志id
  6647. type: integer
  6648. operateid:
  6649. description: 最后操作人
  6650. type: integer
  6651. operatesrc:
  6652. description: 最后操作来源 - 1:管理端 2:终端
  6653. type: integer
  6654. operatetime:
  6655. description: 最后操作时间
  6656. type: string
  6657. operatorname:
  6658. description: 操作人名称
  6659. type: string
  6660. spotgoodsbrandid:
  6661. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6662. type: integer
  6663. spotgoodsprice:
  6664. description: 现货价格
  6665. type: number
  6666. tradedate:
  6667. description: 交易日(yyyyMMdd)
  6668. type: string
  6669. unitid:
  6670. description: 现货商品单位id
  6671. type: integer
  6672. wrstandardcode:
  6673. description: 品类代码
  6674. type: string
  6675. wrstandardid:
  6676. description: 现货品类ID(通用则为0)
  6677. type: integer
  6678. wrstandardname:
  6679. description: 品类名称
  6680. type: string
  6681. type: object
  6682. models.Ermcp3SubTaaccount:
  6683. properties:
  6684. accountid:
  6685. description: 资金账户ID
  6686. type: integer
  6687. parentaccountcode:
  6688. description: 所属根账号代码(母账号代码)
  6689. type: string
  6690. parentaccountid:
  6691. description: 所属根账号(母账号)
  6692. type: integer
  6693. taname:
  6694. description: 资金账号名称
  6695. type: string
  6696. tradestatus:
  6697. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6698. type: integer
  6699. username:
  6700. description: 交易用户
  6701. type: string
  6702. type: object
  6703. models.Ermcp3TaFutuReDataReport:
  6704. properties:
  6705. accountid:
  6706. description: 交易账户
  6707. type: integer
  6708. accountname:
  6709. description: 交易账号名称
  6710. type: string
  6711. agreeunit:
  6712. description: 商品合约单位
  6713. type: number
  6714. begindate:
  6715. description: 开始交易日
  6716. type: string
  6717. buyorsell:
  6718. description: 持仓方向
  6719. type: integer
  6720. charge:
  6721. description: 手续费
  6722. type: number
  6723. closeavgprice:
  6724. description: 平仓均价
  6725. type: number
  6726. closepl:
  6727. description: 平仓损益
  6728. type: number
  6729. currencyid:
  6730. description: 结算币种ID
  6731. type: integer
  6732. currencyname:
  6733. description: 币种名称
  6734. type: string
  6735. cycletime:
  6736. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6737. type: string
  6738. cycletype:
  6739. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6740. type: integer
  6741. enddate:
  6742. description: 结束交易日
  6743. type: string
  6744. enumdicname:
  6745. description: 单位名称
  6746. type: string
  6747. floatpl:
  6748. description: 浮动损益
  6749. type: number
  6750. goodscode:
  6751. description: 交易合约代码
  6752. type: string
  6753. goodsgroupid:
  6754. description: 交易品种
  6755. type: integer
  6756. goodsgroupname:
  6757. description: 交易品种名称
  6758. type: string
  6759. goodsgroupspotqty:
  6760. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6761. type: number
  6762. goodsid:
  6763. description: 交易合约
  6764. type: integer
  6765. goodsname:
  6766. description: 交易合约名称
  6767. type: string
  6768. goodunitid:
  6769. description: 交易合约单位id
  6770. type: integer
  6771. holdamount:
  6772. description: 期末持仓额
  6773. type: number
  6774. holdqty:
  6775. description: 期末持仓量
  6776. type: number
  6777. lastholdamount:
  6778. description: 当前持仓额
  6779. type: number
  6780. lastprice:
  6781. description: 最新价
  6782. type: number
  6783. middlegoodsid:
  6784. description: 套保品种id
  6785. type: integer
  6786. middlegoodsname:
  6787. description: 套保商品名称
  6788. type: string
  6789. middlegoodsqty:
  6790. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6791. type: number
  6792. middlgoodscode:
  6793. description: 套保商品代码
  6794. type: string
  6795. openamount:
  6796. description: 期末开仓额
  6797. type: number
  6798. openavgprice:
  6799. description: 开仓均价
  6800. type: number
  6801. oriholdamount:
  6802. description: 期初持仓额
  6803. type: number
  6804. oriholdqty:
  6805. description: 期初持仓量
  6806. type: number
  6807. oriopenamount:
  6808. description: 期初开仓额
  6809. type: number
  6810. outergroupcode:
  6811. description: 交易品种代码
  6812. type: string
  6813. qtydecimalplace:
  6814. description: 成交量小数位
  6815. type: integer
  6816. reckondate:
  6817. description: 日照时期(yyyyMMdd)
  6818. type: string
  6819. reckonholdamount:
  6820. description: 结算持仓额
  6821. type: number
  6822. reckonpl:
  6823. description: 结算损益
  6824. type: number
  6825. reckonpl2:
  6826. description: 结算逐笔盈亏
  6827. type: number
  6828. reckonprice:
  6829. description: 结算价
  6830. type: number
  6831. relateduserid:
  6832. description: 账户关联用户ID
  6833. type: integer
  6834. todaycloseamount:
  6835. description: 今平仓额
  6836. type: number
  6837. todaycloseqty:
  6838. description: 今平仓量
  6839. type: number
  6840. todaygoodsgroupspotqty:
  6841. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6842. type: number
  6843. todaymiddlegoodsqty:
  6844. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6845. type: number
  6846. todayopenamount:
  6847. description: 今开仓额
  6848. type: number
  6849. todayopenqty:
  6850. description: 今开仓量
  6851. type: number
  6852. userid:
  6853. description: 账户所属用户ID
  6854. type: integer
  6855. type: object
  6856. models.Ermcp3TradeLinkDetail:
  6857. properties:
  6858. accountid:
  6859. description: 资金账号
  6860. type: integer
  6861. agreeunit:
  6862. description: 合约乘数
  6863. type: number
  6864. areauserid:
  6865. description: 所属机构
  6866. type: string
  6867. bizsubjectid:
  6868. description: 归属业务部门ID - SubjectID
  6869. type: string
  6870. buyorsell:
  6871. description: 方向 - 0:买 1:卖
  6872. type: integer
  6873. channelbuildtype:
  6874. description: 委托单据类型 0:无 1:建仓 2:平仓
  6875. type: integer
  6876. contractno:
  6877. description: 现货编号 (合同编号)
  6878. type: string
  6879. convertratio:
  6880. description: 折算系数
  6881. type: number
  6882. createtime:
  6883. description: 关联时间 | 创建时间
  6884. type: string
  6885. creatorid:
  6886. description: 创建人ID
  6887. type: string
  6888. creatorsrc:
  6889. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6890. type: integer
  6891. enumdicname:
  6892. description: 单位名称
  6893. type: string
  6894. goodscode:
  6895. description: 合约代码
  6896. type: string
  6897. goodsgroupid:
  6898. description: 对冲品种ID[期货合约商品组ID]
  6899. type: integer
  6900. goodsid:
  6901. description: 商品ID
  6902. type: integer
  6903. goodsname:
  6904. description: 合约名称
  6905. type: string
  6906. hedgeflag:
  6907. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6908. type: integer
  6909. linkdetailid:
  6910. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6911. type: string
  6912. linkstatus:
  6913. description: 关联状态 - 1:成功 2:失败 3:解绑
  6914. type: integer
  6915. middlegoodscode:
  6916. description: 套保品种代码
  6917. type: string
  6918. middlegoodsid:
  6919. description: 套保品种ID
  6920. type: integer
  6921. middlegoodsname:
  6922. description: 套保品种名称
  6923. type: string
  6924. relatedlot:
  6925. description: 关联手数
  6926. type: number
  6927. relatedmode:
  6928. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6929. type: integer
  6930. relatedqty:
  6931. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6932. type: number
  6933. retcode:
  6934. description: 返回码
  6935. type: integer
  6936. saleuserid:
  6937. description: 业务员ID
  6938. type: string
  6939. spotcontractid:
  6940. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6941. type: string
  6942. taname:
  6943. description: 期货账户
  6944. type: string
  6945. tradedate:
  6946. description: 关联交易日(yyyyMMdd)
  6947. type: string
  6948. tradeid:
  6949. description: 期货订单号 | 内部成交单ID
  6950. type: string
  6951. tradelot:
  6952. description: 成交数量 | 成交手数
  6953. type: integer
  6954. tradeprice:
  6955. description: 成交价格
  6956. type: number
  6957. tradetime:
  6958. description: 期货成交时间
  6959. type: string
  6960. tradetradedate:
  6961. description: 成交交易日(yyyyMMdd)
  6962. type: string
  6963. username:
  6964. description: 用户名称
  6965. type: string
  6966. type: object
  6967. models.Ermcp3Wrstandard:
  6968. properties:
  6969. areauserid:
  6970. description: 所属机构
  6971. type: integer
  6972. cantrade:
  6973. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6974. type: integer
  6975. convertfactor:
  6976. description: 标仓系数
  6977. type: number
  6978. createtime:
  6979. description: 创建时间
  6980. type: string
  6981. creatorid:
  6982. description: 创建人
  6983. type: integer
  6984. deliverygoodsid:
  6985. description: 现货品种ID
  6986. type: integer
  6987. enumdicname:
  6988. description: 品类单位名称
  6989. type: string
  6990. isvalid:
  6991. description: 是否有效 0-无效(停用) 1-有效(正常)
  6992. type: integer
  6993. minivalue:
  6994. description: 最小变动值
  6995. type: integer
  6996. minivaluedp:
  6997. description: 最小变动值小数位
  6998. type: integer
  6999. realminivalue:
  7000. description: 实际最小变动值
  7001. type: integer
  7002. realminivaluedp:
  7003. description: 实际最小变动值小数位
  7004. type: integer
  7005. remark:
  7006. description: 备注
  7007. type: string
  7008. unitid:
  7009. description: 品类单位ID
  7010. type: integer
  7011. updatetime:
  7012. description: 更新时间
  7013. type: string
  7014. wrstandardcode:
  7015. description: 品类代码
  7016. type: string
  7017. wrstandardid:
  7018. description: 品类ID(SEQ_WRSTANDARD)
  7019. type: integer
  7020. wrstandardname:
  7021. description: 品类名称
  7022. type: string
  7023. type: object
  7024. models.ErmcpBizGroupEx:
  7025. properties:
  7026. acclist:
  7027. description: 账号列表
  7028. items:
  7029. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7030. type: array
  7031. bizgroupid:
  7032. description: 业务分组id
  7033. type: integer
  7034. biztype:
  7035. description: 业务类型 1-套保 2-套利
  7036. type: integer
  7037. wrlist:
  7038. description: 现货商品表
  7039. items:
  7040. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7041. type: array
  7042. type: object
  7043. models.ErmcpBizGroupSpotGoods:
  7044. properties:
  7045. areauserid:
  7046. description: 所属机构id
  7047. type: integer
  7048. bizgroupid:
  7049. description: 分组id
  7050. type: integer
  7051. biztype:
  7052. description: 业务类型 1-套保 2-套利
  7053. type: integer
  7054. deliverygoodscode:
  7055. description: 现货商品代码
  7056. type: string
  7057. deliverygoodsid:
  7058. description: 现货商品id
  7059. type: integer
  7060. deliverygoodsname:
  7061. description: 现货商品名称
  7062. type: string
  7063. unitid:
  7064. description: 现货商品单位id
  7065. type: integer
  7066. type: object
  7067. models.ErmcpBizGroupTaAccount:
  7068. properties:
  7069. accountid:
  7070. description: 账号id
  7071. type: integer
  7072. accountname:
  7073. description: 账号名称
  7074. type: string
  7075. areauserid:
  7076. description: 所属机构id
  7077. type: integer
  7078. bizgroupid:
  7079. description: 业务分组id
  7080. type: integer
  7081. ismain:
  7082. description: 是否主账号 1-是 0-否
  7083. type: integer
  7084. type: object
  7085. models.ErmcpDGFactoryItem:
  7086. properties:
  7087. areauserid:
  7088. description: 用户id
  7089. type: integer
  7090. deliverygoodsid:
  7091. description: 现货品种ID
  7092. type: integer
  7093. dgfactoryitemid:
  7094. description: 选择项ID(SEQ_DGFACTORYITEM)
  7095. type: integer
  7096. dgfactoryitemtypeid:
  7097. description: 要素项类型
  7098. type: integer
  7099. dgfactoryitemvalue:
  7100. description: 要素项值(类型为仓库时填写仓库名称)
  7101. type: string
  7102. isvalid:
  7103. description: 是否有效 - 0:无效 1:有效
  7104. type: integer
  7105. orderindex:
  7106. description: 顺序
  7107. type: integer
  7108. warehouseid:
  7109. description: 仓库ID(类型为仓库时填写)
  7110. type: integer
  7111. type: object
  7112. models.ErmcpDeliveryGoods:
  7113. properties:
  7114. agreeunit:
  7115. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7116. type: integer
  7117. areauserid:
  7118. description: 所属机构
  7119. type: integer
  7120. auditflag:
  7121. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7122. type: integer
  7123. categoryid:
  7124. description: 类别ID(SEQ_WRCATEGORY)
  7125. type: integer
  7126. deliverygoodscode:
  7127. description: 现货品种代码
  7128. type: string
  7129. deliverygoodsid:
  7130. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7131. type: integer
  7132. deliverygoodsname:
  7133. description: 现货品种名称
  7134. type: string
  7135. deliverygoodstype:
  7136. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7137. type: integer
  7138. dgstatus:
  7139. description: 品种状态 - 作废 - 0:未激活 1:正常
  7140. type: integer
  7141. enumdicname:
  7142. description: 现货品种单位名称
  7143. type: string
  7144. goodsunitid:
  7145. description: 现货品种单位ID
  7146. type: integer
  7147. isvalid:
  7148. description: 是否有效 - 0:无效 1:有效
  7149. type: integer
  7150. qtydecimalplace:
  7151. description: 成交量小数位
  7152. type: integer
  7153. remark:
  7154. description: 备注
  7155. type: string
  7156. standardqty:
  7157. description: 标准数量(库位数量) [标准品特有]
  7158. type: integer
  7159. standardqtyrange:
  7160. description: 标准数量偏差范围 [标准品特有]
  7161. type: integer
  7162. type: object
  7163. models.ErmcpFuturesCompany:
  7164. properties:
  7165. brokerid:
  7166. description: 经纪公司代码
  7167. type: string
  7168. channeladdress:
  7169. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7170. type: string
  7171. channelid:
  7172. description: 对冲渠道ID
  7173. type: string
  7174. createtime:
  7175. description: 创建时间
  7176. type: string
  7177. creatorid:
  7178. description: 创建人
  7179. type: string
  7180. fcid:
  7181. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7182. type: integer
  7183. fcname:
  7184. description: 期货公司名称
  7185. type: string
  7186. isvalid:
  7187. description: 是否有效 - 0:无效 1:有效
  7188. type: integer
  7189. mhpaddress:
  7190. description: MHP服务地址(IP:Port)
  7191. type: string
  7192. riskrulegroupid:
  7193. description: 风控规则组ID
  7194. type: string
  7195. tradefeetmpid:
  7196. description: 手续费模板ID[TradeConfigTmpType为2]
  7197. type: string
  7198. trademargintmpid:
  7199. description: 保证金模板ID [TradeConfigTmpType为1]
  7200. type: string
  7201. traderatetmpid:
  7202. description: 汇率模板ID[TradeConfigTmpType为3]
  7203. type: string
  7204. updatetime:
  7205. description: 更新时间
  7206. type: string
  7207. updatorid:
  7208. description: 更新人
  7209. type: string
  7210. type: object
  7211. models.ErmcpGGConvertCfg:
  7212. properties:
  7213. convertratio:
  7214. description: 折算系数
  7215. type: number
  7216. destgoodsgroupid:
  7217. description: 目标品种ID
  7218. type: integer
  7219. dstcode:
  7220. description: 目录品种代码
  7221. type: string
  7222. dstexchangecode:
  7223. description: 目标期货交易所
  7224. type: string
  7225. dstname:
  7226. description: 目标品种名称
  7227. type: string
  7228. dstunitid:
  7229. description: 目标品种单位ID
  7230. type: integer
  7231. dstunitidname:
  7232. description: 目标品种单位名称
  7233. type: string
  7234. modifytime:
  7235. description: 修改时间
  7236. type: string
  7237. srccode:
  7238. description: 源品种代码
  7239. type: string
  7240. srcexchangecode:
  7241. description: 源期货交易所
  7242. type: string
  7243. srcgoodsgroupid:
  7244. description: 源品种ID
  7245. type: integer
  7246. srcname:
  7247. description: 源品种名称
  7248. type: string
  7249. srcunitid:
  7250. description: 源品种单位ID
  7251. type: integer
  7252. srcunitidname:
  7253. description: 源品种单位名称
  7254. type: string
  7255. type: object
  7256. models.ErmcpGoods:
  7257. properties:
  7258. agreeunit:
  7259. description: 合约单位
  7260. type: number
  7261. areauserid:
  7262. description: 所属机构
  7263. type: integer
  7264. auditaccountid:
  7265. description: 审核操作员账号
  7266. type: integer
  7267. audittime:
  7268. description: 审核时间
  7269. type: string
  7270. cancelaccountid:
  7271. description: 注销操作员账号
  7272. type: integer
  7273. canceltime:
  7274. description: 注销时间
  7275. type: string
  7276. closepricemode:
  7277. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7278. type: integer
  7279. closepriceparam:
  7280. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7281. type: number
  7282. createtime:
  7283. description: 创建时间
  7284. type: string
  7285. creatorid:
  7286. description: 创建人
  7287. type: integer
  7288. currencyid:
  7289. description: 报价货币ID
  7290. type: integer
  7291. cutmode:
  7292. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7293. type: integer
  7294. decimalplace:
  7295. description: 报价小数位
  7296. type: integer
  7297. delistingdate:
  7298. description: 商品退市时间(状态:退市) -- 已作废
  7299. type: string
  7300. delistingmode:
  7301. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7302. type: integer
  7303. deliveryflag:
  7304. description: 交割标志 - 0:不可交割 1:可交割
  7305. type: integer
  7306. enumdicname:
  7307. description: 单位名称
  7308. type: string
  7309. forceclosemode:
  7310. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7311. type: integer
  7312. forceclosevalue:
  7313. description: 定期强平参数 [收益权]
  7314. type: integer
  7315. goodscode:
  7316. description: 商品代码(内部)
  7317. type: string
  7318. goodscurrencyid:
  7319. description: 合约货币ID
  7320. type: integer
  7321. goodsgroupid:
  7322. description: 所属商品组ID
  7323. type: integer
  7324. goodsid:
  7325. description: 商品ID(自增ID SEQ_GOODS)
  7326. type: integer
  7327. goodsname:
  7328. description: 商品名称
  7329. type: string
  7330. goodsquotetype:
  7331. description: '合约报价类型: 1-直接报价 2-间接报价'
  7332. type: integer
  7333. goodsstatus:
  7334. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7335. type: integer
  7336. goodstradetype:
  7337. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7338. type: integer
  7339. goodunitid:
  7340. description: 报价单位ID
  7341. type: integer
  7342. hasquoter:
  7343. description: 是否有报价商 - 0:无报价商 1:有报价商
  7344. type: integer
  7345. hqprotecttime:
  7346. description: 行情保护时间(秒)
  7347. type: integer
  7348. innerdealmode:
  7349. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7350. type: integer
  7351. isbuylimited:
  7352. description: 是否限制建仓量 - 0:不限制 1:限制
  7353. type: integer
  7354. isvisible:
  7355. description: 游客是否可见 - 0:不可见 1:可见
  7356. type: integer
  7357. lasttradedate:
  7358. description: 最后交易日期(状态:待退市)
  7359. type: string
  7360. listingdate:
  7361. description: 交易开始日期
  7362. type: string
  7363. marketid:
  7364. description: 所属市场ID
  7365. type: integer
  7366. modifierid:
  7367. description: 修改人
  7368. type: integer
  7369. modifystatus:
  7370. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7371. type: integer
  7372. modifytime:
  7373. description: 修改时间
  7374. type: string
  7375. outerdealmode:
  7376. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7377. type: integer
  7378. outgoodscode:
  7379. description: 商品代码(外部)
  7380. type: string
  7381. pictureurl:
  7382. description: 商品图片
  7383. type: string
  7384. qtydecimalplace:
  7385. description: 成交量小数位
  7386. type: integer
  7387. quotegear:
  7388. description: 行情档位(1-10)
  7389. type: integer
  7390. quoteminunit:
  7391. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7392. type: integer
  7393. quoteshowtype:
  7394. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7395. type: integer
  7396. quoteshowtypeinterval:
  7397. description: 行情报价间隔时间(秒)(成交价时为0)
  7398. type: integer
  7399. relatedgoodsid:
  7400. description: 关联参考商品ID
  7401. type: integer
  7402. remark:
  7403. description: 备注
  7404. type: string
  7405. trademode:
  7406. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7407. type: integer
  7408. required:
  7409. - goodscode
  7410. - goodsid
  7411. - goodsname
  7412. - marketid
  7413. type: object
  7414. models.ErmcpGoodsBrand:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构
  7418. type: integer
  7419. brandid:
  7420. description: BrandID(SEQ_SPOTGOODSBRAND)
  7421. type: integer
  7422. brandname:
  7423. description: 品牌名称
  7424. type: string
  7425. createtime:
  7426. description: 创建时间
  7427. type: string
  7428. creatorid:
  7429. description: 创建人
  7430. type: integer
  7431. creatorsrc:
  7432. description: 创建人来源 - 1:管理端 2:终端
  7433. type: integer
  7434. deliverygoodsid:
  7435. description: 现货品种ID
  7436. type: integer
  7437. isvalid:
  7438. description: 是否有效 - 0:无效 1:有效
  7439. type: integer
  7440. updatetime:
  7441. description: 更新时间
  7442. type: string
  7443. updatorid:
  7444. description: 更新人
  7445. type: integer
  7446. updatorsrc:
  7447. description: 更新人来源 - 1:管理端 2:终端
  7448. type: integer
  7449. wrstandardid:
  7450. description: 现货商品ID
  7451. type: integer
  7452. type: object
  7453. models.ErmcpGoodsModel:
  7454. properties:
  7455. areauserid:
  7456. description: 所属机构
  7457. type: integer
  7458. convertfactor:
  7459. description: 标仓系数
  7460. type: number
  7461. createtime:
  7462. description: 创建时间
  7463. type: string
  7464. creatorid:
  7465. description: 创建人
  7466. type: integer
  7467. creatorsrc:
  7468. description: 创建人来源 - 1:管理端 2:终端
  7469. type: integer
  7470. deliverygoodsid:
  7471. description: 现货品种ID
  7472. type: integer
  7473. isvalid:
  7474. description: 是否有效 - 0:无效 1:有效
  7475. type: integer
  7476. modelid:
  7477. description: ModelID(SEQ_SPOTGOODSMODEL)
  7478. type: integer
  7479. modelname:
  7480. description: 型号名称
  7481. type: string
  7482. updatetime:
  7483. description: 更新时间
  7484. type: string
  7485. updatorid:
  7486. description: 更新人
  7487. type: integer
  7488. updatorsrc:
  7489. description: 更新人来源 - 1:管理端 2:终端
  7490. type: integer
  7491. wrstandardid:
  7492. description: 现货商品ID
  7493. type: integer
  7494. type: object
  7495. models.ErmcpHisExposure:
  7496. properties:
  7497. needhedgeexposoure:
  7498. description: 应套保敞口
  7499. type: number
  7500. reckondate:
  7501. description: 日照时期(yyyyMMdd)
  7502. type: string
  7503. totalexposure:
  7504. description: 总敞口
  7505. type: number
  7506. type: object
  7507. models.ErmcpLoginTaAccount:
  7508. properties:
  7509. accountid:
  7510. description: 账号id
  7511. type: integer
  7512. accountname:
  7513. description: 账号名称
  7514. type: string
  7515. type: object
  7516. models.ErmcpLoginUser:
  7517. properties:
  7518. acclist:
  7519. description: 关联资金账号
  7520. items:
  7521. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7522. type: array
  7523. accountname:
  7524. description: 用户名称
  7525. type: string
  7526. clientroleid:
  7527. description: 角色id(usertype=2)
  7528. type: integer
  7529. createtime:
  7530. description: 创建时间
  7531. type: string
  7532. logincode:
  7533. description: 登录代码
  7534. type: string
  7535. loginid:
  7536. description: 登录id(LOGINID)
  7537. type: integer
  7538. loginname:
  7539. description: 登录名称(loginaccount表中的accountname字段)
  7540. type: string
  7541. loginstatus:
  7542. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7543. type: integer
  7544. memberuserid:
  7545. description: 所属会员id
  7546. type: integer
  7547. mobile:
  7548. description: 手机号
  7549. type: string
  7550. modifytime:
  7551. description: 修改时间
  7552. type: string
  7553. password:
  7554. description: 密码(不可解密)
  7555. type: string
  7556. rolename:
  7557. description: 角色名称
  7558. type: string
  7559. rolestatus:
  7560. description: 角色状态 1-启用 2-停用
  7561. type: integer
  7562. roletype:
  7563. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7564. type: string
  7565. userid:
  7566. description: 用户id
  7567. type: integer
  7568. usertype:
  7569. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7570. type: integer
  7571. type: object
  7572. models.ErmcpLoginUserEx:
  7573. properties:
  7574. accountstatus:
  7575. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7576. type: integer
  7577. mobile:
  7578. description: 手机号
  7579. type: string
  7580. querytype:
  7581. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7582. type: integer
  7583. roleid:
  7584. description: 角色id(交易账户->用户id)
  7585. type: integer
  7586. rolename:
  7587. description: 角色名称(交易账户->用户名称)
  7588. type: string
  7589. userlist:
  7590. description: 用户列表
  7591. items:
  7592. $ref: '#/definitions/models.ErmcpLoginUser'
  7593. type: array
  7594. usertype:
  7595. description: 用户类型 2-机构 7-企业成员(云平台)
  7596. type: integer
  7597. type: object
  7598. models.ErmcpMiddleGoodsModel:
  7599. properties:
  7600. areauserid:
  7601. description: 机构用户ID
  7602. type: integer
  7603. createtime:
  7604. description: 修改时间
  7605. type: string
  7606. enumdicname:
  7607. description: 单位名称
  7608. type: string
  7609. evaluateratio:
  7610. description: 估价系数
  7611. type: number
  7612. goodsgroupid:
  7613. description: 关联期货品种ID
  7614. type: integer
  7615. goodsunitid:
  7616. description: 单位ID
  7617. type: integer
  7618. isvalid:
  7619. description: 状态 0-无效(停用) 1-有效(正常)
  7620. type: integer
  7621. middlegoodscode:
  7622. description: 套保品种代码
  7623. type: string
  7624. middlegoodsid:
  7625. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7626. type: integer
  7627. middlegoodsname:
  7628. description: 套保品种名称
  7629. type: string
  7630. modifytime:
  7631. description: 修改时间
  7632. type: string
  7633. needarbitrageratio:
  7634. description: 套利比例
  7635. type: number
  7636. needhedgeratio:
  7637. description: 套保比率
  7638. type: number
  7639. qtydecimalplace:
  7640. description: 数量小数位
  7641. type: integer
  7642. relatedgoodsid:
  7643. description: 关联交易商品ID
  7644. type: integer
  7645. relatedgoodstype:
  7646. description: 关联商品类型 - 1:期货合约 2:现货品种
  7647. type: integer
  7648. remark:
  7649. description: 备注
  7650. type: string
  7651. type: object
  7652. models.ErmcpMiddlegoodsRelateGoods:
  7653. properties:
  7654. agreeunit:
  7655. description: 合约乘数
  7656. type: number
  7657. convertratio:
  7658. description: 折算系数
  7659. type: number
  7660. enumdicname:
  7661. description: 单位名称(交易商品)
  7662. type: string
  7663. goodscode:
  7664. description: 交易商品代码
  7665. type: string
  7666. goodsgroupid:
  7667. description: 交易品种id
  7668. type: integer
  7669. goodsid:
  7670. description: 商品Id
  7671. type: integer
  7672. goodsname:
  7673. description: 交易商品名称
  7674. type: string
  7675. goodunitid:
  7676. description: 交易商品单位id
  7677. type: integer
  7678. middlegoodsid:
  7679. description: 套保商品id
  7680. type: integer
  7681. middlegoodsname:
  7682. description: 套保商品名称
  7683. type: string
  7684. middlegoodsswcode:
  7685. description: 套保商品代码
  7686. type: string
  7687. needarbitrageratio:
  7688. description: 应套利比例
  7689. type: number
  7690. needhedgeratio:
  7691. description: 应套保比例
  7692. type: number
  7693. type: object
  7694. models.ErmcpRole:
  7695. properties:
  7696. areauserid:
  7697. description: 所属机构
  7698. type: integer
  7699. autoid:
  7700. description: 角色ID(自增ID)
  7701. type: integer
  7702. modifierid:
  7703. description: 修改人(创建人)
  7704. type: integer
  7705. modifiername:
  7706. description: 修改人名称
  7707. type: string
  7708. modifytime:
  7709. description: 修改时间(创建时间)
  7710. type: string
  7711. rolename:
  7712. description: 角色名称
  7713. type: string
  7714. rolestatus:
  7715. description: 角色状态 - 1:启用 2:停用
  7716. type: integer
  7717. roletype:
  7718. description: 角色类型 - 1- 管理端 2- 交易端
  7719. type: integer
  7720. type: object
  7721. models.ErmcpRoleMenu:
  7722. properties:
  7723. iconame:
  7724. description: 菜单图标
  7725. type: string
  7726. ishadrole:
  7727. description: 是否有权限
  7728. type: boolean
  7729. menutype:
  7730. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7731. type: integer
  7732. parentcode:
  7733. description: 上级资源代码
  7734. type: string
  7735. remark:
  7736. description: 菜单备注
  7737. type: string
  7738. resourcecode:
  7739. description: 菜单代码
  7740. type: string
  7741. resourcelevel:
  7742. description: 级别
  7743. type: integer
  7744. resourcename:
  7745. description: 菜单名称
  7746. type: string
  7747. roleid:
  7748. description: 角色id
  7749. type: integer
  7750. sort:
  7751. description: 排序
  7752. type: integer
  7753. url:
  7754. description: URL
  7755. type: string
  7756. userid:
  7757. description: 用户id
  7758. type: integer
  7759. type: object
  7760. models.ErmcpRoleMenuEx:
  7761. properties:
  7762. menu:
  7763. $ref: '#/definitions/models.ErmcpRoleMenu'
  7764. description: 父级菜单
  7765. subMenu:
  7766. description: 子级菜单
  7767. items:
  7768. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7769. type: array
  7770. type: object
  7771. models.ErmcpTaAccount:
  7772. properties:
  7773. accountid:
  7774. description: 账户id
  7775. type: integer
  7776. accountname:
  7777. description: 账户名称
  7778. type: string
  7779. currencyid:
  7780. description: 币种id
  7781. type: integer
  7782. hedgeaccountcode:
  7783. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7784. type: string
  7785. ismain:
  7786. description: 是否主账户 0-否 1-是
  7787. type: integer
  7788. parentaccountid:
  7789. description: 父账户id
  7790. type: integer
  7791. relateduserid:
  7792. description: 关联userid
  7793. type: integer
  7794. tradefeetmpid:
  7795. description: 手续费模板id
  7796. type: integer
  7797. tradefeetmpname:
  7798. description: 手续费模板名称
  7799. type: string
  7800. trademargintmpid:
  7801. description: 保证金模板id
  7802. type: integer
  7803. trademargintmpname:
  7804. description: 保证金模板名称
  7805. type: string
  7806. traderatetmpid:
  7807. description: 汇率模板id
  7808. type: integer
  7809. traderatetmpname:
  7810. description: 汇率模板名称
  7811. type: string
  7812. tradestatus:
  7813. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7814. type: integer
  7815. userid:
  7816. description: 用户id
  7817. type: integer
  7818. type: object
  7819. models.ErmcpTaAccountEx:
  7820. properties:
  7821. mainAcc:
  7822. $ref: '#/definitions/models.ErmcpTaAccountM'
  7823. description: 主账号
  7824. subacclist:
  7825. description: 子账号列表
  7826. items:
  7827. $ref: '#/definitions/models.ErmcpTaAccount'
  7828. type: array
  7829. type: object
  7830. models.ErmcpTaAccountInfo:
  7831. properties:
  7832. accountid:
  7833. description: 资金账户ID
  7834. type: integer
  7835. accountname:
  7836. description: 账户名称
  7837. type: string
  7838. balance:
  7839. description: 期初余额
  7840. type: number
  7841. capitalbalance:
  7842. description: 本金余额[外部子账户实际出入金余额]
  7843. type: number
  7844. closepl:
  7845. description: 今日平仓盈亏
  7846. type: number
  7847. creditdecrease:
  7848. description: 今日授信减少
  7849. type: number
  7850. creditincrease:
  7851. description: 今日授信增加
  7852. type: number
  7853. curdebt:
  7854. description: 期末欠款
  7855. type: number
  7856. currencyid:
  7857. description: 货币ID
  7858. type: integer
  7859. currentbalance:
  7860. description: 期末余额
  7861. type: number
  7862. freezecharge:
  7863. description: 手续费冻结
  7864. type: number
  7865. freezemargin:
  7866. description: 冻结保证金
  7867. type: number
  7868. fromaccountid:
  7869. description: 所属上级账户
  7870. type: integer
  7871. inamount:
  7872. description: 今日入金金额(包括三方入金)
  7873. type: number
  7874. ismain:
  7875. description: 是否母账号 0:不是母账户 1:是母账户
  7876. type: integer
  7877. mortgagecredit:
  7878. description: 授信金额
  7879. type: number
  7880. oridebt:
  7881. description: 期初欠款
  7882. type: number
  7883. orifreezecharge:
  7884. description: 期初手续费冻结
  7885. type: number
  7886. orifreezemargin:
  7887. description: 期初冻结保证金
  7888. type: number
  7889. orimortgagecredit:
  7890. description: 期初授信金额
  7891. type: number
  7892. oriothercredit:
  7893. description: 期初其它授信金额
  7894. type: number
  7895. oriotherfreezemargin:
  7896. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7897. type: number
  7898. orioutamountfreeze:
  7899. description: 期初出金冻结
  7900. type: number
  7901. oriusedmargin:
  7902. description: 期初占用保证金
  7903. type: number
  7904. othercredit:
  7905. description: 其它授信金额
  7906. type: number
  7907. othercreditdecrease:
  7908. description: 今日其它授信减少
  7909. type: number
  7910. othercreditincrease:
  7911. description: 今日其它授信增加
  7912. type: number
  7913. otherfreezemargin:
  7914. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7915. type: number
  7916. outamount:
  7917. description: 今日出金金额(包括三方出金)
  7918. type: number
  7919. outamountfreeze:
  7920. description: 出金冻结
  7921. type: number
  7922. outthreshold:
  7923. description: 出金阈值
  7924. type: number
  7925. parentaccountid:
  7926. description: 所属根账号
  7927. type: integer
  7928. paycharge:
  7929. description: 今日手续费支出
  7930. type: number
  7931. relateduserid:
  7932. description: 关联用户
  7933. type: integer
  7934. signstatus:
  7935. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7936. type: integer
  7937. sublevelpath:
  7938. description: 账号层级路径(逗号分隔,首尾加逗号)
  7939. type: string
  7940. taaccounttype:
  7941. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7942. type: integer
  7943. thirdinamount:
  7944. description: 今日三方入金
  7945. type: number
  7946. thirdoutamount:
  7947. description: 今日三方出金
  7948. type: number
  7949. tradestatus:
  7950. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7951. type: integer
  7952. transferamount:
  7953. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7954. type: number
  7955. usedmargin:
  7956. description: 占用保证金
  7957. type: number
  7958. userid:
  7959. description: 用户ID
  7960. type: integer
  7961. type: object
  7962. models.ErmcpTaAccountM:
  7963. properties:
  7964. accountid:
  7965. description: 账户id
  7966. type: integer
  7967. accountname:
  7968. description: 账户名称
  7969. type: string
  7970. currencyid:
  7971. description: 币种id
  7972. type: integer
  7973. fcid:
  7974. description: 期货公司id
  7975. type: integer
  7976. fcname:
  7977. description: 期货公司代码
  7978. type: string
  7979. hedgeaccountcode:
  7980. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7981. type: string
  7982. ismain:
  7983. description: 是否主账户 0-否 1-是
  7984. type: integer
  7985. parentaccountid:
  7986. description: 父账户id
  7987. type: integer
  7988. relateduserid:
  7989. description: 关联userid
  7990. type: integer
  7991. tradefeetmpid:
  7992. description: 手续费模板id
  7993. type: integer
  7994. tradefeetmpname:
  7995. description: 手续费模板名称
  7996. type: string
  7997. trademargintmpid:
  7998. description: 保证金模板id
  7999. type: integer
  8000. trademargintmpname:
  8001. description: 保证金模板名称
  8002. type: string
  8003. traderatetmpid:
  8004. description: 汇率模板id
  8005. type: integer
  8006. traderatetmpname:
  8007. description: 汇率模板名称
  8008. type: string
  8009. tradestatus:
  8010. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8011. type: integer
  8012. userid:
  8013. description: 用户id
  8014. type: integer
  8015. type: object
  8016. models.ErmcpTradeConfigTMP:
  8017. properties:
  8018. areauserid:
  8019. description: 所属机构
  8020. type: integer
  8021. basiccurrencyid:
  8022. description: 基本币种ID[汇率] - 目标币种
  8023. type: integer
  8024. mainaccountid:
  8025. description: 主账户ID
  8026. type: integer
  8027. modifierid:
  8028. description: 修改人
  8029. type: integer
  8030. remark:
  8031. description: 备注
  8032. type: string
  8033. tradeconfigtmpid:
  8034. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8035. type: integer
  8036. tradeconfigtmpname:
  8037. description: 交易配置模板名称
  8038. type: string
  8039. tradeconfigtmptype:
  8040. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8041. type: integer
  8042. updatetime:
  8043. description: 更新时间
  8044. type: string
  8045. type: object
  8046. models.Externalexchange:
  8047. properties:
  8048. autoid:
  8049. description: AutoID - SEQ_EXTERNALEXCHANGE
  8050. type: integer
  8051. exchangefullname:
  8052. description: 外部交易所全称
  8053. type: string
  8054. exexchangecode:
  8055. description: 外部交易所代码
  8056. type: string
  8057. exexchangename:
  8058. description: 外部交易所名称(简称)
  8059. type: string
  8060. ismarketprice:
  8061. description: 是否支持市价 - 0:不支持 1:支持
  8062. type: integer
  8063. quotegear:
  8064. description: 行情档位(1-10)
  8065. type: integer
  8066. showbrokerflag:
  8067. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8068. type: integer
  8069. updatetime:
  8070. description: 更新时间
  8071. type: string
  8072. required:
  8073. - autoid
  8074. type: object
  8075. models.Funcmenulist:
  8076. properties:
  8077. iconame:
  8078. description: 菜单图标
  8079. type: string
  8080. menutype:
  8081. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8082. type: integer
  8083. parentcode:
  8084. description: 上级资源代码
  8085. type: string
  8086. remark:
  8087. description: 备注
  8088. type: string
  8089. resourcecode:
  8090. description: 资源代码
  8091. type: string
  8092. resourcelevel:
  8093. description: 级别 1-一级 2-二级 3-三级 4-四级
  8094. type: integer
  8095. resourcename:
  8096. description: 资源名
  8097. type: string
  8098. sort:
  8099. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8100. type: integer
  8101. url:
  8102. description: URL
  8103. type: string
  8104. required:
  8105. - resourcecode
  8106. type: object
  8107. models.Goods:
  8108. properties:
  8109. agreeunit:
  8110. description: 合约单位
  8111. type: number
  8112. areauserid:
  8113. description: 所属机构
  8114. type: integer
  8115. auditaccountid:
  8116. description: 审核操作员账号
  8117. type: integer
  8118. audittime:
  8119. description: 审核时间
  8120. type: string
  8121. cancelaccountid:
  8122. description: 注销操作员账号
  8123. type: integer
  8124. canceltime:
  8125. description: 注销时间
  8126. type: string
  8127. closepricemode:
  8128. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8129. type: integer
  8130. closepriceparam:
  8131. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8132. type: number
  8133. createtime:
  8134. description: 创建时间
  8135. type: string
  8136. creatorid:
  8137. description: 创建人
  8138. type: integer
  8139. currencyid:
  8140. description: 报价货币ID
  8141. type: integer
  8142. cutmode:
  8143. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8144. type: integer
  8145. decimalplace:
  8146. description: 报价小数位
  8147. type: integer
  8148. delistingdate:
  8149. description: 商品退市时间(状态:退市) -- 已作废
  8150. type: string
  8151. delistingmode:
  8152. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8153. type: integer
  8154. deliveryflag:
  8155. description: 交割标志 - 0:不可交割 1:可交割
  8156. type: integer
  8157. forceclosemode:
  8158. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8159. type: integer
  8160. forceclosevalue:
  8161. description: 定期强平参数 [收益权]
  8162. type: integer
  8163. goodscode:
  8164. description: 商品代码(内部)
  8165. type: string
  8166. goodscurrencyid:
  8167. description: 合约货币ID
  8168. type: integer
  8169. goodsgroupid:
  8170. description: 所属商品组ID
  8171. type: integer
  8172. goodsid:
  8173. description: 商品ID(自增ID SEQ_GOODS)
  8174. type: integer
  8175. goodsname:
  8176. description: 商品名称
  8177. type: string
  8178. goodsquotetype:
  8179. description: '合约报价类型: 1-直接报价 2-间接报价'
  8180. type: integer
  8181. goodsstatus:
  8182. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8183. type: integer
  8184. goodstradetype:
  8185. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8186. type: integer
  8187. goodunitid:
  8188. description: 报价单位ID
  8189. type: integer
  8190. hasquoter:
  8191. description: 是否有报价商 - 0:无报价商 1:有报价商
  8192. type: integer
  8193. hqprotecttime:
  8194. description: 行情保护时间(秒)
  8195. type: integer
  8196. innerdealmode:
  8197. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8198. type: integer
  8199. isbuylimited:
  8200. description: 是否限制建仓量 - 0:不限制 1:限制
  8201. type: integer
  8202. isvisible:
  8203. description: 游客是否可见 - 0:不可见 1:可见
  8204. type: integer
  8205. lasttradedate:
  8206. description: 最后交易日期(状态:待退市)
  8207. type: string
  8208. listingdate:
  8209. description: 交易开始日期
  8210. type: string
  8211. marketid:
  8212. description: 所属市场ID
  8213. type: integer
  8214. modifierid:
  8215. description: 修改人
  8216. type: integer
  8217. modifystatus:
  8218. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8219. type: integer
  8220. modifytime:
  8221. description: 修改时间
  8222. type: string
  8223. outerdealmode:
  8224. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8225. type: integer
  8226. outgoodscode:
  8227. description: 商品代码(外部)
  8228. type: string
  8229. pictureurl:
  8230. description: 商品图片
  8231. type: string
  8232. qtydecimalplace:
  8233. description: 成交量小数位
  8234. type: integer
  8235. quotegear:
  8236. description: 行情档位(1-10)
  8237. type: integer
  8238. quoteminunit:
  8239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8240. type: integer
  8241. quoteshowtype:
  8242. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8243. type: integer
  8244. quoteshowtypeinterval:
  8245. description: 行情报价间隔时间(秒)(成交价时为0)
  8246. type: integer
  8247. remark:
  8248. description: 备注
  8249. type: string
  8250. required:
  8251. - goodscode
  8252. - goodsid
  8253. - goodsname
  8254. - marketid
  8255. type: object
  8256. models.GoodsIDAndName:
  8257. properties:
  8258. goodscode:
  8259. description: 商品代码(内部)
  8260. type: string
  8261. goodsid:
  8262. description: 商品ID(自增ID SEQ_GOODS)
  8263. type: integer
  8264. goodsname:
  8265. description: 商品名称
  8266. type: string
  8267. marketid:
  8268. description: 所属市场ID
  8269. type: integer
  8270. required:
  8271. - goodscode
  8272. - goodsid
  8273. - goodsname
  8274. - marketid
  8275. type: object
  8276. models.Goodsgroup:
  8277. properties:
  8278. agreeunit:
  8279. description: 合约单位
  8280. type: number
  8281. canshort:
  8282. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8283. type: integer
  8284. closepricemode:
  8285. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8286. type: integer
  8287. closepriceparam:
  8288. description: 强平最新价浮动比例 - 方式为2时使用
  8289. type: number
  8290. createtime:
  8291. description: 创建时间
  8292. type: string
  8293. creatorid:
  8294. description: 创建人
  8295. type: integer
  8296. currencyid:
  8297. description: 报价货币ID
  8298. type: integer
  8299. decimalplace:
  8300. description: 报价小数位
  8301. type: integer
  8302. exercisetype:
  8303. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8304. type: integer
  8305. exexchangeid:
  8306. description: 外部交易所ID[通道交易]
  8307. type: integer
  8308. goodsgroupid:
  8309. description: 商品组ID(自增ID)
  8310. type: integer
  8311. goodsgroupname:
  8312. description: 商品组名称
  8313. type: string
  8314. goodsgroupstatus:
  8315. description: 商品组状态 - 1:正常 2:注销
  8316. type: integer
  8317. goodunitid:
  8318. description: 报价单位ID
  8319. type: integer
  8320. innerdealmode:
  8321. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8322. type: integer
  8323. isbuylimited:
  8324. description: 是否限制建仓量 - 0:不限制 1:限制
  8325. type: integer
  8326. marketid:
  8327. description: 所属市场ID
  8328. type: integer
  8329. modifierid:
  8330. description: 修改人
  8331. type: integer
  8332. modifytime:
  8333. description: 修改时间
  8334. type: string
  8335. outerdealmode:
  8336. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8337. type: integer
  8338. outergroupcode:
  8339. description: 外部商品组代码[通道交易]
  8340. type: string
  8341. premiumdecimalplace:
  8342. description: 权利金小数位[场外期权]
  8343. type: integer
  8344. premiumspreadalgorithm:
  8345. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8346. type: integer
  8347. premiumspreadvalue:
  8348. description: 权利金点差值[场外期权]
  8349. type: number
  8350. qtydecimalplace:
  8351. description: 成交量小数位
  8352. type: integer
  8353. quotegear:
  8354. description: 行情档位(1-10)
  8355. type: integer
  8356. quoteminunit:
  8357. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8358. type: integer
  8359. quoterid:
  8360. description: 报价商ID[场外期权]
  8361. type: integer
  8362. quotesourcegroupid:
  8363. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8364. type: integer
  8365. syncgoodsqty:
  8366. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8367. type: integer
  8368. required:
  8369. - goodsgroupid
  8370. - goodsgroupname
  8371. - goodsgroupstatus
  8372. - marketid
  8373. type: object
  8374. models.Goodssortbypreposition:
  8375. properties:
  8376. goodscode:
  8377. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8378. type: string
  8379. goodsgroupcode:
  8380. description: 品种代码
  8381. type: string
  8382. prepositionqty:
  8383. description: 昨持仓量
  8384. type: integer
  8385. sortindex:
  8386. description: 排序
  8387. type: integer
  8388. tradedate:
  8389. description: 交易日
  8390. type: string
  8391. updatetime:
  8392. description: 更新时间
  8393. type: string
  8394. required:
  8395. - goodscode
  8396. - tradedate
  8397. type: object
  8398. models.Hedgeinnerholderdetail:
  8399. properties:
  8400. accountid:
  8401. description: 账号ID
  8402. type: integer
  8403. buyorsell:
  8404. description: 方向 - 0:买 1:卖
  8405. type: integer
  8406. freezeqty:
  8407. description: 冻结数量 - 按单平使用
  8408. type: integer
  8409. goodsid:
  8410. description: 商品ID
  8411. type: integer
  8412. holderamount:
  8413. description: 持仓金额 [商品币种]
  8414. type: number
  8415. holderdays:
  8416. description: 剩余冻结天数
  8417. type: integer
  8418. holderprice:
  8419. description: 持仓价格
  8420. type: number
  8421. holderqty:
  8422. description: 持仓数量
  8423. type: integer
  8424. marketid:
  8425. description: 市场ID
  8426. type: integer
  8427. openprice:
  8428. description: 建仓价格
  8429. type: number
  8430. openqty:
  8431. description: 建仓数量
  8432. type: integer
  8433. parentaccountid:
  8434. description: 所属母账户
  8435. type: integer
  8436. releaseamount:
  8437. description: 释放持仓金额[商品币种]
  8438. type: number
  8439. tradeamount:
  8440. description: 成交金额[账户]
  8441. type: number
  8442. tradedate:
  8443. description: 交易日(yyyyMMdd)
  8444. type: string
  8445. tradeid:
  8446. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8447. type: string
  8448. tradetime:
  8449. description: 交易时间
  8450. type: string
  8451. required:
  8452. - buyorsell
  8453. - tradeid
  8454. type: object
  8455. models.Hedgemarketopenlog:
  8456. properties:
  8457. accountid:
  8458. description: 资金账号[外部母账户]
  8459. type: integer
  8460. fcname:
  8461. description: 期货公司名称
  8462. type: string
  8463. handlestatus:
  8464. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8465. type: integer
  8466. marketid:
  8467. description: 市场ID
  8468. type: integer
  8469. status:
  8470. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8471. type: integer
  8472. tradedate:
  8473. description: 交易日(yyyyMMdd)
  8474. type: string
  8475. updatetime:
  8476. description: 更新时间
  8477. type: string
  8478. required:
  8479. - accountid
  8480. type: object
  8481. models.HsbyBuyMyPayOrder:
  8482. properties:
  8483. agreeunit:
  8484. description: 合约单位
  8485. type: number
  8486. buyaccountid:
  8487. description: 买方账号ID[报价币种]
  8488. type: integer
  8489. buyorderid:
  8490. description: 买方委托单号
  8491. type: string
  8492. createtime:
  8493. description: 创建时间
  8494. type: string
  8495. currencysign:
  8496. description: 货币符号
  8497. type: string
  8498. decimalplace:
  8499. description: 报价小数位
  8500. type: integer
  8501. goodscode:
  8502. description: 商品代码(内部)
  8503. type: string
  8504. goodsid:
  8505. description: 商品ID
  8506. type: integer
  8507. goodsname:
  8508. description: 商品名称
  8509. type: string
  8510. marketid:
  8511. description: 市场ID
  8512. type: integer
  8513. offamount:
  8514. description: 优惠金额
  8515. type: number
  8516. originalamount:
  8517. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8518. type: number
  8519. payamount:
  8520. description: 支付金额 = TradeAmount + TradeCharge
  8521. type: number
  8522. payflag:
  8523. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8524. type: integer
  8525. paylimitedtime:
  8526. description: 支付期限
  8527. type: string
  8528. paytime:
  8529. description: 付款时间
  8530. type: string
  8531. picurls1:
  8532. description: 预售商品介绍图片[多张用逗号分隔]
  8533. type: string
  8534. picurls2:
  8535. description: 挂牌商品介绍图片[多张用逗号分隔]
  8536. type: string
  8537. sellaccountid:
  8538. description: 卖方账号ID[报价币种]
  8539. type: integer
  8540. sellorderid:
  8541. description: 卖方委托单号
  8542. type: string
  8543. tradeamount:
  8544. description: 成交金额
  8545. type: number
  8546. tradecharge:
  8547. description: 成交手续费(买方)
  8548. type: number
  8549. tradedate:
  8550. description: 交易日(yyyyMMdd)
  8551. type: string
  8552. tradeid:
  8553. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8554. type: string
  8555. trademode:
  8556. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8557. type: integer
  8558. tradeprice:
  8559. description: 成交价格
  8560. type: number
  8561. tradeqty:
  8562. description: 成交数量
  8563. type: integer
  8564. vendorname1:
  8565. description: 预售商品供应商名称
  8566. type: string
  8567. vendorname2:
  8568. description: 挂牌商品供应商名称
  8569. type: string
  8570. required:
  8571. - goodscode
  8572. - goodsname
  8573. - tradeid
  8574. - trademode
  8575. type: object
  8576. models.HsbyBuyMyTradeDetail:
  8577. properties:
  8578. accountid:
  8579. description: 账户ID[报价币种]
  8580. type: integer
  8581. agreeunit:
  8582. description: 合约单位
  8583. type: number
  8584. amount:
  8585. description: 金额 = 价格 * 数量 * 合约单位
  8586. type: number
  8587. buyorsell:
  8588. description: 买卖 - 0:买 1:卖
  8589. type: integer
  8590. currencysign:
  8591. description: 货币符号
  8592. type: string
  8593. decimalplace:
  8594. description: 报价小数位
  8595. type: integer
  8596. goodscode:
  8597. description: 商品代码(内部)
  8598. type: string
  8599. goodsid:
  8600. description: 商品ID
  8601. type: integer
  8602. goodsname:
  8603. description: 商品名称
  8604. type: string
  8605. marketid:
  8606. description: 市场ID
  8607. type: integer
  8608. orderamount:
  8609. description: 委托金额
  8610. type: number
  8611. orderid:
  8612. description: 单号(成交单号)
  8613. type: string
  8614. picurls1:
  8615. description: 预售商品介绍图片[多张用逗号分隔]
  8616. type: string
  8617. picurls2:
  8618. description: 挂牌商品介绍图片[多张用逗号分隔]
  8619. type: string
  8620. price:
  8621. description: 价格
  8622. type: number
  8623. qty:
  8624. description: 数量
  8625. type: integer
  8626. time:
  8627. description: 时间
  8628. type: string
  8629. trademode:
  8630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8631. type: integer
  8632. vendorname1:
  8633. description: 预售商品供应商名称
  8634. type: string
  8635. vendorname2:
  8636. description: 挂牌商品供应商名称
  8637. type: string
  8638. required:
  8639. - accountid
  8640. - buyorsell
  8641. - goodscode
  8642. - goodsid
  8643. - goodsname
  8644. - marketid
  8645. - orderid
  8646. - qty
  8647. - time
  8648. - trademode
  8649. type: object
  8650. models.HsbyGoodsOrderDetail:
  8651. properties:
  8652. buyorsell:
  8653. description: 买卖 - 0:买 1:卖
  8654. type: integer
  8655. currencysign:
  8656. description: 货币符号
  8657. type: string
  8658. customername:
  8659. description: 客户名称(企业名称),已脱敏
  8660. type: string
  8661. enableqty:
  8662. description: 可用数量
  8663. type: integer
  8664. goodunit:
  8665. description: 报价单位
  8666. type: string
  8667. orderid:
  8668. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8669. type: string
  8670. orderprice:
  8671. description: 委托价格
  8672. type: number
  8673. ordertime:
  8674. description: 委托时间
  8675. type: string
  8676. required:
  8677. - buyorsell
  8678. - orderid
  8679. - ordertime
  8680. type: object
  8681. models.HsbyListingGoodsDetail:
  8682. properties:
  8683. agreeunit:
  8684. description: 合约单位
  8685. type: number
  8686. buymaxqty:
  8687. description: 购买上限 [71] - 0为不限
  8688. type: integer
  8689. currency:
  8690. description: 货币
  8691. type: string
  8692. currencysign:
  8693. description: 货币符号
  8694. type: string
  8695. decimalplace:
  8696. description: 报价小数位
  8697. type: integer
  8698. desccityid:
  8699. description: 目的地(市)ID
  8700. type: integer
  8701. descprovinceid:
  8702. description: 目的地(省)ID
  8703. type: integer
  8704. goodscode:
  8705. description: 商品代码(内部)
  8706. type: string
  8707. goodsdesc:
  8708. description: 商品详情
  8709. type: string
  8710. goodsid:
  8711. description: 商品ID(自增ID SEQ_GOODS)
  8712. type: integer
  8713. goodsname:
  8714. description: 商品名称
  8715. type: string
  8716. goodsprice:
  8717. description: 商品价格
  8718. type: number
  8719. hotindex:
  8720. description: 景点热度
  8721. type: integer
  8722. last:
  8723. description: 现价
  8724. type: number
  8725. limitdown:
  8726. description: 跌停价
  8727. type: number
  8728. limitup:
  8729. description: 涨停价
  8730. type: number
  8731. lotsize:
  8732. description: 手数最小变动单位
  8733. type: integer
  8734. marketid:
  8735. description: 所属市场ID
  8736. type: integer
  8737. picurls:
  8738. description: 介绍图片[多张用逗号分隔]
  8739. type: string
  8740. quoteminunit:
  8741. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8742. type: integer
  8743. stepvalue:
  8744. description: 价格最小变动单位
  8745. type: number
  8746. trademode:
  8747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8748. type: integer
  8749. vendorattr:
  8750. description: 供应商附件(多张,逗号分隔)
  8751. type: string
  8752. vendorname:
  8753. description: 供应商名称
  8754. type: string
  8755. vendorphone:
  8756. description: 供应商客服电话
  8757. type: string
  8758. videourls:
  8759. description: 介绍视频[多张用逗号分隔]
  8760. type: string
  8761. required:
  8762. - goodscode
  8763. - goodsid
  8764. - goodsname
  8765. - marketid
  8766. - trademode
  8767. type: object
  8768. models.HsbyMarketGoods:
  8769. properties:
  8770. accountid:
  8771. description: 账户ID[报价币种]
  8772. type: integer
  8773. agreeunit:
  8774. description: 合约单位
  8775. type: number
  8776. buyorsell:
  8777. description: 买卖 - 0:买 1:卖
  8778. type: integer
  8779. categoryid:
  8780. description: 类别ID(WRCATEGORY)
  8781. type: integer
  8782. currency:
  8783. description: 货币
  8784. type: string
  8785. currencysign:
  8786. description: 货币符号
  8787. type: string
  8788. customername:
  8789. description: 卖家名称
  8790. type: string
  8791. decimalplace:
  8792. description: 报价小数位
  8793. type: integer
  8794. goodscode:
  8795. description: 商品代码(内部)
  8796. type: string
  8797. goodsid:
  8798. description: 商品ID
  8799. type: integer
  8800. goodsname:
  8801. description: 商品名称
  8802. type: string
  8803. goodsprice:
  8804. description: 商品价格
  8805. type: number
  8806. hascoupon:
  8807. description: 是否可用优惠卷
  8808. type: boolean
  8809. hotindex:
  8810. description: 景点热度
  8811. type: integer
  8812. marketid:
  8813. description: 市场ID
  8814. type: integer
  8815. orderid:
  8816. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8817. type: string
  8818. orderprice:
  8819. description: 委托价格
  8820. type: number
  8821. orderstatus:
  8822. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8823. type: integer
  8824. picurls:
  8825. description: 介绍图片[多张用逗号分隔]
  8826. type: string
  8827. quoteminunit:
  8828. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8829. type: integer
  8830. sellUserID:
  8831. description: 卖方UserID
  8832. type: integer
  8833. trademode:
  8834. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8835. type: integer
  8836. videourls:
  8837. description: 介绍视频[多张用逗号分隔]
  8838. type: string
  8839. required:
  8840. - accountid
  8841. - buyorsell
  8842. - goodscode
  8843. - goodsid
  8844. - goodsname
  8845. - marketid
  8846. - orderid
  8847. - trademode
  8848. type: object
  8849. models.HsbyMarketGoodsDetail:
  8850. properties:
  8851. accountid:
  8852. description: 账户ID[报价币种]
  8853. type: integer
  8854. agreeunit:
  8855. description: 合约单位
  8856. type: number
  8857. buymaxqty:
  8858. description: 购买上限 [71] - 0为不限
  8859. type: integer
  8860. buyorsell:
  8861. description: 买卖 - 0:买 1:卖
  8862. type: integer
  8863. cancelqty:
  8864. description: 撤单数量
  8865. type: integer
  8866. categoryid:
  8867. description: 类别ID(WRCATEGORY)
  8868. type: integer
  8869. currency:
  8870. description: 货币
  8871. type: string
  8872. currencysign:
  8873. description: 货币符号
  8874. type: string
  8875. customername:
  8876. description: 卖家名称
  8877. type: string
  8878. decimalplace:
  8879. description: 报价小数位
  8880. type: integer
  8881. goodscode:
  8882. description: 商品代码(内部)
  8883. type: string
  8884. goodsdesc:
  8885. description: 商品详情
  8886. type: string
  8887. goodsid:
  8888. description: 商品ID
  8889. type: integer
  8890. goodsname:
  8891. description: 商品名称
  8892. type: string
  8893. goodsprice:
  8894. description: 商品价格
  8895. type: number
  8896. hotindex:
  8897. description: 景点热度
  8898. type: integer
  8899. lotsize:
  8900. description: 手数最小变动单位
  8901. type: integer
  8902. marketid:
  8903. description: 市场ID
  8904. type: integer
  8905. orderid:
  8906. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8907. type: string
  8908. orderprice:
  8909. description: 委托价格
  8910. type: number
  8911. orderqty:
  8912. description: 委托数量
  8913. type: integer
  8914. orderstatus:
  8915. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8916. type: integer
  8917. picurls:
  8918. description: 介绍图片[多张用逗号分隔]
  8919. type: string
  8920. quoteminunit:
  8921. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8922. type: integer
  8923. sellUserID:
  8924. description: 卖方UserID
  8925. type: integer
  8926. trademode:
  8927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8928. type: integer
  8929. tradeqty:
  8930. description: 成交数量
  8931. type: integer
  8932. vendorattr:
  8933. description: 供应商附件(多张,逗号分隔)
  8934. type: string
  8935. vendorname:
  8936. description: 供应商名称
  8937. type: string
  8938. vendorphone:
  8939. description: 供应商客服电话
  8940. type: string
  8941. videourls:
  8942. description: 介绍视频[多张用逗号分隔]
  8943. type: string
  8944. required:
  8945. - accountid
  8946. - buyorsell
  8947. - goodscode
  8948. - goodsid
  8949. - goodsname
  8950. - marketid
  8951. - orderid
  8952. - orderqty
  8953. - trademode
  8954. type: object
  8955. models.HsbyMarketInfo:
  8956. properties:
  8957. marketid:
  8958. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8959. type: integer
  8960. marketname:
  8961. description: 市场名称
  8962. type: string
  8963. marketstatus:
  8964. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8965. type: integer
  8966. trademode:
  8967. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8968. type: integer
  8969. required:
  8970. - marketid
  8971. - marketstatus
  8972. - trademode
  8973. type: object
  8974. models.HsbyMyGoods:
  8975. properties:
  8976. accountid:
  8977. description: 账号Id
  8978. type: integer
  8979. agreeunit:
  8980. description: 合约单位
  8981. type: number
  8982. buyaverageprice:
  8983. description: 持仓均价
  8984. type: number
  8985. buycurholderamount:
  8986. description: 买当前持仓总金额[商品币种]
  8987. type: number
  8988. buycurpositionqty:
  8989. description: 买当前持仓总数量
  8990. type: integer
  8991. buymaxqty:
  8992. description: 购买上限 [71] - 0为不限
  8993. type: integer
  8994. currencysign:
  8995. description: 货币符号
  8996. type: string
  8997. decimalplace:
  8998. description: 报价小数位
  8999. type: integer
  9000. enableqty:
  9001. description: 可用数量
  9002. type: integer
  9003. goodscode:
  9004. description: 商品代码(内部)
  9005. type: string
  9006. goodsid:
  9007. description: 商品Id
  9008. type: integer
  9009. goodsname:
  9010. description: 商品名称
  9011. type: string
  9012. goodsprice:
  9013. description: 商品价格
  9014. type: number
  9015. goodsstatus:
  9016. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9017. type: integer
  9018. last:
  9019. description: 现价(仅使用于挂牌点选)
  9020. type: number
  9021. limitdown:
  9022. description: 跌停价(仅使用于挂牌点选)
  9023. type: number
  9024. limitup:
  9025. description: 涨停价(仅使用于挂牌点选)
  9026. type: number
  9027. lotsize:
  9028. description: 手数最小变动单位
  9029. type: integer
  9030. marketid:
  9031. description: 所属市场ID
  9032. type: integer
  9033. picurls:
  9034. description: 介绍图片[多张用逗号分隔]
  9035. type: string
  9036. quoteminunit:
  9037. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9038. type: integer
  9039. stepvalue:
  9040. description: 价格最小变动单位
  9041. type: number
  9042. trademode:
  9043. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9044. type: integer
  9045. required:
  9046. - accountid
  9047. - goodscode
  9048. - goodsid
  9049. - goodsname
  9050. - marketid
  9051. - trademode
  9052. type: object
  9053. models.HsbyMyPackage:
  9054. properties:
  9055. accountid:
  9056. description: 账户ID
  9057. type: integer
  9058. address:
  9059. description: 提货人详细地址
  9060. type: string
  9061. agreeunit:
  9062. description: 合约单位
  9063. type: number
  9064. amount:
  9065. description: 提货金额
  9066. type: number
  9067. auditer:
  9068. description: 审核人
  9069. type: integer
  9070. audittime:
  9071. description: 审核时间
  9072. type: string
  9073. averageprice:
  9074. description: 均价
  9075. type: number
  9076. cardnum:
  9077. description: 提货人证件号码
  9078. type: string
  9079. cardtypeid:
  9080. description: 提货人证件类型
  9081. type: integer
  9082. checkremark:
  9083. description: 审核备注
  9084. type: string
  9085. currencysign:
  9086. description: 货币符号
  9087. type: string
  9088. decimalplace:
  9089. description: 报价小数位
  9090. type: integer
  9091. goodscode:
  9092. description: 商品代码(内部)
  9093. type: string
  9094. goodsid:
  9095. description: 商品ID
  9096. type: integer
  9097. goodsname:
  9098. description: 商品名称
  9099. type: string
  9100. handlestatus:
  9101. description: 处理状态
  9102. type: integer
  9103. marketid:
  9104. description: 市场ID
  9105. type: integer
  9106. phonenum:
  9107. description: 提货人联系方式
  9108. type: string
  9109. picurls:
  9110. description: 介绍图片[多张用逗号分隔]
  9111. type: string
  9112. qty:
  9113. description: 提货数量
  9114. type: number
  9115. recivername:
  9116. description: 提货人姓名
  9117. type: string
  9118. reqtime:
  9119. description: 更新时间
  9120. type: string
  9121. takemode:
  9122. description: 提货方式 - 2:自提 3:配送
  9123. type: integer
  9124. takeorderid:
  9125. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9126. type: string
  9127. takeorderstatus:
  9128. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9129. type: integer
  9130. takeremark:
  9131. description: 提货备注
  9132. type: string
  9133. tradedate:
  9134. description: 交易日(yyyyMMdd)
  9135. type: string
  9136. trademode:
  9137. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9138. type: integer
  9139. userid:
  9140. description: 用户ID
  9141. type: integer
  9142. vendorname:
  9143. description: 供应商名称
  9144. type: string
  9145. required:
  9146. - goodscode
  9147. - goodsname
  9148. - takeorderid
  9149. - trademode
  9150. type: object
  9151. models.HsbyPreGoods:
  9152. properties:
  9153. agreeunit:
  9154. description: 合约单位
  9155. type: number
  9156. currency:
  9157. description: 货币
  9158. type: string
  9159. currencysign:
  9160. description: 货币符号
  9161. type: string
  9162. decimalplace:
  9163. description: 报价小数位
  9164. type: integer
  9165. desccityid:
  9166. description: 目的地(市)
  9167. type: integer
  9168. descprovinceid:
  9169. description: 目的地(省)
  9170. type: integer
  9171. enableqty:
  9172. description: 剩余数量
  9173. type: integer
  9174. goodscode:
  9175. description: 商品代码(内部)
  9176. type: string
  9177. goodsid:
  9178. description: 商品ID(自增ID SEQ_GOODS)
  9179. type: integer
  9180. goodsname:
  9181. description: 商品名称
  9182. type: string
  9183. goodsstatus:
  9184. description: 商品状态- 2:未上市 3:上市
  9185. type: integer
  9186. lasttradedate:
  9187. description: 最后交易日期(状态:待退市)
  9188. type: string
  9189. listingdate:
  9190. description: 交易开始日期
  9191. type: string
  9192. marketid:
  9193. description: 所属市场ID
  9194. type: integer
  9195. picurls:
  9196. description: 介绍图片[多张用逗号分隔]
  9197. type: string
  9198. presaledqty:
  9199. description: 已预售量(预售结束时更新)
  9200. type: integer
  9201. presaleqty:
  9202. description: 预售数量
  9203. type: integer
  9204. quoteminunit:
  9205. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9206. type: integer
  9207. refprice:
  9208. description: 参考价格[一口价]
  9209. type: number
  9210. relatedgoodsid:
  9211. description: 关联交易合约ID
  9212. type: integer
  9213. trademode:
  9214. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9215. type: integer
  9216. videourls:
  9217. description: 介绍视频[多张用逗号分隔]
  9218. type: string
  9219. required:
  9220. - goodscode
  9221. - goodsid
  9222. - goodsname
  9223. - marketid
  9224. - trademode
  9225. type: object
  9226. models.HsbyPreGoodsDetail:
  9227. properties:
  9228. agreeunit:
  9229. description: 合约单位
  9230. type: number
  9231. buymaxqty:
  9232. description: 购买上限 [71] - 0为不限
  9233. type: integer
  9234. currency:
  9235. description: 货币
  9236. type: string
  9237. currencysign:
  9238. description: 货币符号
  9239. type: string
  9240. customername:
  9241. description: 发行单位
  9242. type: string
  9243. decimalplace:
  9244. description: 报价小数位
  9245. type: integer
  9246. desccityid:
  9247. description: 目的地(市)ID
  9248. type: integer
  9249. descprovinceid:
  9250. description: 目的地(省)ID
  9251. type: integer
  9252. enableqty:
  9253. description: 剩余数量
  9254. type: integer
  9255. goodscode:
  9256. description: 商品代码(内部)
  9257. type: string
  9258. goodsdesc:
  9259. description: 商品详情
  9260. type: string
  9261. goodsid:
  9262. description: 商品ID(自增ID SEQ_GOODS)
  9263. type: integer
  9264. goodsname:
  9265. description: 商品名称
  9266. type: string
  9267. goodsstatus:
  9268. description: 商品状态- 2:未上市 3:上市
  9269. type: integer
  9270. goodunit:
  9271. description: 报价单位
  9272. type: string
  9273. lasttradedate:
  9274. description: 最后交易日期(状态:待退市)
  9275. type: string
  9276. listingdate:
  9277. description: 交易开始日期
  9278. type: string
  9279. lotsize:
  9280. description: 手数最小变动单位
  9281. type: integer
  9282. marketid:
  9283. description: 所属市场ID
  9284. type: integer
  9285. picurls:
  9286. description: 介绍图片[多张用逗号分隔]
  9287. type: string
  9288. presaledqty:
  9289. description: 已预售量(预售结束时更新)
  9290. type: integer
  9291. presaleqty:
  9292. description: 预售数量
  9293. type: integer
  9294. quoteminunit:
  9295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9296. type: integer
  9297. refprice:
  9298. description: 参考价格[一口价]
  9299. type: number
  9300. relatedgoodsid:
  9301. description: 关联交易合约ID
  9302. type: integer
  9303. stepvalue:
  9304. description: 价格最小变动单位
  9305. type: number
  9306. trademode:
  9307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9308. type: integer
  9309. vendorattr:
  9310. description: 供应商附件(多张,逗号分隔)
  9311. type: string
  9312. vendorname:
  9313. description: 供应商名称
  9314. type: string
  9315. vendorphone:
  9316. description: 供应商客服电话
  9317. type: string
  9318. videourls:
  9319. description: 介绍视频[多张用逗号分隔]
  9320. type: string
  9321. required:
  9322. - goodscode
  9323. - goodsid
  9324. - goodsname
  9325. - marketid
  9326. - trademode
  9327. type: object
  9328. models.HsbySellCollectionOrder:
  9329. properties:
  9330. agreeunit:
  9331. description: 合约单位
  9332. type: number
  9333. buyaccountid:
  9334. description: 买方账号ID[报价币种]
  9335. type: integer
  9336. buyorderid:
  9337. description: 买方委托单号
  9338. type: string
  9339. createtime:
  9340. description: 创建时间
  9341. type: string
  9342. currencysign:
  9343. description: 货币符号
  9344. type: string
  9345. decimalplace:
  9346. description: 报价小数位
  9347. type: integer
  9348. goodscode:
  9349. description: 商品代码(内部)
  9350. type: string
  9351. goodsid:
  9352. description: 商品ID
  9353. type: integer
  9354. goodsname:
  9355. description: 商品名称
  9356. type: string
  9357. marketid:
  9358. description: 市场ID
  9359. type: integer
  9360. offamount:
  9361. description: 优惠金额
  9362. type: number
  9363. payamount:
  9364. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9365. type: number
  9366. payflag:
  9367. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9368. type: integer
  9369. paylimitedtime:
  9370. description: 支付期限
  9371. type: string
  9372. paytime:
  9373. description: 付款时间
  9374. type: string
  9375. picurls:
  9376. description: 商品介绍图片[多张用逗号分隔]
  9377. type: string
  9378. sellaccountid:
  9379. description: 卖方账号ID[报价币种]
  9380. type: integer
  9381. sellorderid:
  9382. description: 卖方委托单号
  9383. type: string
  9384. tradeamount:
  9385. description: 成交金额
  9386. type: number
  9387. tradecharge:
  9388. description: 成交手续费(买方)
  9389. type: number
  9390. tradedate:
  9391. description: 交易日(yyyyMMdd)
  9392. type: string
  9393. tradeid:
  9394. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9395. type: string
  9396. trademode:
  9397. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9398. type: integer
  9399. tradeprice:
  9400. description: 成交价格
  9401. type: number
  9402. tradeqty:
  9403. description: 成交数量
  9404. type: integer
  9405. required:
  9406. - goodscode
  9407. - goodsname
  9408. - tradeid
  9409. - trademode
  9410. type: object
  9411. models.HsbySellMyDetail:
  9412. properties:
  9413. accountid:
  9414. description: 账户ID[报价币种]
  9415. type: integer
  9416. agreeunit:
  9417. description: 合约单位
  9418. type: number
  9419. buyorsell:
  9420. description: 买卖 - 0:买 1:卖
  9421. type: integer
  9422. currencysign:
  9423. description: 货币符号
  9424. type: string
  9425. decimalplace:
  9426. description: 报价小数位
  9427. type: integer
  9428. goodscode:
  9429. description: 商品代码(内部)
  9430. type: string
  9431. goodsid:
  9432. description: 商品ID
  9433. type: integer
  9434. goodsname:
  9435. description: 商品名称
  9436. type: string
  9437. marketid:
  9438. description: 市场ID
  9439. type: integer
  9440. orderid:
  9441. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9442. type: string
  9443. ordertype:
  9444. description: 单据类型:0 - 发布中, 1 - 已完成
  9445. type: integer
  9446. picurls:
  9447. description: 介绍图片[多张用逗号分隔]
  9448. type: string
  9449. price:
  9450. description: 价格
  9451. type: number
  9452. qty:
  9453. description: 数量
  9454. type: integer
  9455. time:
  9456. description: 时间
  9457. type: string
  9458. trademode:
  9459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9460. type: integer
  9461. vendorname:
  9462. description: 供应商名称
  9463. type: string
  9464. required:
  9465. - accountid
  9466. - buyorsell
  9467. - goodscode
  9468. - goodsid
  9469. - goodsname
  9470. - marketid
  9471. - orderid
  9472. - time
  9473. - trademode
  9474. type: object
  9475. models.HsbyTopGoods:
  9476. properties:
  9477. agreeunit:
  9478. description: 合约单位
  9479. type: number
  9480. currency:
  9481. description: 货币
  9482. type: string
  9483. currencysign:
  9484. description: 货币符号
  9485. type: string
  9486. decimalplace:
  9487. description: 报价小数位
  9488. type: integer
  9489. desccityid:
  9490. description: 目的地(市)
  9491. type: integer
  9492. descprovinceid:
  9493. description: 目的地(省)
  9494. type: integer
  9495. goodscode:
  9496. description: 商品代码(内部)
  9497. type: string
  9498. goodsid:
  9499. description: 商品ID(自增ID SEQ_GOODS)
  9500. type: integer
  9501. goodsname:
  9502. description: 商品名称
  9503. type: string
  9504. hotindex:
  9505. description: 景点热度
  9506. type: integer
  9507. last:
  9508. description: 现价
  9509. type: number
  9510. marketid:
  9511. description: 所属市场ID
  9512. type: integer
  9513. picurls:
  9514. description: 介绍图片[多张用逗号分隔]
  9515. type: string
  9516. quoteminunit:
  9517. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9518. type: integer
  9519. trademode:
  9520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9521. type: integer
  9522. videourls:
  9523. description: 介绍视频[多张用逗号分隔]
  9524. type: string
  9525. required:
  9526. - goodscode
  9527. - goodsid
  9528. - goodsname
  9529. - marketid
  9530. - trademode
  9531. type: object
  9532. models.HybsMyBuyOrderDetail:
  9533. properties:
  9534. accountid:
  9535. description: 账户ID[报价币种]
  9536. type: integer
  9537. agreeunit:
  9538. description: 合约单位
  9539. type: number
  9540. buyorsell:
  9541. description: 买卖 - 0:买 1:卖
  9542. type: integer
  9543. cancelqty:
  9544. description: 撤单数量
  9545. type: integer
  9546. currencysign:
  9547. description: 货币符号
  9548. type: string
  9549. decimalplace:
  9550. description: 报价小数位
  9551. type: integer
  9552. goodscode:
  9553. description: 商品代码(内部)
  9554. type: string
  9555. goodsid:
  9556. description: 商品ID
  9557. type: integer
  9558. goodsname:
  9559. description: 商品名称
  9560. type: string
  9561. listingselecttype:
  9562. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9563. type: integer
  9564. marketid:
  9565. description: 市场ID
  9566. type: integer
  9567. mybuystatus:
  9568. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9569. type: integer
  9570. orderamount:
  9571. description: 委托金额
  9572. type: number
  9573. orderid:
  9574. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9575. type: string
  9576. orderprice:
  9577. description: 委托价格
  9578. type: number
  9579. orderqty:
  9580. description: 委托数量
  9581. type: integer
  9582. orderstatus:
  9583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9584. type: integer
  9585. ordertime:
  9586. description: 委托时间
  9587. type: string
  9588. picurls1:
  9589. description: 预售商品介绍图片[多张用逗号分隔]
  9590. type: string
  9591. picurls2:
  9592. description: 挂牌商品介绍图片[多张用逗号分隔]
  9593. type: string
  9594. trademode:
  9595. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9596. type: integer
  9597. tradeqty:
  9598. description: 成交数量
  9599. type: integer
  9600. vendorname1:
  9601. description: 预售商品供应商名称
  9602. type: string
  9603. vendorname2:
  9604. description: 挂牌商品供应商名称
  9605. type: string
  9606. required:
  9607. - accountid
  9608. - buyorsell
  9609. - goodscode
  9610. - goodsid
  9611. - goodsname
  9612. - marketid
  9613. - orderid
  9614. - orderqty
  9615. - ordertime
  9616. - trademode
  9617. type: object
  9618. models.Loginaccount:
  9619. properties:
  9620. accountname:
  9621. description: 账户名称
  9622. type: string
  9623. canoutin:
  9624. description: 是否可出入金 - 0:不可 1:可
  9625. type: integer
  9626. clientroleid:
  9627. description: 终端角色ID
  9628. type: integer
  9629. haslogined:
  9630. description: 是否已登录 - 0:未登录 1:已登录
  9631. type: integer
  9632. hasupdatedpwd:
  9633. description: 是否已更改密码 - 0:未修改 1:已修改
  9634. type: integer
  9635. lastloginip:
  9636. description: 最新登录地址
  9637. type: string
  9638. lastloginmode:
  9639. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9640. type: integer
  9641. lastloginremark:
  9642. description: 最新登录描述
  9643. type: string
  9644. lastlogintime:
  9645. description: 最新登录时间
  9646. type: string
  9647. logincode:
  9648. description: 登录代码
  9649. type: string
  9650. loginfailnum:
  9651. description: 连续登录失败次数(登录成功时清零)
  9652. type: integer
  9653. loginid:
  9654. description: 登陆账号
  9655. type: integer
  9656. loginport:
  9657. description: 最新登录端口
  9658. type: integer
  9659. loginstatus:
  9660. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9661. type: integer
  9662. loginusertype:
  9663. description: 登录账号类型 - 1:投资者 2:机构交易员
  9664. type: integer
  9665. mobile:
  9666. description: 手机号码(加密存储)
  9667. type: string
  9668. modifierid:
  9669. description: 修改人
  9670. type: integer
  9671. modifysrc:
  9672. description: 审核来源 - 1:管理端 2:终端
  9673. type: integer
  9674. modifytime:
  9675. description: 修改时间
  9676. type: string
  9677. password:
  9678. description: 登陆密码
  9679. type: string
  9680. pwdwrongcount:
  9681. description: 密码错误次数
  9682. type: integer
  9683. relateduserid:
  9684. description: 关联用户ID(机构)
  9685. type: integer
  9686. taaccountrighttype:
  9687. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9688. type: integer
  9689. unfreezetime:
  9690. description: 账户解冻时间
  9691. type: string
  9692. userid:
  9693. description: 用户ID
  9694. type: integer
  9695. required:
  9696. - loginid
  9697. type: object
  9698. models.MainAccountInfo:
  9699. properties:
  9700. accountid:
  9701. description: 账号id
  9702. type: integer
  9703. accountname:
  9704. description: 账号名称(taaccount表中的名称)
  9705. type: string
  9706. appid:
  9707. description: AppID
  9708. type: string
  9709. authcode:
  9710. description: 授权码
  9711. type: string
  9712. brokerid:
  9713. description: 经纪商id
  9714. type: string
  9715. fcid:
  9716. description: 期货公司id
  9717. type: integer
  9718. fcname:
  9719. description: 期货公司代码
  9720. type: string
  9721. hedgeaccountcode:
  9722. description: 外部账号代码(主账号登录代码)
  9723. type: string
  9724. hedgeaccountpwd:
  9725. description: 密码
  9726. type: string
  9727. ismain:
  9728. description: 是否主账号
  9729. type: integer
  9730. relateduserid:
  9731. description: 关联用户id
  9732. type: integer
  9733. userid:
  9734. description: 关联用户id
  9735. type: integer
  9736. type: object
  9737. models.Market:
  9738. properties:
  9739. auctionwrtype:
  9740. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9741. type: integer
  9742. canacceptquote:
  9743. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9744. type: integer
  9745. cangoodsexercise:
  9746. description: '[期权]是否可现货行权- 0:否 1:是'
  9747. type: integer
  9748. cangoodsexercisetype:
  9749. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9750. type: integer
  9751. canmanualquotestrike:
  9752. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9753. type: integer
  9754. canmutistage:
  9755. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9756. type: integer
  9757. canpreexercise:
  9758. description: '[期权]是否可预申报- 0:否 1:是'
  9759. type: integer
  9760. clearinterval:
  9761. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9762. type: integer
  9763. contracttmp:
  9764. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9765. type: string
  9766. exchareaid:
  9767. description: 所属交易所,可以没有
  9768. type: integer
  9769. goodstype:
  9770. description: 商品类型 - 1:交易商品 2:仓单商品
  9771. type: integer
  9772. hasrebate:
  9773. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9774. type: integer
  9775. hastradecredit:
  9776. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9777. type: integer
  9778. haswr:
  9779. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9780. type: integer
  9781. isdeductmargin:
  9782. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9783. type: integer
  9784. isrecordsource:
  9785. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9786. type: integer
  9787. isreleasemargin:
  9788. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9789. type: integer
  9790. marginformula:
  9791. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9792. type: integer
  9793. marginformula2:
  9794. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9795. type: integer
  9796. marketid:
  9797. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9798. type: integer
  9799. marketname:
  9800. description: 市场名称
  9801. type: string
  9802. marketserviceid:
  9803. description: 市场服务ID
  9804. type: integer
  9805. marketstatus:
  9806. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9807. type: integer
  9808. markettype:
  9809. description: 市场类型- 1:非交易服务 2:交易服务
  9810. type: integer
  9811. matchermode:
  9812. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9813. type: integer
  9814. openmethod:
  9815. description: 开盘模式 - 0 自动 1手动
  9816. type: integer
  9817. otcuserid:
  9818. description: 场外期权做市商[场外期权]
  9819. type: integer
  9820. outersynctime:
  9821. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9822. type: string
  9823. pendingflag:
  9824. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9825. type: integer
  9826. pendingtime:
  9827. description: 待开市时间[通道交易-对冲](HH:mm)
  9828. type: string
  9829. performancetempid:
  9830. description: 履约计划模板ID - 作废
  9831. type: integer
  9832. premiumquotemode:
  9833. description: 权利金报价方式 - 1:自动 2:手动
  9834. type: integer
  9835. rebateratio:
  9836. description: 返利比率[竞价式]
  9837. type: number
  9838. reckonorder:
  9839. description: 结算顺序
  9840. type: integer
  9841. reckonpricealgorithm:
  9842. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9843. type: integer
  9844. reckonpriceparam:
  9845. description: 结算价参数
  9846. type: integer
  9847. reckontime:
  9848. description: 结算时间[通道交易-对冲](HH:mm)
  9849. type: string
  9850. roleprioritytype:
  9851. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9852. type: integer
  9853. selllistingauditflag:
  9854. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9855. type: integer
  9856. trademarkettype:
  9857. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9858. type: integer
  9859. trademode:
  9860. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9861. type: integer
  9862. tradeproperty:
  9863. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9864. type: integer
  9865. tradetype:
  9866. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9867. type: integer
  9868. required:
  9869. - marketid
  9870. - marketstatus
  9871. - openmethod
  9872. - reckonpricealgorithm
  9873. - trademode
  9874. - tradeproperty
  9875. type: object
  9876. models.Marketrun:
  9877. properties:
  9878. afternexttradedate:
  9879. description: 下下交易日
  9880. type: string
  9881. clearquoteflag:
  9882. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9883. type: integer
  9884. lastreckondate:
  9885. description: 最新交易日(结算成功)
  9886. type: string
  9887. machinedate:
  9888. description: 机器时间
  9889. type: string
  9890. manualflag:
  9891. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9892. type: integer
  9893. marketid:
  9894. description: 市场ID
  9895. type: integer
  9896. nexttradedate:
  9897. description: 下一交易日
  9898. type: string
  9899. pretradedate:
  9900. description: 上一交易日
  9901. type: string
  9902. reckonflag:
  9903. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9904. type: integer
  9905. runstatus:
  9906. 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.今日免清算
  9907. type: integer
  9908. sectionid:
  9909. description: 时间段号[多时段时用]
  9910. type: integer
  9911. tradedate:
  9912. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9913. type: string
  9914. tradedate2:
  9915. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9916. type: string
  9917. updatetime:
  9918. description: 更新时间
  9919. type: string
  9920. required:
  9921. - marketid
  9922. - nexttradedate
  9923. - reckonflag
  9924. - runstatus
  9925. - tradedate
  9926. - tradedate2
  9927. type: object
  9928. models.Messageboard:
  9929. properties:
  9930. contactnum:
  9931. description: 联系电话
  9932. type: string
  9933. createtime:
  9934. description: 创建时间
  9935. type: string
  9936. message:
  9937. description: 留言信息
  9938. type: string
  9939. messageboardid:
  9940. description: 留言簿ID(SEQ_MessageBoard)
  9941. type: integer
  9942. userid:
  9943. description: 用户ID
  9944. type: integer
  9945. required:
  9946. - messageboardid
  9947. type: object
  9948. models.MyCoupon:
  9949. properties:
  9950. accountid:
  9951. description: 资金账户ID
  9952. type: integer
  9953. areauserid:
  9954. description: 所属机构
  9955. type: integer
  9956. conditionvalue:
  9957. description: 条件阈值(可为0)
  9958. type: number
  9959. couponcategroy:
  9960. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9961. type: integer
  9962. couponname:
  9963. description: 优惠券名称
  9964. type: string
  9965. coupontypeid:
  9966. description: 优惠券类型ID
  9967. type: string
  9968. couponvalue:
  9969. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9970. type: number
  9971. curfreezeqty:
  9972. description: 期末冻结数量
  9973. type: integer
  9974. curqty:
  9975. description: 期末数量
  9976. type: integer
  9977. isgeneral:
  9978. description: 是否通用券 - 0:否 1:是
  9979. type: integer
  9980. isunusable:
  9981. description: 是否不可用
  9982. type: boolean
  9983. limitedflag:
  9984. description: 是否指定商品 - 0:不限 1:限制
  9985. type: integer
  9986. limitedgoodsids:
  9987. description: 指定商品IDs[逗号分隔,前后加逗号]
  9988. type: string
  9989. orifreezeqty:
  9990. description: 期初冻结数量
  9991. type: integer
  9992. oriqty:
  9993. description: 期初数量
  9994. type: integer
  9995. reasontype:
  9996. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9997. type: integer
  9998. todaydecrease:
  9999. description: 今日减少
  10000. type: integer
  10001. todayincrease:
  10002. description: 今日增加
  10003. type: integer
  10004. userid:
  10005. description: 用户ID
  10006. type: integer
  10007. userscope:
  10008. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10009. type: string
  10010. required:
  10011. - accountid
  10012. - coupontypeid
  10013. type: object
  10014. models.MyCouponHold:
  10015. properties:
  10016. accountid:
  10017. description: 资金账户ID
  10018. type: integer
  10019. conditionvalue:
  10020. description: 条件阈值(可为0)
  10021. type: number
  10022. couponcategroy:
  10023. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10024. type: integer
  10025. couponholdid:
  10026. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10027. type: string
  10028. couponname:
  10029. description: 优惠券名称
  10030. type: string
  10031. coupontypeid:
  10032. description: 优惠券类型ID - SEQ_COUPONTYPE
  10033. type: string
  10034. couponvalue:
  10035. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10036. type: number
  10037. createtime:
  10038. description: 创建时间
  10039. type: string
  10040. enddate:
  10041. description: 结束日期
  10042. type: string
  10043. giveapplyid:
  10044. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10045. type: integer
  10046. holdstatus:
  10047. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10048. type: integer
  10049. isgeneral:
  10050. description: 是否通用券 - 0:否 1:是
  10051. type: integer
  10052. limitedflag:
  10053. description: 是否指定商品 - 0:不限 1:限制
  10054. type: integer
  10055. limitedgoodsids:
  10056. description: 指定商品IDs[逗号分隔]
  10057. type: string
  10058. qty:
  10059. description: 数量(按1平铺)
  10060. type: integer
  10061. startdate:
  10062. description: 开始日期
  10063. type: string
  10064. userid:
  10065. description: 用户ID
  10066. type: integer
  10067. userscope:
  10068. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10069. type: string
  10070. required:
  10071. - couponholdid
  10072. type: object
  10073. models.MyUsedCoupon:
  10074. properties:
  10075. accountid:
  10076. description: 资金账户ID(买方)
  10077. type: integer
  10078. conditionvalue:
  10079. description: 条件阈值(可为0)
  10080. type: number
  10081. couponcategroy:
  10082. description: 种类 - 1:现金券 2:折扣券
  10083. type: integer
  10084. couponname:
  10085. description: 优惠券名称
  10086. type: string
  10087. coupontypeid:
  10088. description: 优惠券类型ID(买方)
  10089. type: string
  10090. couponvalue:
  10091. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10092. type: number
  10093. createtime:
  10094. description: 创建时间
  10095. type: string
  10096. goodsid:
  10097. description: 商品ID
  10098. type: integer
  10099. handlestatus:
  10100. description: 处理状态
  10101. type: integer
  10102. marketid:
  10103. description: 市场ID
  10104. type: integer
  10105. offamount:
  10106. description: 优惠金额
  10107. type: number
  10108. orderid:
  10109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10110. type: string
  10111. sellaccountid:
  10112. description: 资金账户ID(卖方)
  10113. type: integer
  10114. tradeamount:
  10115. description: 成交金额
  10116. type: number
  10117. tradeid:
  10118. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10119. type: string
  10120. usedqty:
  10121. description: 使用数量
  10122. type: integer
  10123. required:
  10124. - coupontypeid
  10125. - orderid
  10126. type: object
  10127. models.OperationPrimaryMenu:
  10128. properties:
  10129. Children:
  10130. description: 二级功能菜单
  10131. items:
  10132. $ref: '#/definitions/models.OperationSecondaryMenu'
  10133. type: array
  10134. Key:
  10135. description: 菜单KEY
  10136. type: string
  10137. Label:
  10138. description: 菜单标题
  10139. type: string
  10140. type: object
  10141. models.OperationSecondaryMenu:
  10142. properties:
  10143. Key:
  10144. description: 菜单KEY
  10145. type: string
  10146. Label:
  10147. description: 菜单标题
  10148. type: string
  10149. TabList:
  10150. description: 三级功能菜单
  10151. items:
  10152. $ref: '#/definitions/models.OperationTabMenu'
  10153. type: array
  10154. type: object
  10155. models.OperationTabMenu:
  10156. properties:
  10157. Key:
  10158. description: 菜单KEY
  10159. type: string
  10160. Label:
  10161. description: 菜单标题
  10162. type: string
  10163. type: object
  10164. models.QhjAccountOutInApply:
  10165. properties:
  10166. accountcode:
  10167. description: 资金账号
  10168. type: string
  10169. accountname:
  10170. description: 用户名称(名称)
  10171. type: string
  10172. accountpwd:
  10173. description: 资金密码
  10174. type: string
  10175. accountticket:
  10176. description: 最新账户服务流水号
  10177. type: string
  10178. amount:
  10179. description: 金额
  10180. type: number
  10181. applyremark:
  10182. description: 申请备注
  10183. type: string
  10184. applystatus:
  10185. 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: 复审通过,账户冻结金额检查中;'
  10186. type: integer
  10187. auditid:
  10188. description: 审核人
  10189. type: integer
  10190. audittime:
  10191. description: 审核时间
  10192. type: string
  10193. bank_apply_ticket:
  10194. description: 银行申请流水
  10195. type: string
  10196. bankaccountname:
  10197. description: 银行账户名
  10198. type: string
  10199. bankaccountno:
  10200. description: 银行卡号
  10201. type: string
  10202. bankid:
  10203. description: 银行编号
  10204. type: string
  10205. bankticket:
  10206. description: 银行流水
  10207. type: string
  10208. branchbankid:
  10209. description: 银行支行号
  10210. type: string
  10211. branchbankname:
  10212. description: 银行支行名称
  10213. type: string
  10214. capamountout:
  10215. description: 出金(劣后本金) - 外部子账户
  10216. type: number
  10217. certificatephotourl:
  10218. description: 凭证地址
  10219. type: string
  10220. charge:
  10221. description: 手续费
  10222. type: number
  10223. checkerrorflag:
  10224. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10225. type: integer
  10226. currency:
  10227. description: 币种
  10228. type: string
  10229. cusbankid:
  10230. description: 托管银行编号
  10231. type: string
  10232. exchticket:
  10233. description: 银行服务流水号
  10234. type: string
  10235. executetype:
  10236. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10237. type: integer
  10238. extendinfo:
  10239. description: 扩展信息
  10240. type: string
  10241. extoperateid:
  10242. description: 交易服务流水号
  10243. type: integer
  10244. infamount:
  10245. description: 劣后金额(自有)
  10246. type: number
  10247. logincode:
  10248. description: 登录账号(账号)
  10249. type: string
  10250. netaddr:
  10251. description: 调转网址
  10252. type: string
  10253. priamount:
  10254. description: 优先金额(授信)
  10255. type: number
  10256. reauditid:
  10257. description: 复审人
  10258. type: integer
  10259. reauditremark:
  10260. description: 复审备注
  10261. type: string
  10262. reaudittime:
  10263. description: 复审时间
  10264. type: string
  10265. relatedorderid:
  10266. description: 三方关联ID
  10267. type: string
  10268. remark:
  10269. description: 备注
  10270. type: string
  10271. remark2:
  10272. description: 备注(失败原因)
  10273. type: string
  10274. soucreamount:
  10275. description: 原始出入金金额
  10276. type: number
  10277. soucrecurrencyid:
  10278. description: 原始出入金币种
  10279. type: integer
  10280. tradedate:
  10281. description: 交易日(yyyyMMdd)
  10282. type: string
  10283. updatetime:
  10284. description: 更新时间(申请时间)
  10285. type: string
  10286. userid:
  10287. description: 用户id
  10288. type: integer
  10289. userinfotype:
  10290. description: 账户类型 1-个人 2-企业
  10291. type: integer
  10292. type: object
  10293. models.QhjAgreementChangeLog:
  10294. properties:
  10295. agreementcontent:
  10296. description: 协议内容
  10297. type: string
  10298. agreementfrequency:
  10299. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10300. type: integer
  10301. agreementid:
  10302. description: 协议ID
  10303. type: integer
  10304. agreementname:
  10305. description: 协议名称
  10306. type: string
  10307. agreementno:
  10308. description: 协议编号
  10309. type: string
  10310. agreementtype:
  10311. description: 协议类型 - 1:注册 2:登录 3:交易
  10312. type: integer
  10313. agreementversion:
  10314. description: 协议版本号
  10315. type: integer
  10316. logid:
  10317. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10318. type: integer
  10319. reviserid:
  10320. description: 修改人
  10321. type: integer
  10322. revisersrc:
  10323. description: 修改来源 - 1:管理端 2:终端
  10324. type: integer
  10325. updatetime:
  10326. description: 更新时间
  10327. type: string
  10328. type: object
  10329. models.QhjAgreementConfig:
  10330. properties:
  10331. agreementcontent:
  10332. description: 协议内容
  10333. type: string
  10334. agreementfrequency:
  10335. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10336. type: integer
  10337. agreementid:
  10338. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10339. type: integer
  10340. agreementname:
  10341. description: 协议名称
  10342. type: string
  10343. agreementno:
  10344. description: 协议编号
  10345. type: string
  10346. agreementtype:
  10347. description: 协议类型 - 1:注册 2:登录 3:交易
  10348. type: integer
  10349. agreementversion:
  10350. description: 协议版本号(从1开始每次修改加1)
  10351. type: integer
  10352. createtime:
  10353. description: 创建时间
  10354. type: string
  10355. creatorid:
  10356. description: 创建人
  10357. type: integer
  10358. creatorsrc:
  10359. description: 创建来源 - 1:管理端 2:终端
  10360. type: integer
  10361. isvalid:
  10362. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10363. type: integer
  10364. reviserid:
  10365. description: 修改人
  10366. type: integer
  10367. revisersrc:
  10368. description: 修改来源 - 1:管理端 2:终端
  10369. type: integer
  10370. updatetime:
  10371. description: 更新时间
  10372. type: string
  10373. type: object
  10374. models.QhjAreaFinanceConfig:
  10375. properties:
  10376. additionalratio:
  10377. description: 追加款比例
  10378. type: number
  10379. advanceratio:
  10380. description: 预付款比例
  10381. type: number
  10382. alarmratio:
  10383. description: 告警比例
  10384. type: number
  10385. consumptiondirectreward:
  10386. description: 消费直推奖励值
  10387. type: number
  10388. consumptionenabled:
  10389. description: 是否启用消费奖励 - 0:不启用 1:启用
  10390. type: integer
  10391. consumptionindirectreward:
  10392. description: 消费间推奖励值
  10393. type: number
  10394. consumptionmodel:
  10395. description: 消费奖励方式 - 1:比率 2:固定
  10396. type: integer
  10397. customerservicenum:
  10398. description: 客服电话
  10399. type: string
  10400. dayinterestrate:
  10401. description: 日利率
  10402. type: number
  10403. disableconsumptiontips:
  10404. description: 关闭消费奖励提示
  10405. type: string
  10406. modifierid:
  10407. description: 修改人ID
  10408. type: integer
  10409. modifysrc:
  10410. description: 审核来源 - 1:管理端 2:终端
  10411. type: integer
  10412. modifytime:
  10413. description: 修改时间
  10414. type: string
  10415. promotionvalue:
  10416. description: 推广奖励值(固定)
  10417. type: number
  10418. scoreconfigvalue1:
  10419. description: 提货积分配置1
  10420. type: integer
  10421. scoreconfigvalue2:
  10422. description: 提货积分配置2
  10423. type: integer
  10424. userid:
  10425. description: 机构用户ID其他做市关系,都设置为 1
  10426. type: integer
  10427. username:
  10428. description: 用户名称
  10429. type: string
  10430. type: object
  10431. models.QhjBankAccountSign:
  10432. properties:
  10433. accountcode:
  10434. description: 资金账号
  10435. type: string
  10436. accountname:
  10437. description: 资金账号对应的账号名(UserName)
  10438. type: string
  10439. accountname2:
  10440. description: 资金账号对应的账号名(UserName) - 密文
  10441. type: string
  10442. accounttype:
  10443. description: 账户类型(UserType)
  10444. type: integer
  10445. applicationtime:
  10446. description: 最后一次更新的时间
  10447. type: string
  10448. applyexchticket:
  10449. description: 申请流水
  10450. type: string
  10451. auditid:
  10452. description: 审核人
  10453. type: integer
  10454. audittime:
  10455. description: 审核时间
  10456. type: string
  10457. bankaccountname:
  10458. description: 签约银行卡账号名
  10459. type: string
  10460. bankaccountname2:
  10461. description: 签约银行卡账号名 - 密文
  10462. type: string
  10463. bankaccountno:
  10464. description: 银行卡号
  10465. type: string
  10466. bankaccountno2:
  10467. description: 银行卡号 - 密文
  10468. type: string
  10469. bankaccounttype:
  10470. description: 银行账户类型 - 1-对私; 2-对公
  10471. type: integer
  10472. bankcardtype:
  10473. description: 银行卡类型
  10474. type: integer
  10475. bankchildaccount:
  10476. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10477. type: string
  10478. bankcity:
  10479. description: 开户行城市
  10480. type: string
  10481. bankid:
  10482. description: 签约银行ID
  10483. type: string
  10484. bankname:
  10485. description: 签约银行名称
  10486. type: string
  10487. bankprovince:
  10488. description: 开户行省份
  10489. type: string
  10490. branchbankid:
  10491. description: 签约银行支行号
  10492. type: string
  10493. branchbankname:
  10494. description: 签约银行支行名称
  10495. type: string
  10496. cardno:
  10497. description: 证件号码
  10498. type: string
  10499. cardno2:
  10500. description: 证件号码 - 密文
  10501. type: string
  10502. cardtype:
  10503. description: 证件类型
  10504. type: string
  10505. currency:
  10506. description: 币种
  10507. type: string
  10508. cusbankid:
  10509. description: 托管银行编号
  10510. type: string
  10511. direct:
  10512. description: 方向(可以判断那方先发起的签约)
  10513. type: integer
  10514. exchticket:
  10515. description: 最后一次签约成功的流水号
  10516. type: string
  10517. extendinfo:
  10518. description: 扩展信息(JSON字符串)
  10519. type: string
  10520. mobilephone:
  10521. description: 手机号
  10522. type: string
  10523. mobilephone2:
  10524. description: 手机号 - 密文
  10525. type: string
  10526. netaddr:
  10527. description: 调转网址
  10528. type: string
  10529. relateduserid:
  10530. description: 关联使用者userid
  10531. type: integer
  10532. signstatus:
  10533. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10534. type: integer
  10535. updatetime:
  10536. description: 更新时间(签解约更新时间)
  10537. type: string
  10538. type: object
  10539. models.QhjBankInfo:
  10540. properties:
  10541. bankid:
  10542. description: 银行ID
  10543. type: string
  10544. bankname:
  10545. description: 银行名称
  10546. type: string
  10547. clearbankno:
  10548. description: 清算系统银行编号
  10549. type: string
  10550. orderindex:
  10551. description: 排序顺序
  10552. type: integer
  10553. status:
  10554. description: 状态 - 0:正常 1:注销
  10555. type: integer
  10556. type: object
  10557. models.QhjBrokerApply:
  10558. properties:
  10559. applicantid:
  10560. description: 申请人
  10561. type: integer
  10562. applysrc:
  10563. description: 申请来源 - 1:管理端 2:终端
  10564. type: integer
  10565. applystatus:
  10566. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10567. type: integer
  10568. applytime:
  10569. description: 申请时间
  10570. type: string
  10571. auditorid:
  10572. description: 审核人
  10573. type: integer
  10574. auditremark:
  10575. description: 审核备注
  10576. type: string
  10577. auditsrc:
  10578. description: 审核来源 - 1:管理端 2:终端
  10579. type: integer
  10580. audittime:
  10581. description: 审核时间
  10582. type: string
  10583. audittradedate:
  10584. description: 审核交易日(yyyyMMdd)
  10585. type: string
  10586. brokerapplyid:
  10587. description: 申请ID(SEQ_BROKERAPPLY)
  10588. type: integer
  10589. cardbackphotourl:
  10590. description: 证件背面图片地址
  10591. type: string
  10592. cardfrontphotourl:
  10593. description: 证件正面图片地址
  10594. type: string
  10595. cardnum:
  10596. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10597. type: string
  10598. customername:
  10599. description: 姓名
  10600. type: string
  10601. logincode:
  10602. description: 登录代码
  10603. type: string
  10604. mobile:
  10605. description: 手机号码
  10606. type: string
  10607. parentuserid:
  10608. description: 所属机构id
  10609. type: integer
  10610. parentusername:
  10611. description: 所属机构名称
  10612. type: string
  10613. refereeuserid:
  10614. description: 推荐人id(经纪人)
  10615. type: integer
  10616. refernum:
  10617. description: 推荐码
  10618. type: string
  10619. remark:
  10620. description: 备注
  10621. type: string
  10622. subarealevelpath:
  10623. description: 层级路径
  10624. type: string
  10625. tradedate:
  10626. description: 交易日(yyyyMMdd)
  10627. type: string
  10628. userid:
  10629. description: 申请人用户ID
  10630. type: integer
  10631. userinfotype:
  10632. description: 用户类型 1-个人 2-企业
  10633. type: integer
  10634. username:
  10635. description: 用户名称
  10636. type: string
  10637. type: object
  10638. models.QhjBrokerApplyEx:
  10639. properties:
  10640. applylist:
  10641. description: 经纪人申请记录(只返回最新一条)
  10642. items:
  10643. $ref: '#/definitions/models.QhjBrokerApply'
  10644. type: array
  10645. canrecommend:
  10646. description: 是否经纪人 0-不是 1-是
  10647. type: integer
  10648. refernum:
  10649. description: 推荐码
  10650. type: string
  10651. userid:
  10652. description: 用户id
  10653. type: integer
  10654. userinfotype:
  10655. description: 用户类型 1-个人 2-企业
  10656. type: integer
  10657. type: object
  10658. models.QhjBrokerRewardLog:
  10659. properties:
  10660. accountid:
  10661. description: 资金账号ID
  10662. type: integer
  10663. createtime:
  10664. description: 创建时间(时间)
  10665. type: string
  10666. handlestatus:
  10667. description: 处理状态
  10668. type: integer
  10669. logid:
  10670. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10671. type: string
  10672. marketid:
  10673. description: 市场ID
  10674. type: integer
  10675. mmaccountid:
  10676. description: 做市商资金账号ID
  10677. type: string
  10678. mmuserid:
  10679. description: 做市商用户ID
  10680. type: string
  10681. rewardamount:
  10682. description: 奖励金额
  10683. type: number
  10684. rewardmodel:
  10685. description: 消费奖励方式 - 1:比率 2:固定
  10686. type: integer
  10687. rewardtype:
  10688. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10689. type: integer
  10690. rewardvalue:
  10691. description: 配置奖励值
  10692. type: number
  10693. srcamount:
  10694. description: 成交金额 [消费奖励] (金额)
  10695. type: number
  10696. srcgoodsid:
  10697. description: 来源商品ID [消费奖励]
  10698. type: string
  10699. srctime:
  10700. description: 来源时间 (成交时间) [消费奖励]
  10701. type: string
  10702. srctradeid:
  10703. description: 来源成交单ID [消费奖励] - 排除提货成交
  10704. type: string
  10705. srcuserid:
  10706. description: 来源用户ID(推广账户)
  10707. type: string
  10708. srcusername:
  10709. description: 推广账户名称
  10710. type: string
  10711. tradedate:
  10712. description: 交易日(yyyyMMdd)
  10713. type: string
  10714. userid:
  10715. description: 经纪人用户ID
  10716. type: integer
  10717. type: object
  10718. models.QhjContract:
  10719. properties:
  10720. contractconfirmtime:
  10721. description: 合同确认时间(时间)
  10722. type: string
  10723. currisklevel:
  10724. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10725. type: integer
  10726. decimalplace:
  10727. description: 商品报价小数位
  10728. type: integer
  10729. enumdicname:
  10730. description: 单位名称
  10731. type: string
  10732. goodscode:
  10733. description: 商品代码
  10734. type: string
  10735. goodsid:
  10736. description: 商品ID [5:融资单]
  10737. type: integer
  10738. goodsname:
  10739. description: 商品名称
  10740. type: string
  10741. goodunitid:
  10742. description: 商品单位id
  10743. type: integer
  10744. initmargin:
  10745. description: 初始保证金(首付款)
  10746. type: number
  10747. lenderamount:
  10748. description: 贷款金额(总额|订单总额)
  10749. type: number
  10750. marginratio:
  10751. description: 保证金比率(首付比例)
  10752. type: number
  10753. payamount:
  10754. description: 已付(已付货款)
  10755. type: number
  10756. reckonrecovermargin:
  10757. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10758. type: number
  10759. recoveredmargin:
  10760. description: 已追缴保证金
  10761. type: number
  10762. remainamount:
  10763. description: 合同剩余金额(融资额)
  10764. type: number
  10765. scfcontractid:
  10766. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10767. type: string
  10768. scfcontractstatus:
  10769. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10770. type: integer
  10771. scfcontracttype:
  10772. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10773. type: integer
  10774. totalinterest:
  10775. description: 已计总利息(利息)
  10776. type: number
  10777. tradeprice:
  10778. description: 成交价格(成本价格)
  10779. type: number
  10780. userid:
  10781. description: 用户ID
  10782. type: integer
  10783. username:
  10784. description: 用户名称
  10785. type: string
  10786. wrqty:
  10787. description: 仓单数量(数量)
  10788. type: number
  10789. type: object
  10790. models.QhjContractLog:
  10791. properties:
  10792. amount:
  10793. description: 支付金额
  10794. type: number
  10795. amounttype:
  10796. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10797. type: integer
  10798. logid:
  10799. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10800. type: string
  10801. remainamount:
  10802. description: 剩余货款
  10803. type: number
  10804. scfcontractid:
  10805. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10806. type: integer
  10807. updatetime:
  10808. description: 更新时间
  10809. type: string
  10810. type: object
  10811. models.QhjCusBankSignBankEx:
  10812. properties:
  10813. banklst:
  10814. description: 银行列表
  10815. items:
  10816. $ref: '#/definitions/models.QhjBankInfo'
  10817. type: array
  10818. canallot:
  10819. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10820. type: integer
  10821. canallotquery:
  10822. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10823. type: integer
  10824. canbindcard:
  10825. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10826. type: integer
  10827. caninamount:
  10828. description: 是否可入金 - 0:不可 1:可以
  10829. type: integer
  10830. caninamount2:
  10831. description: 是否可入金(网银端) - 0:不可 1:可以
  10832. type: integer
  10833. canmodifybankcard:
  10834. description: 是否可修改银行卡号 - 0:不可 1:可以
  10835. type: integer
  10836. canmodifyphone:
  10837. description: 是否可修改手机号 - 0:不可 1:可以
  10838. type: integer
  10839. canmodifysigninfo:
  10840. description: 是否可修改签约信息 - 0:不可 1:可以
  10841. type: integer
  10842. canoutamount:
  10843. description: 是否可出金 - 0:不可 1:可以
  10844. type: integer
  10845. canoutamount2:
  10846. description: 是否可出金(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. canrelease:
  10849. description: 是否可解约 - 0:不可 1:可以
  10850. type: integer
  10851. canrelease2:
  10852. description: 是否可解约(网银端) - 0:不可 1:可以
  10853. type: integer
  10854. cansign:
  10855. description: 是否可签约 - 0:不可 1:可以
  10856. type: integer
  10857. cansign2:
  10858. description: 是否可签约(网银端) - 0:不可 1:可以
  10859. type: integer
  10860. currency:
  10861. description: 币种
  10862. type: string
  10863. cusbankid:
  10864. description: 托管银行编号(对应清算中心TRAN_NO)
  10865. type: string
  10866. cusbankname:
  10867. description: 银行业务名称
  10868. type: string
  10869. cusbankshortname:
  10870. description: 银行业务简称
  10871. type: string
  10872. exchbankid:
  10873. description: 交易所开户银行ID
  10874. type: string
  10875. exchpaybankaccname:
  10876. description: 交易所支出结算账户户名
  10877. type: string
  10878. exchpaybankaccno:
  10879. description: 交易所支出结算账户
  10880. type: string
  10881. isneedcheck:
  10882. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10883. type: integer
  10884. isneedclear:
  10885. description: 是否需要清算 - 0:不需要 1:需要
  10886. type: integer
  10887. lastcheckstatus:
  10888. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10889. type: integer
  10890. lastchecktime:
  10891. description: 最后对账时间
  10892. type: string
  10893. lastclearstatus:
  10894. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10895. type: integer
  10896. lastcleartime:
  10897. description: 最后清算时间
  10898. type: string
  10899. lastsignintime:
  10900. description: 最后签到时间
  10901. type: string
  10902. lastsignouttime:
  10903. description: 最后签退时间
  10904. type: string
  10905. riskinfo:
  10906. description: 签约风险提示书
  10907. type: string
  10908. signstatus:
  10909. description: 当前签到/签退状态 - 1:签到 2:签退
  10910. type: integer
  10911. tradedate:
  10912. description: 交易日(yyyyMMdd)
  10913. type: string
  10914. updatetime:
  10915. description: 当前签到/签退更新时间
  10916. type: string
  10917. type: object
  10918. models.QhjCustomer:
  10919. properties:
  10920. address:
  10921. description: 通讯地址
  10922. type: string
  10923. attachment1:
  10924. description: 附件1
  10925. type: string
  10926. attachment2:
  10927. description: 附件2
  10928. type: string
  10929. audittime:
  10930. description: 审核时间
  10931. type: string
  10932. cardbackphotourl:
  10933. description: 证件反面图片地址
  10934. type: string
  10935. cardfrontphotourl:
  10936. description: 证件正面图片地址
  10937. type: string
  10938. cardnum:
  10939. description: 证件号码
  10940. type: string
  10941. cardtype:
  10942. description: 证件类型
  10943. type: integer
  10944. cardtypename:
  10945. description: 证件类型名称
  10946. type: string
  10947. cityid:
  10948. description: 市
  10949. type: integer
  10950. cityname:
  10951. description: 城市名称
  10952. type: string
  10953. contactname:
  10954. description: 联系人
  10955. type: string
  10956. countryid:
  10957. description: 国家
  10958. type: integer
  10959. countryname:
  10960. description: 国家名称
  10961. type: string
  10962. createtime:
  10963. description: 创建时间
  10964. type: string
  10965. customername:
  10966. description: 客户名称
  10967. type: string
  10968. districtid:
  10969. description: 区域
  10970. type: integer
  10971. districtname:
  10972. description: 地区名称
  10973. type: string
  10974. email:
  10975. description: 邮件
  10976. type: string
  10977. legalpersonname:
  10978. description: 法人姓名(企业)
  10979. type: string
  10980. logincode:
  10981. description: 登录账号(代码)
  10982. type: string
  10983. memberuserid:
  10984. description: 所属机构ID(所属会员)
  10985. type: integer
  10986. memberusername:
  10987. description: 所属会员名称
  10988. type: string
  10989. mobile:
  10990. description: 手机号码
  10991. type: string
  10992. modifytime:
  10993. description: 修改时间
  10994. type: string
  10995. nickname:
  10996. description: 昵称
  10997. type: string
  10998. parentuserid:
  10999. description: 上级机构(所属机构)
  11000. type: integer
  11001. parentusername:
  11002. description: 所属机构名称
  11003. type: string
  11004. provinceid:
  11005. description: 省
  11006. type: integer
  11007. provincename:
  11008. description: 省名称
  11009. type: string
  11010. proxystatementurl:
  11011. description: 授权委托书
  11012. type: string
  11013. remark:
  11014. description: 备注
  11015. type: string
  11016. status:
  11017. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11018. type: integer
  11019. statusdesc:
  11020. description: 账户状态中文描述
  11021. type: string
  11022. taxpayernum:
  11023. description: 纳税人识别号
  11024. type: string
  11025. telphone:
  11026. description: 联系电话
  11027. type: string
  11028. userid:
  11029. description: 用户ID
  11030. type: integer
  11031. userinfotype:
  11032. description: 客户类型 1-个人 2-企业
  11033. type: integer
  11034. username:
  11035. description: 用户名称
  11036. type: string
  11037. type: object
  11038. models.QhjCustomerSignLog:
  11039. properties:
  11040. agreementcontent:
  11041. description: 协议内容
  11042. type: string
  11043. agreementid:
  11044. description: 协议ID
  11045. type: integer
  11046. agreementname:
  11047. description: 协议名称
  11048. type: string
  11049. agreementno:
  11050. description: 协议编号
  11051. type: string
  11052. agreementtype:
  11053. description: 协议类型 - 1:注册 2:登录 3:交易
  11054. type: integer
  11055. agreementversion:
  11056. description: 协议版本号
  11057. type: integer
  11058. createtime:
  11059. description: 创建时间
  11060. type: string
  11061. goodscode:
  11062. description: 商品代码
  11063. type: string
  11064. goodsid:
  11065. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11066. type: integer
  11067. goodsname:
  11068. description: 商品名称
  11069. type: string
  11070. logid:
  11071. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11072. type: integer
  11073. nodetype:
  11074. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11075. type: integer
  11076. signadressurl:
  11077. description: 签约文件地址
  11078. type: string
  11079. signtimestamp:
  11080. description: 签约状态时间戳
  11081. type: string
  11082. userid:
  11083. description: 客户ID
  11084. type: integer
  11085. username:
  11086. description: 客户名称
  11087. type: string
  11088. type: object
  11089. models.QhjCustomerSignStatus:
  11090. properties:
  11091. createtime:
  11092. description: 创建时间
  11093. type: string
  11094. goodscode:
  11095. description: 商品代码
  11096. type: string
  11097. goodsid:
  11098. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11099. type: integer
  11100. goodsname:
  11101. description: 商品名称
  11102. type: string
  11103. nodetype:
  11104. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11105. type: integer
  11106. signtimestamp:
  11107. description: 签约状态时间戳
  11108. type: string
  11109. tradedate:
  11110. description: 创建交易日(yyyyMMdd)
  11111. type: string
  11112. updatetime:
  11113. description: 更新时间
  11114. type: string
  11115. userid:
  11116. description: 客户ID
  11117. type: integer
  11118. username:
  11119. description: 客户名称
  11120. type: string
  11121. type: object
  11122. models.QhjMgrAccountOutInApply:
  11123. properties:
  11124. accountcode:
  11125. description: 资金账号
  11126. type: string
  11127. accountname:
  11128. description: 用户名称(名称)
  11129. type: string
  11130. accountpwd:
  11131. description: 资金密码
  11132. type: string
  11133. accountticket:
  11134. description: 最新账户服务流水号
  11135. type: string
  11136. amount:
  11137. description: 金额
  11138. type: number
  11139. applyremark:
  11140. description: 申请备注
  11141. type: string
  11142. applystatus:
  11143. 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: 复审通过,账户冻结金额检查中;'
  11144. type: integer
  11145. auditid:
  11146. description: 审核人
  11147. type: integer
  11148. audittime:
  11149. description: 审核时间
  11150. type: string
  11151. bank_apply_ticket:
  11152. description: 银行申请流水
  11153. type: string
  11154. bankaccountname:
  11155. description: 银行账户名
  11156. type: string
  11157. bankaccountno:
  11158. description: 银行卡号
  11159. type: string
  11160. bankid:
  11161. description: 银行编号
  11162. type: string
  11163. bankname:
  11164. description: 银行名称
  11165. type: string
  11166. bankticket:
  11167. description: 银行流水
  11168. type: string
  11169. branchbankid:
  11170. description: 银行支行号
  11171. type: string
  11172. branchbankname:
  11173. description: 银行支行名称
  11174. type: string
  11175. capamountout:
  11176. description: 出金(劣后本金) - 外部子账户
  11177. type: number
  11178. certificatephotourl:
  11179. description: 凭证地址
  11180. type: string
  11181. charge:
  11182. description: 手续费
  11183. type: number
  11184. checkerrorflag:
  11185. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11186. type: integer
  11187. currency:
  11188. description: 币种
  11189. type: string
  11190. cusbankid:
  11191. description: 托管银行编号
  11192. type: string
  11193. exchticket:
  11194. description: 银行服务流水号
  11195. type: string
  11196. executetype:
  11197. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11198. type: integer
  11199. extendinfo:
  11200. description: 扩展信息
  11201. type: string
  11202. extoperateid:
  11203. description: 交易服务流水号
  11204. type: integer
  11205. infamount:
  11206. description: 劣后金额(自有)
  11207. type: number
  11208. logincode:
  11209. description: 登录账号(账号)
  11210. type: string
  11211. netaddr:
  11212. description: 调转网址
  11213. type: string
  11214. priamount:
  11215. description: 优先金额(授信)
  11216. type: number
  11217. reauditid:
  11218. description: 复审人
  11219. type: integer
  11220. reauditremark:
  11221. description: 复审备注
  11222. type: string
  11223. reaudittime:
  11224. description: 复审时间
  11225. type: string
  11226. relatedorderid:
  11227. description: 三方关联ID
  11228. type: string
  11229. remark:
  11230. description: 备注
  11231. type: string
  11232. remark2:
  11233. description: 备注(失败原因)
  11234. type: string
  11235. soucreamount:
  11236. description: 原始出入金金额
  11237. type: number
  11238. soucrecurrencyid:
  11239. description: 原始出入金币种
  11240. type: integer
  11241. tradedate:
  11242. description: 交易日(yyyyMMdd)
  11243. type: string
  11244. updatetime:
  11245. description: 更新时间(申请时间)
  11246. type: string
  11247. userid:
  11248. description: 用户id
  11249. type: integer
  11250. userinfotype:
  11251. description: 账户类型 1-个人 2-企业
  11252. type: integer
  11253. type: object
  11254. models.QhjMgrBrokerApply:
  11255. properties:
  11256. applicantid:
  11257. description: 申请人
  11258. type: integer
  11259. applysrc:
  11260. description: 申请来源 - 1:管理端 2:终端
  11261. type: integer
  11262. applystatus:
  11263. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11264. type: integer
  11265. applytime:
  11266. description: 申请时间
  11267. type: string
  11268. auditorid:
  11269. description: 审核人
  11270. type: integer
  11271. auditremark:
  11272. description: 审核备注
  11273. type: string
  11274. auditsrc:
  11275. description: 审核来源 - 1:管理端 2:终端
  11276. type: integer
  11277. audittime:
  11278. description: 审核时间
  11279. type: string
  11280. audittradedate:
  11281. description: 审核交易日(yyyyMMdd)
  11282. type: string
  11283. brokerapplyid:
  11284. description: 申请ID(SEQ_BROKERAPPLY)
  11285. type: integer
  11286. cardbackphotourl:
  11287. description: 证件背面图片地址
  11288. type: string
  11289. cardfrontphotourl:
  11290. description: 证件正面图片地址
  11291. type: string
  11292. cardnum:
  11293. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11294. type: string
  11295. customername:
  11296. description: 姓名
  11297. type: string
  11298. filterstatus:
  11299. description: 筛选条件
  11300. type: string
  11301. logincode:
  11302. description: 登录代码
  11303. type: string
  11304. mobile:
  11305. description: 手机号码
  11306. type: string
  11307. parentuserid:
  11308. description: 所属机构id
  11309. type: integer
  11310. parentusername:
  11311. description: 所属机构名称
  11312. type: string
  11313. refereeuserid:
  11314. description: 推荐人id(经纪人)
  11315. type: integer
  11316. refernum:
  11317. description: 推荐码
  11318. type: string
  11319. remark:
  11320. description: 备注
  11321. type: string
  11322. subarealevelpath:
  11323. description: 层级路径
  11324. type: string
  11325. tradedate:
  11326. description: 交易日(yyyyMMdd)
  11327. type: string
  11328. userid:
  11329. description: 申请人用户ID
  11330. type: integer
  11331. userinfotype:
  11332. description: 用户类型 1-个人 2-企业
  11333. type: integer
  11334. username:
  11335. description: 用户名称
  11336. type: string
  11337. type: object
  11338. models.QhjMgrBrokerRewardReport:
  11339. properties:
  11340. createtime:
  11341. description: 创建时间(注册时间)
  11342. type: string
  11343. cycletime:
  11344. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11345. type: string
  11346. cycletype:
  11347. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11348. type: integer
  11349. directtotalnum:
  11350. description: 直推总人数【期末】
  11351. type: integer
  11352. indirecttotalnum:
  11353. description: 间推总人数【期末】
  11354. type: integer
  11355. mobile:
  11356. description: 电话号码
  11357. type: string
  11358. refereeuserid:
  11359. description: 推荐人id(经纪人id)
  11360. type: integer
  11361. refereeusername:
  11362. description: 推荐人名称(经纪人) 上级经纪人名称
  11363. type: string
  11364. refernum:
  11365. description: 推荐码
  11366. type: string
  11367. subarealevelpath:
  11368. description: 用户层级路径
  11369. type: string
  11370. todayrewardamount:
  11371. description: 奖励总金额【汇总】
  11372. type: number
  11373. updatetime:
  11374. description: 更新时间
  11375. type: string
  11376. userid:
  11377. description: 经纪人用户ID
  11378. type: integer
  11379. userinfotype:
  11380. description: 用户类型 1-个人 2-企业
  11381. type: integer
  11382. username:
  11383. description: 用户名称
  11384. type: string
  11385. type: object
  11386. models.QhjMgrContract:
  11387. properties:
  11388. contractconfirmtime:
  11389. description: 合同确认时间(时间)
  11390. type: string
  11391. currisklevel:
  11392. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11393. type: integer
  11394. decimalplace:
  11395. description: 商品报价小数位
  11396. type: integer
  11397. enumdicname:
  11398. description: 单位名称
  11399. type: string
  11400. goodscode:
  11401. description: 商品代码
  11402. type: string
  11403. goodsid:
  11404. description: 商品ID [5:融资单]
  11405. type: integer
  11406. goodsname:
  11407. description: 商品名称
  11408. type: string
  11409. goodunitid:
  11410. description: 商品单位id
  11411. type: integer
  11412. initmargin:
  11413. description: 初始保证金(首付款)
  11414. type: number
  11415. lenderamount:
  11416. description: 贷款金额(总额|订单总额)
  11417. type: number
  11418. logincode:
  11419. description: 账号(登录代码)
  11420. type: string
  11421. marginratio:
  11422. description: 保证金比率(首付比例)
  11423. type: number
  11424. mobile:
  11425. description: 电话号码(用户资料里的电话)
  11426. type: string
  11427. payamount:
  11428. description: 已付(已付货款)
  11429. type: number
  11430. reckonrecovermargin:
  11431. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11432. type: number
  11433. recoveredmargin:
  11434. description: 已追缴保证金
  11435. type: number
  11436. remainamount:
  11437. description: 合同剩余金额(融资额)
  11438. type: number
  11439. scfcontractid:
  11440. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11441. type: string
  11442. scfcontractstatus:
  11443. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11444. type: integer
  11445. scfcontracttype:
  11446. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11447. type: integer
  11448. totalinterest:
  11449. description: 已计总利息(利息)
  11450. type: number
  11451. tradedate:
  11452. description: 交易日
  11453. type: string
  11454. tradeprice:
  11455. description: 成交价格(成本价格)
  11456. type: number
  11457. userid:
  11458. description: 用户ID
  11459. type: integer
  11460. userinfotype:
  11461. description: 用户类型 1-个人 2-企业
  11462. type: integer
  11463. username:
  11464. description: 用户名称
  11465. type: string
  11466. wrqty:
  11467. description: 仓单数量(数量)
  11468. type: number
  11469. type: object
  11470. models.QhjMgrCustomer:
  11471. properties:
  11472. address:
  11473. description: 通讯地址
  11474. type: string
  11475. attachment1:
  11476. description: 附件1
  11477. type: string
  11478. audittime:
  11479. description: 审核时间
  11480. type: string
  11481. birthday:
  11482. description: 生日
  11483. type: string
  11484. brokerid:
  11485. description: 所属客户经理id
  11486. type: integer
  11487. brokername:
  11488. description: 所属客户经理名称
  11489. type: string
  11490. cardbackphotourl:
  11491. description: 证件反面图片地址
  11492. type: string
  11493. cardfrontphotourl:
  11494. description: 证件正面图片地址
  11495. type: string
  11496. cardnum:
  11497. description: 证件号码
  11498. type: string
  11499. cardtype:
  11500. description: 证件类型
  11501. type: integer
  11502. cardtypename:
  11503. description: 证件类型名称
  11504. type: string
  11505. cityid:
  11506. description: 市
  11507. type: integer
  11508. cityname:
  11509. description: 城市名称
  11510. type: string
  11511. contactname:
  11512. description: 联系人
  11513. type: string
  11514. countryid:
  11515. description: 国家
  11516. type: integer
  11517. countryname:
  11518. description: 国家名称
  11519. type: string
  11520. createtime:
  11521. description: 创建时间
  11522. type: string
  11523. customername:
  11524. description: 客户名称
  11525. type: string
  11526. districtid:
  11527. description: 区域
  11528. type: integer
  11529. districtname:
  11530. description: 地区名称
  11531. type: string
  11532. email:
  11533. description: 邮件
  11534. type: string
  11535. legalpersonname:
  11536. description: 法人姓名(企业)
  11537. type: string
  11538. logincode:
  11539. description: 登录账号(代码)
  11540. type: string
  11541. memberuserid:
  11542. description: 所属机构ID(所属会员)
  11543. type: integer
  11544. memberusername:
  11545. description: 所属会员名称
  11546. type: string
  11547. mobile:
  11548. description: 手机号码
  11549. type: string
  11550. modifytime:
  11551. description: 修改时间
  11552. type: string
  11553. nickname:
  11554. description: 昵称
  11555. type: string
  11556. parentuserid:
  11557. description: 上级机构(所属机构)
  11558. type: integer
  11559. parentusername:
  11560. description: 所属机构名称
  11561. type: string
  11562. provinceid:
  11563. description: 省
  11564. type: integer
  11565. provincename:
  11566. description: 省名称
  11567. type: string
  11568. proxystatementurl:
  11569. description: 授权委托书
  11570. type: string
  11571. querytype:
  11572. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11573. type: integer
  11574. remark:
  11575. description: 备注
  11576. type: string
  11577. sex:
  11578. description: 性别 0-女 1-男
  11579. type: integer
  11580. status:
  11581. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11582. type: integer
  11583. statusdesc:
  11584. description: 账户状态中文描述
  11585. type: string
  11586. taxpayernum:
  11587. description: 纳税人识别号
  11588. type: string
  11589. telphone:
  11590. description: 联系电话
  11591. type: string
  11592. userid:
  11593. description: 用户ID
  11594. type: integer
  11595. userinfotype:
  11596. description: 客户类型 1-个人 2-企业
  11597. type: integer
  11598. username:
  11599. description: 用户名称
  11600. type: string
  11601. type: object
  11602. models.QhjMgrPickGoods:
  11603. properties:
  11604. enumdicname:
  11605. description: 单位名称(提货商品)
  11606. type: string
  11607. goodsid:
  11608. description: 商品id
  11609. type: integer
  11610. imageaddress:
  11611. description: 图片
  11612. type: string
  11613. modifierid:
  11614. description: 修改人
  11615. type: integer
  11616. modifiername:
  11617. description: 修改人名称
  11618. type: string
  11619. modifysrc:
  11620. description: 修改来源 - 1:管理端 2:终端
  11621. type: integer
  11622. pickupgoodsagreeunit:
  11623. description: 合约乘数
  11624. type: number
  11625. pickupgoodsdesc:
  11626. description: 描述
  11627. type: string
  11628. pickupgoodsid:
  11629. description: 提货商品ID
  11630. type: string
  11631. pickupgoodsname:
  11632. description: 提货商品名称
  11633. type: string
  11634. pickupgoodsstatus:
  11635. description: 状态 - 1:正常 2:停用 3:注销
  11636. type: integer
  11637. pickupgoodsunitid:
  11638. description: 单位ID
  11639. type: integer
  11640. pickupratio:
  11641. description: 提货系数
  11642. type: number
  11643. preparedays:
  11644. description: 备货期(天)
  11645. type: integer
  11646. remark:
  11647. description: 备注
  11648. type: string
  11649. updatetime:
  11650. description: 更新时间
  11651. type: string
  11652. type: object
  11653. models.QhjMgrPositionRsp:
  11654. properties:
  11655. accountid:
  11656. description: 账号Id
  11657. type: integer
  11658. accountname:
  11659. description: 用户名称
  11660. type: string
  11661. agreeunit:
  11662. description: 合约乘数
  11663. type: number
  11664. averageprice:
  11665. description: 均价
  11666. type: number
  11667. avialqty:
  11668. description: 可用数量
  11669. type: number
  11670. decimalplace:
  11671. description: 报价小数位
  11672. type: integer
  11673. enumdicname:
  11674. description: 单位名称(商品)
  11675. type: string
  11676. frozenqty:
  11677. description: 冻结数量
  11678. type: number
  11679. goodscode:
  11680. description: 商品代码(内部)
  11681. type: string
  11682. goodsid:
  11683. description: 商品Id
  11684. type: integer
  11685. goodsname:
  11686. description: 商品名称
  11687. type: string
  11688. goodunitid:
  11689. description: 报价单位ID
  11690. type: integer
  11691. holderamount:
  11692. description: 金额
  11693. type: number
  11694. holderqty:
  11695. description: 持有数量
  11696. type: number
  11697. holdertype:
  11698. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11699. type: integer
  11700. logincode:
  11701. description: 登录代码(账户)
  11702. type: string
  11703. marketid:
  11704. description: 市场id
  11705. type: integer
  11706. qtydecimalplace:
  11707. description: 成交量小数位
  11708. type: integer
  11709. trademode:
  11710. description: 交易模式
  11711. type: integer
  11712. userid:
  11713. description: 用户id
  11714. type: integer
  11715. userinfotype:
  11716. description: 账户类型 1-个人 2-企业
  11717. type: integer
  11718. type: object
  11719. models.QhjMgrSubArea:
  11720. properties:
  11721. accountname:
  11722. description: 账户名称(机构名称)
  11723. type: string
  11724. memberuserid:
  11725. description: 所属会员ID
  11726. type: integer
  11727. parenttopuser:
  11728. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11729. type: string
  11730. parentuserid:
  11731. description: 所属机构ID
  11732. type: integer
  11733. rootuserid:
  11734. description: 根用户ID
  11735. type: string
  11736. subaccountlevel:
  11737. description: 子账户层数
  11738. type: integer
  11739. subarealevelpath:
  11740. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11741. type: string
  11742. userid:
  11743. description: 用户ID
  11744. type: integer
  11745. usertype:
  11746. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11747. type: integer
  11748. type: object
  11749. models.QhjMgrTradeDetailRsp:
  11750. properties:
  11751. accountid:
  11752. description: 资金账号
  11753. type: integer
  11754. accountname:
  11755. description: 用户名称
  11756. type: string
  11757. agreeunit:
  11758. description: 合约乘数
  11759. type: number
  11760. buyorsell:
  11761. description: 成交类型(方向) 0:买 1:卖
  11762. type: integer
  11763. decimalplace:
  11764. description: 报价小数位
  11765. type: integer
  11766. enumdicname:
  11767. description: 单位名称(商品)
  11768. type: string
  11769. goodscode:
  11770. description: 商品代码(内部)
  11771. type: string
  11772. goodsid:
  11773. description: 商品id
  11774. type: integer
  11775. goodsname:
  11776. description: 商品名称
  11777. type: string
  11778. goodunitid:
  11779. description: 报价单位ID
  11780. type: integer
  11781. logincode:
  11782. description: 登录代码(账户)
  11783. type: string
  11784. marketid:
  11785. description: 市场id
  11786. type: integer
  11787. orderid:
  11788. description: 关联委托单号
  11789. type: string
  11790. qtydecimalplace:
  11791. description: 成交量小数位
  11792. type: integer
  11793. tradeamount:
  11794. description: 金额
  11795. type: number
  11796. tradedate:
  11797. description: 交易日
  11798. type: string
  11799. tradeid:
  11800. description: 成交单号
  11801. type: string
  11802. trademode:
  11803. description: 交易模式
  11804. type: integer
  11805. tradeprice:
  11806. description: 价格
  11807. type: number
  11808. tradeqty:
  11809. description: 数量
  11810. type: number
  11811. tradetime:
  11812. description: 成交时间
  11813. type: string
  11814. userid:
  11815. description: 用户id
  11816. type: integer
  11817. userinfotype:
  11818. description: 账户类型 1-个人 2-企业
  11819. type: integer
  11820. type: object
  11821. models.QhjMgrTradeOrderDetailRsp:
  11822. properties:
  11823. accountid:
  11824. description: 资金账号
  11825. type: integer
  11826. accountname:
  11827. description: 用户名称
  11828. type: string
  11829. agreeunit:
  11830. description: 合约乘数
  11831. type: number
  11832. amount:
  11833. description: 金额
  11834. type: number
  11835. decimalplace:
  11836. description: 报价小数位
  11837. type: integer
  11838. enumdicname:
  11839. description: 单位名称(商品)
  11840. type: string
  11841. goodscode:
  11842. description: 商品代码(内部)
  11843. type: string
  11844. goodsid:
  11845. description: 商品id
  11846. type: integer
  11847. goodsname:
  11848. description: 商品名称
  11849. type: string
  11850. goodunitid:
  11851. description: 报价单位ID
  11852. type: integer
  11853. logincode:
  11854. description: 登录代码(账户)
  11855. type: string
  11856. marketid:
  11857. description: 市场id
  11858. type: integer
  11859. orderid:
  11860. description: 关联委托单号
  11861. type: string
  11862. orderprice:
  11863. description: 价格
  11864. type: number
  11865. orderqty:
  11866. description: 数量
  11867. type: number
  11868. orderstatus:
  11869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11870. type: integer
  11871. ordertime:
  11872. description: 委托时间
  11873. type: string
  11874. qtydecimalplace:
  11875. description: 成交量小数位
  11876. type: integer
  11877. tradedate:
  11878. description: 交易日
  11879. type: string
  11880. trademode:
  11881. description: 交易模式
  11882. type: integer
  11883. userid:
  11884. description: 用户id
  11885. type: integer
  11886. userinfotype:
  11887. description: 账户类型 1-个人 2-企业
  11888. type: integer
  11889. type: object
  11890. models.QhjMgrTradePayOrder:
  11891. properties:
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. advanceratio:
  11896. description: 首付比率
  11897. type: number
  11898. agreeunit:
  11899. description: 合约乘数
  11900. type: number
  11901. buyaccountid:
  11902. description: 买方账号ID[报价币种]
  11903. type: integer
  11904. buyorderid:
  11905. description: 买方委托单号(关联单号)
  11906. type: string
  11907. createtime:
  11908. description: 创建时间
  11909. type: string
  11910. decimalplace:
  11911. description: 报价小数位
  11912. type: integer
  11913. enumdicname:
  11914. description: 单位名称(商品)
  11915. type: string
  11916. goodscode:
  11917. description: 商品代码(内部)
  11918. type: string
  11919. goodsid:
  11920. description: 商品ID
  11921. type: integer
  11922. goodsname:
  11923. description: 商品名称
  11924. type: string
  11925. goodunitid:
  11926. description: 报价单位ID
  11927. type: integer
  11928. logincode:
  11929. description: 登录代码(账户)
  11930. type: string
  11931. marketid:
  11932. description: 市场id
  11933. type: integer
  11934. offamount:
  11935. description: 优惠金额
  11936. type: number
  11937. operatetype:
  11938. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11939. type: integer
  11940. payamount:
  11941. description: 支付金额(金额)
  11942. type: number
  11943. payflag:
  11944. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11945. type: integer
  11946. paylimitedtime:
  11947. description: 支付期限
  11948. type: string
  11949. paytime:
  11950. description: 付款时间
  11951. type: string
  11952. qtydecimalplace:
  11953. description: 成交量小数位
  11954. type: integer
  11955. sellaccountid:
  11956. description: 卖方账号ID[报价币种]
  11957. type: integer
  11958. sellorderid:
  11959. description: 卖方委托单号
  11960. type: string
  11961. tradeamount:
  11962. description: 成交金额(优惠后金额)
  11963. type: number
  11964. tradecharge:
  11965. description: 成交手续费(买方)
  11966. type: number
  11967. tradedate:
  11968. description: 交易日(yyyyMMdd)
  11969. type: string
  11970. tradeid:
  11971. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11972. type: string
  11973. trademode:
  11974. description: 交易模式
  11975. type: integer
  11976. tradeprice:
  11977. description: 成交价格(价格)
  11978. type: number
  11979. tradeqty:
  11980. description: 成交数量(数量)
  11981. type: number
  11982. tradetime:
  11983. description: 成交时间
  11984. type: string
  11985. userid:
  11986. description: 用户id
  11987. type: integer
  11988. userinfotype:
  11989. description: 账户类型 1-个人 2-企业
  11990. type: integer
  11991. type: object
  11992. models.QhjMyTeamEx:
  11993. properties:
  11994. accountname:
  11995. description: 用户名称
  11996. type: string
  11997. accountstatus:
  11998. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11999. type: integer
  12000. createtime:
  12001. description: 创建时间
  12002. type: string
  12003. mobile:
  12004. description: 手机号码
  12005. type: string
  12006. refereeuserid:
  12007. description: 推荐人id
  12008. type: integer
  12009. refernum:
  12010. description: 推荐码
  12011. type: string
  12012. subList:
  12013. items:
  12014. $ref: '#/definitions/models.QhjMyTeamEx'
  12015. type: array
  12016. userid:
  12017. description: 用户id
  12018. type: integer
  12019. userinfotype:
  12020. description: 用户类型 1-个人 2-企业
  12021. type: integer
  12022. type: object
  12023. models.QhjNodeAgreementConfig:
  12024. properties:
  12025. agreementcontent:
  12026. description: 协议内容
  12027. type: string
  12028. agreementid:
  12029. description: 协议ID
  12030. type: integer
  12031. agreementname:
  12032. description: 协议名称
  12033. type: string
  12034. agreementno:
  12035. description: 协议编号
  12036. type: string
  12037. agreementtype:
  12038. description: 协议类型 - 1:注册 2:登录 3:交易
  12039. type: integer
  12040. agreementversion:
  12041. description: 协议版本号
  12042. type: integer
  12043. configid:
  12044. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12045. type: integer
  12046. createtime:
  12047. description: 创建时间
  12048. type: string
  12049. goodsid:
  12050. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12051. type: integer
  12052. nodetype:
  12053. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12054. type: integer
  12055. type: object
  12056. models.QhjParentAreaList:
  12057. properties:
  12058. accountname:
  12059. description: 账户名称(机构名称)
  12060. type: string
  12061. userid:
  12062. description: 用户ID
  12063. type: integer
  12064. usertype:
  12065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12066. type: integer
  12067. type: object
  12068. models.QhjPayOrder:
  12069. properties:
  12070. advanceratio:
  12071. description: 首付比率
  12072. type: number
  12073. buyaccountid:
  12074. description: 买方账号ID[报价币种]
  12075. type: integer
  12076. buyorderid:
  12077. description: 买方委托单号
  12078. type: string
  12079. createtime:
  12080. description: 创建时间
  12081. type: string
  12082. decimalplace:
  12083. description: 商品报价小数位
  12084. type: integer
  12085. enumdicname:
  12086. description: 单位名称
  12087. type: string
  12088. goodscode:
  12089. description: 商品代码
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID
  12093. type: integer
  12094. goodsname:
  12095. description: 商品名称
  12096. type: string
  12097. goodunitid:
  12098. description: 商品单位id
  12099. type: integer
  12100. marketid:
  12101. description: 市场ID
  12102. type: integer
  12103. offamount:
  12104. description: 优惠金额
  12105. type: number
  12106. operatetype:
  12107. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12108. type: integer
  12109. payamount:
  12110. description: 支付金额
  12111. type: number
  12112. payflag:
  12113. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12114. type: integer
  12115. paylimitedtime:
  12116. description: 支付期限
  12117. type: string
  12118. paytime:
  12119. description: 付款时间
  12120. type: string
  12121. qtydecimalplace:
  12122. description: 成交量小数位
  12123. type: integer
  12124. sellaccountid:
  12125. description: 卖方账号ID[报价币种]
  12126. type: integer
  12127. sellorderid:
  12128. description: 卖方委托单号
  12129. type: string
  12130. tradeamount:
  12131. description: 成交金额(优惠后金额)
  12132. type: number
  12133. tradecharge:
  12134. description: 成交手续费(买方)
  12135. type: number
  12136. tradedate:
  12137. description: 交易日(yyyyMMdd)
  12138. type: string
  12139. tradeid:
  12140. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12141. type: string
  12142. tradeprice:
  12143. description: 成交价格
  12144. type: number
  12145. tradeqty:
  12146. description: 成交数量
  12147. type: number
  12148. type: object
  12149. models.QhjPickArea:
  12150. properties:
  12151. address:
  12152. description: 详细地址
  12153. type: string
  12154. cityid:
  12155. description: 市
  12156. type: integer
  12157. cityname:
  12158. description: 城市名称
  12159. type: string
  12160. countryid:
  12161. description: 国家
  12162. type: integer
  12163. countryname:
  12164. description: 国家名称
  12165. type: string
  12166. districtid:
  12167. description: 地区
  12168. type: integer
  12169. districtname:
  12170. description: 地区名称
  12171. type: string
  12172. fromuserid:
  12173. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12174. type: integer
  12175. fromusername:
  12176. description: 所属机构名称
  12177. type: string
  12178. provinceid:
  12179. description: 省
  12180. type: integer
  12181. provincename:
  12182. description: 省名称
  12183. type: string
  12184. suborgtype:
  12185. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12186. type: integer
  12187. userid:
  12188. description: 机构用户ID 其他做市关系,都设置为 1
  12189. type: integer
  12190. username:
  12191. description: 机构用户名称(门店门称)
  12192. type: string
  12193. type: object
  12194. models.QhjPickGoods:
  12195. properties:
  12196. enumdicname:
  12197. description: 单位名称(提货商品)
  12198. type: string
  12199. goodsid:
  12200. description: 商品id
  12201. type: integer
  12202. imageaddress:
  12203. description: 图片
  12204. type: string
  12205. modifierid:
  12206. description: 修改人
  12207. type: integer
  12208. modifiername:
  12209. description: 修改人名称
  12210. type: string
  12211. modifysrc:
  12212. description: 修改来源 - 1:管理端 2:终端
  12213. type: integer
  12214. pickupgoodsagreeunit:
  12215. description: 合约乘数
  12216. type: number
  12217. pickupgoodsdesc:
  12218. description: 描述
  12219. type: string
  12220. pickupgoodsid:
  12221. description: 提货商品ID
  12222. type: string
  12223. pickupgoodsname:
  12224. description: 提货商品名称
  12225. type: string
  12226. pickupgoodsstatus:
  12227. description: 状态 - 1:正常 2:停用 3:注销
  12228. type: integer
  12229. pickupgoodsunitid:
  12230. description: 单位ID
  12231. type: integer
  12232. pickupratio:
  12233. description: 提货系数
  12234. type: number
  12235. preparedays:
  12236. description: 备货期(天)
  12237. type: integer
  12238. remark:
  12239. description: 备注
  12240. type: string
  12241. updatetime:
  12242. description: 更新时间
  12243. type: string
  12244. type: object
  12245. models.QhjRSTriggerLog:
  12246. properties:
  12247. accountid:
  12248. description: 用户资金账户
  12249. type: integer
  12250. accountname:
  12251. description: 账号名称(ACCOUNTID对应的名称)
  12252. type: string
  12253. currencyid:
  12254. description: 币种id
  12255. type: integer
  12256. currencyname:
  12257. description: 币种名称
  12258. type: string
  12259. decimalplace:
  12260. description: 商品报价小数位
  12261. type: integer
  12262. enumdicname:
  12263. description: 单位名称
  12264. type: string
  12265. goodscode:
  12266. description: 定投商品代码
  12267. type: string
  12268. goodsid:
  12269. description: 定投商品ID
  12270. type: integer
  12271. goodsname:
  12272. description: 定投商品名称
  12273. type: string
  12274. goodunitid:
  12275. description: 定投商品单位id
  12276. type: integer
  12277. logid:
  12278. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12279. type: string
  12280. logincode:
  12281. description: 账号(登录代码)
  12282. type: string
  12283. qtydecimalplace:
  12284. description: 成交量小数位
  12285. type: integer
  12286. regularlycycle:
  12287. description: 定投频率 - 1:每周 2:每月
  12288. type: integer
  12289. regularlycyclevalue:
  12290. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12291. type: string
  12292. regularlymode:
  12293. description: 定投方式 - 1:按数量 2:按金额
  12294. type: integer
  12295. regularlymodevalue:
  12296. description: 定投方式值 - 数量或金额
  12297. type: number
  12298. regularlystrategyid:
  12299. description: 定投策略ID
  12300. type: integer
  12301. retcode:
  12302. description: 错误码
  12303. type: string
  12304. tradeid:
  12305. description: 成交单ID
  12306. type: string
  12307. triggeramount:
  12308. description: 触发金额
  12309. type: number
  12310. triggerqty:
  12311. description: 触发数量
  12312. type: number
  12313. triggerstatus:
  12314. description: 触发状态 - 1:成功 2:失败
  12315. type: integer
  12316. triggertime:
  12317. description: 触发时间
  12318. type: string
  12319. triggertradedate:
  12320. description: 触发交易日
  12321. type: string
  12322. userid:
  12323. description: 所属用户ID
  12324. type: integer
  12325. userinfotype:
  12326. description: 用户类型 1-个人 2-企业
  12327. type: integer
  12328. username:
  12329. description: 用户名称(userid对应的名称)
  12330. type: string
  12331. type: object
  12332. models.QhjRStrategy:
  12333. properties:
  12334. accountid:
  12335. description: 用户资金账户
  12336. type: integer
  12337. accountname:
  12338. description: 账号名称(ACCOUNTID对应的名称)
  12339. type: string
  12340. currencyid:
  12341. description: 币种id
  12342. type: integer
  12343. currencyname:
  12344. description: 币种名称
  12345. type: string
  12346. decimalplace:
  12347. description: 商品报价小数位
  12348. type: integer
  12349. enumdicname:
  12350. description: 单位名称
  12351. type: string
  12352. goodscode:
  12353. description: 定投商品代码
  12354. type: string
  12355. goodsid:
  12356. description: 定投商品ID
  12357. type: integer
  12358. goodsname:
  12359. description: 定投商品名称
  12360. type: string
  12361. goodunitid:
  12362. description: 定投商品单位id
  12363. type: integer
  12364. lasteffecttradedate:
  12365. description: 最新生效交易日
  12366. type: string
  12367. laststoptradedate:
  12368. description: 最新暂停交易日
  12369. type: string
  12370. lasttriggertradedate:
  12371. description: 最新触发交易日
  12372. type: string
  12373. logincode:
  12374. description: 账号(登录代码)
  12375. type: string
  12376. nexttriggeramount:
  12377. description: 下次触发金额
  12378. type: number
  12379. nexttriggerdate:
  12380. description: 下次触发日期
  12381. type: string
  12382. nexttriggerqty:
  12383. description: 下次触发数量 [按小数位放大值]
  12384. type: number
  12385. qtydecimalplace:
  12386. description: 成交量小数位
  12387. type: integer
  12388. regularlycycle:
  12389. description: 定投频率 - 1:每周 2:每月
  12390. type: integer
  12391. regularlycyclevalue:
  12392. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12393. type: string
  12394. regularlymode:
  12395. description: 定投方式 - 1:按数量 2:按金额
  12396. type: integer
  12397. regularlymodevalue:
  12398. description: 定投方式值 - 数量或金额
  12399. type: number
  12400. regularlystrategyid:
  12401. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12402. type: integer
  12403. regularlystrategystatus:
  12404. description: 策略状态 - 1:正常 2:暂停 3:终止
  12405. type: integer
  12406. remark:
  12407. description: 备注
  12408. type: string
  12409. triggersuccesstimes:
  12410. description: 累计定投成功次数
  12411. type: string
  12412. triggertotalamount:
  12413. description: 累计定投金额(成功)
  12414. type: number
  12415. triggertotalqty:
  12416. description: 累计定投数量(成功) [按小数位放大值]
  12417. type: number
  12418. triggertotaltimes:
  12419. description: 累计定投总次数
  12420. type: string
  12421. updatesrc:
  12422. description: 更新来源 - 1:管理端 2:终端
  12423. type: integer
  12424. updatetime:
  12425. description: 更新时间
  12426. type: string
  12427. updatorid:
  12428. description: 更新人
  12429. type: string
  12430. userid:
  12431. description: 所属用户ID
  12432. type: integer
  12433. userinfotype:
  12434. description: 用户类型 1-个人 2-企业
  12435. type: integer
  12436. username:
  12437. description: 用户名称(userid对应的名称)
  12438. type: string
  12439. type: object
  12440. models.QhjReckonPriceLog:
  12441. properties:
  12442. decimalplace:
  12443. description: 商品报价小数位
  12444. type: integer
  12445. goodscode:
  12446. description: 商品代码
  12447. type: string
  12448. goodsid:
  12449. description: 商品ID
  12450. type: integer
  12451. goodsname:
  12452. description: 商品名称
  12453. type: string
  12454. lastreckonprice:
  12455. description: 上日结算价
  12456. type: number
  12457. nextdnlimitprice:
  12458. description: 下个交易日跌停价
  12459. type: number
  12460. nexttrade:
  12461. description: 下个交易日
  12462. type: string
  12463. nextuplimitprice:
  12464. description: 下个交易日涨停价
  12465. type: number
  12466. reckonprice:
  12467. description: 今日结算价(定投价)
  12468. type: number
  12469. reckontime:
  12470. description: 结算时间
  12471. type: string
  12472. totalholderqty:
  12473. description: 总持仓数
  12474. type: integer
  12475. totalstock:
  12476. description: 总库存
  12477. type: integer
  12478. tradedate:
  12479. description: 交易日
  12480. type: string
  12481. updowncount:
  12482. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12483. type: integer
  12484. updownflag:
  12485. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12486. type: integer
  12487. updownrate:
  12488. description: 今日涨跌幅
  12489. type: number
  12490. updownrate_2d:
  12491. description: 连续两日涨跌幅
  12492. type: number
  12493. updownrate_3d:
  12494. description: 连续三日涨跌幅
  12495. type: number
  12496. type: object
  12497. models.QhjScoreLog:
  12498. properties:
  12499. accountid:
  12500. description: 账户ID
  12501. type: integer
  12502. createtime:
  12503. description: 创建时间(时间)
  12504. type: string
  12505. goodsid:
  12506. description: 商品ID
  12507. type: integer
  12508. hasuploaded:
  12509. description: 是否已同步(千海金) 0:未同步 1;已同步
  12510. type: integer
  12511. logid:
  12512. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12513. type: string
  12514. marketid:
  12515. description: 市场ID
  12516. type: integer
  12517. relatedamount:
  12518. description: 关联金额
  12519. type: number
  12520. relatedorderid:
  12521. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12522. type: string
  12523. scoreconfigvalue1:
  12524. description: 积分配置1
  12525. type: integer
  12526. scoreconfigvalue2:
  12527. description: 积分配置1
  12528. type: integer
  12529. scoretype:
  12530. description: 积分类型 - 1:提货积分
  12531. type: integer
  12532. scorevalue:
  12533. description: 积分
  12534. type: number
  12535. tradedate:
  12536. description: 交易日(yyyyMMdd)
  12537. type: string
  12538. uploadedtime:
  12539. description: 同步时间
  12540. type: string
  12541. userid:
  12542. description: 用户ID
  12543. type: integer
  12544. type: object
  12545. models.QhjSiteColumnDetail:
  12546. properties:
  12547. author:
  12548. description: 作者
  12549. type: string
  12550. brief:
  12551. description: 简介
  12552. type: string
  12553. columnid:
  12554. description: 所属栏目
  12555. type: integer
  12556. context:
  12557. description: 内容
  12558. type: string
  12559. coverimage:
  12560. description: 封面图片
  12561. type: string
  12562. creaedate:
  12563. description: 创建时间
  12564. type: string
  12565. creatorid:
  12566. description: 创建人
  12567. type: integer
  12568. hits:
  12569. description: 点击数
  12570. type: integer
  12571. id:
  12572. description: ID(SEQ_SITE_COLUMNDETAIL)
  12573. type: integer
  12574. isshow:
  12575. description: 是否展示 - 0:不展示 1:展示
  12576. type: integer
  12577. istop:
  12578. description: 是否置顶 - 0:不置 1:置顶
  12579. type: integer
  12580. modifierid:
  12581. description: 操作人
  12582. type: integer
  12583. publishdate:
  12584. description: 发布日期
  12585. type: string
  12586. status:
  12587. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12588. type: integer
  12589. title:
  12590. description: 标题
  12591. type: string
  12592. updatedate:
  12593. description: 修改时间
  12594. type: string
  12595. userid:
  12596. description: 用户ID(默认为0, 核心为为机构用户ID)
  12597. type: integer
  12598. username:
  12599. description: 用户名称
  12600. type: string
  12601. type: object
  12602. models.QhjTeamOrder:
  12603. properties:
  12604. accountid:
  12605. description: 账户ID[报价币种]
  12606. type: integer
  12607. accountname:
  12608. description: 账户名称
  12609. type: string
  12610. agreeunit:
  12611. description: 合约乘数
  12612. type: number
  12613. buyorsell:
  12614. description: 方向 - 0:买 1:卖
  12615. type: integer
  12616. decimalplace:
  12617. description: 报价小数位
  12618. type: integer
  12619. enumdicname:
  12620. description: 单位名称
  12621. type: string
  12622. goodscode:
  12623. description: 商品代码(内部)
  12624. type: string
  12625. goodsid:
  12626. description: 商品ID
  12627. type: integer
  12628. goodsname:
  12629. description: 商品名称
  12630. type: string
  12631. goodunitid:
  12632. description: 报价单位ID
  12633. type: integer
  12634. marketid:
  12635. description: 市场ID
  12636. type: integer
  12637. marketname:
  12638. description: 市场名称
  12639. type: string
  12640. qtydecimalplace:
  12641. description: 成交量小数位
  12642. type: integer
  12643. refereeuserid:
  12644. description: 推荐人ID
  12645. type: integer
  12646. tradeamount:
  12647. description: 成交金额[账户币种,用于所有权]
  12648. type: number
  12649. tradedate:
  12650. description: 交易日(yyyyMMdd)
  12651. type: string
  12652. trademode:
  12653. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12654. type: integer
  12655. tradeprice:
  12656. description: 成交价格
  12657. type: number
  12658. tradeqty:
  12659. description: 成交数量
  12660. type: number
  12661. tradetime:
  12662. description: 成交时间
  12663. type: string
  12664. userid:
  12665. description: 用户ID
  12666. type: integer
  12667. type: object
  12668. models.QhjTradeGoodsPickup:
  12669. properties:
  12670. accountid:
  12671. description: 账户ID
  12672. type: integer
  12673. address:
  12674. description: 提货人详细地址
  12675. type: string
  12676. amount:
  12677. description: 提货金额
  12678. type: number
  12679. artradedate:
  12680. description: 自动收货交易日(yyyyMMdd)
  12681. type: string
  12682. auditer:
  12683. description: 审核人
  12684. type: integer
  12685. auditsrc:
  12686. description: 更新来源 - 1:管理端 2:终端
  12687. type: integer
  12688. audittime:
  12689. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12690. type: string
  12691. audittradedate:
  12692. description: 审核交易日(yyyyMMdd)
  12693. type: string
  12694. cardnum:
  12695. description: 提货人证件号码
  12696. type: string
  12697. cardtypeid:
  12698. description: 提货人证件类型
  12699. type: integer
  12700. checkremark:
  12701. description: 审核备注
  12702. type: string
  12703. cityid:
  12704. description: 市
  12705. type: integer
  12706. cityname:
  12707. description: 城市名称
  12708. type: string
  12709. confirmtime:
  12710. description: 取货时间 或 收货时间
  12711. type: string
  12712. countryid:
  12713. description: 国家
  12714. type: integer
  12715. countryname:
  12716. description: 国家名称
  12717. type: string
  12718. decimalplace:
  12719. description: 商品报价小数位
  12720. type: integer
  12721. districtid:
  12722. description: 地区
  12723. type: integer
  12724. districtname:
  12725. description: 地区名称
  12726. type: string
  12727. enumdicname:
  12728. description: 单位名称(提货商品)
  12729. type: string
  12730. expresscompany:
  12731. description: 物流公司
  12732. type: string
  12733. expressnum:
  12734. description: 物流单号
  12735. type: string
  12736. goodsagreeunit:
  12737. description: 交易商品乘数
  12738. type: number
  12739. goodscode:
  12740. description: 商品代码
  12741. type: string
  12742. goodsid:
  12743. description: 商品ID
  12744. type: integer
  12745. goodsname:
  12746. description: 商品名称
  12747. type: string
  12748. goodsqty:
  12749. description: 交易商品手数(69模式按成交量小数位放大取整)
  12750. type: number
  12751. handlestatus:
  12752. description: 处理状态
  12753. type: integer
  12754. logincode:
  12755. description: 账号(登录代码, 有可能为空)
  12756. type: string
  12757. marketid:
  12758. description: 市场ID
  12759. type: integer
  12760. phonenum:
  12761. description: 提货人联系方式
  12762. type: string
  12763. pickupgoodsagreeunit:
  12764. description: 提货商品合约乘数
  12765. type: number
  12766. pickupgoodsid:
  12767. description: 提货商品ID
  12768. type: string
  12769. pickupgoodsname:
  12770. description: 提货商品名称
  12771. type: string
  12772. pickupgoodsqty:
  12773. description: 提货商品手数(数量)
  12774. type: number
  12775. pickupgoodsunitid:
  12776. description: 单位ID(提货商品)
  12777. type: integer
  12778. pickupratio:
  12779. description: 提货系数
  12780. type: number
  12781. preparedays:
  12782. description: 备货期(天)-提货单明细表
  12783. type: integer
  12784. provinceid:
  12785. description: 省
  12786. type: integer
  12787. provincename:
  12788. description: 省名称
  12789. type: string
  12790. qty:
  12791. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12792. type: number
  12793. qtydecimalplace:
  12794. description: 商品数量小数位
  12795. type: integer
  12796. recivername:
  12797. description: 提货人姓名
  12798. type: string
  12799. reqtime:
  12800. description: 提货申请时间
  12801. type: string
  12802. storeuserid:
  12803. description: 门店用户ID (千海金)
  12804. type: integer
  12805. storeusername:
  12806. description: 门店用户名称
  12807. type: string
  12808. takemode:
  12809. description: 提货方式 - 2:自提 3:配送(邮寄)
  12810. type: integer
  12811. takeorderid:
  12812. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12813. type: string
  12814. takeorderstatus:
  12815. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12816. type: integer
  12817. takeremark:
  12818. description: 提货备注
  12819. type: string
  12820. tradedate:
  12821. description: 交易日(yyyyMMdd)
  12822. type: string
  12823. updatetime:
  12824. description: 更新时间
  12825. type: string
  12826. userid:
  12827. description: 用户ID
  12828. type: integer
  12829. userinfotype:
  12830. description: 客户类型 1-个人 2-企业
  12831. type: integer
  12832. username:
  12833. description: 用户名称
  12834. type: string
  12835. type: object
  12836. models.QhjUserNodeCfgAndStatus:
  12837. properties:
  12838. agreementcontent:
  12839. description: 协议内容
  12840. type: string
  12841. agreementid:
  12842. description: 协议ID
  12843. type: integer
  12844. agreementname:
  12845. description: 协议名称
  12846. type: string
  12847. agreementno:
  12848. description: 协议编号
  12849. type: string
  12850. agreementtype:
  12851. description: 协议类型 - 1:注册 2:登录 3:交易
  12852. type: integer
  12853. agreementversion:
  12854. description: 协议版本号
  12855. type: integer
  12856. configid:
  12857. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12858. type: integer
  12859. createtime:
  12860. description: 创建时间
  12861. type: string
  12862. goodsid:
  12863. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12864. type: integer
  12865. nodetype:
  12866. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12867. type: integer
  12868. signtimestamp:
  12869. description: 签约状态时间戳(最近一次)
  12870. type: string
  12871. tradedate:
  12872. description: 签约交易日(yyyyMMdd)
  12873. type: string
  12874. userid:
  12875. description: 客户ID
  12876. type: integer
  12877. type: object
  12878. models.Qhjgoodsex:
  12879. properties:
  12880. canfinance:
  12881. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12882. type: integer
  12883. canregularlybuy:
  12884. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12885. type: integer
  12886. defaulttradeuserid:
  12887. description: 默认交易用户ID
  12888. type: integer
  12889. deliverygoodsid:
  12890. description: 现货品种ID
  12891. type: integer
  12892. goodsid:
  12893. description: 商品ID(自增ID SEQ_GOODS)
  12894. type: integer
  12895. minamount:
  12896. description: 最小购买金额
  12897. type: number
  12898. regularlybuyminamount:
  12899. description: 定投最小金额
  12900. type: number
  12901. regularlybuyminqty:
  12902. description: 定投最小数量
  12903. type: number
  12904. spotgoodsbrandid:
  12905. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12906. type: integer
  12907. visibilityforenterprise:
  12908. description: 企业客户是否可见 - 0:不可见 1:可见
  12909. type: integer
  12910. visibilityforpersonal:
  12911. description: 个人客户是否可见 - 0:不可见 1:可见
  12912. type: integer
  12913. wrstandardid:
  12914. description: 现货商品ID
  12915. type: integer
  12916. type: object
  12917. models.QueryErrorInfosRsp:
  12918. properties:
  12919. description:
  12920. description: 异常描述
  12921. type: string
  12922. errorcode:
  12923. description: 异常代码
  12924. type: string
  12925. errorid:
  12926. description: 异常ID
  12927. type: integer
  12928. modulecode:
  12929. description: 所属模块
  12930. type: string
  12931. operatecode:
  12932. description: 所属操作
  12933. type: string
  12934. rownumber:
  12935. description: 行号
  12936. type: string
  12937. required:
  12938. - errorid
  12939. type: object
  12940. models.QueryHedgeOrderDetailRsp:
  12941. properties:
  12942. accountid:
  12943. description: 账户ID
  12944. type: integer
  12945. buyorsell:
  12946. description: 买卖 - 0:买 1:卖
  12947. type: integer
  12948. cancellogincode:
  12949. description: 撤单人
  12950. type: string
  12951. channelbuildtype:
  12952. description: 开平标志 - 0:无 1:建仓 2:平仓
  12953. type: integer
  12954. channelinnerorderstatus:
  12955. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12956. type: integer
  12957. channeloperatetype:
  12958. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12959. type: integer
  12960. closetype:
  12961. description: 平仓方式 - 0:无 1:平今 2:平昨
  12962. type: integer
  12963. curexchangerate:
  12964. description: 当前汇率
  12965. type: number
  12966. exchangefullname:
  12967. description: 外部交易所全称
  12968. type: string
  12969. goodscode:
  12970. description: 商品代码(内部)
  12971. type: string
  12972. goodsid:
  12973. description: 商品ID
  12974. type: integer
  12975. goodsname:
  12976. description: 商品名称
  12977. type: string
  12978. marketid:
  12979. description: 市场ID
  12980. type: integer
  12981. openfreezemargin:
  12982. description: 冻结保证金(冻结交易金额)
  12983. type: number
  12984. orderid:
  12985. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12986. type: string
  12987. orderlogincode:
  12988. description: 委托人
  12989. type: string
  12990. orderprice:
  12991. description: 委托价格(账户)
  12992. type: number
  12993. orderqty:
  12994. description: 委托数量
  12995. type: integer
  12996. ordertime:
  12997. description: 委托时间
  12998. type: string
  12999. pricemode:
  13000. description: '取价方式 - 1:市价 2: 限价'
  13001. type: integer
  13002. tradedate:
  13003. description: 交易日(yyyyMMdd)
  13004. type: string
  13005. tradeqty:
  13006. description: 成交数量
  13007. type: integer
  13008. type: object
  13009. models.QueryHedgeTradeDetailRsp:
  13010. properties:
  13011. accountid:
  13012. description: 账号ID
  13013. type: integer
  13014. buyorsell:
  13015. description: 方向 - 0:买 1:卖
  13016. type: integer
  13017. channelbuildtype:
  13018. description: 委托单据类型 0:无 1:建仓 2:平仓
  13019. type: integer
  13020. closecharge:
  13021. description: 平仓手续费(账户)
  13022. type: number
  13023. closecharge2:
  13024. description: 平仓手续费(商品)
  13025. type: number
  13026. closepl:
  13027. description: 平仓盈亏(账户)
  13028. type: number
  13029. closepl2:
  13030. description: 平仓盈亏(商品)
  13031. type: number
  13032. closepl3:
  13033. description: 平仓盈亏(账户)(逐笔)
  13034. type: number
  13035. closepl4:
  13036. description: 平仓盈亏(商品)(逐笔)
  13037. type: number
  13038. closetype:
  13039. description: 平仓方式 - 0:无 1:平今 2:平昨
  13040. type: integer
  13041. curexchangerate:
  13042. description: 当前汇率
  13043. type: number
  13044. exchangefullname:
  13045. description: 外部交易所全称
  13046. type: string
  13047. goodscode:
  13048. description: 商品代码(内部)
  13049. type: string
  13050. goodsid:
  13051. description: 商品ID
  13052. type: integer
  13053. goodsname:
  13054. description: 商品名称
  13055. type: string
  13056. marketid:
  13057. description: 市场ID
  13058. type: integer
  13059. opencharge:
  13060. description: 建仓手续费(账户)
  13061. type: number
  13062. opencharge2:
  13063. description: 建仓手续费(商品)
  13064. type: number
  13065. orderid:
  13066. description: 委托单号
  13067. type: string
  13068. orderlogincode:
  13069. description: 委托人
  13070. type: string
  13071. tradeamount:
  13072. description: 成交金额(账户)
  13073. type: number
  13074. tradedate:
  13075. description: 交易日(yyyyMMdd)
  13076. type: string
  13077. tradeid:
  13078. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13079. type: string
  13080. tradeprice:
  13081. description: 成交价格
  13082. type: number
  13083. tradeqty:
  13084. description: 成交数量
  13085. type: integer
  13086. tradetime:
  13087. description: 成交时间
  13088. type: string
  13089. tradetype:
  13090. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13091. type: integer
  13092. type: object
  13093. models.QuotePrimaryMenu:
  13094. properties:
  13095. Index:
  13096. description: 序号
  13097. type: integer
  13098. Key:
  13099. description: 键名
  13100. type: string
  13101. Name:
  13102. description: 菜单名称
  13103. type: string
  13104. SubMenus:
  13105. description: 子菜单
  13106. items:
  13107. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13108. type: array
  13109. SubTitleType:
  13110. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13111. type: integer
  13112. TradeModes:
  13113. description: 包含市场交易类型
  13114. type: string
  13115. type: object
  13116. models.QuoteSecondaryMenu:
  13117. properties:
  13118. ExExchangeCode:
  13119. description: 外部交易所代码
  13120. type: string
  13121. ExExchangeID:
  13122. description: 外部交易所ID
  13123. type: integer
  13124. GoodsGroupIDs:
  13125. description: 商品组ID列表
  13126. items:
  13127. type: integer
  13128. type: array
  13129. Index:
  13130. description: 序号
  13131. type: integer
  13132. MarketID:
  13133. description: 市场ID
  13134. type: integer
  13135. MenuTitle:
  13136. description: 菜单标题(市场名称或外部交易所名称)
  13137. type: string
  13138. TradeMode:
  13139. description: 交易模式
  13140. type: integer
  13141. type: object
  13142. models.RoleMenu:
  13143. properties:
  13144. hasright:
  13145. description: 是否有权限 0-没有权限 1-有权限
  13146. type: integer
  13147. iconame:
  13148. description: 菜单图标
  13149. type: string
  13150. menutype:
  13151. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13152. type: integer
  13153. parentcode:
  13154. description: 上级资源代码
  13155. type: string
  13156. remark:
  13157. description: 菜单备注
  13158. type: string
  13159. resourcecode:
  13160. description: 菜单代码
  13161. type: string
  13162. resourcelevel:
  13163. description: 级别
  13164. type: integer
  13165. resourcename:
  13166. description: 菜单名称
  13167. type: string
  13168. roleid:
  13169. description: 角色id
  13170. type: integer
  13171. sort:
  13172. description: 排序
  13173. type: integer
  13174. subMenu:
  13175. description: 子级菜单(结构同上层一样, swag解析不出来)
  13176. items:
  13177. $ref: '#/definitions/models.RoleMenu'
  13178. type: array
  13179. url:
  13180. description: URL
  13181. type: string
  13182. userid:
  13183. description: 用户id
  13184. type: integer
  13185. type: object
  13186. models.SearchGoods:
  13187. properties:
  13188. goodscode:
  13189. description: 商品代码(内部)
  13190. type: string
  13191. goodsid:
  13192. description: 商品ID(自增ID SEQ_GOODS)
  13193. type: integer
  13194. goodsname:
  13195. description: 商品名称
  13196. type: string
  13197. marketid:
  13198. description: 所属市场ID
  13199. type: integer
  13200. marketname:
  13201. description: 市场名称
  13202. type: string
  13203. trademode:
  13204. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13205. type: integer
  13206. required:
  13207. - goodscode
  13208. - goodsid
  13209. - goodsname
  13210. - marketid
  13211. - trademode
  13212. type: object
  13213. models.Systemparam:
  13214. properties:
  13215. loginid:
  13216. description: 更新用户账号,登录账号
  13217. type: string
  13218. modifyflag:
  13219. description: 修改标志0 不允许修改 1 允许修改
  13220. type: integer
  13221. paramcode:
  13222. description: 参数代码
  13223. type: string
  13224. paramname:
  13225. description: 参数名
  13226. type: string
  13227. paramtype:
  13228. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13229. type: integer
  13230. paramvalue:
  13231. description: 参数值
  13232. type: string
  13233. paramvalue2:
  13234. description: 参数值(CLOB)
  13235. type: string
  13236. regexpress:
  13237. description: 正则表达式
  13238. type: string
  13239. remark:
  13240. description: 备注
  13241. type: string
  13242. serverip:
  13243. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13244. type: string
  13245. showflag:
  13246. description: 是否显示0 不显示 1 显示
  13247. type: integer
  13248. updatetime:
  13249. description: 更新时间
  13250. type: string
  13251. userid:
  13252. description: 更新用户ID
  13253. type: integer
  13254. required:
  13255. - paramcode
  13256. type: object
  13257. models.Szdz3convertconfig:
  13258. properties:
  13259. canin:
  13260. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13261. type: integer
  13262. canout:
  13263. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13264. type: integer
  13265. converttype:
  13266. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13267. type: integer
  13268. createtime:
  13269. description: 创建时间
  13270. type: string
  13271. creatorid:
  13272. description: 创建人
  13273. type: integer
  13274. daymaxvalue:
  13275. description: 当日最大转入限制
  13276. type: number
  13277. freezedays:
  13278. description: 冻结天数 [5:花生米转交易]
  13279. type: integer
  13280. innergoodsid:
  13281. description: 内部商品ID[交易]
  13282. type: integer
  13283. inratio:
  13284. description: 目标值
  13285. type: integer
  13286. modifierid:
  13287. description: 修改人
  13288. type: integer
  13289. modifytime:
  13290. description: 修改时间
  13291. type: string
  13292. outergoodscode:
  13293. description: 外部商品代码[JD\PD]
  13294. type: string
  13295. outratio:
  13296. description: 源值
  13297. type: integer
  13298. pddecimalplace:
  13299. description: PD小数位
  13300. type: integer
  13301. timemaxvalue:
  13302. description: 单次最大转入限制
  13303. type: number
  13304. timeminvalue:
  13305. description: 单次最小转入限制
  13306. type: number
  13307. required:
  13308. - converttype
  13309. - innergoodsid
  13310. - outergoodscode
  13311. type: object
  13312. models.Szdz3searchwhitelist:
  13313. properties:
  13314. createtime:
  13315. description: 创建时间
  13316. type: string
  13317. creatorid:
  13318. description: 创建人
  13319. type: integer
  13320. modifierid:
  13321. description: 修改人
  13322. type: integer
  13323. modifytime:
  13324. description: 修改时间
  13325. type: string
  13326. userid:
  13327. description: 用户ID
  13328. type: integer
  13329. required:
  13330. - userid
  13331. type: object
  13332. models.TBGoods:
  13333. properties:
  13334. agreeunit:
  13335. description: 合约乘数
  13336. type: number
  13337. enumdicname:
  13338. description: 单位名称
  13339. type: string
  13340. goodscode:
  13341. description: 商品代码(内部)
  13342. type: string
  13343. goodsid:
  13344. description: 商品ID(自增ID SEQ_GOODS)
  13345. type: integer
  13346. goodsname:
  13347. description: 商品名称
  13348. type: string
  13349. type: object
  13350. models.TBGoodsGroup:
  13351. properties:
  13352. GDLST:
  13353. description: 商品列表
  13354. items:
  13355. $ref: '#/definitions/models.TBGoods'
  13356. type: array
  13357. convertratio:
  13358. description: 折算系数
  13359. type: number
  13360. enumdicname:
  13361. description: 单位名称
  13362. type: string
  13363. exexchangecode:
  13364. description: 交易所代码
  13365. type: string
  13366. exexchangename:
  13367. description: 交易所名称
  13368. type: string
  13369. goodsgroupid:
  13370. description: 商品组ID(自增ID)
  13371. type: integer
  13372. goodsgroupname:
  13373. description: 商品组名称
  13374. type: string
  13375. goodunitid:
  13376. description: 报价单位ID
  13377. type: integer
  13378. type: object
  13379. models.TBMiddleGoods:
  13380. properties:
  13381. GPLST:
  13382. description: 期货品种列表
  13383. items:
  13384. $ref: '#/definitions/models.TBGoodsGroup'
  13385. type: array
  13386. WDLST:
  13387. description: 商品信息列表(现货品类)
  13388. items:
  13389. $ref: '#/definitions/models.TBWrstandard'
  13390. type: array
  13391. areauserid:
  13392. description: 机构用户ID
  13393. type: integer
  13394. enumdicname:
  13395. description: 单位名称
  13396. type: string
  13397. goodsunitid:
  13398. description: 套保品种单位id
  13399. type: integer
  13400. middlegoodscode:
  13401. description: 套保品种代码
  13402. type: string
  13403. middlegoodsid:
  13404. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13405. type: integer
  13406. middlegoodsname:
  13407. description: 套保品种名称
  13408. type: string
  13409. needarbitrageratio:
  13410. description: 套利比率
  13411. type: number
  13412. needhedgeratio:
  13413. description: 套保比率
  13414. type: number
  13415. type: object
  13416. models.TBWrstandard:
  13417. properties:
  13418. convertratio:
  13419. description: 折算系数
  13420. type: number
  13421. deliverygoodsname:
  13422. description: 品种名称
  13423. type: string
  13424. enumdicname:
  13425. description: 单位名称
  13426. type: string
  13427. vatrate:
  13428. description: 增值税率
  13429. type: number
  13430. wrstandardcode:
  13431. description: 现货商品代码
  13432. type: string
  13433. wrstandardid:
  13434. description: 现货商品ID(SEQ_WRSTANDARD)
  13435. type: integer
  13436. wrstandardname:
  13437. description: 现货商品名称
  13438. type: string
  13439. type: object
  13440. models.Taaccount:
  13441. properties:
  13442. accountflag:
  13443. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13444. type: integer
  13445. accountid:
  13446. description: 资金账户ID
  13447. type: integer
  13448. accountname:
  13449. description: 账户名称
  13450. type: string
  13451. balance:
  13452. description: 期初余额
  13453. type: number
  13454. capitalbalance:
  13455. description: 本金余额[外部子账户实际出入金余额]
  13456. type: number
  13457. changeflag:
  13458. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13459. type: integer
  13460. changetime:
  13461. description: 账户状态变更时间
  13462. type: string
  13463. closepl:
  13464. description: 今日平仓盈亏
  13465. type: number
  13466. creditdecrease:
  13467. description: 今日授信减少
  13468. type: number
  13469. creditincrease:
  13470. description: 今日授信增加
  13471. type: number
  13472. curamount:
  13473. description: 总市值(从持仓中统计)
  13474. type: number
  13475. currencyid:
  13476. description: 货币ID
  13477. type: integer
  13478. currentbalance:
  13479. description: 期末余额
  13480. type: number
  13481. freezecharge:
  13482. description: 手续费冻结
  13483. type: number
  13484. freezemargin:
  13485. description: 冻结保证金
  13486. type: number
  13487. fromaccountid:
  13488. description: 所属上级账户
  13489. type: integer
  13490. inamount:
  13491. description: 今日入金金额(包括三方入金)
  13492. type: number
  13493. ismain:
  13494. description: 是否母账号 0:不是母账户 1:是母账户
  13495. type: integer
  13496. ismarketaccount:
  13497. description: 是否机构接单账号 0:不是 1:是
  13498. type: integer
  13499. isreckonaccount:
  13500. description: 是否机构分润账号 0:不是 1:是
  13501. type: integer
  13502. mortgagecredit:
  13503. description: 授信金额
  13504. type: number
  13505. orifreezecharge:
  13506. description: 期初手续费冻结
  13507. type: number
  13508. orifreezemargin:
  13509. description: 期初冻结保证金
  13510. type: number
  13511. orimortgagecredit:
  13512. description: 期初授信金额
  13513. type: number
  13514. oriothercredit:
  13515. description: 期初其它授信金额
  13516. type: number
  13517. oriotherfreezemargin:
  13518. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13519. type: number
  13520. orioutamountfreeze:
  13521. description: 期初出金冻结
  13522. type: number
  13523. oriusedmargin:
  13524. description: 期初占用保证金
  13525. type: number
  13526. othercredit:
  13527. description: 其它授信金额
  13528. type: number
  13529. othercreditdecrease:
  13530. description: 今日其它授信减少
  13531. type: number
  13532. othercreditincrease:
  13533. description: 今日其它授信增加
  13534. type: number
  13535. otherfreezemargin:
  13536. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13537. type: number
  13538. otherincome:
  13539. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13540. type: number
  13541. otherpay:
  13542. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13543. type: number
  13544. outamount:
  13545. description: 今日出金金额(包括三方出金)
  13546. type: number
  13547. outamountfreeze:
  13548. description: 出金冻结
  13549. type: number
  13550. outthreshold:
  13551. description: 出金阈值
  13552. type: number
  13553. parentaccountid:
  13554. description: 所属根账号
  13555. type: integer
  13556. paycharge:
  13557. description: 今日手续费支出
  13558. type: number
  13559. relatedaccountstatus:
  13560. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13561. type: integer
  13562. relateduserid:
  13563. description: 关联用户
  13564. type: integer
  13565. remainamount:
  13566. description: 融资额(从融资合同中统计)
  13567. type: number
  13568. serivcegroup:
  13569. description: 服务分组
  13570. type: integer
  13571. signstatus:
  13572. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13573. type: integer
  13574. sublevelpath:
  13575. description: 账号层级路径(逗号分隔,首尾加逗号)
  13576. type: string
  13577. taaccounttype:
  13578. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13579. type: integer
  13580. thirdinamount:
  13581. description: 今日三方入金
  13582. type: number
  13583. thirdoutamount:
  13584. description: 今日三方出金
  13585. type: number
  13586. tradestatus:
  13587. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13588. type: integer
  13589. tradestatuschangetime:
  13590. description: 激活时间
  13591. type: string
  13592. transferamount:
  13593. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13594. type: number
  13595. usedmargin:
  13596. description: 占用保证金
  13597. type: number
  13598. userid:
  13599. description: 用户ID
  13600. type: integer
  13601. required:
  13602. - accountid
  13603. - userid
  13604. type: object
  13605. models.Tablecolumnconfig:
  13606. properties:
  13607. aligntype:
  13608. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13609. type: integer
  13610. autoid:
  13611. description: AutoID
  13612. type: integer
  13613. columnfield:
  13614. description: 列字段
  13615. type: string
  13616. columntitle:
  13617. description: 列Title
  13618. type: string
  13619. columnwidth:
  13620. description: 列宽
  13621. type: string
  13622. formatterstring:
  13623. description: 格式化字符
  13624. type: string
  13625. formattertype:
  13626. description: 格式化类型
  13627. type: string
  13628. groupname:
  13629. description: 表头分组名称
  13630. type: string
  13631. isshow:
  13632. description: 是否显示 - 0:不显示 1:显示
  13633. type: integer
  13634. needsummary:
  13635. description: 是否需要汇总 - 0:不需要 1:需要
  13636. type: integer
  13637. orderindex:
  13638. description: 顺序
  13639. type: integer
  13640. remark:
  13641. description: 备注
  13642. type: string
  13643. summarytype:
  13644. description: 汇总类型 - 1:加总 2:最后一个
  13645. type: integer
  13646. tablekey:
  13647. description: 列表Key
  13648. type: string
  13649. required:
  13650. - autoid
  13651. type: object
  13652. models.TjmdMarketSection:
  13653. properties:
  13654. marketsectionid:
  13655. description: 市场版块ID(SEQ_MARKETSECTION)
  13656. type: integer
  13657. marketsectionname:
  13658. description: 市场版块名称
  13659. type: string
  13660. mlist:
  13661. description: 市场列表(板块下面有多少个市场)
  13662. items:
  13663. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13664. type: array
  13665. orderindex:
  13666. description: 排序
  13667. type: integer
  13668. pictureurl:
  13669. description: 图片url, 规格(90*90)
  13670. type: string
  13671. remark:
  13672. description: 备注
  13673. type: string
  13674. type: object
  13675. models.TjmdMarketSectionConfig:
  13676. properties:
  13677. auctionwrtype:
  13678. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13679. type: integer
  13680. canacceptquote:
  13681. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13682. type: integer
  13683. cangoodsexercise:
  13684. description: '[期权]是否可现货行权- 0:否 1:是'
  13685. type: integer
  13686. cangoodsexercisetype:
  13687. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13688. type: integer
  13689. canmanualquotestrike:
  13690. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13691. type: integer
  13692. canmutistage:
  13693. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13694. type: integer
  13695. canpreexercise:
  13696. description: '[期权]是否可预申报- 0:否 1:是'
  13697. type: integer
  13698. clearinterval:
  13699. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13700. type: integer
  13701. contracttmp:
  13702. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13703. type: string
  13704. exchareaid:
  13705. description: 所属交易所,可以没有
  13706. type: integer
  13707. financemarketid:
  13708. description: 融资回购市场ID [仓单贸易]
  13709. type: integer
  13710. goodstype:
  13711. description: 商品类型 - 1:交易商品 2:仓单商品
  13712. type: integer
  13713. hasrebate:
  13714. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13715. type: integer
  13716. hastradecredit:
  13717. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13718. type: integer
  13719. haswr:
  13720. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13721. type: integer
  13722. isdeductmargin:
  13723. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13724. type: integer
  13725. isrecordsource:
  13726. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13727. type: integer
  13728. isreleasemargin:
  13729. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13730. type: integer
  13731. isupdatereckonprice:
  13732. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13733. type: integer
  13734. listingmode:
  13735. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13736. type: integer
  13737. marginformula:
  13738. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13739. type: integer
  13740. marginformula2:
  13741. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13742. type: integer
  13743. marketid:
  13744. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13745. type: integer
  13746. marketname:
  13747. description: 市场名称
  13748. type: string
  13749. marketsectionid:
  13750. description: 市场版块ID(SEQ_MARKETSECTION)
  13751. type: integer
  13752. marketserviceid:
  13753. description: 市场服务ID
  13754. type: integer
  13755. marketstatus:
  13756. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13757. type: integer
  13758. markettype:
  13759. description: 市场类型- 1:非交易服务 2:交易服务
  13760. type: integer
  13761. matchermode:
  13762. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13763. type: integer
  13764. nowrquotaflag:
  13765. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13766. type: integer
  13767. openmethod:
  13768. description: 开盘模式 - 0 自动 1手动
  13769. type: integer
  13770. orderindex:
  13771. description: 排序
  13772. type: integer
  13773. otcuserid:
  13774. description: 场外期权做市商[场外期权]
  13775. type: integer
  13776. outersynctime:
  13777. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13778. type: string
  13779. paylaterflag:
  13780. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13781. type: integer
  13782. pendingflag:
  13783. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13784. type: integer
  13785. pendingtime:
  13786. description: 待开市时间[通道交易-对冲](HH:mm)
  13787. type: string
  13788. performancetempid:
  13789. description: 履约计划模板ID - 作废
  13790. type: integer
  13791. premiumquotemode:
  13792. description: 权利金报价方式 - 1:自动 2:手动
  13793. type: integer
  13794. rebateratio:
  13795. description: 返利比率[竞价式]
  13796. type: number
  13797. reckonorder:
  13798. description: 结算顺序
  13799. type: integer
  13800. reckonpricealgorithm:
  13801. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13802. type: integer
  13803. reckonpriceparam:
  13804. description: 结算价参数
  13805. type: integer
  13806. reckontime:
  13807. description: 结算时间[通道交易-对冲](HH:mm)
  13808. type: string
  13809. roleprioritytype:
  13810. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13811. type: integer
  13812. selllistingauditflag:
  13813. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13814. type: integer
  13815. trademarkettype:
  13816. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13817. type: integer
  13818. trademode:
  13819. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13820. type: integer
  13821. tradeproperty:
  13822. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13823. type: integer
  13824. tradetype:
  13825. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13826. type: integer
  13827. updatereckonpriceinterval:
  13828. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13829. type: integer
  13830. type: object
  13831. models.TjmdQuoteGoods:
  13832. properties:
  13833. buyqty:
  13834. description: 买量(暂不做, 无值, 保留字段)
  13835. type: number
  13836. goodscode:
  13837. description: 合约代码
  13838. type: string
  13839. goodsgroupid:
  13840. description: 商品组ID(自增ID)
  13841. type: integer
  13842. goodsgroupname:
  13843. description: 商品组名称
  13844. type: string
  13845. goodsid:
  13846. description: 合约id
  13847. type: integer
  13848. goodsname:
  13849. description: 合约名称
  13850. type: string
  13851. refgoodscode:
  13852. description: 标的合约代码
  13853. type: string
  13854. refgoodsid:
  13855. description: 标的合约id
  13856. type: integer
  13857. refgoodsname:
  13858. description: 标的合约名称
  13859. type: string
  13860. sellqty:
  13861. description: 卖量(暂不做, 无值, 保留字段)
  13862. type: number
  13863. type: object
  13864. models.TjmdTodayAccountMargin:
  13865. properties:
  13866. accountid:
  13867. description: 账号ID
  13868. type: integer
  13869. goodsid:
  13870. description: 商品ID
  13871. type: integer
  13872. infoc:
  13873. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13874. description: 配置参数
  13875. marketid:
  13876. description: 市场ID
  13877. type: integer
  13878. type: object
  13879. models.TjmdTradeOrderDetail:
  13880. properties:
  13881. buyorsell:
  13882. description: 买卖方向 0-买 1-卖
  13883. type: integer
  13884. goodsid:
  13885. description: 商品id
  13886. type: integer
  13887. marketmaxsub:
  13888. description: 市价最大偏移范围 [浮动价 - 点差]
  13889. type: number
  13890. orderid:
  13891. description: 委托单号
  13892. type: string
  13893. orderprice:
  13894. description: 委托价格
  13895. type: number
  13896. orderqty:
  13897. description: 委托数量
  13898. type: integer
  13899. pricemode:
  13900. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13901. type: integer
  13902. userid:
  13903. description: 用户id
  13904. type: integer
  13905. username:
  13906. description: 用户名称(已脱敏)
  13907. type: string
  13908. type: object
  13909. models.TjmdTransferApply:
  13910. properties:
  13911. applyid:
  13912. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13913. type: integer
  13914. applystatus:
  13915. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13916. type: integer
  13917. applytime:
  13918. description: 申请时间(时间)
  13919. type: string
  13920. auditremark:
  13921. description: 审核备注(拒绝原因?)
  13922. type: string
  13923. begindate:
  13924. description: 开始交易日(yyyymmdd)
  13925. type: string
  13926. buyorsell:
  13927. description: 买卖 - 0:买 1:卖
  13928. type: integer
  13929. enddate:
  13930. description: 结束交易日(yyyymmdd)
  13931. type: string
  13932. goodscode:
  13933. description: 商品代码
  13934. type: string
  13935. goodsid:
  13936. description: 商品ID
  13937. type: integer
  13938. goodsname:
  13939. description: 商品名称
  13940. type: string
  13941. marketid:
  13942. description: 市场ID
  13943. type: integer
  13944. qty:
  13945. description: 转让数量(数量)
  13946. type: number
  13947. tradeid:
  13948. description: 成交单号(关联持仓)
  13949. type: string
  13950. transferamount:
  13951. description: 转让总金额(金额)
  13952. type: number
  13953. transferprice:
  13954. description: 转让价格(协议价格)
  13955. type: number
  13956. type: object
  13957. models.TradeHolderDetail:
  13958. properties:
  13959. accountid:
  13960. description: 账号ID
  13961. type: integer
  13962. agreeunit:
  13963. description: 合约乘数
  13964. type: number
  13965. buyorsell:
  13966. description: 方向 - 0:买 1:卖
  13967. type: integer
  13968. currencyid:
  13969. description: 商品币种id
  13970. type: integer
  13971. currencyname:
  13972. description: 币种名称
  13973. type: string
  13974. decimalplace:
  13975. description: 商品价格小数位
  13976. type: integer
  13977. enumdicname:
  13978. description: 商品单位名称
  13979. type: string
  13980. expirecycle:
  13981. description: 行权周期(天) - 1:滚动行权时填写
  13982. type: integer
  13983. expiredate:
  13984. description: 行权日(yyyyMMdd) - 到期日
  13985. type: string
  13986. expiretype:
  13987. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13988. type: integer
  13989. freezeqty:
  13990. description: 冻结数量
  13991. type: number
  13992. goodscode:
  13993. description: 商品代码
  13994. type: string
  13995. goodsid:
  13996. description: 商品ID
  13997. type: integer
  13998. goodsname:
  13999. description: 商品名称
  14000. type: string
  14001. goodunitid:
  14002. description: 商品单位id
  14003. type: integer
  14004. holderamount:
  14005. description: 持仓金额
  14006. type: number
  14007. holdercredit:
  14008. description: 持仓授信金额
  14009. type: number
  14010. holderdays:
  14011. description: 剩余冻结天数
  14012. type: integer
  14013. holderprice:
  14014. description: 持仓价格
  14015. type: number
  14016. holderqty:
  14017. description: 持仓数量
  14018. type: number
  14019. isconfirmexercise:
  14020. description: 是否确认行权- 0:否 1:是
  14021. type: integer
  14022. ispreexercise:
  14023. description: 是否预申报- 0:否 1:是 2:不可行权
  14024. type: integer
  14025. marketid:
  14026. description: 市场id
  14027. type: integer
  14028. marketname:
  14029. description: 市场名称
  14030. type: string
  14031. openprice:
  14032. description: 建仓价格
  14033. type: number
  14034. openqty:
  14035. description: 建仓数量
  14036. type: number
  14037. optiontype:
  14038. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14039. type: integer
  14040. preexerciseprice:
  14041. description: 预申报价格
  14042. type: number
  14043. premium:
  14044. description: 权利金
  14045. type: number
  14046. qtydecimalplace:
  14047. description: 商品成交量小数位
  14048. type: integer
  14049. refgoodscode:
  14050. description: 标的合约代码
  14051. type: string
  14052. refgoodsid:
  14053. description: 标的合约id
  14054. type: integer
  14055. releaseamount:
  14056. description: 释放持仓金额
  14057. type: number
  14058. releaseholdercredit:
  14059. description: 释放持仓授信金额
  14060. type: number
  14061. taname:
  14062. description: 资金账号名称
  14063. type: string
  14064. tradeamount:
  14065. description: 成交金额
  14066. type: number
  14067. tradedate:
  14068. description: 交易日(yyyyMMdd)
  14069. type: string
  14070. tradeid:
  14071. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14072. type: string
  14073. trademode:
  14074. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14075. type: integer
  14076. tradeproperty:
  14077. description: 交易属性
  14078. type: integer
  14079. tradetime:
  14080. description: 交易时间
  14081. type: string
  14082. userid:
  14083. description: 用户id
  14084. type: integer
  14085. username:
  14086. description: 用户名称
  14087. type: string
  14088. type: object
  14089. models.UserCollectConfig:
  14090. properties:
  14091. accountstatus:
  14092. description: 账户状态 - 1:正常 2:停用 3:注销
  14093. type: integer
  14094. collectaccountname:
  14095. description: 收款人账户名称
  14096. type: string
  14097. collectaccountno:
  14098. description: 收款人账户
  14099. type: string
  14100. collectbankname:
  14101. description: 收款人开户行
  14102. type: string
  14103. collectbranchbankname:
  14104. description: 收款人开户支行
  14105. type: string
  14106. collectconfigid:
  14107. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14108. type: string
  14109. remark:
  14110. description: 备注
  14111. type: string
  14112. userid:
  14113. description: 收款人用户ID
  14114. type: integer
  14115. type: object
  14116. models.UserReceiveInfo:
  14117. properties:
  14118. address:
  14119. description: 提货人详细地址
  14120. type: string
  14121. autoid:
  14122. description: AutoID
  14123. type: integer
  14124. cardnum:
  14125. description: 证件号码(加密存储)
  14126. type: string
  14127. cardtypeid:
  14128. description: 证件类型
  14129. type: integer
  14130. cityid:
  14131. description: 市
  14132. type: integer
  14133. cityname:
  14134. description: 城市名称
  14135. type: string
  14136. countryid:
  14137. description: 国家
  14138. type: integer
  14139. countryname:
  14140. description: 国家名称
  14141. type: string
  14142. districtid:
  14143. description: 地区
  14144. type: integer
  14145. districtname:
  14146. description: 地区名称
  14147. type: string
  14148. hasencrypt:
  14149. description: 数据是否已加密 - 0:未加密 1:已加密
  14150. type: integer
  14151. isdefault:
  14152. description: 是否默认地址 - 0:否 1:是
  14153. type: integer
  14154. phonenum:
  14155. description: 提货人联系方式(加密存储)
  14156. type: string
  14157. provinceid:
  14158. description: 省
  14159. type: integer
  14160. provincename:
  14161. description: 省名称
  14162. type: string
  14163. receivername:
  14164. description: 提货人姓名
  14165. type: string
  14166. takeremark:
  14167. description: 提货备注
  14168. type: string
  14169. userid:
  14170. description: 用户ID
  14171. type: integer
  14172. type: object
  14173. models.Useraccount:
  14174. properties:
  14175. accountname:
  14176. description: 账户名称(机构名称)
  14177. type: string
  14178. accountstatus:
  14179. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14180. type: integer
  14181. applysrc:
  14182. description: 申请来源 - 1:管理端 2:终端
  14183. type: integer
  14184. auditremark:
  14185. description: 审核备注
  14186. type: string
  14187. auditsrc:
  14188. description: 审核来源 - 1:管理端 2:终端
  14189. type: integer
  14190. audittime:
  14191. description: 审核时间
  14192. type: string
  14193. audituserid:
  14194. description: 审核人
  14195. type: integer
  14196. broker:
  14197. description: 所属经纪人ID
  14198. type: integer
  14199. canceltime:
  14200. description: 销户时间
  14201. type: string
  14202. canceluserid:
  14203. description: 销户人
  14204. type: integer
  14205. canrecommend:
  14206. description: 是否可推荐 - 0:不可 1;可
  14207. type: integer
  14208. createtime:
  14209. description: 创建时间
  14210. type: string
  14211. creatorid:
  14212. description: 创建人
  14213. type: integer
  14214. hasauth:
  14215. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14216. type: integer
  14217. isanonymous:
  14218. description: 是否匿名下单 - 0:否 1:是
  14219. type: integer
  14220. maxinvestornum:
  14221. description: 最大用户数(经纪会员下投资者个数)
  14222. type: integer
  14223. memberuserid:
  14224. description: 所属会员ID
  14225. type: integer
  14226. modifierid:
  14227. description: 修改人
  14228. type: integer
  14229. modifyremark:
  14230. description: 变更备注
  14231. type: string
  14232. modifystatus:
  14233. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14234. type: integer
  14235. modifytime:
  14236. description: 修改时间
  14237. type: string
  14238. parenttopuser:
  14239. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14240. type: string
  14241. parentuserid:
  14242. description: 所属机构ID
  14243. type: integer
  14244. reckonaccountid:
  14245. description: 默认结算资金账号ID(机构分润使用) 作废
  14246. type: integer
  14247. refercount:
  14248. description: 推荐总人数
  14249. type: integer
  14250. refereeuserid:
  14251. description: 推荐人ID
  14252. type: integer
  14253. refernum:
  14254. description: 推荐码
  14255. type: string
  14256. rootuserid:
  14257. description: 根用户ID
  14258. type: integer
  14259. subaccountlevel:
  14260. description: 子账户层数
  14261. type: integer
  14262. subarealevelpath:
  14263. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14264. type: string
  14265. userid:
  14266. description: 用户ID
  14267. type: integer
  14268. usertype:
  14269. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14270. type: integer
  14271. required:
  14272. - userid
  14273. type: object
  14274. models.Userfavoritegoods:
  14275. properties:
  14276. goodsid:
  14277. description: 商品ID
  14278. type: integer
  14279. required:
  14280. - goodsid
  14281. type: object
  14282. models.Userinfo:
  14283. properties:
  14284. address:
  14285. description: 地址
  14286. type: string
  14287. attachment1:
  14288. description: 附件1
  14289. type: string
  14290. attachment2:
  14291. description: 附件2
  14292. type: string
  14293. bankaccount:
  14294. description: 银行帐号 (加密存储)
  14295. type: string
  14296. bankaccountname:
  14297. description: 收款人名称
  14298. type: string
  14299. bankcardfrontphotourl:
  14300. description: 银行卡正面照地址
  14301. type: string
  14302. bankid:
  14303. description: 银行编码
  14304. type: string
  14305. bankname:
  14306. description: 银行名称
  14307. type: string
  14308. biznature:
  14309. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14310. type: integer
  14311. bizscope:
  14312. description: 企业经营范围(企业)
  14313. type: string
  14314. cardbackphotourl:
  14315. description: 证件背面图片地址
  14316. type: string
  14317. cardfrontphotourl:
  14318. description: 证件正面图片地址
  14319. type: string
  14320. cardnum:
  14321. description: 证件号码(加密存储)
  14322. type: string
  14323. cardtypeid:
  14324. description: 证件类型ID
  14325. type: integer
  14326. cityid:
  14327. description: 市
  14328. type: integer
  14329. company:
  14330. description: 公司(个人)
  14331. type: string
  14332. contactname:
  14333. description: 联系人
  14334. type: string
  14335. countryid:
  14336. description: 国家
  14337. type: integer
  14338. createtime:
  14339. description: 创建时间
  14340. type: string
  14341. creatorid:
  14342. description: 创建人
  14343. type: integer
  14344. customername:
  14345. description: 客户名称(企业名称)
  14346. type: string
  14347. districtid:
  14348. description: 地区
  14349. type: integer
  14350. email:
  14351. description: 邮件(加密存储)
  14352. type: string
  14353. fax:
  14354. description: 传真(加密存储)
  14355. type: string
  14356. halfbodyphotourl:
  14357. description: 半身照地址
  14358. type: string
  14359. hasencrypt:
  14360. description: 数据是否已加密 - 0:未加密 1:已加密
  14361. type: integer
  14362. headurl:
  14363. description: 头像地址
  14364. type: string
  14365. legalcardbackphotourl:
  14366. description: 法人身份证背面照地址
  14367. type: string
  14368. legalcardfrontphotourl:
  14369. description: 法人身份证正面照地址
  14370. type: string
  14371. legalpersonname:
  14372. description: 法人姓名(企业)
  14373. type: string
  14374. mobile:
  14375. description: 手机号码(加密存储)
  14376. type: string
  14377. mobile2:
  14378. description: 手机号码[明文-尚志]
  14379. type: string
  14380. modifierid:
  14381. description: 修改人
  14382. type: integer
  14383. modifiertime:
  14384. description: 修改时间
  14385. type: string
  14386. needinvoice:
  14387. description: 是否需要发票 - 0:不需要 1:需要
  14388. type: integer
  14389. nickname:
  14390. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14391. type: string
  14392. openmode:
  14393. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14394. type: integer
  14395. otherurl:
  14396. description: 其它图片地址[使用分号分隔]
  14397. type: string
  14398. postalcode:
  14399. description: 邮政编码
  14400. type: string
  14401. provinceid:
  14402. description: 省
  14403. type: integer
  14404. qq:
  14405. description: QQ(加密存储
  14406. type: string
  14407. remark:
  14408. description: 备注
  14409. type: string
  14410. sex:
  14411. description: '用户性别 0: 女 1: 男'
  14412. type: integer
  14413. signpdfurl:
  14414. description: 签约pdf文件
  14415. type: string
  14416. telphone:
  14417. description: 联系电话(加密存储)
  14418. type: string
  14419. userid:
  14420. description: 用户ID
  14421. type: integer
  14422. userinfotype:
  14423. description: 用户信息类型 - 1:个人 2:企业
  14424. type: integer
  14425. userstatus:
  14426. description: 用户状态 - 1:正常 2:注销
  14427. type: integer
  14428. usertype:
  14429. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14430. type: integer
  14431. wechat:
  14432. description: 微信(加密存储)
  14433. type: string
  14434. wskhinfo:
  14435. description: 开户申请信息(JSON)
  14436. type: string
  14437. required:
  14438. - userid
  14439. type: object
  14440. models.WRSConverTDetail:
  14441. properties:
  14442. convertratio:
  14443. description: 套保系数
  14444. type: number
  14445. deliverygoodscode:
  14446. description: 现货商品代码
  14447. type: string
  14448. deliverygoodsid:
  14449. description: 现货品种ID
  14450. type: integer
  14451. deliverygoodsname:
  14452. description: 现货商品名称
  14453. type: string
  14454. enumdicname:
  14455. description: 单位名称
  14456. type: string
  14457. goodsunitid:
  14458. description: 套保品种单位id
  14459. type: integer
  14460. middlegoodscode:
  14461. description: 套保品种代码
  14462. type: string
  14463. middlegoodsid:
  14464. description: 套保品种ID
  14465. type: integer
  14466. middlegoodsname:
  14467. description: 套保品种名称
  14468. type: string
  14469. modifytime:
  14470. description: 修改时间
  14471. type: string
  14472. wrstandardid:
  14473. description: 品类ID
  14474. type: integer
  14475. type: object
  14476. models.WRStandardInfo:
  14477. properties:
  14478. areauserid:
  14479. description: 所属机构
  14480. type: integer
  14481. convertfactor:
  14482. description: 标仓系数
  14483. type: number
  14484. createtime:
  14485. description: 创建时间
  14486. type: string
  14487. creatorid:
  14488. description: 创建人
  14489. type: integer
  14490. deliverygoodsid:
  14491. description: 品种ID
  14492. type: integer
  14493. deliverygoodsname:
  14494. description: 交割商品名称
  14495. type: string
  14496. factoryitemjson:
  14497. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14498. type: string
  14499. isvalid:
  14500. description: 是否有效 - 0:无效 1:有效
  14501. type: integer
  14502. minivalue:
  14503. description: 最小变动值
  14504. type: integer
  14505. minivaluedp:
  14506. description: 最小变动值小数位
  14507. type: integer
  14508. realminivalue:
  14509. description: 实际最小变动值
  14510. type: integer
  14511. realminivaluedp:
  14512. description: 实际最小变动值小数位
  14513. type: integer
  14514. remark:
  14515. description: 备注
  14516. type: string
  14517. unitid:
  14518. description: 单位ID
  14519. type: integer
  14520. unitname:
  14521. description: 单位
  14522. type: string
  14523. updatetime:
  14524. description: 更新时间
  14525. type: string
  14526. updatorid:
  14527. description: 更新人
  14528. type: integer
  14529. wrsstatus:
  14530. description: 状态 - 作废 - 0:未激活 1:正常
  14531. type: integer
  14532. wrstandardcode:
  14533. description: 现货品类代码
  14534. type: string
  14535. wrstandardid:
  14536. description: 现货品类ID(SEQ_WRSTANDARD)
  14537. type: integer
  14538. wrstandardname:
  14539. description: 现货品类名称
  14540. type: string
  14541. required:
  14542. - wrstandardid
  14543. type: object
  14544. models.WRTradeBargainApply:
  14545. properties:
  14546. accountid:
  14547. description: 摘牌资金账号
  14548. type: integer
  14549. applyprice:
  14550. description: 申请价格(议价价格)
  14551. type: string
  14552. applyqty:
  14553. description: 摘牌数量(议价数量)
  14554. type: number
  14555. applyremark:
  14556. description: 申请备注
  14557. type: string
  14558. applystatus:
  14559. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14560. type: integer
  14561. applytime:
  14562. description: 申请时间(议价时间)
  14563. type: string
  14564. begindate:
  14565. description: 开始交易日(yyyymmdd)
  14566. type: string
  14567. buyorsell:
  14568. description: 买卖(挂牌类型) - 0:买 1:卖
  14569. type: integer
  14570. confirmremark:
  14571. description: 确认备注
  14572. type: string
  14573. confirmtime:
  14574. description: 确认时间
  14575. type: string
  14576. confirmuserid:
  14577. description: 确认人
  14578. type: integer
  14579. deliverygoodscode:
  14580. description: 品种代码
  14581. type: string
  14582. deliverygoodsid:
  14583. description: 品种ID
  14584. type: integer
  14585. deliverygoodsname:
  14586. description: 品种名称
  14587. type: string
  14588. deliverymonth:
  14589. description: 交收月
  14590. type: string
  14591. enddate:
  14592. description: 结束交易日(yyyymmdd)
  14593. type: string
  14594. enumdicname:
  14595. description: 单位名称
  14596. type: string
  14597. fixedprice:
  14598. description: 挂牌价格
  14599. type: number
  14600. handlestatus:
  14601. description: 处理状态
  14602. type: integer
  14603. marginvalue:
  14604. description: 履约保证金比例
  14605. type: number
  14606. marketid:
  14607. description: 市场ID
  14608. type: integer
  14609. matchaccountid:
  14610. description: 挂牌方资金账号
  14611. type: integer
  14612. matchuserid:
  14613. description: 挂牌方用户id
  14614. type: integer
  14615. matchusername:
  14616. description: 挂牌方用户名称(已脱敏)
  14617. type: string
  14618. minivalue:
  14619. description: 现货商品最小变动值
  14620. type: integer
  14621. optioncompare:
  14622. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14623. type: string
  14624. orderqty:
  14625. description: 挂牌数量
  14626. type: integer
  14627. refprice:
  14628. description: 参考价格
  14629. type: string
  14630. retcode:
  14631. description: 委托返回代码
  14632. type: integer
  14633. templatename:
  14634. description: 履约方式(履约模板名称)
  14635. type: string
  14636. tradedate:
  14637. description: 交易日(yyyyMMdd)
  14638. type: string
  14639. userid:
  14640. description: 摘牌人用户ID(议价人ID)
  14641. type: integer
  14642. username:
  14643. description: 议价人名字(已脱敏)
  14644. type: string
  14645. validtime:
  14646. description: 有效期限
  14647. type: string
  14648. warehouseid:
  14649. description: 仓库ID
  14650. type: integer
  14651. warehousename:
  14652. description: 仓库名称
  14653. type: string
  14654. wrbargainid:
  14655. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14656. type: string
  14657. wrfactortypeid:
  14658. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14659. type: string
  14660. wrfactortypename:
  14661. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14662. type: string
  14663. wrstandardcode:
  14664. description: 现货商品代码
  14665. type: string
  14666. wrstandardid:
  14667. description: 现货商品ID
  14668. type: integer
  14669. wrstandardname:
  14670. description: 商品名称
  14671. type: string
  14672. wrtradeorderid:
  14673. description: 关联委托单ID
  14674. type: string
  14675. wrtypename:
  14676. description: 商品
  14677. type: string
  14678. type: object
  14679. models.Warehouseinfo:
  14680. properties:
  14681. address:
  14682. description: 详细地址
  14683. type: string
  14684. areauserid:
  14685. description: 所属机构
  14686. type: integer
  14687. autoid:
  14688. description: 自增ID
  14689. type: integer
  14690. cityid:
  14691. description: 市
  14692. type: integer
  14693. contactname:
  14694. description: 联系人
  14695. type: string
  14696. contactnum:
  14697. description: 联系电话
  14698. type: string
  14699. countryid:
  14700. description: 国家
  14701. type: integer
  14702. createtime:
  14703. description: 创建时间
  14704. type: string
  14705. districtid:
  14706. description: 区
  14707. type: integer
  14708. hasvideo:
  14709. description: 是否有视频 - 0:无 1:有
  14710. type: integer
  14711. provinceid:
  14712. description: 省
  14713. type: integer
  14714. remark:
  14715. description: 审核备注
  14716. type: string
  14717. videourl:
  14718. description: 视频地址
  14719. type: string
  14720. warehousecode:
  14721. description: 仓库代码
  14722. type: string
  14723. warehousename:
  14724. description: 仓库名称
  14725. type: string
  14726. warehousestatus:
  14727. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14728. type: integer
  14729. warehousetype:
  14730. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14731. type: integer
  14732. required:
  14733. - autoid
  14734. - warehousecode
  14735. type: object
  14736. models.WrAverageTradePrice:
  14737. properties:
  14738. averageprice:
  14739. description: 成交均价
  14740. type: number
  14741. tradedate:
  14742. description: 交易日yyyymm
  14743. type: string
  14744. type: object
  14745. models.WrBsGoodsInfo:
  14746. properties:
  14747. buyorsell:
  14748. description: 买卖方向 0-买 1-卖
  14749. type: integer
  14750. goodsid:
  14751. description: 交易合约ID
  14752. type: integer
  14753. lstitem:
  14754. description: 商品信息项
  14755. items:
  14756. $ref: '#/definitions/models.WrTypeItem'
  14757. type: array
  14758. lststep:
  14759. description: 履约规则
  14760. items:
  14761. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14762. type: array
  14763. type: object
  14764. models.WrBuybackDetail:
  14765. properties:
  14766. buybackamount:
  14767. description: 回购金额
  14768. type: number
  14769. buybackqty:
  14770. description: 回购数量
  14771. type: number
  14772. buybackreleasemargin:
  14773. description: 回购释放保证金
  14774. type: number
  14775. buybacktime:
  14776. description: 回购时间
  14777. type: string
  14778. errordesc:
  14779. description: 错误描述
  14780. type: string
  14781. handlestatus:
  14782. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14783. type: integer
  14784. relatedwrid:
  14785. description: 关联仓单ID
  14786. type: integer
  14787. scfcontractid:
  14788. description: SCF合同ID
  14789. type: string
  14790. scfwrbuybackid:
  14791. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14792. type: integer
  14793. tradedate:
  14794. description: 交易日(yyyyMMdd)
  14795. type: string
  14796. type: object
  14797. models.WrDeliveryAvalidHoldLB:
  14798. properties:
  14799. accountid:
  14800. description: 资金账号
  14801. type: integer
  14802. avalidqty:
  14803. description: 数量(可点选数量)
  14804. type: number
  14805. deliverygoodsid:
  14806. description: 品种id
  14807. type: integer
  14808. enumdicname:
  14809. description: 单位名称
  14810. type: string
  14811. goodsid:
  14812. description: x合约商品id
  14813. type: integer
  14814. ladingbillid:
  14815. description: 提单id
  14816. type: string
  14817. pgoodscode:
  14818. description: p商品代码(点价合约)
  14819. type: string
  14820. pgoodsid:
  14821. description: p商品id(点价合约)
  14822. type: integer
  14823. pgoodsname:
  14824. description: p商品名称(点价合约)
  14825. type: string
  14826. pricemove:
  14827. description: 升贴水
  14828. type: number
  14829. subnum:
  14830. description: 提单子id
  14831. type: integer
  14832. userid:
  14833. description: 用户id
  14834. type: integer
  14835. username:
  14836. description: 仓单持有人
  14837. type: string
  14838. warehousecode:
  14839. description: 仓库代码
  14840. type: string
  14841. warehouseid:
  14842. description: 仓库id
  14843. type: integer
  14844. warehousename:
  14845. description: 仓库名称
  14846. type: string
  14847. wrfactortypeid:
  14848. description: 仓单要素id
  14849. type: string
  14850. wrstandardcode:
  14851. description: 品代码
  14852. type: string
  14853. wrstandardid:
  14854. description: 品类d
  14855. type: integer
  14856. wrstandardname:
  14857. description: 品类名称
  14858. type: string
  14859. wrtypename:
  14860. description: 商品
  14861. type: string
  14862. xgoodscode:
  14863. description: x合约代码
  14864. type: string
  14865. xgoodsname:
  14866. description: x合约名称
  14867. type: string
  14868. type: object
  14869. models.WrDeliveryDetail:
  14870. properties:
  14871. accountid:
  14872. description: 账号ID
  14873. type: integer
  14874. averageprice:
  14875. description: 交割均价 = 交割金额 / 交割数量
  14876. type: number
  14877. begindate:
  14878. description: 开始交易日(yyyymmdd)
  14879. type: string
  14880. buyorsell:
  14881. description: 方向 - 0:买 1:卖
  14882. type: integer
  14883. deliveryamount:
  14884. description: 货款金额(X总货款+P总货款)
  14885. type: number
  14886. deliveryid:
  14887. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14888. type: string
  14889. deliveryorderid:
  14890. description: 申报单号
  14891. type: string
  14892. deliverypricemove:
  14893. description: 升贴水(升贴水总额)
  14894. type: number
  14895. deliveryqty:
  14896. description: 交收数量(点选数量)
  14897. type: number
  14898. deliverystatus:
  14899. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14900. type: integer
  14901. deliverytime:
  14902. description: 交割时间
  14903. type: string
  14904. deliverytotalamount:
  14905. description: 交收金额
  14906. type: number
  14907. enddate:
  14908. description: 结束交易日(yyyymmdd)
  14909. type: string
  14910. enumdicname:
  14911. description: 单位名称
  14912. type: string
  14913. matchaccountid:
  14914. description: 对手账号ID
  14915. type: integer
  14916. matchusername:
  14917. description: 对手方名称(仓单持有人)
  14918. type: string
  14919. p1goodsremainamount:
  14920. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14921. type: number
  14922. pdeliverycloseqty:
  14923. description: p合约平仓数量
  14924. type: number
  14925. pdeliveryprice:
  14926. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14927. type: number
  14928. pgoodscode:
  14929. description: 商品代码
  14930. type: string
  14931. pgoodsid:
  14932. description: p点选合约id
  14933. type: integer
  14934. pgoodsname:
  14935. description: 商品名称
  14936. type: string
  14937. ppricemode:
  14938. description: 点价价格方式 - 1:商品价 2:固定值
  14939. type: integer
  14940. tradedate:
  14941. description: 交易日(yyyymmdd)
  14942. type: string
  14943. userid:
  14944. description: 用户id
  14945. type: integer
  14946. username:
  14947. description: 用户名称
  14948. type: string
  14949. warehousename:
  14950. description: 仓库名称
  14951. type: string
  14952. wrfactortypeid:
  14953. description: 仓单要素类型ID
  14954. type: string
  14955. wrtypename:
  14956. description: 商品
  14957. type: string
  14958. xdeliverycloseqty:
  14959. description: 合约数量
  14960. type: number
  14961. xgoodsamount:
  14962. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14963. type: number
  14964. xgoodscode:
  14965. description: 商品代码
  14966. type: string
  14967. xgoodsid:
  14968. description: x交易合约ID
  14969. type: integer
  14970. xgoodsname:
  14971. description: 商品名称
  14972. type: string
  14973. type: object
  14974. models.WrDeliveryGoodsSection:
  14975. properties:
  14976. dglst:
  14977. description: 板块商品列表
  14978. items:
  14979. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14980. type: array
  14981. imagepath:
  14982. description: 图片地址
  14983. type: string
  14984. orderindex:
  14985. description: 排序
  14986. type: integer
  14987. sectionid:
  14988. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14989. type: integer
  14990. sectionname:
  14991. description: 版块名称
  14992. type: string
  14993. sectiontype:
  14994. description: 版块类型 - 1:指数版块 2:普通版块
  14995. type: integer
  14996. type: object
  14997. models.WrDeliveryGoodsSectionConfig:
  14998. properties:
  14999. deliverygoodscode:
  15000. description: 现货商品代码
  15001. type: string
  15002. deliverygoodsid:
  15003. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15004. type: integer
  15005. deliverygoodsname:
  15006. description: 现货商品名称
  15007. type: string
  15008. orderindex:
  15009. description: 排序
  15010. type: integer
  15011. type: object
  15012. models.WrFAProductDetail:
  15013. properties:
  15014. accountid:
  15015. description: 资金账号
  15016. type: integer
  15017. areauserid:
  15018. description: 金融机构ID
  15019. type: integer
  15020. financingdays:
  15021. description: 天数(天)
  15022. type: integer
  15023. interestminlen:
  15024. description: 最小起息天数
  15025. type: integer
  15026. interestrate:
  15027. description: 利率
  15028. type: number
  15029. interestratemode:
  15030. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15031. type: integer
  15032. interestsettlemode:
  15033. description: 结息方式 - 1:按日结息 3:按月结息
  15034. type: integer
  15035. interestsettlevalue:
  15036. description: 结息方式值
  15037. type: integer
  15038. isautoloan:
  15039. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15040. type: integer
  15041. loantag:
  15042. description: '放款标识: "放款快" 或者为空'
  15043. type: string
  15044. marginratio:
  15045. description: 保证金比率质押率 - [仓单质押]
  15046. type: number
  15047. productdetailid:
  15048. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15049. type: integer
  15050. productid:
  15051. description: 金融产品ID
  15052. type: integer
  15053. productname:
  15054. description: 产品名称
  15055. type: string
  15056. updatetime:
  15057. description: 更新时间
  15058. type: string
  15059. username:
  15060. description: 融出方
  15061. type: string
  15062. type: object
  15063. models.WrFactorTypeInfo:
  15064. properties:
  15065. deliverygoodscode:
  15066. description: 品种代码
  15067. type: string
  15068. deliverygoodsname:
  15069. description: 品种名称
  15070. type: string
  15071. dgfactoryitemid:
  15072. description: 选择项id
  15073. type: integer
  15074. dgfactoryitemtypeid:
  15075. description: 要素选择项ID (1-仓库 2-品牌)
  15076. type: integer
  15077. dgfactoryitemvalue:
  15078. description: 要素项值
  15079. type: string
  15080. itemtypename:
  15081. description: 要素项名称
  15082. type: string
  15083. optioncompare:
  15084. description: 选择比较串
  15085. type: string
  15086. warehouseid:
  15087. description: 仓库id
  15088. type: integer
  15089. wrfactortypeid:
  15090. description: 仓单要素ID
  15091. type: string
  15092. wrfactortypename:
  15093. description: 要素名称
  15094. type: string
  15095. wrfactortypename2:
  15096. description: 要素名称(不含仓库)
  15097. type: string
  15098. wrstandardcode:
  15099. description: 品类代码
  15100. type: string
  15101. wrstandardid:
  15102. description: 品类id
  15103. type: integer
  15104. wrstandardname:
  15105. description: 品类名称
  15106. type: string
  15107. type: object
  15108. models.WrFilterItem:
  15109. properties:
  15110. itemcode:
  15111. description: 代码
  15112. type: string
  15113. itemid:
  15114. description: 项id
  15115. type: integer
  15116. itemname:
  15117. description: 名称
  15118. type: string
  15119. itemtype:
  15120. description: 类型 1-品种 2-品类(商品) 3-仓库
  15121. type: integer
  15122. type: object
  15123. models.WrFinanceBuyApply:
  15124. properties:
  15125. applydate:
  15126. description: 申请时间
  15127. type: string
  15128. applystatus:
  15129. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15130. type: integer
  15131. applyuserid:
  15132. description: 申请人
  15133. type: integer
  15134. auditdate:
  15135. description: 审核时间
  15136. type: string
  15137. auditremark:
  15138. description: 审核备注
  15139. type: string
  15140. audituserid:
  15141. description: 审核人
  15142. type: integer
  15143. buyaccountid:
  15144. description: 买方资金账号
  15145. type: integer
  15146. buyorsell:
  15147. description: 买卖 - 0:买 1:卖
  15148. type: integer
  15149. buyuserid:
  15150. description: 买方用户ID
  15151. type: integer
  15152. buyusername:
  15153. description: 买方名称
  15154. type: string
  15155. buywrtradeorderid:
  15156. description: 融资方买委托单ID
  15157. type: string
  15158. deliverygoodscode:
  15159. description: 品种代码
  15160. type: string
  15161. deliverygoodsid:
  15162. description: 品种ID
  15163. type: integer
  15164. deliverygoodsname:
  15165. description: 品种名称
  15166. type: string
  15167. deliverymonth:
  15168. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15169. type: string
  15170. enumdicname:
  15171. description: 单位名称
  15172. type: string
  15173. financeaccountid:
  15174. description: 融资方资金帐户ID
  15175. type: integer
  15176. financeapplyid:
  15177. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15178. type: string
  15179. financeareauserid:
  15180. description: 融资方用户ID
  15181. type: string
  15182. financename:
  15183. description: 融出方名称
  15184. type: string
  15185. financetype:
  15186. description: 融资类型 1-融资回购
  15187. type: integer
  15188. financingdays:
  15189. description: 天数(天)
  15190. type: integer
  15191. freezebuymargin:
  15192. description: 冻结融资保证金(买方)
  15193. type: number
  15194. handleremark:
  15195. description: 处理备注
  15196. type: string
  15197. handlestatus:
  15198. description: 处理状态
  15199. type: integer
  15200. interestminlen:
  15201. description: 最小起息天数
  15202. type: integer
  15203. interestrate:
  15204. description: 利率
  15205. type: number
  15206. interestratemode:
  15207. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15208. type: integer
  15209. interestsettlemode:
  15210. description: 结息方式 - 1:按日结息 3:按月结息
  15211. type: integer
  15212. interestsettlevalue:
  15213. description: 结息方式值
  15214. type: integer
  15215. isautoloan:
  15216. description: 是否自动放款 - 0:手动 1:自动
  15217. type: integer
  15218. marginratio:
  15219. description: 保证金比率质押率 - [仓单质押]
  15220. type: number
  15221. marketid:
  15222. description: 市场ID
  15223. type: integer
  15224. minivalue:
  15225. description: 现货商品最小变动值
  15226. type: integer
  15227. optioncompare:
  15228. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15229. type: string
  15230. orderqty:
  15231. description: 委托数量(商品数量)
  15232. type: number
  15233. productdetailid:
  15234. description: 产品组合ID
  15235. type: integer
  15236. productid:
  15237. description: 金融产品ID
  15238. type: integer
  15239. productname:
  15240. description: 产品名称
  15241. type: string
  15242. remark:
  15243. description: 备注
  15244. type: string
  15245. scfcontractid:
  15246. description: 仓单回购合同ID
  15247. type: string
  15248. sellaccountid:
  15249. description: 卖方资金账号
  15250. type: integer
  15251. selluserid:
  15252. description: 卖方用户ID
  15253. type: integer
  15254. sellwrtradeorderid:
  15255. description: 卖方委托单ID
  15256. type: string
  15257. tradeamount:
  15258. description: 成交金额(借款金额)
  15259. type: number
  15260. tradedate:
  15261. description: 交易日(yyyyMMdd)
  15262. type: string
  15263. tradeprice:
  15264. description: 成交价格
  15265. type: number
  15266. warehouseid:
  15267. description: 仓库ID
  15268. type: integer
  15269. warehousename:
  15270. description: 仓库名称
  15271. type: string
  15272. wrfactortypeid:
  15273. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15274. type: string
  15275. wrfactortypename:
  15276. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15277. type: string
  15278. wrpricetype:
  15279. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15280. type: integer
  15281. wrstandardcode:
  15282. description: 现货商品代码
  15283. type: string
  15284. wrstandardid:
  15285. description: 现货商品ID
  15286. type: integer
  15287. wrstandardname:
  15288. description: 商品名称
  15289. type: string
  15290. wrtypename:
  15291. description: 商品
  15292. type: string
  15293. type: object
  15294. models.WrFriendApply:
  15295. properties:
  15296. applicantid:
  15297. description: 申请人
  15298. type: integer
  15299. applyname:
  15300. description: 申请人名称
  15301. type: string
  15302. applysrc:
  15303. description: 申请来源 - 1:管理端 2:终端
  15304. type: integer
  15305. applystatus:
  15306. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15307. type: integer
  15308. applytime:
  15309. description: 申请时间
  15310. type: string
  15311. auditname:
  15312. description: 审核人名称
  15313. type: string
  15314. auditorid:
  15315. description: 审核人
  15316. type: integer
  15317. auditremark:
  15318. description: 审核备注
  15319. type: string
  15320. auditsrc:
  15321. description: 审核来源 - 1:管理端 2:终端
  15322. type: integer
  15323. audittime:
  15324. description: 审核时间
  15325. type: string
  15326. friendapplyid:
  15327. description: 申请ID(SEQ_FRIENDAPPLY)
  15328. type: string
  15329. friendname:
  15330. description: 好友名字(已脱敏)
  15331. type: string
  15332. frienduserid:
  15333. description: 好友用户ID
  15334. type: string
  15335. remark:
  15336. description: 备注
  15337. type: string
  15338. userid:
  15339. description: 申请人用户ID
  15340. type: integer
  15341. type: object
  15342. models.WrFtDeliveryGoods:
  15343. properties:
  15344. deliverygoodscode:
  15345. description: 品种代码
  15346. type: string
  15347. deliverygoodsid:
  15348. description: 品种ID
  15349. type: integer
  15350. deliverygoodsname:
  15351. description: 品种名称
  15352. type: string
  15353. wdlst:
  15354. description: 商品列表
  15355. items:
  15356. $ref: '#/definitions/models.WrFtWrstandard'
  15357. type: array
  15358. type: object
  15359. models.WrFtWrstandard:
  15360. properties:
  15361. enumdicname:
  15362. description: 单位名称
  15363. type: string
  15364. minivalue:
  15365. description: 最小变动值
  15366. type: integer
  15367. wrstandardcode:
  15368. description: 现货商品代码
  15369. type: string
  15370. wrstandardid:
  15371. description: 现货商品ID
  15372. type: integer
  15373. wrstandardname:
  15374. description: 商品名称
  15375. type: string
  15376. type: object
  15377. models.WrGoodsInfo:
  15378. properties:
  15379. haswr:
  15380. description: 0:仓单预售 1:仓单贸易
  15381. type: integer
  15382. lstitem:
  15383. description: 商品信息项
  15384. items:
  15385. $ref: '#/definitions/models.WrTypeItem'
  15386. type: array
  15387. lststep:
  15388. description: 履约规则
  15389. items:
  15390. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15391. type: array
  15392. marketid:
  15393. description: 市场id
  15394. type: integer
  15395. type: object
  15396. models.WrGoodsPerformanceStep:
  15397. properties:
  15398. autoid:
  15399. description: AutoID
  15400. type: integer
  15401. isauto:
  15402. description: 是否自动 - 0:不自动 1:自动
  15403. type: integer
  15404. remark:
  15405. description: 备注
  15406. type: string
  15407. stepdate:
  15408. description: 天数信息(T+N)
  15409. type: string
  15410. stepdays:
  15411. description: 距离上一步天数
  15412. type: integer
  15413. stepindex:
  15414. description: 步骤序号
  15415. type: integer
  15416. stepinfo:
  15417. description: 步骤信息(步骤名称+步骤值)
  15418. type: string
  15419. steptypeid:
  15420. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15421. type: integer
  15422. steptypename:
  15423. description: 步骤名称
  15424. type: string
  15425. stepvalue:
  15426. description: 步骤值
  15427. type: number
  15428. templateid:
  15429. description: 履约计划模板ID
  15430. type: integer
  15431. type: object
  15432. models.WrHoldLB:
  15433. properties:
  15434. accountid:
  15435. description: 持有人帐户ID
  15436. type: integer
  15437. createtime:
  15438. description: 创建时间(过户时间)
  15439. type: string
  15440. deliverygoodscode:
  15441. description: 品种代码
  15442. type: string
  15443. deliverygoodsid:
  15444. description: 品种ID
  15445. type: integer
  15446. deliverygoodsname:
  15447. description: 品种名称
  15448. type: string
  15449. enableqty:
  15450. description: 可用数量
  15451. type: number
  15452. enumdicname:
  15453. description: 单位名称
  15454. type: string
  15455. freezerqty:
  15456. description: 冻结数量
  15457. type: number
  15458. ladingbillid:
  15459. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15460. type: string
  15461. minivalue:
  15462. description: 现货商品最小变动值
  15463. type: integer
  15464. optioncompare:
  15465. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15466. type: string
  15467. parentsubnum:
  15468. description: 拆分父子单号
  15469. type: integer
  15470. pledgeqty:
  15471. description: 质押数量
  15472. type: number
  15473. qty:
  15474. description: 数量
  15475. type: number
  15476. subnum:
  15477. description: 提单子单号
  15478. type: integer
  15479. tradedate:
  15480. description: 交易日(yyyyMMdd)
  15481. type: string
  15482. userid:
  15483. description: 持有人ID
  15484. type: integer
  15485. warehouseid:
  15486. description: 仓库ID
  15487. type: integer
  15488. warehousename:
  15489. description: 仓库名称
  15490. type: string
  15491. wrfactortypeid:
  15492. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15493. type: string
  15494. wrfactortypename:
  15495. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15496. type: string
  15497. wrholdeno:
  15498. description: 仓单编号
  15499. type: string
  15500. wrid:
  15501. description: 仓单变更ID
  15502. type: string
  15503. wrstandardcode:
  15504. description: 现货商品代码
  15505. type: string
  15506. wrstandardid:
  15507. description: 现货商品ID
  15508. type: integer
  15509. wrstandardname:
  15510. description: 商品名称
  15511. type: string
  15512. wrtypename:
  15513. description: 商品
  15514. type: string
  15515. type: object
  15516. models.WrMarketTradeConfig:
  15517. properties:
  15518. basisdownratio:
  15519. description: 浮动价基差下限比例(仓单贸易)
  15520. type: number
  15521. basisupratio:
  15522. description: 浮动价基差上限比例(仓单贸易)
  15523. type: number
  15524. buychargealgorithm:
  15525. description: 买方手续费收取方式 1:比率 2:固定
  15526. type: integer
  15527. buychargealgorithm2:
  15528. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15529. type: integer
  15530. buychargealgorithmvalue:
  15531. description: 买方手续费设置值(交易所部分)
  15532. type: number
  15533. buychargealgorithmvalue2:
  15534. description: 买方手续费设置值(会员部分)
  15535. type: number
  15536. buychargealgorithmvalue3:
  15537. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15538. type: number
  15539. buychargealgorithmvalue4:
  15540. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15541. type: number
  15542. buyfirstmarginalgorithm:
  15543. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15544. type: integer
  15545. buyfirstmarginvalue:
  15546. description: 买方出价保证金设置值 - [竞拍]
  15547. type: number
  15548. buymarginalgorithm:
  15549. description: 买方保证金方式 - 1:比率 2:固定
  15550. type: integer
  15551. buymarginvalue:
  15552. description: 买方保证金设置值
  15553. type: number
  15554. buyreleaseratio:
  15555. description: 买方释放比率[2:分步履约]
  15556. type: number
  15557. executemode:
  15558. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15559. type: integer
  15560. executeside:
  15561. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15562. type: integer
  15563. failedchargealgorithm:
  15564. description: 流拍手续费收取方式 1:比率 2:固定
  15565. type: integer
  15566. failedchargevalue:
  15567. description: 流拍手续费设置值
  15568. type: number
  15569. failedchargevalue2:
  15570. description: 流拍卖方手续费设置值
  15571. type: number
  15572. holddays:
  15573. description: 合同期限[2:分步履约]
  15574. type: integer
  15575. marketid:
  15576. description: 市场ID-仓单贸易、竞拍、预售
  15577. type: integer
  15578. minqty:
  15579. description: 最小执行量[2:分步履约]
  15580. type: number
  15581. modifierid:
  15582. description: 修改人
  15583. type: integer
  15584. performancetempid:
  15585. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15586. type: integer
  15587. performancetempid2:
  15588. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15589. type: integer
  15590. performancetempid2s:
  15591. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15592. type: string
  15593. performancetempids:
  15594. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15595. type: string
  15596. performanceway:
  15597. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15598. type: integer
  15599. sellchargealgorithm:
  15600. description: 卖方手续费收取方式 1:比率 2:固定
  15601. type: integer
  15602. sellchargealgorithm2:
  15603. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15604. type: integer
  15605. sellchargealgorithmvalue:
  15606. description: 卖方手续费设置值(交易所部分)
  15607. type: number
  15608. sellchargealgorithmvalue2:
  15609. description: 卖方手续费设置值(会员部分)
  15610. type: number
  15611. sellchargealgorithmvalue3:
  15612. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15613. type: number
  15614. sellchargealgorithmvalue4:
  15615. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15616. type: number
  15617. sellmarginalgorithm:
  15618. description: 卖方保证金方式 - 1:比率 2:固定
  15619. type: integer
  15620. sellmarginvalue:
  15621. description: 卖方保证金设置值
  15622. type: number
  15623. sellmarginvalue2:
  15624. description: 卖方保证金设置值(无仓单)
  15625. type: number
  15626. sellreleaseratio:
  15627. description: 卖方释放比率[2:分步履约]
  15628. type: number
  15629. updatetime:
  15630. description: 更新时间
  15631. type: string
  15632. type: object
  15633. models.WrOrderDetail:
  15634. properties:
  15635. accountid:
  15636. description: 交易账号(资金账号)
  15637. type: integer
  15638. allfriendsflag:
  15639. description: 是否全好友可见 - 0:否 1:是
  15640. type: integer
  15641. amount:
  15642. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15643. type: number
  15644. begindate:
  15645. description: 开始交易日(yyyymmdd)
  15646. type: string
  15647. buyorsell:
  15648. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15649. type: integer
  15650. canbargain:
  15651. description: 是否可议价 - 0:不可 1:可
  15652. type: integer
  15653. cancelqty:
  15654. description: 撤销数量
  15655. type: number
  15656. canpart:
  15657. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15658. type: integer
  15659. delistminqty:
  15660. description: 起摘数量
  15661. type: integer
  15662. deliverygoodscode:
  15663. description: 品种代码
  15664. type: string
  15665. deliverygoodsid:
  15666. description: 品种ID
  15667. type: integer
  15668. deliverygoodsname:
  15669. description: 品种名称
  15670. type: string
  15671. deliverymonth:
  15672. description: 交收月
  15673. type: string
  15674. enddate:
  15675. description: 结束交易日(yyyymmdd)
  15676. type: string
  15677. enumdicname:
  15678. description: 单位名称
  15679. type: string
  15680. fixedprice:
  15681. description: 固定价格 - [挂牌]
  15682. type: number
  15683. freezecharge:
  15684. description: 冻结手续费
  15685. type: number
  15686. freezemargin:
  15687. description: 冻结保证金(保证金)
  15688. type: number
  15689. futupricemove:
  15690. description: 期货升贴水
  15691. type: number
  15692. futushow:
  15693. description: 期货合约/升贴水
  15694. type: string
  15695. goodscode:
  15696. description: 期货合约
  15697. type: string
  15698. goodsid:
  15699. description: 期货商品id
  15700. type: integer
  15701. goodsname:
  15702. description: 商品名称
  15703. type: string
  15704. haswr:
  15705. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15706. type: integer
  15707. isspecified:
  15708. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15709. type: integer
  15710. ladingbillid:
  15711. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15712. type: string
  15713. marginvalue:
  15714. description: 保证金设置值(履约保证金)
  15715. type: number
  15716. marketid:
  15717. description: 市场ID
  15718. type: integer
  15719. matchusername:
  15720. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15721. type: string
  15722. minivalue:
  15723. description: 现货商品最小变动值
  15724. type: integer
  15725. optioncompare:
  15726. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15727. type: string
  15728. orderqty:
  15729. description: 委托数量
  15730. type: number
  15731. ordertime:
  15732. description: 委托时间(挂牌时间)
  15733. type: string
  15734. performancetemplateid:
  15735. description: 履约模板id
  15736. type: integer
  15737. pricemove:
  15738. description: 升贴水(浮动价时填写) - [挂牌]
  15739. type: number
  15740. taname:
  15741. description: 交易用户名称(资金账号名称)
  15742. type: string
  15743. tradedate:
  15744. description: 交易日(yyyyMMdd)
  15745. type: string
  15746. tradeprice:
  15747. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15748. type: number
  15749. tradeqty:
  15750. description: 成交数量
  15751. type: number
  15752. userid:
  15753. description: 用户ID
  15754. type: integer
  15755. validtime:
  15756. description: 挂牌有效期
  15757. type: string
  15758. validtype:
  15759. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15760. type: integer
  15761. warehouseid:
  15762. description: 仓库ID
  15763. type: integer
  15764. warehousename:
  15765. description: 仓库名称
  15766. type: string
  15767. wrfactortypeid:
  15768. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15769. type: string
  15770. wrfactortypename:
  15771. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15772. type: string
  15773. wrpricetype:
  15774. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15775. type: integer
  15776. wrstandardcode:
  15777. description: 现货商品代码
  15778. type: string
  15779. wrstandardid:
  15780. description: 现货商品ID
  15781. type: integer
  15782. wrstandardname:
  15783. description: 商品名称
  15784. type: string
  15785. wrtradeorderid:
  15786. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15787. type: string
  15788. wrtradeorderstatus:
  15789. 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:撤单解冻贷款失败
  15790. type: integer
  15791. wrtradetype:
  15792. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15793. type: integer
  15794. wrtypename:
  15795. description: 商品
  15796. type: string
  15797. type: object
  15798. models.WrOrderQuote:
  15799. properties:
  15800. buyprice:
  15801. description: 买价
  15802. type: number
  15803. buypricemove:
  15804. description: 买升贴水(基差)
  15805. type: number
  15806. buyqty:
  15807. description: 买量
  15808. type: number
  15809. deliverygoodscode:
  15810. description: 品种代码
  15811. type: string
  15812. deliverygoodsid:
  15813. description: 品种id
  15814. type: integer
  15815. deliverygoodsname:
  15816. description: 品种名称
  15817. type: string
  15818. deliverymonth:
  15819. description: 交收月
  15820. type: string
  15821. enumdicname:
  15822. description: 单位名称
  15823. type: string
  15824. goodscode:
  15825. description: 商品合约(浮动价列表才有)
  15826. type: string
  15827. goodsid:
  15828. description: 商品id(浮动价列表才有)
  15829. type: integer
  15830. minivalue:
  15831. description: 现货商品最小变动值
  15832. type: integer
  15833. sellprice:
  15834. description: 卖价
  15835. type: number
  15836. sellpricemove:
  15837. description: 卖升贴水(基差)
  15838. type: number
  15839. sellqty:
  15840. description: 卖量
  15841. type: number
  15842. warehousecode:
  15843. description: 仓库代码
  15844. type: string
  15845. warehouseid:
  15846. description: 仓库id
  15847. type: integer
  15848. warehousename:
  15849. description: 仓库名称
  15850. type: string
  15851. wrfactortypeid:
  15852. description: 仓单要素id
  15853. type: string
  15854. wrfactortypename:
  15855. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15856. type: string
  15857. wrgoodsname:
  15858. description: 商品(商品名称+仓库要素名称 拼接)
  15859. type: string
  15860. wrstandardcode:
  15861. description: 商品代码
  15862. type: string
  15863. wrstandardid:
  15864. description: 商品id
  15865. type: integer
  15866. wrstandardname:
  15867. description: 商品名称
  15868. type: string
  15869. type: object
  15870. models.WrOrderQuoteDetail:
  15871. properties:
  15872. buyorsell:
  15873. description: 买卖 - 0:买 1:卖
  15874. type: integer
  15875. delistminqty:
  15876. description: 起摘数量
  15877. type: number
  15878. deliverymonth:
  15879. description: 交收月
  15880. type: string
  15881. enumdicname:
  15882. description: 单位名称
  15883. type: string
  15884. fixedprice:
  15885. description: 买(卖)价
  15886. type: number
  15887. marketid:
  15888. description: 市场id
  15889. type: integer
  15890. minivalue:
  15891. description: 现货商品最小变动值
  15892. type: integer
  15893. orderqty:
  15894. description: 买(卖)量(=委托量-成交量)
  15895. type: number
  15896. ordertime:
  15897. description: 委托时间
  15898. type: string
  15899. pricemove:
  15900. description: 买(卖)升贴水- 基差
  15901. type: number
  15902. userid:
  15903. description: 购买方(销售方)用户ID
  15904. type: integer
  15905. username:
  15906. description: 购买方(销售方)
  15907. type: string
  15908. wrtradeorderid:
  15909. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15910. type: string
  15911. type: object
  15912. models.WrOutInApply:
  15913. properties:
  15914. applyid:
  15915. description: 申请单id
  15916. type: string
  15917. applystatus:
  15918. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15919. type: integer
  15920. applytime:
  15921. description: 申请时间
  15922. type: string
  15923. applytype:
  15924. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15925. type: integer
  15926. begindate:
  15927. description: 开始交易日(yyyymmdd)
  15928. type: string
  15929. deliverygoodscode:
  15930. description: 品种代码
  15931. type: string
  15932. deliverygoodsid:
  15933. description: 品种ID
  15934. type: integer
  15935. deliverygoodsname:
  15936. description: 品种名称
  15937. type: string
  15938. enddate:
  15939. description: 结束交易日(yyyymmdd)
  15940. type: string
  15941. enumdicname:
  15942. description: 单位名称
  15943. type: string
  15944. expresscompany:
  15945. description: 物流公司
  15946. type: string
  15947. expressnum:
  15948. description: 物流单号
  15949. type: string
  15950. minivalue:
  15951. description: 现货商品最小变动值
  15952. type: integer
  15953. optioncompare:
  15954. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15955. type: string
  15956. qty:
  15957. description: 数量
  15958. type: integer
  15959. userid:
  15960. description: 用户id
  15961. type: integer
  15962. warehouseid:
  15963. description: 仓库ID
  15964. type: integer
  15965. warehousename:
  15966. description: 仓库名称
  15967. type: string
  15968. wrfactortypeid:
  15969. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15970. type: string
  15971. wrfactortypename:
  15972. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15973. type: string
  15974. wrstandardcode:
  15975. description: 现货商品代码
  15976. type: string
  15977. wrstandardid:
  15978. description: 现货商品ID
  15979. type: integer
  15980. wrstandardname:
  15981. description: 商品名称
  15982. type: string
  15983. wrtypename:
  15984. description: 商品
  15985. type: string
  15986. type: object
  15987. models.WrPerformancePlan:
  15988. properties:
  15989. activatemonth:
  15990. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15991. type: string
  15992. amount:
  15993. description: 履约金额(总金额)
  15994. type: number
  15995. begindate:
  15996. description: 开始交易日(yyyymmdd)
  15997. type: string
  15998. buyaccountid:
  15999. description: 买方账号
  16000. type: integer
  16001. buyerfreezeamount:
  16002. description: 履约冻结(买履约)
  16003. type: number
  16004. buyerfreezeamountremain:
  16005. description: 履约冻结剩余(买履约)
  16006. type: number
  16007. buyorsell:
  16008. description: 买卖方向 0-买 1-卖
  16009. type: integer
  16010. buypaidamount:
  16011. description: 买方已冻/已扣金额 (已付金额)
  16012. type: number
  16013. buyusername:
  16014. description: 买方名字
  16015. type: string
  16016. contractid:
  16017. description: 合同ID
  16018. type: integer
  16019. createtime:
  16020. description: 创建时间
  16021. type: string
  16022. creatorid:
  16023. description: 创建人
  16024. type: integer
  16025. curstepdeadline:
  16026. description: 当前步骤到期时间
  16027. type: string
  16028. curstepid:
  16029. description: 当前步骤ID
  16030. type: string
  16031. curstepname:
  16032. description: 当前步骤名称
  16033. type: string
  16034. deliverygoodscode:
  16035. description: 品种代码
  16036. type: string
  16037. deliverygoodsid:
  16038. description: 品种ID
  16039. type: integer
  16040. deliverygoodsname:
  16041. description: 品种名称
  16042. type: string
  16043. enddate:
  16044. description: 结束交易日(yyyymmdd)
  16045. type: string
  16046. enumdicname:
  16047. description: 单位名称
  16048. type: string
  16049. expressfee:
  16050. description: 运费
  16051. type: number
  16052. expressfeeconfirmed:
  16053. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16054. type: integer
  16055. hasovershort:
  16056. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16057. type: integer
  16058. haswr:
  16059. description: 类型 0-仓单预售 1-仓单贸易
  16060. type: integer
  16061. marketid:
  16062. description: 市场ID
  16063. type: integer
  16064. middleaccountid:
  16065. description: 中间商资金账号ID
  16066. type: integer
  16067. middleuserid:
  16068. description: 中间商用户ID
  16069. type: integer
  16070. minivalue:
  16071. description: 现货商品最小变动值
  16072. type: integer
  16073. optioncompare:
  16074. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16075. type: string
  16076. overshortamount:
  16077. description: 溢短金额
  16078. type: number
  16079. overshortqty:
  16080. description: 溢短数量
  16081. type: number
  16082. paymenttype:
  16083. description: 付款方式 - 1:冻结 2:扣款
  16084. type: integer
  16085. performanceplanid:
  16086. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16087. type: string
  16088. performancestatus:
  16089. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16090. type: integer
  16091. performancetype:
  16092. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16093. type: integer
  16094. qty:
  16095. description: 履约数量
  16096. type: number
  16097. relatedorderid:
  16098. description: 关联单号(履约类型的关联单号)
  16099. type: string
  16100. remark:
  16101. description: 备注
  16102. type: string
  16103. sellaccountid:
  16104. description: 卖方账号
  16105. type: integer
  16106. sellerfreezeamount:
  16107. description: 履约冻结(卖履约)
  16108. type: number
  16109. sellerfreezeamountremain:
  16110. description: 履约冻结剩余(卖履约)
  16111. type: number
  16112. sellreceivedamount:
  16113. description: 卖方已收金额
  16114. type: number
  16115. sellusername:
  16116. description: 卖方名字
  16117. type: string
  16118. shipremark:
  16119. description: 发货备注[物流单号]
  16120. type: string
  16121. starttime:
  16122. description: 开始时间
  16123. type: string
  16124. steptypeid:
  16125. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16126. type: integer
  16127. typename:
  16128. description: 履约类型 名称
  16129. type: string
  16130. unpaidamount:
  16131. description: 剩余款(待支付金额)
  16132. type: number
  16133. userid:
  16134. description: 用户id
  16135. type: integer
  16136. warehouseid:
  16137. description: 仓库ID
  16138. type: integer
  16139. warehousename:
  16140. description: 仓库名称
  16141. type: string
  16142. wrfactortypeid:
  16143. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16144. type: string
  16145. wrfactortypename:
  16146. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16147. type: string
  16148. wrstandardcode:
  16149. description: 现货商品代码
  16150. type: string
  16151. wrstandardid:
  16152. description: 现货商品ID
  16153. type: integer
  16154. wrstandardname:
  16155. description: 商品名称
  16156. type: string
  16157. wrtransferuserid:
  16158. description: 仓单受让用户
  16159. type: integer
  16160. wrtypename:
  16161. description: 商品
  16162. type: string
  16163. required:
  16164. - userid
  16165. type: object
  16166. models.WrPerformancePlanStep:
  16167. properties:
  16168. delaydays:
  16169. description: 延期申请天数
  16170. type: integer
  16171. deliverygoodscode:
  16172. description: 品种代码
  16173. type: string
  16174. deliverygoodsid:
  16175. description: 品种ID
  16176. type: integer
  16177. deliverygoodsname:
  16178. description: 品种名称
  16179. type: string
  16180. endtime:
  16181. description: 结束日期
  16182. type: string
  16183. enumdicname:
  16184. description: 单位名称
  16185. type: string
  16186. executeside:
  16187. description: 步骤执行方 - 1:买方 2:卖方
  16188. type: integer
  16189. handlestatus:
  16190. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16191. type: integer
  16192. isauto:
  16193. description: 是否自动 - 0:不自动 1:自动
  16194. type: integer
  16195. islastreceivestep:
  16196. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16197. type: integer
  16198. minivalue:
  16199. description: 现货商品最小变动值
  16200. type: integer
  16201. optioncompare:
  16202. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16203. type: string
  16204. overdays:
  16205. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16206. type: integer
  16207. performancestepid:
  16208. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16209. type: string
  16210. planid:
  16211. description: 所属履约计划ID
  16212. type: string
  16213. realamount:
  16214. description: 实际完成金额
  16215. type: number
  16216. relatedorderid:
  16217. description: 关联单号
  16218. type: string
  16219. remaindays:
  16220. description: 剩余天数
  16221. type: integer
  16222. remark:
  16223. description: 错误备注
  16224. type: string
  16225. starttime:
  16226. description: 开始日期
  16227. type: string
  16228. stepamount:
  16229. description: 步骤金额
  16230. type: number
  16231. stepdays:
  16232. description: 距离上一步天数(分钟)
  16233. type: integer
  16234. stepindex:
  16235. description: 步骤序号
  16236. type: integer
  16237. steplanchtype:
  16238. description: 步骤启动类型 - 1:系统自动 2:手动
  16239. type: integer
  16240. stepremark:
  16241. description: 步骤备注
  16242. type: string
  16243. stepstatus:
  16244. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16245. type: integer
  16246. steptypeid:
  16247. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16248. type: integer
  16249. steptypename:
  16250. description: 步骤名称
  16251. type: string
  16252. stepvalue:
  16253. description: 步骤值
  16254. type: number
  16255. warehouseid:
  16256. description: 仓库ID
  16257. type: integer
  16258. warehousename:
  16259. description: 仓库名称
  16260. type: string
  16261. wrfactortypeid:
  16262. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16263. type: string
  16264. wrfactortypename:
  16265. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16266. type: string
  16267. wrstandardcode:
  16268. description: 现货商品代码
  16269. type: string
  16270. wrstandardid:
  16271. description: 现货商品ID
  16272. type: integer
  16273. wrstandardname:
  16274. description: 商品名称
  16275. type: string
  16276. wrtypename:
  16277. description: 商品
  16278. type: string
  16279. type: object
  16280. models.WrPerformanceStepType:
  16281. properties:
  16282. canauto:
  16283. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16284. type: integer
  16285. steptypeid:
  16286. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16287. type: integer
  16288. steptypename:
  16289. description: 步骤类型名称
  16290. type: string
  16291. type: object
  16292. models.WrPerformanceTemplateEx:
  16293. properties:
  16294. autoid:
  16295. description: AutoID 模板id
  16296. type: integer
  16297. createtime:
  16298. description: 创建时间
  16299. type: string
  16300. creatorid:
  16301. description: 创建人
  16302. type: integer
  16303. lstStep:
  16304. description: 步骤信息列表
  16305. items:
  16306. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16307. type: array
  16308. paymenttype:
  16309. description: 支付方式 - 1:冻结 2:扣款
  16310. type: integer
  16311. takemode:
  16312. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16313. type: integer
  16314. templatename:
  16315. description: 模板名称
  16316. type: string
  16317. templatetype:
  16318. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16319. type: integer
  16320. userid:
  16321. description: 所属用户
  16322. type: integer
  16323. type: object
  16324. models.WrPosition:
  16325. properties:
  16326. accountid:
  16327. description: 帐户ID
  16328. type: integer
  16329. buyexcuteqty:
  16330. description: 采购履约中数量
  16331. type: number
  16332. creditcurqty:
  16333. description: 授信当前数量(预售仓单:预售当前量)
  16334. type: number
  16335. creditenableqty:
  16336. description: '授信可用数量(预售仓单: 可用数量)'
  16337. type: number
  16338. creditfreezeqty:
  16339. description: '授信冻结数量(预售仓单: 当前数量)'
  16340. type: number
  16341. credittotalqty:
  16342. description: 授信总数量(预售仓单:预售总量)
  16343. type: number
  16344. credittradeqty:
  16345. description: 授信成交数量(预售仓单:成交总量)
  16346. type: number
  16347. deliverygoodscode:
  16348. description: 品种代码
  16349. type: string
  16350. deliverygoodsid:
  16351. description: 品种ID
  16352. type: integer
  16353. deliverygoodsname:
  16354. description: 品种名称
  16355. type: string
  16356. enalbeqty:
  16357. description: 可用数量
  16358. type: number
  16359. enumdicname:
  16360. description: 单位名称
  16361. type: string
  16362. freezeqty:
  16363. description: 总冻结数量
  16364. type: number
  16365. haswr:
  16366. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16367. type: integer
  16368. minivalue:
  16369. description: 现货商品最小变动值
  16370. type: integer
  16371. modifytime:
  16372. description: 修改时间(过户时间)
  16373. type: string
  16374. optioncompare:
  16375. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16376. type: string
  16377. pledgeqty:
  16378. description: 质押数量
  16379. type: number
  16380. querytype:
  16381. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16382. type: integer
  16383. sellexcuteqty:
  16384. description: 销售履约中数量
  16385. type: number
  16386. totalqty:
  16387. description: 总数量(库存数量)
  16388. type: number
  16389. warehouseid:
  16390. description: 仓库ID
  16391. type: integer
  16392. warehousename:
  16393. description: 仓库名称
  16394. type: string
  16395. wrfactortypeid:
  16396. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16397. type: string
  16398. wrfactortypename:
  16399. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16400. type: string
  16401. wrpositionid:
  16402. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16403. type: string
  16404. wrpositionno:
  16405. description: 仓单编号
  16406. type: string
  16407. wrstandardcode:
  16408. description: 现货商品代码
  16409. type: string
  16410. wrstandardid:
  16411. description: 现货商品ID
  16412. type: integer
  16413. wrstandardname:
  16414. description: 商品名称
  16415. type: string
  16416. wrtypename:
  16417. description: 商品
  16418. type: string
  16419. wruserid:
  16420. description: 持有人ID
  16421. type: integer
  16422. type: object
  16423. models.WrQuoteOrderMyq:
  16424. properties:
  16425. buyorsell:
  16426. description: 买卖 - 0:买 1:卖
  16427. type: integer
  16428. canbargain:
  16429. description: 是否可议价 - 0:不可 1:可
  16430. type: integer
  16431. canpart:
  16432. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16433. type: integer
  16434. delistminqty:
  16435. description: 起摘数量
  16436. type: number
  16437. deliverygoodscode:
  16438. description: 品种代码
  16439. type: string
  16440. deliverygoodsid:
  16441. description: 品种ID
  16442. type: integer
  16443. deliverygoodsname:
  16444. description: 品种名称
  16445. type: string
  16446. deliverymonth:
  16447. description: 交收月
  16448. type: string
  16449. enumdicname:
  16450. description: 单位名称
  16451. type: string
  16452. fixedprice:
  16453. description: 买(卖)价
  16454. type: number
  16455. goodscode:
  16456. description: 商品合约代码
  16457. type: string
  16458. marginflag:
  16459. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16460. type: integer
  16461. marginvalue:
  16462. description: 保证金设置值
  16463. type: number
  16464. minivalue:
  16465. description: 现货商品最小变动值
  16466. type: integer
  16467. orderqty:
  16468. description: 买(卖)量(=委托量-成交量)
  16469. type: number
  16470. ordertime:
  16471. description: 委托时间
  16472. type: string
  16473. performancetemplateid:
  16474. description: 履约模板id
  16475. type: integer
  16476. pricemove:
  16477. description: 买(卖)升贴水- 基差
  16478. type: number
  16479. templatename:
  16480. description: 履约模板名称
  16481. type: string
  16482. userid:
  16483. description: 购买方(销售方)用户ID
  16484. type: integer
  16485. username:
  16486. description: 购买方(销售方)
  16487. type: string
  16488. validtime:
  16489. description: 有效期限
  16490. type: string
  16491. validtype:
  16492. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16493. type: integer
  16494. warehousename:
  16495. description: 仓库名称
  16496. type: string
  16497. wrfactortypeid:
  16498. description: 仓单要素id
  16499. type: string
  16500. wrstandardcode:
  16501. description: 现货商品代码
  16502. type: string
  16503. wrstandardid:
  16504. description: 现货商品ID
  16505. type: integer
  16506. wrstandardname:
  16507. description: 商品名称
  16508. type: string
  16509. wrtradeorderid:
  16510. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16511. type: string
  16512. wrtypename:
  16513. description: 商品
  16514. type: string
  16515. type: object
  16516. models.WrScfContract:
  16517. properties:
  16518. borroweruserid:
  16519. description: 借款用户ID
  16520. type: integer
  16521. buybackwrpositionqty:
  16522. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16523. type: number
  16524. closeinterest:
  16525. description: 已结利息 -> 已结费用
  16526. type: number
  16527. currisklevel:
  16528. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16529. type: integer
  16530. deadline:
  16531. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16532. type: string
  16533. deliverygoodscode:
  16534. description: 品种代码
  16535. type: string
  16536. deliverygoodsid:
  16537. description: 品种ID
  16538. type: integer
  16539. deliverygoodsname:
  16540. description: 品种名称
  16541. type: string
  16542. enumdicname:
  16543. description: 单位名称
  16544. type: string
  16545. financingdays:
  16546. description: 天数(天)
  16547. type: integer
  16548. initmargin:
  16549. description: 保证金 - [仓单回购]
  16550. type: number
  16551. interestamount:
  16552. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16553. type: number
  16554. interestdebt:
  16555. description: 利息欠款(记录负数) -> 费用欠款
  16556. type: number
  16557. interestminlen:
  16558. description: 最小起息天数
  16559. type: integer
  16560. interestrate:
  16561. description: 利率
  16562. type: number
  16563. interestratemode:
  16564. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16565. type: integer
  16566. interestsettlemode:
  16567. description: 结息方式 - 1:按日结息 3:按月结息
  16568. type: integer
  16569. interestsettlevalue:
  16570. description: 结息方式值
  16571. type: integer
  16572. isautoloan:
  16573. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16574. type: integer
  16575. lastcloseinterestday:
  16576. description: 最近结息日(yyyyMMdd)
  16577. type: string
  16578. lenderamount:
  16579. description: 贷款金额 -> 借款金额
  16580. type: number
  16581. lenderuserid:
  16582. description: 贷款方用户ID -> 融出方用户ID
  16583. type: integer
  16584. lenderusername:
  16585. description: 融出方
  16586. type: string
  16587. marginratio:
  16588. description: 保证金比率质押率 - [仓单质押]
  16589. type: number
  16590. marketid:
  16591. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16592. type: integer
  16593. minivalue:
  16594. description: 现货商品最小变动值
  16595. type: integer
  16596. optioncompare:
  16597. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16598. type: string
  16599. pricemove:
  16600. description: 估值升贴水值
  16601. type: number
  16602. productdetailid:
  16603. description: 产品组合ID
  16604. type: integer
  16605. productid:
  16606. description: 金融产品ID
  16607. type: integer
  16608. productname:
  16609. description: 产品名称
  16610. type: string
  16611. remainamount:
  16612. description: 合同剩余金额 -> 剩余金额
  16613. type: number
  16614. remainwrpositionqty:
  16615. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16616. type: number
  16617. remark:
  16618. description: 备注
  16619. type: string
  16620. scfcontractid:
  16621. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16622. type: string
  16623. scfcontractstatus:
  16624. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16625. type: integer
  16626. scfcontracttype:
  16627. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16628. type: integer
  16629. startinterestday:
  16630. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16631. type: string
  16632. totalinterest:
  16633. description: 已计利息 -> 已计费用
  16634. type: number
  16635. unpaidinterest:
  16636. description: 未结费用
  16637. type: number
  16638. updatetime:
  16639. description: 更新时间
  16640. type: string
  16641. warehouseid:
  16642. description: 仓库ID
  16643. type: integer
  16644. warehousename:
  16645. description: 仓库名称
  16646. type: string
  16647. wrfactortypeid:
  16648. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16649. type: string
  16650. wrfactortypename:
  16651. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16652. type: string
  16653. wrqty:
  16654. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16655. type: number
  16656. wrstandardcode:
  16657. description: 现货商品代码
  16658. type: string
  16659. wrstandardid:
  16660. description: 现货商品ID
  16661. type: integer
  16662. wrstandardname:
  16663. description: 商品名称
  16664. type: string
  16665. wrtypename:
  16666. description: 商品
  16667. type: string
  16668. type: object
  16669. models.WrScfContractInterest:
  16670. properties:
  16671. closeinterest:
  16672. description: 已结利息
  16673. type: number
  16674. closeintereststatus:
  16675. description: 结息状态 - 1:未结 2:已结
  16676. type: integer
  16677. closetime:
  16678. description: 结息时间
  16679. type: string
  16680. closetradedate:
  16681. description: 结息交易日
  16682. type: string
  16683. creatorid:
  16684. description: 操作人ID
  16685. type: integer
  16686. dayrate:
  16687. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16688. type: number
  16689. interest:
  16690. description: 利息
  16691. type: number
  16692. interestamount:
  16693. description: 计息金额
  16694. type: number
  16695. interestday:
  16696. description: 计息日(yyyyMMdd)
  16697. type: string
  16698. scfcontractid:
  16699. description: SCF合同ID
  16700. type: string
  16701. scfcontractinterestid:
  16702. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16703. type: integer
  16704. updatetime:
  16705. description: 更新时间
  16706. type: string
  16707. type: object
  16708. models.WrSiteColumnDetail:
  16709. properties:
  16710. brief:
  16711. description: 简介
  16712. type: string
  16713. context:
  16714. description: 内容
  16715. type: string
  16716. coverimage:
  16717. description: 封面图片
  16718. type: string
  16719. creaedate:
  16720. description: 创建时间
  16721. type: string
  16722. id:
  16723. description: ID(SEQ_SITE_COLUMNDETAIL)
  16724. type: integer
  16725. istop:
  16726. description: 是否置顶 - 0:不置 1:置顶
  16727. type: integer
  16728. publishdate:
  16729. description: 发布日期
  16730. type: string
  16731. title:
  16732. description: 标题
  16733. type: string
  16734. updatedate:
  16735. description: 修改时间
  16736. type: string
  16737. type: object
  16738. models.WrSpecialMatchOrder:
  16739. properties:
  16740. amount:
  16741. description: 金额 = 数量 * 价格
  16742. type: number
  16743. buyorsell:
  16744. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16745. type: integer
  16746. cancelqty:
  16747. description: 撤销数量
  16748. type: number
  16749. deliverygoodscode:
  16750. description: 品种代码
  16751. type: string
  16752. deliverygoodsid:
  16753. description: 品种ID
  16754. type: integer
  16755. deliverygoodsname:
  16756. description: 品种名称
  16757. type: string
  16758. enumdicname:
  16759. description: 单位名称
  16760. type: string
  16761. fixedprice:
  16762. description: 固定价格(价格)
  16763. type: number
  16764. haswr:
  16765. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16766. type: integer
  16767. isspecified:
  16768. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16769. type: integer
  16770. marketid:
  16771. description: 市场ID
  16772. type: integer
  16773. matchuserid:
  16774. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16775. type: integer
  16776. matchusername:
  16777. description: 指定方
  16778. type: string
  16779. minivalue:
  16780. description: 现货商品最小变动值
  16781. type: integer
  16782. optioncompare:
  16783. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16784. type: string
  16785. orderqty:
  16786. description: 委托数量
  16787. type: number
  16788. ordertime:
  16789. description: 委托时间
  16790. type: string
  16791. pricemove:
  16792. description: 升贴水(浮动价时填写) - [挂牌]
  16793. type: number
  16794. tradedate:
  16795. description: 交易日(yyyyMMdd)
  16796. type: string
  16797. tradeprice:
  16798. description: 成交价格
  16799. type: number
  16800. tradeqty:
  16801. description: 成交数量
  16802. type: number
  16803. userid:
  16804. description: 用户ID
  16805. type: integer
  16806. username:
  16807. description: 发起方
  16808. type: string
  16809. warehouseid:
  16810. description: 仓库ID
  16811. type: integer
  16812. warehousename:
  16813. description: 仓库名称
  16814. type: string
  16815. wrfactortypeid:
  16816. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16817. type: string
  16818. wrfactortypename:
  16819. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16820. type: string
  16821. wrpricetype:
  16822. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16823. type: integer
  16824. wrstandardcode:
  16825. description: 现货商品代码
  16826. type: string
  16827. wrstandardid:
  16828. description: 现货商品ID
  16829. type: integer
  16830. wrstandardname:
  16831. description: 商品名称
  16832. type: string
  16833. wrtradeorderid:
  16834. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16835. type: string
  16836. wrtradeorderstatus:
  16837. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16838. type: integer
  16839. wrtradetype:
  16840. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16841. type: integer
  16842. wrtypename:
  16843. description: 商品
  16844. type: string
  16845. type: object
  16846. models.WrSpotGroupTradeSum:
  16847. properties:
  16848. deliverygoodscode:
  16849. description: 现货品种代码
  16850. type: string
  16851. deliverygoodsid:
  16852. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16853. type: integer
  16854. deliverygoodsname:
  16855. description: 现货品种名称
  16856. type: string
  16857. lastavgprice:
  16858. description: 上上个交易日价格(前2天价格)
  16859. type: string
  16860. lastreckondate:
  16861. description: 上上个交易日(前2天交易日)
  16862. type: string
  16863. reckondate:
  16864. description: 上个交易日(前1天交易日)
  16865. type: string
  16866. todayavgprice:
  16867. description: 上个交易日价格(前1天价格)
  16868. type: string
  16869. updown:
  16870. description: 涨跌
  16871. type: string
  16872. updownratio:
  16873. description: 涨幅(已格式化, 直接显示即可)
  16874. type: string
  16875. type: object
  16876. models.WrSpotGroupTradeSumDetail:
  16877. properties:
  16878. deliverygoodsid:
  16879. description: 现货商品id
  16880. type: integer
  16881. price:
  16882. description: 价格
  16883. type: number
  16884. reckondate:
  16885. description: 日期(yyymmdd, 如:20211031)
  16886. type: string
  16887. type: object
  16888. models.WrSpotGroupTradeSumEx:
  16889. properties:
  16890. lst:
  16891. description: 指数列表
  16892. items:
  16893. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16894. type: array
  16895. prereckondate:
  16896. description: 上上个交易日(yyymmdd)
  16897. type: string
  16898. reckondate:
  16899. description: 上个交易日(yyyymmdd)
  16900. type: string
  16901. type: object
  16902. models.WrStandardFactoryItem:
  16903. properties:
  16904. dgfactoryitemid:
  16905. description: 选择项id
  16906. type: integer
  16907. dgfactoryitemvalue:
  16908. description: 要素项值
  16909. type: string
  16910. warehouseid:
  16911. description: 仓库id
  16912. type: integer
  16913. type: object
  16914. models.WrStandardFactoryItemEx:
  16915. properties:
  16916. dgfactoryitemtypeid:
  16917. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16918. type: integer
  16919. itemlst:
  16920. description: 要素项列表
  16921. items:
  16922. $ref: '#/definitions/models.WrStandardFactoryItem'
  16923. type: array
  16924. itemtypename:
  16925. description: 要素项类型名称
  16926. type: string
  16927. wrstandardid:
  16928. description: 品类
  16929. type: integer
  16930. type: object
  16931. models.WrTradeDetail:
  16932. properties:
  16933. accountid:
  16934. description: 资金账号
  16935. type: integer
  16936. begindate:
  16937. description: 开始交易日(yyyymmdd)
  16938. type: string
  16939. buyorsell:
  16940. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16941. type: integer
  16942. chargevalue:
  16943. description: 手续费
  16944. type: number
  16945. deliverygoodscode:
  16946. description: 品种代码
  16947. type: string
  16948. deliverygoodsid:
  16949. description: 品种ID
  16950. type: integer
  16951. deliverygoodsname:
  16952. description: 品种名称
  16953. type: string
  16954. deliverymonth:
  16955. description: 交收月
  16956. type: string
  16957. enddate:
  16958. description: 结束交易日(yyyymmdd)
  16959. type: string
  16960. enumdicname:
  16961. description: 单位名称
  16962. type: string
  16963. haswr:
  16964. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16965. type: integer
  16966. marketid:
  16967. description: 市场ID
  16968. type: integer
  16969. matchaccountid:
  16970. description: 对手账号
  16971. type: integer
  16972. matchusername:
  16973. description: 对手方
  16974. type: string
  16975. minivalue:
  16976. description: 现货商品最小变动值
  16977. type: integer
  16978. optioncompare:
  16979. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16980. type: string
  16981. tradedate:
  16982. description: 交易日(yyyyMMdd)
  16983. type: string
  16984. tradeprice:
  16985. description: 成交价格
  16986. type: number
  16987. tradeqty:
  16988. description: 成交数量
  16989. type: number
  16990. tradetime:
  16991. description: 成交时间
  16992. type: string
  16993. userid:
  16994. description: 用户ID
  16995. type: integer
  16996. warehouseid:
  16997. description: 仓库ID
  16998. type: integer
  16999. warehousename:
  17000. description: 仓库名称
  17001. type: string
  17002. wrfactortypeid:
  17003. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17004. type: string
  17005. wrfactortypename:
  17006. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17007. type: string
  17008. wrstandardcode:
  17009. description: 现货商品代码
  17010. type: string
  17011. wrstandardid:
  17012. description: 现货商品ID
  17013. type: integer
  17014. wrstandardname:
  17015. description: 商品名称
  17016. type: string
  17017. wrtradedetailid:
  17018. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17019. type: string
  17020. wrtradetype:
  17021. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17022. type: integer
  17023. wrtypename:
  17024. description: 商品
  17025. type: string
  17026. type: object
  17027. models.WrTradeOrderDetail:
  17028. properties:
  17029. buyorsell:
  17030. description: 买卖方向 0-买 1-卖
  17031. type: integer
  17032. goodsid:
  17033. description: 商品id
  17034. type: integer
  17035. orderid:
  17036. description: 委托单号
  17037. type: string
  17038. orderprice:
  17039. description: 委托价格
  17040. type: number
  17041. orderqty:
  17042. description: 委托数量
  17043. type: integer
  17044. userid:
  17045. description: 用户id
  17046. type: integer
  17047. username:
  17048. description: 用户名称(已脱敏)
  17049. type: string
  17050. type: object
  17051. models.WrTypeItem:
  17052. properties:
  17053. name:
  17054. description: 名称
  17055. type: string
  17056. value:
  17057. description: 值
  17058. type: string
  17059. type: object
  17060. models.WrUserFriend:
  17061. properties:
  17062. friendname:
  17063. description: 朋友名称(已脱敏)
  17064. type: string
  17065. frienduserid:
  17066. description: 朋友id
  17067. type: integer
  17068. isfriend:
  17069. description: 是否好友 0-不是 1-是
  17070. type: integer
  17071. userid:
  17072. description: 用户id
  17073. type: integer
  17074. type: object
  17075. models.WrUserReceiptInfo:
  17076. properties:
  17077. address:
  17078. description: 地址[发票类型:企业]
  17079. type: string
  17080. autoid:
  17081. description: AutoID
  17082. type: integer
  17083. contactinfo:
  17084. description: 联系方式
  17085. type: string
  17086. idnum:
  17087. description: 身份证号码[发票类型:个人]
  17088. type: string
  17089. isdefault:
  17090. description: 是否默认地址 - 0:否 1:是
  17091. type: integer
  17092. receiptaccount:
  17093. description: 发票帐号[发票类型:企业]
  17094. type: string
  17095. receiptbank:
  17096. description: 发票开户行[发票类型:企业]
  17097. type: string
  17098. receipttype:
  17099. description: 发票类型 - 1:个人 2:企业
  17100. type: integer
  17101. taxpayerid:
  17102. description: 纳税人识别号
  17103. type: string
  17104. userid:
  17105. description: 用户ID
  17106. type: integer
  17107. username:
  17108. description: 户名(个人姓名或企业名称)
  17109. type: string
  17110. type: object
  17111. models.XHBRAND:
  17112. properties:
  17113. brandid:
  17114. description: 品牌id
  17115. type: integer
  17116. brandname:
  17117. description: 品牌名称
  17118. type: string
  17119. isvalid:
  17120. description: 是否有效 0-无效 1-有效
  17121. type: integer
  17122. type: object
  17123. models.XHDeliveryGoods:
  17124. properties:
  17125. areauserid:
  17126. description: 所属机构
  17127. type: integer
  17128. bdlst:
  17129. description: 品牌列表
  17130. items:
  17131. $ref: '#/definitions/models.XHBRAND'
  17132. type: array
  17133. deliverygoodscode:
  17134. description: 现货品种代码
  17135. type: string
  17136. deliverygoodsid:
  17137. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17138. type: integer
  17139. deliverygoodsname:
  17140. description: 现货品种名称
  17141. type: string
  17142. dgstatus:
  17143. description: 品种状态 - 作废 - 0:未激活 1:正常
  17144. type: integer
  17145. isvalid:
  17146. description: 是否有效 - 0:无效 1:有效
  17147. type: integer
  17148. remark:
  17149. description: 备注
  17150. type: string
  17151. unitid:
  17152. description: 单位id(目前看,数据库中是空值)
  17153. type: integer
  17154. wdlst:
  17155. description: 品类(现货商品)列表
  17156. items:
  17157. $ref: '#/definitions/models.XHWrstandard'
  17158. type: array
  17159. type: object
  17160. models.XHMiddleGoods:
  17161. properties:
  17162. GPLST:
  17163. description: 期货品种列表
  17164. items:
  17165. $ref: '#/definitions/models.TBGoodsGroup'
  17166. type: array
  17167. convertratio:
  17168. description: 拆算系数
  17169. type: number
  17170. costratio:
  17171. description: 成本权重
  17172. type: number
  17173. deliverygoodsid:
  17174. description: 现货商品id
  17175. type: integer
  17176. enumdicname:
  17177. description: 单位名称
  17178. type: string
  17179. middlegoodscode:
  17180. description: 套保品种代码
  17181. type: string
  17182. middlegoodsid:
  17183. description: 套保品种id
  17184. type: integer
  17185. middlegoodsname:
  17186. description: 套保品种名称
  17187. type: string
  17188. unitid:
  17189. description: 单位id
  17190. type: integer
  17191. type: object
  17192. models.XHWrstandard:
  17193. properties:
  17194. deliverygoodsid:
  17195. description: 品种ID
  17196. type: integer
  17197. enumdicname:
  17198. description: 单位名称
  17199. type: string
  17200. mglst:
  17201. description: 套保品列表
  17202. items:
  17203. $ref: '#/definitions/models.XHMiddleGoods'
  17204. type: array
  17205. unitid:
  17206. description: 单位id
  17207. type: integer
  17208. vatrate:
  17209. description: 增值税率
  17210. type: number
  17211. wrstandardcode:
  17212. description: 现货商品代码
  17213. type: string
  17214. wrstandardid:
  17215. description: 现货商品ID(SEQ_WRSTANDARD)
  17216. type: integer
  17217. wrstandardname:
  17218. description: 现货商品名称
  17219. type: string
  17220. type: object
  17221. order.QueryHisTradeDetailRsp:
  17222. properties:
  17223. accountid:
  17224. description: 账户ID[报价币种]
  17225. type: integer
  17226. advanceratio:
  17227. description: 首付比率
  17228. type: number
  17229. buildtype:
  17230. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17231. type: integer
  17232. buyorsell:
  17233. description: 方向 - 0:买 1:卖
  17234. type: integer
  17235. charge:
  17236. description: 手续费
  17237. type: number
  17238. closecharge:
  17239. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17240. type: number
  17241. closeexchagechargevalue:
  17242. description: 平仓交易所手续费设置值
  17243. type: number
  17244. closefeealgorithm:
  17245. description: 平仓手续费收取方式 1:比率 2:固定
  17246. type: integer
  17247. closememberchargevalue:
  17248. description: 平仓会员手续费设置值
  17249. type: number
  17250. closepl:
  17251. description: 平仓盈亏
  17252. type: number
  17253. closepl2:
  17254. description: 平仓盈亏[逐笔]
  17255. type: number
  17256. closeqty:
  17257. description: 平仓数量(先建后平操作 需要记录)
  17258. type: number
  17259. creditamount:
  17260. description: 授信金额
  17261. type: number
  17262. decimalplace:
  17263. description: 商品报价小数位
  17264. type: integer
  17265. enumdicname:
  17266. description: 单位名称
  17267. type: string
  17268. gcaccountid:
  17269. description: 账户ID[合约币种]
  17270. type: integer
  17271. goodscode:
  17272. description: 商品代码
  17273. type: string
  17274. goodsid:
  17275. description: 商品ID
  17276. type: integer
  17277. goodsname:
  17278. description: 商品名称
  17279. type: string
  17280. goodunitid:
  17281. description: 商品单位id
  17282. type: integer
  17283. histradedate:
  17284. description: 历史交易日
  17285. type: string
  17286. intclosepl:
  17287. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17288. type: integer
  17289. isconfirmexercise:
  17290. description: 是否确认行权- 0:否 1:是
  17291. type: integer
  17292. ismain:
  17293. description: 是否主单 - 0:不是 1:是
  17294. type: integer
  17295. ispreexercise:
  17296. description: 是否预申报- 0:否 1:是
  17297. type: integer
  17298. isreckoned:
  17299. description: 是否结算 - 0:未结算 1:已结算
  17300. type: integer
  17301. isvaliddata:
  17302. description: 是否有效 - 0:无效 1:有效
  17303. type: integer
  17304. listingselecttype:
  17305. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17306. type: integer
  17307. marketid:
  17308. description: 市场ID
  17309. type: integer
  17310. marketname:
  17311. description: 市场名称
  17312. type: string
  17313. matchaccountid:
  17314. description: 对手账号id
  17315. type: integer
  17316. memberuserid:
  17317. description: 会员id 个人投资者 需要填写
  17318. type: integer
  17319. opencharge:
  17320. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17321. type: number
  17322. openexchagechargevalue:
  17323. description: 建仓交易所手续费设置值
  17324. type: number
  17325. openfeealgorithm:
  17326. description: 建仓手续费收取方式 1:比率 2:固定
  17327. type: integer
  17328. openmemberchargevalue:
  17329. description: 建仓会员手续费设置值
  17330. type: number
  17331. openqty:
  17332. description: 开仓数量(先建后平操作 需要记录)
  17333. type: number
  17334. optiontype:
  17335. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17336. type: integer
  17337. orderid:
  17338. description: 委托单号
  17339. type: string
  17340. payamount:
  17341. description: 支付金额(付款金额)
  17342. type: number
  17343. performanceplanid:
  17344. description: 履约计划ID[期权]
  17345. type: integer
  17346. performancestatus:
  17347. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17348. type: integer
  17349. preexerciseprice:
  17350. description: 预申报价格
  17351. type: number
  17352. premium:
  17353. description: 权利金 - [持仓单的权利金]
  17354. type: number
  17355. qtydecimalplace:
  17356. description: 商品报价小数位
  17357. type: integer
  17358. recvamount:
  17359. description: 到账金额 = 成交金额 - 手续费
  17360. type: number
  17361. relatedouttradeid:
  17362. description: 关联外部成交单ID
  17363. type: integer
  17364. status:
  17365. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17366. type: integer
  17367. totalamount:
  17368. description: 订单总额 = 成交金额 + 手续费
  17369. type: number
  17370. tradeamount:
  17371. description: 成交金额[账户币种,用于所有权]
  17372. type: number
  17373. tradedate:
  17374. description: 交易日(yyyyMMdd)
  17375. type: string
  17376. tradeid:
  17377. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17378. type: string
  17379. trademode:
  17380. description: 交易模式
  17381. type: integer
  17382. tradeprice:
  17383. description: 成交价格
  17384. type: number
  17385. tradeproperty:
  17386. description: 交易属性
  17387. type: integer
  17388. tradeqty:
  17389. description: 成交数量
  17390. type: number
  17391. tradetime:
  17392. description: 成交时间
  17393. type: string
  17394. tradetype:
  17395. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17396. type: integer
  17397. required:
  17398. - accountid
  17399. - buyorsell
  17400. - goodsid
  17401. - histradedate
  17402. - marketid
  17403. - memberuserid
  17404. - orderid
  17405. - tradeamount
  17406. - tradedate
  17407. - tradeid
  17408. - tradeprice
  17409. - tradeqty
  17410. - tradetime
  17411. type: object
  17412. order.QueryHisTradeOrderDetailRsp:
  17413. properties:
  17414. accountid:
  17415. description: 账户ID[报价币种]
  17416. type: integer
  17417. buildtype:
  17418. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17419. type: integer
  17420. buyorsell:
  17421. description: 买卖 - 0:买 1:卖
  17422. type: integer
  17423. cancelorderid:
  17424. description: 撤单单号(撤单时填写)
  17425. type: string
  17426. cancelqty:
  17427. description: 撤单数量
  17428. type: number
  17429. clientordertime:
  17430. description: 客户端委托时间
  17431. type: string
  17432. clientticket:
  17433. description: 客户端流水号
  17434. type: string
  17435. clienttype:
  17436. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17437. type: integer
  17438. closeexchagechargevalue:
  17439. description: 平仓交易所手续费设置值
  17440. type: number
  17441. closefeealgorithm:
  17442. description: 平仓手续费收取方式 1:比率 2:固定
  17443. type: integer
  17444. closefreezecharge:
  17445. description: 平仓冻结手续费(先建后平操作,需要记录)
  17446. type: number
  17447. closememberchargevalue:
  17448. description: 平仓会员手续费设置值
  17449. type: number
  17450. closeqty:
  17451. description: 平仓数量(先建后平操作 需要记录)
  17452. type: number
  17453. closetradeqty:
  17454. description: 平仓成交数量(先建后平操作,需要记录)
  17455. type: number
  17456. closeunfreezecharge:
  17457. description: 平仓解冻手续费(先建后平操作,需要记录)
  17458. type: number
  17459. decimalplace:
  17460. description: 商品报价小数位
  17461. type: integer
  17462. delistingtype:
  17463. description: 摘牌类型 - 1:价格最优 2:点选成交
  17464. type: integer
  17465. enumdicname:
  17466. description: 单位名称
  17467. type: string
  17468. freezecharge:
  17469. description: 冻结手续费
  17470. type: number
  17471. freezemargin:
  17472. description: 冻结保证金(冻结交易金额)
  17473. type: number
  17474. gcaccountid:
  17475. description: 账户ID[合约币种]
  17476. type: integer
  17477. goodscode:
  17478. description: 商品代码
  17479. type: string
  17480. goodsid:
  17481. description: 商品ID
  17482. type: integer
  17483. goodsname:
  17484. description: 商品名称
  17485. type: string
  17486. goodunitid:
  17487. description: 商品单位id
  17488. type: integer
  17489. histradedate:
  17490. description: 历史交易日
  17491. type: string
  17492. isconfirmexercise:
  17493. description: 是否确认行权- 0:否 1:是
  17494. type: integer
  17495. ispreexercise:
  17496. description: 是否预申报- 0:否 1:是
  17497. type: integer
  17498. isvaliddata:
  17499. description: 是否有效 - 0:无效 1:有效
  17500. type: integer
  17501. listingselecttype:
  17502. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17503. type: integer
  17504. marginalgorithm:
  17505. description: 保证金收取方式 1:比率 2:固定
  17506. type: integer
  17507. marginvalue:
  17508. description: 即市保证金设置值
  17509. type: number
  17510. marketid:
  17511. description: 市场ID
  17512. type: integer
  17513. marketmaxsub:
  17514. description: 市价最大偏移范围
  17515. type: number
  17516. marketname:
  17517. description: 市场名称
  17518. type: string
  17519. memberuserid:
  17520. description: 所属会员UserID
  17521. type: integer
  17522. openexchagechargevalue:
  17523. description: 建仓交易所手续费设置值
  17524. type: number
  17525. openfeealgorithm:
  17526. description: 建仓手续费收取方式 1:比率 2:固定
  17527. type: integer
  17528. openfreezecharge:
  17529. description: 开仓冻结手续费(先建后平操作,需要记录)
  17530. type: number
  17531. openmemberchargevalue:
  17532. description: 建仓会员手续费设置值
  17533. type: number
  17534. openqty:
  17535. description: 开仓数量(先建后平操作,需要记录)
  17536. type: number
  17537. opentradeqty:
  17538. description: 开仓成交数量(先建后平操作,需要记录)
  17539. type: number
  17540. openunfreezecharge:
  17541. description: 开仓解冻手续费(先建后平操作,需要记录)
  17542. type: number
  17543. operatetype:
  17544. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17545. type: integer
  17546. operatorid:
  17547. description: 登录账号(LoginID)
  17548. type: integer
  17549. optiontype:
  17550. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17551. type: integer
  17552. orderid:
  17553. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17554. type: string
  17555. orderprice:
  17556. description: 委托价格
  17557. type: number
  17558. orderqty:
  17559. description: 委托数量
  17560. type: number
  17561. ordersrc:
  17562. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17563. type: integer
  17564. orderstatus:
  17565. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17566. type: integer
  17567. ordertime:
  17568. description: 委托时间
  17569. type: string
  17570. preexerciseprice:
  17571. description: 预申报价格
  17572. type: number
  17573. premium:
  17574. description: 权利金
  17575. type: number
  17576. preorderid:
  17577. description: 关联预埋单号(止盈止损单时填写)
  17578. type: string
  17579. pricemode:
  17580. description: '取价方式 - 1:市价 2: 限价'
  17581. type: integer
  17582. qtydecimalplace:
  17583. description: 成交量小数位
  17584. type: integer
  17585. quoteid:
  17586. description: 报价单ID
  17587. type: integer
  17588. relatedid:
  17589. description: 关联单号(交割单)
  17590. type: string
  17591. retcode:
  17592. description: 错误代码
  17593. type: integer
  17594. sessionid:
  17595. description: 会话ID
  17596. type: integer
  17597. tradedate:
  17598. description: 交易日(yyyyMMdd)
  17599. type: string
  17600. trademode:
  17601. description: 交易模式
  17602. type: integer
  17603. tradeproperty:
  17604. description: 交易属性
  17605. type: integer
  17606. tradeqty:
  17607. description: 成交数量
  17608. type: number
  17609. unfreezecharge:
  17610. description: 解冻手续费
  17611. type: number
  17612. unfreezemargin:
  17613. description: 解冻保证金
  17614. type: number
  17615. updatetime:
  17616. description: 更新时间
  17617. type: string
  17618. uuid:
  17619. description: 发起端唯一id
  17620. type: string
  17621. validtime:
  17622. description: 有效期限
  17623. type: string
  17624. validtype:
  17625. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17626. type: integer
  17627. volumetype:
  17628. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17629. type: integer
  17630. required:
  17631. - accountid
  17632. - buildtype
  17633. - buyorsell
  17634. - goodsid
  17635. - histradedate
  17636. - marketid
  17637. - memberuserid
  17638. - operatetype
  17639. - orderid
  17640. - orderqty
  17641. - ordertime
  17642. - pricemode
  17643. - tradedate
  17644. - validtype
  17645. type: object
  17646. order.QueryTradeDetailRsp:
  17647. properties:
  17648. accountid:
  17649. description: 账户ID[报价币种]
  17650. type: integer
  17651. advanceratio:
  17652. description: 首付比率
  17653. type: number
  17654. buildtype:
  17655. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17656. type: integer
  17657. buyorsell:
  17658. description: 方向 - 0:买 1:卖
  17659. type: integer
  17660. charge:
  17661. description: 手续费
  17662. type: number
  17663. closecharge:
  17664. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17665. type: number
  17666. closeexchagechargevalue:
  17667. description: 平仓交易所手续费设置值
  17668. type: number
  17669. closefeealgorithm:
  17670. description: 平仓手续费收取方式 1:比率 2:固定
  17671. type: integer
  17672. closememberchargevalue:
  17673. description: 平仓会员手续费设置值
  17674. type: number
  17675. closepl:
  17676. description: 平仓盈亏
  17677. type: number
  17678. closepl2:
  17679. description: 平仓盈亏[逐笔]
  17680. type: number
  17681. closeqty:
  17682. description: 平仓数量(先建后平操作 需要记录)
  17683. type: number
  17684. creditamount:
  17685. description: 授信金额
  17686. type: number
  17687. decimalplace:
  17688. description: 商品报价小数位
  17689. type: integer
  17690. enumdicname:
  17691. description: 单位名称
  17692. type: string
  17693. gcaccountid:
  17694. description: 账户ID[合约币种]
  17695. type: integer
  17696. goodscode:
  17697. description: 商品代码
  17698. type: string
  17699. goodsid:
  17700. description: 商品ID
  17701. type: integer
  17702. goodsname:
  17703. description: 商品名称
  17704. type: string
  17705. goodunitid:
  17706. description: 商品单位id
  17707. type: integer
  17708. intclosepl:
  17709. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17710. type: integer
  17711. isconfirmexercise:
  17712. description: 是否确认行权- 0:否 1:是
  17713. type: integer
  17714. ismain:
  17715. description: 是否主单 - 0:不是 1:是
  17716. type: integer
  17717. ispreexercise:
  17718. description: 是否预申报- 0:否 1:是
  17719. type: integer
  17720. isreckoned:
  17721. description: 是否结算 - 0:未结算 1:已结算
  17722. type: integer
  17723. listingselecttype:
  17724. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17725. type: integer
  17726. marketid:
  17727. description: 市场ID
  17728. type: integer
  17729. marketname:
  17730. description: 市场名称
  17731. type: string
  17732. matchaccountid:
  17733. description: 对手账号id
  17734. type: integer
  17735. memberuserid:
  17736. description: 会员id 个人投资者 需要填写
  17737. type: integer
  17738. opencharge:
  17739. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17740. type: number
  17741. openexchagechargevalue:
  17742. description: 建仓交易所手续费设置值
  17743. type: number
  17744. openfeealgorithm:
  17745. description: 建仓手续费收取方式 1:比率 2:固定
  17746. type: integer
  17747. openmemberchargevalue:
  17748. description: 建仓会员手续费设置值
  17749. type: number
  17750. openqty:
  17751. description: 开仓数量(先建后平操作 需要记录)
  17752. type: number
  17753. optiontype:
  17754. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17755. type: integer
  17756. orderid:
  17757. description: 委托单号
  17758. type: string
  17759. payamount:
  17760. description: 支付金额(付款金额)
  17761. type: number
  17762. performanceplanid:
  17763. description: 履约计划ID[期权]
  17764. type: integer
  17765. performancestatus:
  17766. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17767. type: integer
  17768. preexerciseprice:
  17769. description: 预申报价格
  17770. type: number
  17771. premium:
  17772. description: 权利金 - [持仓单的权利金]
  17773. type: number
  17774. qtydecimalplace:
  17775. description: 商品报价小数位
  17776. type: integer
  17777. recvamount:
  17778. description: 到账金额 = 成交金额 - 手续费
  17779. type: number
  17780. relatedouttradeid:
  17781. description: 关联外部成交单ID
  17782. type: integer
  17783. status:
  17784. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17785. type: integer
  17786. totalamount:
  17787. description: 订单总额 = 成交金额 + 手续费
  17788. type: number
  17789. tradeamount:
  17790. description: 成交金额[账户币种,用于所有权]
  17791. type: number
  17792. tradedate:
  17793. description: 交易日(yyyyMMdd)
  17794. type: string
  17795. tradeid:
  17796. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17797. type: string
  17798. trademode:
  17799. description: 交易模式
  17800. type: integer
  17801. tradeprice:
  17802. description: 成交价格
  17803. type: number
  17804. tradeproperty:
  17805. description: 交易属性
  17806. type: integer
  17807. tradeqty:
  17808. description: 成交数量
  17809. type: number
  17810. tradetime:
  17811. description: 成交时间
  17812. type: string
  17813. tradetype:
  17814. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17815. type: integer
  17816. required:
  17817. - accountid
  17818. - buyorsell
  17819. - goodsid
  17820. - marketid
  17821. - memberuserid
  17822. - orderid
  17823. - tradeamount
  17824. - tradedate
  17825. - tradeid
  17826. - tradeprice
  17827. - tradeqty
  17828. - tradetime
  17829. type: object
  17830. order.QueryTradeOrderDetailRsp:
  17831. properties:
  17832. accountid:
  17833. description: 账户ID[报价币种]
  17834. type: integer
  17835. buildtype:
  17836. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17837. type: integer
  17838. buyorsell:
  17839. description: 买卖 - 0:买 1:卖
  17840. type: integer
  17841. cancelorderid:
  17842. description: 撤单单号(撤单时填写)
  17843. type: string
  17844. cancelqty:
  17845. description: 撤单数量
  17846. type: number
  17847. clienttype:
  17848. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17849. type: integer
  17850. closefreezecharge:
  17851. description: 平仓冻结手续费(先建后平操作,需要记录)
  17852. type: number
  17853. closeqty:
  17854. description: 平仓数量(先建后平操作 需要记录)
  17855. type: number
  17856. closetradeqty:
  17857. description: 平仓成交数量(先建后平操作,需要记录)
  17858. type: number
  17859. closeunfreezecharge:
  17860. description: 平仓解冻手续费(先建后平操作,需要记录)
  17861. type: number
  17862. decimalplace:
  17863. description: 商品报价小数位
  17864. type: integer
  17865. delistingtype:
  17866. description: 摘牌类型 - 1:价格最优 2:点选成交
  17867. type: integer
  17868. enableqty:
  17869. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17870. type: number
  17871. enumdicname:
  17872. description: 单位名称
  17873. type: string
  17874. freezecharge:
  17875. description: 冻结手续费
  17876. type: number
  17877. freezemargin:
  17878. description: 冻结保证金(冻结交易金额)
  17879. type: number
  17880. goodscode:
  17881. description: 商品代码
  17882. type: string
  17883. goodsid:
  17884. description: 商品ID
  17885. type: integer
  17886. goodsname:
  17887. description: 商品名称
  17888. type: string
  17889. goodunitid:
  17890. description: 商品单位id
  17891. type: integer
  17892. listingselecttype:
  17893. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17894. type: integer
  17895. marketid:
  17896. description: 市场ID
  17897. type: integer
  17898. marketname:
  17899. description: 市场名称
  17900. type: string
  17901. openfreezecharge:
  17902. description: 开仓冻结手续费(先建后平操作,需要记录)
  17903. type: number
  17904. openqty:
  17905. description: 开仓数量(先建后平操作,需要记录)
  17906. type: number
  17907. opentradeqty:
  17908. description: 开仓成交数量(先建后平操作,需要记录)
  17909. type: number
  17910. openunfreezecharge:
  17911. description: 开仓解冻手续费(先建后平操作,需要记录)
  17912. type: number
  17913. operatetype:
  17914. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17915. type: integer
  17916. operatorid:
  17917. description: 登录账号(LoginID)
  17918. type: integer
  17919. orderid:
  17920. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17921. type: string
  17922. orderprice:
  17923. description: 委托价格
  17924. type: number
  17925. orderqty:
  17926. description: 委托数量
  17927. type: number
  17928. ordersrc:
  17929. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17930. type: integer
  17931. orderstatus:
  17932. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17933. type: integer
  17934. ordertime:
  17935. description: 委托时间
  17936. type: string
  17937. preorderid:
  17938. description: 关联预埋单号(止盈止损单时填写)
  17939. type: string
  17940. pricemode:
  17941. description: '取价方式 - 1:市价 2: 限价'
  17942. type: integer
  17943. qtydecimalplace:
  17944. description: 商品报价小数位
  17945. type: integer
  17946. relatedid:
  17947. description: 关联单号(交割单)
  17948. type: string
  17949. tradedate:
  17950. description: 交易日(yyyyMMdd)
  17951. type: string
  17952. trademode:
  17953. description: 交易模式
  17954. type: integer
  17955. tradeqty:
  17956. description: 成交数量
  17957. type: number
  17958. unfreezecharge:
  17959. description: 解冻手续费
  17960. type: number
  17961. unfreezemargin:
  17962. description: 解冻保证金
  17963. type: number
  17964. validtime:
  17965. description: 有效期限
  17966. type: string
  17967. validtype:
  17968. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17969. type: integer
  17970. volumetype:
  17971. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17972. type: integer
  17973. required:
  17974. - accountid
  17975. - buildtype
  17976. - buyorsell
  17977. - goodsid
  17978. - marketid
  17979. - operatetype
  17980. - orderqty
  17981. - ordertime
  17982. - pricemode
  17983. - tradedate
  17984. - validtype
  17985. type: object
  17986. order.QueryTradePositionRsp:
  17987. properties:
  17988. accountid:
  17989. description: 资金账户
  17990. type: integer
  17991. agreeunit:
  17992. description: 合约单位
  17993. type: number
  17994. averageprice:
  17995. description: 持仓均价
  17996. type: number
  17997. buyorsell:
  17998. description: 方向 - 0:买 1:卖
  17999. type: integer
  18000. closetotalqty:
  18001. description: 平仓总数量
  18002. type: number
  18003. curholderamount:
  18004. description: 当前持仓总金额[商品币种]
  18005. type: number
  18006. curpositionqty:
  18007. description: 当前持仓总数量
  18008. type: number
  18009. currencyid:
  18010. description: 报价货币ID
  18011. type: integer
  18012. curtdposition:
  18013. description: 期末今日头寸
  18014. type: number
  18015. decimalplace:
  18016. description: 报价小数位
  18017. type: integer
  18018. enableqty:
  18019. description: 可用量
  18020. type: number
  18021. fretdposition:
  18022. description: 冻结今日头寸
  18023. type: number
  18024. frozenqty:
  18025. description: 持仓冻结数量
  18026. type: number
  18027. goodscode:
  18028. description: 商品代码
  18029. type: string
  18030. goodsid:
  18031. description: 商品Id
  18032. type: integer
  18033. goodsname:
  18034. description: 商品名称
  18035. type: string
  18036. goodunit:
  18037. description: 报价单位
  18038. type: string
  18039. goodunitid:
  18040. description: 报价单位ID
  18041. type: integer
  18042. holderamount:
  18043. description: 期初持仓总金额[商品币种]
  18044. type: number
  18045. lastprice:
  18046. description: 最新价
  18047. type: number
  18048. marketamount:
  18049. description: 市值
  18050. type: number
  18051. marketid:
  18052. description: 所属市场ID
  18053. type: integer
  18054. openreqqty:
  18055. description: 开仓申请数量(用于比较最大持仓数量)
  18056. type: number
  18057. opentotalqty:
  18058. description: 开仓总数量
  18059. type: number
  18060. otherfrozenqty:
  18061. description: 持仓其他冻结数量(交割冻结)
  18062. type: number
  18063. positionpl:
  18064. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18065. type: number
  18066. positionplrate:
  18067. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18068. type: number
  18069. positionqty:
  18070. description: 期初持仓数量
  18071. type: number
  18072. qtydecimalplace:
  18073. description: 成交量小数位
  18074. type: integer
  18075. refgoodscode:
  18076. description: 参考商品代码
  18077. type: string
  18078. refgoodsid:
  18079. description: 参考商品ID
  18080. type: integer
  18081. tnqty:
  18082. description: T+N冻结总量
  18083. type: number
  18084. tnusedqty:
  18085. description: T+N使用量(可以使用T+N的冻结数量)
  18086. type: number
  18087. trademode:
  18088. description: 交易模式
  18089. type: integer
  18090. tradeproperty:
  18091. description: 交易属性
  18092. type: integer
  18093. usedmargin:
  18094. description: 占用保证金[商品币种]
  18095. type: number
  18096. required:
  18097. - goodsid
  18098. type: object
  18099. pb.GoodsMarginCfgStruct:
  18100. properties:
  18101. CustomerTypeID:
  18102. description: 投资者客户类型
  18103. type: integer
  18104. GoodsID:
  18105. description: 商品ID
  18106. type: integer
  18107. IsDefault:
  18108. description: 是否默认标志位
  18109. type: integer
  18110. LockMarginValue:
  18111. description: 锁仓保证金
  18112. type: number
  18113. MarginAlgorithm:
  18114. description: 保证金计算方式
  18115. type: integer
  18116. MarketMarginValue:
  18117. description: 即市保证金值
  18118. type: number
  18119. RealMarginAlgorithm:
  18120. description: 实付保证金计算方式
  18121. type: integer
  18122. RealMarginValue:
  18123. description: 实付比例
  18124. type: number
  18125. ReckonMarginValue:
  18126. description: 结算保证金值
  18127. type: number
  18128. type: object
  18129. quote.HistoryData:
  18130. properties:
  18131. c:
  18132. description: 收盘价
  18133. type: number
  18134. f:
  18135. description: 是否补充数据
  18136. type: boolean
  18137. h:
  18138. description: 最高价
  18139. type: number
  18140. hv:
  18141. description: 持仓量
  18142. type: integer
  18143. l:
  18144. description: 最低价
  18145. type: number
  18146. o:
  18147. description: 开盘价
  18148. type: number
  18149. s:
  18150. description: 结算价,日线周期(包括)以上才有
  18151. type: number
  18152. ts:
  18153. description: 时间
  18154. type: string
  18155. tt:
  18156. description: 总金额
  18157. type: number
  18158. tv:
  18159. description: 总量(成交量)
  18160. type: integer
  18161. type: object
  18162. quote.HistoryTikData:
  18163. properties:
  18164. AV:
  18165. description: 卖量
  18166. type: integer
  18167. Ask:
  18168. description: 卖价
  18169. type: number
  18170. BV:
  18171. description: 买量
  18172. type: integer
  18173. Bid:
  18174. description: 买价
  18175. type: number
  18176. HI:
  18177. description: 单笔持仓
  18178. type: integer
  18179. HV:
  18180. description: 持仓量
  18181. type: integer
  18182. PE:
  18183. description: 现价
  18184. type: number
  18185. TDR:
  18186. description: 交易方向,0:买 1:卖
  18187. type: integer
  18188. TK:
  18189. description: 交易类型
  18190. type: integer
  18191. TS:
  18192. description: 行情时间文本
  18193. type: string
  18194. TT:
  18195. description: 现金额
  18196. type: number
  18197. Vol:
  18198. description: 现量
  18199. type: integer
  18200. type: object
  18201. quote.QueryQuoteDayRsp:
  18202. properties:
  18203. ask:
  18204. description: 卖1
  18205. type: number
  18206. ask2:
  18207. description: 卖2
  18208. type: number
  18209. ask3:
  18210. description: 卖3
  18211. type: number
  18212. ask4:
  18213. description: 卖4
  18214. type: number
  18215. ask5:
  18216. description: 卖5
  18217. type: number
  18218. ask6:
  18219. description: 卖6
  18220. type: number
  18221. ask7:
  18222. description: 卖7
  18223. type: number
  18224. ask8:
  18225. description: 卖8
  18226. type: number
  18227. ask9:
  18228. description: 卖9
  18229. type: number
  18230. ask10:
  18231. description: 卖10
  18232. type: number
  18233. askorderid:
  18234. description: 卖单号1
  18235. type: integer
  18236. askorderid2:
  18237. description: 卖单号2
  18238. type: integer
  18239. askorderid3:
  18240. description: 卖单号3
  18241. type: integer
  18242. askorderid4:
  18243. description: 卖单号4
  18244. type: integer
  18245. askorderid5:
  18246. description: 卖单号5
  18247. type: integer
  18248. askordervolume:
  18249. description: 卖单量1
  18250. type: integer
  18251. askordervolume2:
  18252. description: 卖单量2
  18253. type: integer
  18254. askordervolume3:
  18255. description: 卖单量3
  18256. type: integer
  18257. askordervolume4:
  18258. description: 卖单量4
  18259. type: integer
  18260. askordervolume5:
  18261. description: 卖单量5
  18262. type: integer
  18263. askordervolume6:
  18264. description: 卖单量6
  18265. type: integer
  18266. askordervolume7:
  18267. description: 卖单量7
  18268. type: integer
  18269. askordervolume8:
  18270. description: 卖单量8
  18271. type: integer
  18272. askordervolume9:
  18273. description: 卖单量9
  18274. type: integer
  18275. askordervolume10:
  18276. description: 卖单量10
  18277. type: integer
  18278. askqueueinfo:
  18279. description: 大利市卖港股用
  18280. type: string
  18281. askvolume:
  18282. description: 卖量1
  18283. type: integer
  18284. askvolume2:
  18285. description: 卖量2
  18286. type: integer
  18287. askvolume3:
  18288. description: 卖量3
  18289. type: integer
  18290. askvolume4:
  18291. description: 卖量4
  18292. type: integer
  18293. askvolume5:
  18294. description: 卖量5
  18295. type: integer
  18296. askvolume6:
  18297. description: 卖量6
  18298. type: integer
  18299. askvolume7:
  18300. description: 卖量7
  18301. type: integer
  18302. askvolume8:
  18303. description: 卖量8
  18304. type: integer
  18305. askvolume9:
  18306. description: 卖量9
  18307. type: integer
  18308. askvolume10:
  18309. description: 卖量10
  18310. type: integer
  18311. averageprice:
  18312. description: 均价
  18313. type: number
  18314. bid:
  18315. description: 买1
  18316. type: number
  18317. bid2:
  18318. description: 买2
  18319. type: number
  18320. bid3:
  18321. description: 买3
  18322. type: number
  18323. bid4:
  18324. description: 买4
  18325. type: number
  18326. bid5:
  18327. description: 买5
  18328. type: number
  18329. bid6:
  18330. description: 买6
  18331. type: number
  18332. bid7:
  18333. description: 买7
  18334. type: number
  18335. bid8:
  18336. description: 买8
  18337. type: number
  18338. bid9:
  18339. description: 买9
  18340. type: number
  18341. bid10:
  18342. description: 买10
  18343. type: number
  18344. bidorderid:
  18345. description: 买单号1
  18346. type: integer
  18347. bidorderid2:
  18348. description: 买单号2
  18349. type: integer
  18350. bidorderid3:
  18351. description: 买单号3
  18352. type: integer
  18353. bidorderid4:
  18354. description: 买单号4
  18355. type: integer
  18356. bidorderid5:
  18357. description: 买单号5
  18358. type: integer
  18359. bidordervolume:
  18360. description: 买单量1
  18361. type: integer
  18362. bidordervolume2:
  18363. description: 买单量2
  18364. type: integer
  18365. bidordervolume3:
  18366. description: 买单量3
  18367. type: integer
  18368. bidordervolume4:
  18369. description: 买单量4
  18370. type: integer
  18371. bidordervolume5:
  18372. description: 买单量5
  18373. type: integer
  18374. bidordervolume6:
  18375. description: 买单量6
  18376. type: integer
  18377. bidordervolume7:
  18378. description: 买单量7
  18379. type: integer
  18380. bidordervolume8:
  18381. description: 买单量8
  18382. type: integer
  18383. bidordervolume9:
  18384. description: 买单量9
  18385. type: integer
  18386. bidordervolume10:
  18387. description: 买单量10
  18388. type: integer
  18389. bidqueueinfo:
  18390. description: 大利市买港股用
  18391. type: string
  18392. bidvolume:
  18393. description: 买量1
  18394. type: integer
  18395. bidvolume2:
  18396. description: 买量2
  18397. type: integer
  18398. bidvolume3:
  18399. description: 买量3
  18400. type: integer
  18401. bidvolume4:
  18402. description: 买量4
  18403. type: integer
  18404. bidvolume5:
  18405. description: 买量5
  18406. type: integer
  18407. bidvolume6:
  18408. description: 买量6
  18409. type: integer
  18410. bidvolume7:
  18411. description: 买量7
  18412. type: integer
  18413. bidvolume8:
  18414. description: 买量8
  18415. type: integer
  18416. bidvolume9:
  18417. description: 买量9
  18418. type: integer
  18419. bidvolume10:
  18420. description: 买量10
  18421. type: integer
  18422. calloptionpremiums:
  18423. description: 认购期权1
  18424. type: integer
  18425. calloptionpremiums2:
  18426. description: 认购期权2
  18427. type: integer
  18428. calloptionpremiums3:
  18429. description: 认购期权3
  18430. type: integer
  18431. calloptionpremiums4:
  18432. description: 认购期权4
  18433. type: integer
  18434. calloptionpremiums5:
  18435. description: 认购期权5
  18436. type: integer
  18437. cleartime:
  18438. description: 清盘时间
  18439. type: integer
  18440. exchangecode:
  18441. description: 交易所代码
  18442. type: integer
  18443. exchangedate:
  18444. description: 交易日
  18445. type: integer
  18446. goodscode:
  18447. description: 商品代码
  18448. type: string
  18449. grepmarketprice:
  18450. description: 暗盘价 港股专用
  18451. type: number
  18452. highest:
  18453. description: 最高价
  18454. type: number
  18455. holdincrement:
  18456. description: 单笔持仓
  18457. type: integer
  18458. holdvolume:
  18459. description: 持仓
  18460. type: integer
  18461. iep:
  18462. description: 平衡价 港股专用
  18463. type: number
  18464. iev:
  18465. description: 平衡量 港股专用
  18466. type: number
  18467. inventory:
  18468. description: 库存
  18469. type: integer
  18470. iscleared:
  18471. description: 是否清盘标志
  18472. type: integer
  18473. issettled:
  18474. description: 是否结算标志
  18475. type: integer
  18476. last:
  18477. description: 最新价
  18478. type: number
  18479. lastlot:
  18480. description: 最新成交手数
  18481. type: integer
  18482. lasttime:
  18483. description: 行情时间(只有现价变化行情时间才变化)
  18484. type: string
  18485. lastturnover:
  18486. description: 最新成交金额
  18487. type: number
  18488. lastvolume:
  18489. description: 最新成交量
  18490. type: integer
  18491. limitdown:
  18492. description: 跌停价
  18493. type: number
  18494. limitup:
  18495. description: 涨停价
  18496. type: number
  18497. lowest:
  18498. description: 最低价
  18499. type: number
  18500. nontotalholdervolume:
  18501. description: 非交易持仓量
  18502. type: integer
  18503. nontotallot:
  18504. description: 非交易总手数
  18505. type: integer
  18506. nontotalturnover:
  18507. description: 非交易总金额
  18508. type: integer
  18509. nontotalvolume:
  18510. description: 非交易总量
  18511. type: integer
  18512. opened:
  18513. description: 开盘价
  18514. type: number
  18515. opentime:
  18516. description: 开盘时间
  18517. type: string
  18518. orderid:
  18519. description: 序号
  18520. type: integer
  18521. preclose:
  18522. description: 昨收
  18523. type: number
  18524. preholdvolume:
  18525. description: 昨持仓
  18526. type: integer
  18527. presettle:
  18528. description: 昨结价
  18529. type: number
  18530. publictradetype:
  18531. description: 公共交易标志类型 港股专用
  18532. type: string
  18533. putoptionpremiums:
  18534. description: 认沽期权1
  18535. type: integer
  18536. putoptionpremiums2:
  18537. description: 认沽期权2
  18538. type: integer
  18539. putoptionpremiums3:
  18540. description: 认沽期权3
  18541. type: integer
  18542. putoptionpremiums4:
  18543. description: 认沽期权4
  18544. type: integer
  18545. putoptionpremiums5:
  18546. description: 认沽期权5
  18547. type: integer
  18548. settle:
  18549. description: 结算价
  18550. type: number
  18551. strikeprice:
  18552. description: 发行价
  18553. type: number
  18554. totalaskvolume:
  18555. description: 内盘
  18556. type: integer
  18557. totalbidvolume:
  18558. description: 外盘
  18559. type: integer
  18560. totallot:
  18561. description: 总手数
  18562. type: integer
  18563. totalturnover:
  18564. description: 总金额
  18565. type: number
  18566. totalvolume:
  18567. description: 总量
  18568. type: integer
  18569. utclasttime:
  18570. description: utc的行情时间
  18571. type: string
  18572. type: object
  18573. quote.QueryTSDataRsp:
  18574. properties:
  18575. Count:
  18576. description: 交易日应有数据个数
  18577. type: integer
  18578. decimalPlace:
  18579. description: 小数位
  18580. type: integer
  18581. endTime:
  18582. description: 结束时间
  18583. type: string
  18584. goodsCode:
  18585. description: 商品代码
  18586. type: string
  18587. historyDatas:
  18588. description: 历史数据
  18589. items:
  18590. $ref: '#/definitions/quote.HistoryData'
  18591. type: array
  18592. outGoodsCode:
  18593. description: 外部商品代码
  18594. type: string
  18595. preSettle:
  18596. description: 昨结价
  18597. type: number
  18598. runSteps:
  18599. description: 交易日开休市计划
  18600. items:
  18601. $ref: '#/definitions/quote.TSDataRunStep'
  18602. type: array
  18603. startTime:
  18604. description: 开始时间
  18605. type: string
  18606. tradeDate:
  18607. description: 交易日
  18608. type: string
  18609. type: object
  18610. quote.TSDataRunStep:
  18611. properties:
  18612. end:
  18613. description: 真实结束时间
  18614. type: string
  18615. endflag:
  18616. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18617. type: integer
  18618. endtime:
  18619. description: 结束时间(HH:mm)
  18620. type: string
  18621. endweekday:
  18622. description: 结束周几
  18623. type: integer
  18624. groupid:
  18625. description: 分组ID
  18626. type: integer
  18627. runstep:
  18628. description: 运行阶段 - 2:连续交易
  18629. type: integer
  18630. sectionid:
  18631. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18632. type: integer
  18633. start:
  18634. description: 真实开始时间
  18635. type: string
  18636. startflag:
  18637. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18638. type: integer
  18639. starttime:
  18640. description: 起始时间(HH:mm)
  18641. type: string
  18642. startweekday:
  18643. description: 起始周几
  18644. type: integer
  18645. tradeweekday:
  18646. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18647. type: integer
  18648. type: object
  18649. szdz.QueryConvertLogRsp:
  18650. properties:
  18651. accountid:
  18652. description: 资金账户ID
  18653. type: integer
  18654. clientticket:
  18655. description: 客户端流水号
  18656. type: string
  18657. converttype:
  18658. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18659. type: integer
  18660. createtime:
  18661. description: 记账时间
  18662. type: string
  18663. daymaxvalue:
  18664. description: 配置当日最大转入限制
  18665. type: number
  18666. daymaxvalue2:
  18667. description: 配置当日最大转入限制(转入)
  18668. type: number
  18669. goodscode:
  18670. description: 商品代码
  18671. type: string
  18672. goodsname:
  18673. description: 商品名称
  18674. type: string
  18675. handlestatus:
  18676. description: 处理状态
  18677. type: integer
  18678. innergoodsid:
  18679. description: 内部商品ID
  18680. type: integer
  18681. inratio:
  18682. description: 配置转入比值
  18683. type: integer
  18684. invalue:
  18685. description: 目标值
  18686. type: number
  18687. logid:
  18688. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18689. type: integer
  18690. mobile:
  18691. description: 手机号码(加密存储)
  18692. type: string
  18693. outergoodscode:
  18694. description: 外部商品代码[JD\PD]
  18695. type: string
  18696. outratio:
  18697. description: 配置转出比值
  18698. type: integer
  18699. outvalue:
  18700. description: 源值
  18701. type: number
  18702. pddecimalplace:
  18703. description: PD小数位
  18704. type: integer
  18705. qty:
  18706. description: 数量
  18707. type: string
  18708. remark:
  18709. description: 备注
  18710. type: string
  18711. sessionid:
  18712. description: 会话ID
  18713. type: integer
  18714. timemaxvalue:
  18715. description: 配置单次最大转入限制
  18716. type: number
  18717. timemaxvalue2:
  18718. description: 配置单次最大转入限制(转入)
  18719. type: number
  18720. timeminvalue:
  18721. description: 配置单次最小数量限制
  18722. type: number
  18723. timeminvalue2:
  18724. description: 配置单次最小数量限制(转入)
  18725. type: number
  18726. tradedate:
  18727. description: 交易日(yyyyMMdd)
  18728. type: string
  18729. userid:
  18730. description: 用户ID
  18731. type: integer
  18732. required:
  18733. - logid
  18734. type: object
  18735. szdz.QueryGoodsPickupRsp:
  18736. properties:
  18737. accountid:
  18738. description: 账户ID
  18739. type: integer
  18740. address:
  18741. description: 提货人详细地址
  18742. type: string
  18743. auditer:
  18744. description: 审核人
  18745. type: integer
  18746. audittime:
  18747. description: 审核时间
  18748. type: string
  18749. cardnum:
  18750. description: 提货人证件号码
  18751. type: string
  18752. cardtypeid:
  18753. description: 提货人证件类型
  18754. type: integer
  18755. checkremark:
  18756. description: 审核备注
  18757. type: string
  18758. goodscode:
  18759. description: 商品代码
  18760. type: string
  18761. goodsid:
  18762. description: 商品ID
  18763. type: integer
  18764. goodsname:
  18765. description: 商品名称
  18766. type: string
  18767. handlestatus:
  18768. description: 处理状态
  18769. type: integer
  18770. marketid:
  18771. description: 市场ID
  18772. type: integer
  18773. phonenum:
  18774. description: 提货人联系方式
  18775. type: string
  18776. qty:
  18777. description: 提货数量
  18778. type: number
  18779. recivername:
  18780. description: 提货人姓名
  18781. type: string
  18782. reqtime:
  18783. description: 更新时间
  18784. type: string
  18785. takemode:
  18786. description: 提货方式 - 2:自提 3:配送
  18787. type: integer
  18788. takeorderid:
  18789. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18790. type: string
  18791. takeorderstatus:
  18792. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18793. type: integer
  18794. takeremark:
  18795. description: 提货备注
  18796. type: string
  18797. tradedate:
  18798. description: 交易日(yyyyMMdd)
  18799. type: string
  18800. userid:
  18801. description: 用户ID
  18802. type: integer
  18803. required:
  18804. - takeorderid
  18805. type: object
  18806. szdz.QueryRecieptOrderRsp:
  18807. properties:
  18808. accountName:
  18809. description: 所属账号名称(已脱敏)
  18810. type: string
  18811. accountid:
  18812. description: 资金账号
  18813. type: integer
  18814. buyorsell:
  18815. description: 方向 - 0:买 1:卖
  18816. type: integer
  18817. enableqty:
  18818. description: 可摘数量
  18819. type: integer
  18820. goodscode:
  18821. description: 商品代码
  18822. type: string
  18823. goodsid:
  18824. description: 商品ID
  18825. type: integer
  18826. goodsname:
  18827. description: 商品名称
  18828. type: string
  18829. orderid:
  18830. description: 委托单号
  18831. type: string
  18832. orderprice:
  18833. description: 委托价格
  18834. type: number
  18835. ordertime:
  18836. description: 委托时间
  18837. type: string
  18838. tradedate:
  18839. description: 交易日(yyyyMMdd)
  18840. type: string
  18841. required:
  18842. - ordertime
  18843. type: object
  18844. szdz.QuerySZDZTradePositionRsp:
  18845. properties:
  18846. accountid:
  18847. description: 账号Id
  18848. type: integer
  18849. agreeunit:
  18850. description: 合约单位
  18851. type: number
  18852. averageprice:
  18853. description: 持仓均价
  18854. type: number
  18855. buyorsell:
  18856. description: 方向 - 0:买 1:卖
  18857. type: integer
  18858. closetotalqty:
  18859. description: 平仓总数量
  18860. type: integer
  18861. curholderamount:
  18862. description: 当前持仓总金额
  18863. type: number
  18864. curpositionqty:
  18865. description: 当前持仓总数量
  18866. type: integer
  18867. currencyid:
  18868. description: 报价货币ID
  18869. type: integer
  18870. curtdposition:
  18871. description: 期末今日头寸
  18872. type: integer
  18873. decimalplace:
  18874. description: 报价小数位
  18875. type: integer
  18876. enableqty:
  18877. description: 可用量
  18878. type: integer
  18879. fretdposition:
  18880. description: 冻结今日头寸
  18881. type: integer
  18882. frozenqty:
  18883. description: 持仓冻结数量
  18884. type: integer
  18885. goodscode:
  18886. description: 商品代码(内部)
  18887. type: string
  18888. goodsid:
  18889. description: 商品Id
  18890. type: integer
  18891. goodsname:
  18892. description: 商品名称
  18893. type: string
  18894. goodunit:
  18895. description: 报价单位
  18896. type: string
  18897. goodunitid:
  18898. description: 报价单位ID
  18899. type: integer
  18900. holderamount:
  18901. description: 期初持仓总金额
  18902. type: number
  18903. marketid:
  18904. description: 市场ID
  18905. type: integer
  18906. openreqqty:
  18907. description: 开仓申请数量
  18908. type: integer
  18909. opentotalqty:
  18910. description: 开仓总数量
  18911. type: integer
  18912. otherfrozenqty:
  18913. description: 持仓其他冻结数量(交割冻结)
  18914. type: integer
  18915. positionqty:
  18916. description: 期初持仓数量
  18917. type: integer
  18918. szdz3freezqty:
  18919. description: 尚志大宗转换冻结总数量
  18920. type: integer
  18921. tnqty:
  18922. description: T+N冻结总量
  18923. type: integer
  18924. tnusedqty:
  18925. description: T+N使用量
  18926. type: integer
  18927. trademode:
  18928. description: 交易模式
  18929. type: integer
  18930. usedmargin:
  18931. description: 占用保证金
  18932. type: number
  18933. type: object
  18934. taaccount.QueryAmountLogRsp:
  18935. properties:
  18936. OPERATETYPENAME:
  18937. description: 资金操作类型名称
  18938. type: string
  18939. accountid:
  18940. description: 资金账户ID
  18941. type: integer
  18942. agoodscode:
  18943. description: 竞拍商品代码
  18944. type: string
  18945. agoodsname:
  18946. description: 竞拍商品名称
  18947. type: string
  18948. amount:
  18949. description: 资金金额
  18950. type: number
  18951. amountadjusttype:
  18952. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18953. type: integer
  18954. autoid:
  18955. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18956. type: integer
  18957. balance:
  18958. description: 期初余额
  18959. type: number
  18960. businesscode:
  18961. description: 业务编号
  18962. type: integer
  18963. createtime:
  18964. description: 发生时间
  18965. type: string
  18966. currencyid:
  18967. description: 币种ID
  18968. type: integer
  18969. currentbalance:
  18970. description: 期末余额(变动后金额)
  18971. type: number
  18972. dgoodscode:
  18973. description: 交割商品代码
  18974. type: string
  18975. dgoodsname:
  18976. description: 交割商品名称
  18977. type: string
  18978. goodscode:
  18979. description: 商品代码
  18980. type: string
  18981. goodsid:
  18982. description: 商品ID
  18983. type: integer
  18984. goodsname:
  18985. description: 商品名称
  18986. type: string
  18987. marketid:
  18988. description: 市场ID
  18989. type: integer
  18990. marketname:
  18991. description: 市场名称
  18992. type: string
  18993. moneyticket:
  18994. description: 资金流水号:银行端流水号
  18995. type: integer
  18996. operatetype:
  18997. 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:营销收款
  18998. type: integer
  18999. relationorderid:
  19000. description: 关联单号
  19001. type: string
  19002. remark:
  19003. description: 备注
  19004. type: string
  19005. trademode:
  19006. description: 交易模式
  19007. type: integer
  19008. required:
  19009. - accountid
  19010. - amount
  19011. - amountadjusttype
  19012. - autoid
  19013. - balance
  19014. - createtime
  19015. - currentbalance
  19016. - operatetype
  19017. type: object
  19018. taaccount.QueryHisAmountLogRsp:
  19019. properties:
  19020. OPERATETYPENAME:
  19021. description: 资金操作类型名称
  19022. type: string
  19023. accountid:
  19024. description: 资金账户ID
  19025. type: integer
  19026. agoodscode:
  19027. description: 竞拍商品代码
  19028. type: string
  19029. agoodsname:
  19030. description: 竞拍商品名称
  19031. type: string
  19032. amount:
  19033. description: 资金金额
  19034. type: number
  19035. amountadjusttype:
  19036. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19037. type: integer
  19038. autoid:
  19039. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19040. type: integer
  19041. balance:
  19042. description: 期初余额
  19043. type: number
  19044. businesscode:
  19045. description: 业务编号
  19046. type: integer
  19047. createtime:
  19048. description: 发生时间
  19049. type: string
  19050. currencyid:
  19051. description: 币种ID
  19052. type: integer
  19053. currentbalance:
  19054. description: 期末余额(变动后金额)
  19055. type: number
  19056. dgoodscode:
  19057. description: 交割商品代码
  19058. type: string
  19059. dgoodsname:
  19060. description: 交割商品名称
  19061. type: string
  19062. goodscode:
  19063. description: 商品代码
  19064. type: string
  19065. goodsid:
  19066. description: 商品ID
  19067. type: integer
  19068. goodsname:
  19069. description: 商品名称
  19070. type: string
  19071. histradedate:
  19072. description: 历史交易日
  19073. type: string
  19074. isvaliddata:
  19075. description: 是否有效 - 0:无效 1:有效
  19076. type: integer
  19077. marketid:
  19078. description: 市场ID
  19079. type: integer
  19080. marketname:
  19081. description: 市场名称
  19082. type: string
  19083. moneyticket:
  19084. description: 资金流水号:银行端流水号
  19085. type: integer
  19086. operatetype:
  19087. 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:营销收款
  19088. type: integer
  19089. relationorderid:
  19090. description: 关联单号
  19091. type: string
  19092. remark:
  19093. description: 备注
  19094. type: string
  19095. trademode:
  19096. description: 交易模式
  19097. type: integer
  19098. required:
  19099. - accountid
  19100. - amount
  19101. - amountadjusttype
  19102. - autoid
  19103. - balance
  19104. - createtime
  19105. - currentbalance
  19106. - histradedate
  19107. - operatetype
  19108. type: object
  19109. trade.QueryRecieptOrderRsp:
  19110. properties:
  19111. accountName:
  19112. description: 所属账号名称(已脱敏)
  19113. type: string
  19114. accountid:
  19115. description: 资金账号
  19116. type: integer
  19117. buyorsell:
  19118. description: 方向 - 0:买 1:卖
  19119. type: integer
  19120. enableqty:
  19121. description: 可摘数量
  19122. type: integer
  19123. goodscode:
  19124. description: 商品代码
  19125. type: string
  19126. goodsid:
  19127. description: 商品ID
  19128. type: integer
  19129. goodsname:
  19130. description: 商品名称
  19131. type: string
  19132. orderid:
  19133. description: 委托单号
  19134. type: string
  19135. orderprice:
  19136. description: 委托价格
  19137. type: number
  19138. ordertime:
  19139. description: 委托时间
  19140. type: string
  19141. tradedate:
  19142. description: 交易日(yyyyMMdd)
  19143. type: string
  19144. required:
  19145. - ordertime
  19146. type: object
  19147. user.LoginQueryRsp:
  19148. properties:
  19149. areaRoles:
  19150. description: 所属角色信息
  19151. items:
  19152. $ref: '#/definitions/models.Arearole'
  19153. type: array
  19154. externalExchanges:
  19155. description: 外部交易所
  19156. items:
  19157. $ref: '#/definitions/models.Externalexchange'
  19158. type: array
  19159. goodsgroups:
  19160. description: 商品组
  19161. items:
  19162. $ref: '#/definitions/models.Goodsgroup'
  19163. type: array
  19164. loginAccount:
  19165. $ref: '#/definitions/models.Loginaccount'
  19166. description: 登录账号
  19167. markets:
  19168. description: 市场
  19169. items:
  19170. $ref: '#/definitions/models.Market'
  19171. type: array
  19172. systemParams:
  19173. description: 系统参数
  19174. items:
  19175. $ref: '#/definitions/models.Systemparam'
  19176. type: array
  19177. userAccount:
  19178. $ref: '#/definitions/models.Useraccount'
  19179. description: 用户账号
  19180. userInfo:
  19181. $ref: '#/definitions/models.Userinfo'
  19182. description: 用户信息
  19183. username:
  19184. description: 用户姓名
  19185. type: string
  19186. type: object
  19187. info:
  19188. contact: {}
  19189. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19190. termsOfService: http://www.muchinfo.cn
  19191. title: MTP2.0 查询服务 API
  19192. version: "1.0"
  19193. paths:
  19194. /CPTrade/QueryCPTradeMyBidInfos:
  19195. get:
  19196. parameters:
  19197. - description: 资金账户
  19198. in: query
  19199. name: accountid
  19200. required: true
  19201. type: integer
  19202. - description: 预售市场ID
  19203. in: query
  19204. name: marketid
  19205. type: integer
  19206. - description: 预售商品ID
  19207. in: query
  19208. name: goodsid
  19209. type: integer
  19210. produces:
  19211. - application/json
  19212. responses:
  19213. "200":
  19214. description: OK
  19215. schema:
  19216. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19217. "500":
  19218. description: Internal Server Error
  19219. schema:
  19220. $ref: '#/definitions/app.Response'
  19221. security:
  19222. - ApiKeyAuth: []
  19223. summary: 查询产能预售我的出价信息
  19224. tags:
  19225. - 产能预售
  19226. /CPTrade/QueryCPTradeOrderDetail:
  19227. get:
  19228. parameters:
  19229. - description: 预售商品ID
  19230. in: query
  19231. name: goodsid
  19232. type: integer
  19233. - description: 预售市场ID
  19234. in: query
  19235. name: marketid
  19236. type: integer
  19237. - description: 预售商品ID列表 - 格式:1,2,3
  19238. in: query
  19239. name: goodsids
  19240. type: string
  19241. produces:
  19242. - application/json
  19243. responses:
  19244. "200":
  19245. description: OK
  19246. schema:
  19247. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19248. "500":
  19249. description: Internal Server Error
  19250. schema:
  19251. $ref: '#/definitions/app.Response'
  19252. security:
  19253. - ApiKeyAuth: []
  19254. summary: 查询产能预售委托单信息
  19255. tags:
  19256. - 产能预售
  19257. /CPTrade/QueryMyCPTradeGoods:
  19258. get:
  19259. parameters:
  19260. - description: 资金账户
  19261. in: query
  19262. name: accountid
  19263. required: true
  19264. type: integer
  19265. produces:
  19266. - application/json
  19267. responses:
  19268. "200":
  19269. description: OK
  19270. schema:
  19271. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19272. "500":
  19273. description: Internal Server Error
  19274. schema:
  19275. $ref: '#/definitions/app.Response'
  19276. security:
  19277. - ApiKeyAuth: []
  19278. summary: 查询我的预售信息
  19279. tags:
  19280. - 产能预售
  19281. /CPTrade/QueryPositionCancel:
  19282. get:
  19283. parameters:
  19284. - description: 账户ID
  19285. in: query
  19286. name: userid
  19287. required: true
  19288. type: integer
  19289. - description: 注销ID
  19290. in: query
  19291. name: cancelid
  19292. type: integer
  19293. - description: 资金账户ID
  19294. in: query
  19295. name: accountid
  19296. type: integer
  19297. produces:
  19298. - application/json
  19299. responses:
  19300. "200":
  19301. description: OK
  19302. schema:
  19303. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19304. "500":
  19305. description: Internal Server Error
  19306. schema:
  19307. $ref: '#/definitions/app.Response'
  19308. security:
  19309. - ApiKeyAuth: []
  19310. summary: 查询远期订单注销申请信息
  19311. tags:
  19312. - 产能预售
  19313. /CPTrade/QueryPreasleApply:
  19314. get:
  19315. parameters:
  19316. - description: 账户ID
  19317. in: query
  19318. name: userid
  19319. required: true
  19320. type: integer
  19321. - description: 申请ID
  19322. in: query
  19323. name: applyid
  19324. type: integer
  19325. - description: 资金账户ID
  19326. in: query
  19327. name: accountid
  19328. type: integer
  19329. produces:
  19330. - application/json
  19331. responses:
  19332. "200":
  19333. description: OK
  19334. schema:
  19335. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19336. "500":
  19337. description: Internal Server Error
  19338. schema:
  19339. $ref: '#/definitions/app.Response'
  19340. security:
  19341. - ApiKeyAuth: []
  19342. summary: 查询产能预售申请信息
  19343. tags:
  19344. - 产能预售
  19345. /CPTrade/QueryPresaleGoodsEx:
  19346. get:
  19347. parameters:
  19348. - description: 预售商品ID
  19349. in: query
  19350. name: goodsid
  19351. type: integer
  19352. - description: 预售市场ID
  19353. in: query
  19354. name: marketid
  19355. type: integer
  19356. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19357. in: query
  19358. name: presalemode
  19359. type: integer
  19360. - description: 预售商品ID列表 - 格式:1,2,3
  19361. in: query
  19362. name: goodsids
  19363. type: string
  19364. - description: 预售商品代码
  19365. in: query
  19366. name: goodscode
  19367. type: string
  19368. produces:
  19369. - application/json
  19370. responses:
  19371. "200":
  19372. description: OK
  19373. schema:
  19374. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19375. "500":
  19376. description: Internal Server Error
  19377. schema:
  19378. $ref: '#/definitions/app.Response'
  19379. security:
  19380. - ApiKeyAuth: []
  19381. summary: 查询产能预售商品扩展信息
  19382. tags:
  19383. - 产能预售
  19384. /CPTrade/QueryUserGoodsData:
  19385. get:
  19386. parameters:
  19387. - description: 资金账户ID
  19388. in: query
  19389. name: accountid
  19390. required: true
  19391. type: integer
  19392. produces:
  19393. - application/json
  19394. responses:
  19395. "200":
  19396. description: OK
  19397. schema:
  19398. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19399. "500":
  19400. description: Internal Server Error
  19401. schema:
  19402. $ref: '#/definitions/app.Response'
  19403. security:
  19404. - ApiKeyAuth: []
  19405. summary: 查询远期订单信息
  19406. tags:
  19407. - 产能预售
  19408. /Common/GetAllEnums:
  19409. get:
  19410. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19411. parameters:
  19412. - description: 起始自增ID
  19413. in: query
  19414. name: autoid
  19415. type: integer
  19416. produces:
  19417. - application/json
  19418. responses:
  19419. "200":
  19420. description: OK
  19421. schema:
  19422. $ref: '#/definitions/models.Enumdicitem'
  19423. "500":
  19424. description: Internal Server Error
  19425. schema:
  19426. $ref: '#/definitions/app.Response'
  19427. summary: 获取所有枚举信息
  19428. tags:
  19429. - 通用服务
  19430. /Common/GetClientMenus:
  19431. get:
  19432. parameters:
  19433. - description: 登录账号
  19434. in: query
  19435. name: loginID
  19436. required: true
  19437. type: integer
  19438. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19439. in: query
  19440. name: clientType
  19441. type: integer
  19442. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19443. in: query
  19444. name: name
  19445. type: string
  19446. produces:
  19447. - application/json
  19448. responses:
  19449. "200":
  19450. description: OK
  19451. schema:
  19452. items:
  19453. $ref: '#/definitions/common.ClientMenu'
  19454. type: array
  19455. "500":
  19456. description: Internal Server Error
  19457. schema:
  19458. $ref: '#/definitions/app.Response'
  19459. security:
  19460. - ApiKeyAuth: []
  19461. summary: 获取交易端菜单
  19462. tags:
  19463. - 通用服务
  19464. /Common/GetDivisions:
  19465. get:
  19466. produces:
  19467. - application/json
  19468. responses:
  19469. "200":
  19470. description: OK
  19471. schema:
  19472. $ref: '#/definitions/models.Division'
  19473. "500":
  19474. description: Internal Server Error
  19475. schema:
  19476. $ref: '#/definitions/app.Response'
  19477. summary: 查询区域信息
  19478. tags:
  19479. - 通用服务
  19480. /Common/GetPCWebMenus:
  19481. get:
  19482. parameters:
  19483. - description: 登录账号
  19484. in: query
  19485. name: loginID
  19486. required: true
  19487. type: integer
  19488. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19489. in: query
  19490. name: name
  19491. type: string
  19492. produces:
  19493. - application/json
  19494. responses:
  19495. "200":
  19496. description: OK
  19497. schema:
  19498. items:
  19499. $ref: '#/definitions/common.PCWebMenu'
  19500. type: array
  19501. "500":
  19502. description: Internal Server Error
  19503. schema:
  19504. $ref: '#/definitions/app.Response'
  19505. security:
  19506. - ApiKeyAuth: []
  19507. summary: 获取PCWeb交易端菜单
  19508. tags:
  19509. - 通用服务
  19510. /Common/GetServerTime:
  19511. get:
  19512. produces:
  19513. - application/json
  19514. responses:
  19515. "200":
  19516. description: OK
  19517. schema:
  19518. $ref: '#/definitions/app.Response'
  19519. "500":
  19520. description: Internal Server Error
  19521. schema:
  19522. $ref: '#/definitions/app.Response'
  19523. summary: 获取服务器时间
  19524. tags:
  19525. - 通用服务
  19526. /Common/NoticeReaded:
  19527. post:
  19528. parameters:
  19529. - description: 登录账号
  19530. in: query
  19531. name: loginID
  19532. required: true
  19533. type: integer
  19534. - description: 通知公告ID
  19535. in: query
  19536. name: noticeID
  19537. required: true
  19538. type: integer
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. $ref: '#/definitions/app.Response'
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. security:
  19551. - ApiKeyAuth: []
  19552. summary: 通知公告设置已读请求
  19553. tags:
  19554. - 通用服务
  19555. /Common/QueryErrorInfos:
  19556. get:
  19557. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19558. parameters:
  19559. - description: 起始行号前索引
  19560. in: query
  19561. name: rowNumber
  19562. type: string
  19563. produces:
  19564. - application/json
  19565. responses:
  19566. "200":
  19567. description: OK
  19568. schema:
  19569. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19570. "500":
  19571. description: Internal Server Error
  19572. schema:
  19573. $ref: '#/definitions/app.Response'
  19574. summary: 获取数据库错误信息
  19575. tags:
  19576. - 通用服务
  19577. /Common/QueryImageConfigs:
  19578. get:
  19579. parameters:
  19580. - description: 用户id
  19581. in: query
  19582. name: userId
  19583. type: integer
  19584. - description: 类型 - 1:App首页轮播 2:我的
  19585. in: query
  19586. name: imageType
  19587. type: integer
  19588. produces:
  19589. - application/json
  19590. responses:
  19591. "200":
  19592. description: OK
  19593. schema:
  19594. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19595. "500":
  19596. description: Internal Server Error
  19597. schema:
  19598. $ref: '#/definitions/app.Response'
  19599. summary: 查询轮播图配置信息
  19600. tags:
  19601. - 通用服务
  19602. /Common/QueryNotice:
  19603. get:
  19604. parameters:
  19605. - description: 页码
  19606. in: query
  19607. name: page
  19608. type: integer
  19609. - description: 每页条数
  19610. in: query
  19611. name: pagesize
  19612. type: integer
  19613. - description: 登录账号
  19614. in: query
  19615. name: loginID
  19616. required: true
  19617. type: integer
  19618. - description: 消息类型 - 1:公告通知 2:系统消息
  19619. in: query
  19620. name: msgType
  19621. type: integer
  19622. - description: 是否只获取未读信息
  19623. in: query
  19624. name: onlyUnRead
  19625. type: boolean
  19626. - description: 自增ID,传入后会返回这个ID后面的记录
  19627. in: query
  19628. name: lastID
  19629. type: integer
  19630. produces:
  19631. - application/json
  19632. responses:
  19633. "200":
  19634. description: OK
  19635. schema:
  19636. $ref: '#/definitions/common.QueryNoticeRsp'
  19637. "500":
  19638. description: Internal Server Error
  19639. schema:
  19640. $ref: '#/definitions/app.Response'
  19641. security:
  19642. - ApiKeyAuth: []
  19643. summary: 通知公告系统消息查询
  19644. tags:
  19645. - 通用服务
  19646. /Common/QueryProvincesAndCities:
  19647. get:
  19648. parameters:
  19649. - description: 省ID
  19650. in: query
  19651. name: provinceID
  19652. type: integer
  19653. produces:
  19654. - application/json
  19655. responses:
  19656. "200":
  19657. description: OK
  19658. schema:
  19659. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19660. "500":
  19661. description: Internal Server Error
  19662. schema:
  19663. $ref: '#/definitions/app.Response'
  19664. summary: 查询省市信息(不包括区)
  19665. tags:
  19666. - 通用服务
  19667. /Common/QueryTableDefine:
  19668. get:
  19669. parameters:
  19670. - description: 表key
  19671. in: query
  19672. name: tableKey
  19673. type: string
  19674. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19675. in: query
  19676. name: tableType
  19677. type: integer
  19678. produces:
  19679. - application/json
  19680. responses:
  19681. "200":
  19682. description: OK
  19683. schema:
  19684. $ref: '#/definitions/common.QueryTableDefineRsp'
  19685. "500":
  19686. description: Internal Server Error
  19687. schema:
  19688. $ref: '#/definitions/app.Response'
  19689. summary: 查询交易端列表头信息
  19690. tags:
  19691. - 通用服务
  19692. /Common/QueryTraderMenu:
  19693. get:
  19694. parameters:
  19695. - description: 登录账号
  19696. in: query
  19697. name: loginid
  19698. required: true
  19699. type: integer
  19700. produces:
  19701. - application/json
  19702. responses:
  19703. "200":
  19704. description: OK
  19705. schema:
  19706. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19707. "500":
  19708. description: Internal Server Error
  19709. schema:
  19710. $ref: '#/definitions/app.Response'
  19711. summary: 查询交易端菜单
  19712. tags:
  19713. - 通用服务
  19714. /Delivery/QueryDeliveryRelation:
  19715. get:
  19716. parameters:
  19717. - description: 商品ID
  19718. in: query
  19719. name: goodsid
  19720. type: integer
  19721. - description: 品种ID
  19722. in: query
  19723. name: deliverygoodsid
  19724. type: integer
  19725. - description: 市场ID
  19726. in: query
  19727. name: marketid
  19728. type: integer
  19729. produces:
  19730. - application/json
  19731. responses:
  19732. "200":
  19733. description: OK
  19734. schema:
  19735. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19736. "500":
  19737. description: Internal Server Error
  19738. schema:
  19739. $ref: '#/definitions/app.Response'
  19740. security:
  19741. - ApiKeyAuth: []
  19742. summary: 查询商品交割关系表
  19743. tags:
  19744. - 交割服务
  19745. /Ermcp/GetErmcpGoods:
  19746. get:
  19747. parameters:
  19748. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19749. in: query
  19750. name: lastUpdateTime
  19751. type: string
  19752. produces:
  19753. - application/json
  19754. responses:
  19755. "200":
  19756. description: OK
  19757. schema:
  19758. $ref: '#/definitions/models.ErmcpGoods'
  19759. "500":
  19760. description: Internal Server Error
  19761. schema:
  19762. $ref: '#/definitions/app.Response'
  19763. security:
  19764. - ApiKeyAuth: []
  19765. summary: 查询企业风管期货商品信息
  19766. tags:
  19767. - 企业风险管理(app)
  19768. /Ermcp/GetErmcpGoodsSortByPosition:
  19769. get:
  19770. parameters:
  19771. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19772. in: query
  19773. name: sortIndex
  19774. type: string
  19775. produces:
  19776. - application/json
  19777. responses:
  19778. "200":
  19779. description: OK
  19780. schema:
  19781. $ref: '#/definitions/models.Goodssortbypreposition'
  19782. "500":
  19783. description: Internal Server Error
  19784. schema:
  19785. $ref: '#/definitions/app.Response'
  19786. security:
  19787. - ApiKeyAuth: []
  19788. summary: 查询企业风管期货主力、次主力商品信息
  19789. tags:
  19790. - 企业风险管理(app)
  19791. /Ermcp/GetErmcpOutAccountStatus:
  19792. get:
  19793. parameters:
  19794. - description: 登录账号
  19795. in: query
  19796. name: loginID
  19797. required: true
  19798. type: integer
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. $ref: '#/definitions/models.Hedgemarketopenlog'
  19806. "500":
  19807. description: Internal Server Error
  19808. schema:
  19809. $ref: '#/definitions/app.Response'
  19810. security:
  19811. - ApiKeyAuth: []
  19812. summary: 获取目标登录账号当前对冲账号在线状态
  19813. tags:
  19814. - 企业风险管理(app)
  19815. /Ermcp/GetErmcpRoleFuncMenuLists:
  19816. get:
  19817. parameters:
  19818. - description: 登录账号
  19819. in: query
  19820. name: loginID
  19821. required: true
  19822. type: integer
  19823. produces:
  19824. - application/json
  19825. responses:
  19826. "200":
  19827. description: OK
  19828. schema:
  19829. $ref: '#/definitions/models.Funcmenulist'
  19830. "500":
  19831. description: Internal Server Error
  19832. schema:
  19833. $ref: '#/definitions/app.Response'
  19834. security:
  19835. - ApiKeyAuth: []
  19836. summary: 获取企业风管终端权限
  19837. tags:
  19838. - 企业风险管理(app)
  19839. /Ermcp/QueryAccMgrBizGroupSet:
  19840. get:
  19841. parameters:
  19842. - description: 用户ID
  19843. in: query
  19844. name: userid
  19845. required: true
  19846. type: integer
  19847. - description: 现货商品id
  19848. in: query
  19849. name: deliverygoodsid
  19850. type: integer
  19851. produces:
  19852. - application/json
  19853. responses:
  19854. "200":
  19855. description: OK
  19856. schema:
  19857. items:
  19858. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19859. type: array
  19860. "500":
  19861. description: Internal Server Error
  19862. schema:
  19863. $ref: '#/definitions/app.Response'
  19864. security:
  19865. - ApiKeyAuth: []
  19866. summary: 查询业务类型分组(账户管理/账户设置)
  19867. tags:
  19868. - 企业风险管理(app)
  19869. /Ermcp/QueryAccMgrLoginUser:
  19870. get:
  19871. parameters:
  19872. - description: 用户ID
  19873. in: query
  19874. name: userid
  19875. required: true
  19876. type: integer
  19877. - description: 用户类型 2-机构 7-企业成员
  19878. in: query
  19879. name: usertype
  19880. type: integer
  19881. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19882. in: query
  19883. name: querytype
  19884. required: true
  19885. type: integer
  19886. produces:
  19887. - application/json
  19888. responses:
  19889. "200":
  19890. description: OK
  19891. schema:
  19892. items:
  19893. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19894. type: array
  19895. "500":
  19896. description: Internal Server Error
  19897. schema:
  19898. $ref: '#/definitions/app.Response'
  19899. security:
  19900. - ApiKeyAuth: []
  19901. summary: 查询账户管理登录账号(账户管理/登录账号)
  19902. tags:
  19903. - 企业风险管理(app)
  19904. /Ermcp/QueryAccMgrMainAccountInfo:
  19905. get:
  19906. parameters:
  19907. - description: 用户ID
  19908. in: query
  19909. name: userid
  19910. type: integer
  19911. - description: 主账号id
  19912. in: query
  19913. name: accountid
  19914. type: integer
  19915. produces:
  19916. - application/json
  19917. responses:
  19918. "200":
  19919. description: OK
  19920. schema:
  19921. items:
  19922. $ref: '#/definitions/models.MainAccountInfo'
  19923. type: array
  19924. "500":
  19925. description: Internal Server Error
  19926. schema:
  19927. $ref: '#/definitions/app.Response'
  19928. security:
  19929. - ApiKeyAuth: []
  19930. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19931. tags:
  19932. - 企业风险管理(app)
  19933. /Ermcp/QueryAccMgrRole:
  19934. get:
  19935. parameters:
  19936. - description: 用户ID
  19937. in: query
  19938. name: userid
  19939. required: true
  19940. type: integer
  19941. produces:
  19942. - application/json
  19943. responses:
  19944. "200":
  19945. description: OK
  19946. schema:
  19947. items:
  19948. $ref: '#/definitions/models.ErmcpRole'
  19949. type: array
  19950. "500":
  19951. description: Internal Server Error
  19952. schema:
  19953. $ref: '#/definitions/app.Response'
  19954. security:
  19955. - ApiKeyAuth: []
  19956. summary: 查询账户管理角色设置(账户管理/角色设置)
  19957. tags:
  19958. - 企业风险管理(app)
  19959. /Ermcp/QueryAccMgrRoleMenu:
  19960. get:
  19961. parameters:
  19962. - description: 用户ID
  19963. in: query
  19964. name: userid
  19965. required: true
  19966. type: integer
  19967. - description: 角色id(可多个,逗号隔开)
  19968. in: query
  19969. name: roleid
  19970. type: string
  19971. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19972. in: query
  19973. name: menutype
  19974. type: integer
  19975. produces:
  19976. - application/json
  19977. responses:
  19978. "200":
  19979. description: OK
  19980. schema:
  19981. items:
  19982. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19983. type: array
  19984. "500":
  19985. description: Internal Server Error
  19986. schema:
  19987. $ref: '#/definitions/app.Response'
  19988. security:
  19989. - ApiKeyAuth: []
  19990. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19991. tags:
  19992. - 企业风险管理(app)
  19993. /Ermcp/QueryAccMgrTaAccountInfo:
  19994. get:
  19995. parameters:
  19996. - description: 用户ID
  19997. in: query
  19998. name: userid
  19999. required: true
  20000. type: integer
  20001. - description: 账号id
  20002. in: query
  20003. name: accountid
  20004. type: integer
  20005. produces:
  20006. - application/json
  20007. responses:
  20008. "200":
  20009. description: OK
  20010. schema:
  20011. items:
  20012. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20013. type: array
  20014. "500":
  20015. description: Internal Server Error
  20016. schema:
  20017. $ref: '#/definitions/app.Response'
  20018. security:
  20019. - ApiKeyAuth: []
  20020. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20021. tags:
  20022. - 企业风险管理(app)
  20023. /Ermcp/QueryAccMgrTaaccount:
  20024. get:
  20025. parameters:
  20026. - description: 用户ID
  20027. in: query
  20028. name: userid
  20029. required: true
  20030. type: integer
  20031. produces:
  20032. - application/json
  20033. responses:
  20034. "200":
  20035. description: OK
  20036. schema:
  20037. items:
  20038. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20039. type: array
  20040. "500":
  20041. description: Internal Server Error
  20042. schema:
  20043. $ref: '#/definitions/app.Response'
  20044. security:
  20045. - ApiKeyAuth: []
  20046. summary: 查询账户管理期货账号(账户管理/期货账号)
  20047. tags:
  20048. - 企业风险管理(app)
  20049. /Ermcp/QueryAvaildGoodsGroup:
  20050. get:
  20051. parameters:
  20052. - description: 所属机构ID
  20053. in: query
  20054. name: userid
  20055. required: true
  20056. type: integer
  20057. produces:
  20058. - application/json
  20059. responses:
  20060. "200":
  20061. description: OK
  20062. schema:
  20063. items:
  20064. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20065. type: array
  20066. "500":
  20067. description: Internal Server Error
  20068. schema:
  20069. $ref: '#/definitions/app.Response'
  20070. security:
  20071. - ApiKeyAuth: []
  20072. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20073. tags:
  20074. - 企业风险管理(app)
  20075. /Ermcp/QueryBusinessDj:
  20076. get:
  20077. parameters:
  20078. - description: 用户ID
  20079. in: query
  20080. name: UserId
  20081. required: true
  20082. type: integer
  20083. - description: 用户类型 2-机构 7-企业成员
  20084. in: query
  20085. name: usertype
  20086. type: integer
  20087. - description: 现货合同ID, 不填则查所有
  20088. in: query
  20089. name: relatedid
  20090. type: string
  20091. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20092. in: query
  20093. name: applystatus
  20094. type: string
  20095. produces:
  20096. - application/json
  20097. responses:
  20098. "200":
  20099. description: OK
  20100. schema:
  20101. items:
  20102. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20103. type: array
  20104. "500":
  20105. description: Internal Server Error
  20106. schema:
  20107. $ref: '#/definitions/app.Response'
  20108. security:
  20109. - ApiKeyAuth: []
  20110. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20111. tags:
  20112. - 企业风险管理(app)
  20113. /Ermcp/QueryBusinessFp:
  20114. get:
  20115. parameters:
  20116. - description: 用户ID
  20117. in: query
  20118. name: UserId
  20119. required: true
  20120. type: integer
  20121. - description: 用户类型 2-机构 7-企业成员
  20122. in: query
  20123. name: usertype
  20124. type: integer
  20125. - description: 现货合同ID, 不填则查所有
  20126. in: query
  20127. name: relatedid
  20128. type: string
  20129. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20130. in: query
  20131. name: applystatus
  20132. type: string
  20133. produces:
  20134. - application/json
  20135. responses:
  20136. "200":
  20137. description: OK
  20138. schema:
  20139. items:
  20140. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20141. type: array
  20142. "500":
  20143. description: Internal Server Error
  20144. schema:
  20145. $ref: '#/definitions/app.Response'
  20146. security:
  20147. - ApiKeyAuth: []
  20148. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20149. tags:
  20150. - 企业风险管理(app)
  20151. /Ermcp/QueryBusinessJs:
  20152. get:
  20153. parameters:
  20154. - description: 用户ID
  20155. in: query
  20156. name: UserId
  20157. required: true
  20158. type: integer
  20159. - description: 用户类型 2-机构 7-企业成员
  20160. in: query
  20161. name: usertype
  20162. type: integer
  20163. - description: 现货合同ID, 不填则查所有
  20164. in: query
  20165. name: relatedid
  20166. type: string
  20167. - description: 操作申请id
  20168. in: query
  20169. name: operateapplyid
  20170. type: string
  20171. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20172. in: query
  20173. name: applystatus
  20174. type: string
  20175. produces:
  20176. - application/json
  20177. responses:
  20178. "200":
  20179. description: OK
  20180. schema:
  20181. items:
  20182. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20183. type: array
  20184. "500":
  20185. description: Internal Server Error
  20186. schema:
  20187. $ref: '#/definitions/app.Response'
  20188. security:
  20189. - ApiKeyAuth: []
  20190. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20191. tags:
  20192. - 企业风险管理(app)
  20193. /Ermcp/QueryBusinessJsEx:
  20194. get:
  20195. parameters:
  20196. - description: 用户ID
  20197. in: query
  20198. name: UserId
  20199. required: true
  20200. type: integer
  20201. - description: 用户类型 2-机构 7-企业成员
  20202. in: query
  20203. name: usertype
  20204. type: integer
  20205. - description: 现货合同ID, 不填则查所有
  20206. in: query
  20207. name: relatedid
  20208. type: string
  20209. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20210. in: query
  20211. name: applystatus
  20212. type: string
  20213. produces:
  20214. - application/json
  20215. responses:
  20216. "200":
  20217. description: OK
  20218. schema:
  20219. items:
  20220. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20221. type: array
  20222. "500":
  20223. description: Internal Server Error
  20224. schema:
  20225. $ref: '#/definitions/app.Response'
  20226. security:
  20227. - ApiKeyAuth: []
  20228. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20229. tags:
  20230. - 企业风险管理(app)
  20231. /Ermcp/QueryBusinessKx:
  20232. get:
  20233. parameters:
  20234. - description: 用户ID
  20235. in: query
  20236. name: UserId
  20237. required: true
  20238. type: integer
  20239. - description: 用户类型 2-机构 7-企业成员
  20240. in: query
  20241. name: usertype
  20242. type: integer
  20243. - description: 现货合同ID, 不填则查所有
  20244. in: query
  20245. name: relatedid
  20246. type: string
  20247. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20248. in: query
  20249. name: applystatus
  20250. type: string
  20251. produces:
  20252. - application/json
  20253. responses:
  20254. "200":
  20255. description: OK
  20256. schema:
  20257. items:
  20258. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20259. type: array
  20260. "500":
  20261. description: Internal Server Error
  20262. schema:
  20263. $ref: '#/definitions/app.Response'
  20264. security:
  20265. - ApiKeyAuth: []
  20266. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20267. tags:
  20268. - 企业风险管理(app)
  20269. /Ermcp/QueryChangeLog:
  20270. get:
  20271. parameters:
  20272. - description: 合同ID
  20273. in: query
  20274. name: RelatedId
  20275. required: true
  20276. type: string
  20277. produces:
  20278. - application/json
  20279. responses:
  20280. "200":
  20281. description: OK
  20282. schema:
  20283. items:
  20284. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20285. type: array
  20286. "500":
  20287. description: Internal Server Error
  20288. schema:
  20289. $ref: '#/definitions/app.Response'
  20290. security:
  20291. - ApiKeyAuth: []
  20292. summary: 查询变更记录
  20293. tags:
  20294. - 企业风险管理(app)
  20295. /Ermcp/QueryErmcpHisOrderDetails:
  20296. get:
  20297. parameters:
  20298. - description: 资金账户ID
  20299. in: query
  20300. name: accountID
  20301. required: true
  20302. type: integer
  20303. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20304. in: query
  20305. name: startDate
  20306. type: string
  20307. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20308. in: query
  20309. name: endDate
  20310. type: string
  20311. produces:
  20312. - application/json
  20313. responses:
  20314. "200":
  20315. description: OK
  20316. schema:
  20317. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20318. "500":
  20319. description: Internal Server Error
  20320. schema:
  20321. $ref: '#/definitions/app.Response'
  20322. security:
  20323. - ApiKeyAuth: []
  20324. summary: 获取企业风管期货历史委托单信息
  20325. tags:
  20326. - 企业风险管理(app)
  20327. /Ermcp/QueryErmcpHisTradeDetails:
  20328. get:
  20329. parameters:
  20330. - description: 资金账户ID
  20331. in: query
  20332. name: accountID
  20333. required: true
  20334. type: integer
  20335. - description: 商品ID
  20336. in: query
  20337. name: goodsID
  20338. type: integer
  20339. - description: 买卖方向,0:买 1:卖
  20340. in: query
  20341. name: buyOrSell
  20342. type: integer
  20343. - description: 关联委托单号
  20344. in: query
  20345. name: orderID
  20346. type: integer
  20347. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20348. in: query
  20349. name: startDate
  20350. type: string
  20351. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20352. in: query
  20353. name: endDate
  20354. type: string
  20355. produces:
  20356. - application/json
  20357. responses:
  20358. "200":
  20359. description: OK
  20360. schema:
  20361. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20362. "500":
  20363. description: Internal Server Error
  20364. schema:
  20365. $ref: '#/definitions/app.Response'
  20366. security:
  20367. - ApiKeyAuth: []
  20368. summary: 获取企业风管期货历史成交单信息
  20369. tags:
  20370. - 企业风险管理(app)
  20371. /Ermcp/QueryErmcpInnerHolderDetails:
  20372. get:
  20373. parameters:
  20374. - description: 资金账户ID
  20375. in: query
  20376. name: accountID
  20377. required: true
  20378. type: integer
  20379. - description: 商品ID
  20380. in: query
  20381. name: goodsID
  20382. type: integer
  20383. - description: 买卖方向,0:买 1:卖
  20384. in: query
  20385. name: buyOrSell
  20386. type: integer
  20387. produces:
  20388. - application/json
  20389. responses:
  20390. "200":
  20391. description: OK
  20392. schema:
  20393. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20394. "500":
  20395. description: Internal Server Error
  20396. schema:
  20397. $ref: '#/definitions/app.Response'
  20398. security:
  20399. - ApiKeyAuth: []
  20400. summary: 获取企业风管期货内部持仓单信息
  20401. tags:
  20402. - 企业风险管理(app)
  20403. /Ermcp/QueryErmcpOrderDetails:
  20404. get:
  20405. parameters:
  20406. - description: 资金账户ID
  20407. in: query
  20408. name: accountID
  20409. required: true
  20410. type: integer
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20418. "500":
  20419. description: Internal Server Error
  20420. schema:
  20421. $ref: '#/definitions/app.Response'
  20422. security:
  20423. - ApiKeyAuth: []
  20424. summary: 获取企业风管期货委托单信息
  20425. tags:
  20426. - 企业风险管理(app)
  20427. /Ermcp/QueryErmcpTradeDetails:
  20428. get:
  20429. parameters:
  20430. - description: 资金账户ID
  20431. in: query
  20432. name: accountID
  20433. required: true
  20434. type: integer
  20435. - description: 商品ID
  20436. in: query
  20437. name: goodsID
  20438. type: integer
  20439. - description: 买卖方向,0:买 1:卖
  20440. in: query
  20441. name: buyOrSell
  20442. type: integer
  20443. - description: 关联委托单号
  20444. in: query
  20445. name: orderID
  20446. type: integer
  20447. produces:
  20448. - application/json
  20449. responses:
  20450. "200":
  20451. description: OK
  20452. schema:
  20453. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20454. "500":
  20455. description: Internal Server Error
  20456. schema:
  20457. $ref: '#/definitions/app.Response'
  20458. security:
  20459. - ApiKeyAuth: []
  20460. summary: 获取企业风管期货成交单信息
  20461. tags:
  20462. - 企业风险管理(app)
  20463. /Ermcp/QueryErmcpTradePosition:
  20464. get:
  20465. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20466. parameters:
  20467. - description: 资金账户ID
  20468. in: query
  20469. name: accountID
  20470. required: true
  20471. type: integer
  20472. - description: 所属市场ID
  20473. in: query
  20474. name: marketID
  20475. type: integer
  20476. produces:
  20477. - application/json
  20478. responses:
  20479. "200":
  20480. description: OK
  20481. schema:
  20482. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20483. "500":
  20484. description: Internal Server Error
  20485. schema:
  20486. $ref: '#/definitions/app.Response'
  20487. security:
  20488. - ApiKeyAuth: []
  20489. summary: 获取企业风管期货持仓头寸信息
  20490. tags:
  20491. - 企业风险管理(app)
  20492. /Ermcp/QueryExposureDetail:
  20493. get:
  20494. parameters:
  20495. - description: 所属机构ID
  20496. in: query
  20497. name: areaUserId
  20498. required: true
  20499. type: integer
  20500. - description: 套保商品
  20501. in: query
  20502. name: middleGoodsId
  20503. required: true
  20504. type: integer
  20505. produces:
  20506. - application/json
  20507. responses:
  20508. "200":
  20509. description: OK
  20510. schema:
  20511. items:
  20512. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20513. type: array
  20514. "500":
  20515. description: Internal Server Error
  20516. schema:
  20517. $ref: '#/definitions/app.Response'
  20518. security:
  20519. - ApiKeyAuth: []
  20520. summary: 查询敞口现货明细
  20521. tags:
  20522. - 企业风险管理(app)
  20523. /Ermcp/QueryExposureGoods:
  20524. get:
  20525. parameters:
  20526. - description: 套保商品id
  20527. in: query
  20528. name: middlegoodsid
  20529. required: true
  20530. type: integer
  20531. produces:
  20532. - application/json
  20533. responses:
  20534. "200":
  20535. description: OK
  20536. schema:
  20537. items:
  20538. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20539. type: array
  20540. "500":
  20541. description: Internal Server Error
  20542. schema:
  20543. $ref: '#/definitions/app.Response'
  20544. security:
  20545. - ApiKeyAuth: []
  20546. summary: 查询敞口主力合约
  20547. tags:
  20548. - 企业风险管理(app)
  20549. /Ermcp/QueryExposureHedgePosition:
  20550. get:
  20551. parameters:
  20552. - description: 用户id
  20553. in: query
  20554. name: userid
  20555. required: true
  20556. type: integer
  20557. produces:
  20558. - application/json
  20559. responses:
  20560. "200":
  20561. description: OK
  20562. schema:
  20563. items:
  20564. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20565. type: array
  20566. "500":
  20567. description: Internal Server Error
  20568. schema:
  20569. $ref: '#/definitions/app.Response'
  20570. security:
  20571. - ApiKeyAuth: []
  20572. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20573. tags:
  20574. - 企业风险管理(app)
  20575. /Ermcp/QueryExposureHedgePositionDetail:
  20576. get:
  20577. parameters:
  20578. - description: 所属机构ID
  20579. in: query
  20580. name: userid
  20581. required: true
  20582. type: integer
  20583. - description: 商品id
  20584. in: query
  20585. name: goodsId
  20586. required: true
  20587. type: integer
  20588. produces:
  20589. - application/json
  20590. responses:
  20591. "200":
  20592. description: OK
  20593. schema:
  20594. items:
  20595. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20596. type: array
  20597. "500":
  20598. description: Internal Server Error
  20599. schema:
  20600. $ref: '#/definitions/app.Response'
  20601. security:
  20602. - ApiKeyAuth: []
  20603. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20604. tags:
  20605. - 企业风险管理(app)
  20606. /Ermcp/QueryExposureSpot:
  20607. get:
  20608. parameters:
  20609. - description: 所属机构ID
  20610. in: query
  20611. name: areaUserId
  20612. required: true
  20613. type: integer
  20614. produces:
  20615. - application/json
  20616. responses:
  20617. "200":
  20618. description: OK
  20619. schema:
  20620. items:
  20621. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20622. type: array
  20623. "500":
  20624. description: Internal Server Error
  20625. schema:
  20626. $ref: '#/definitions/app.Response'
  20627. security:
  20628. - ApiKeyAuth: []
  20629. summary: 查询敞口现货头寸(敞口/现货头寸)
  20630. tags:
  20631. - 企业风险管理(app)
  20632. /Ermcp/QueryExposureSpotDetail:
  20633. get:
  20634. parameters:
  20635. - description: 所属机构ID
  20636. in: query
  20637. name: areaUserId
  20638. required: true
  20639. type: integer
  20640. - description: 现货品种ID
  20641. in: query
  20642. name: wrstandardId
  20643. required: true
  20644. type: integer
  20645. produces:
  20646. - application/json
  20647. responses:
  20648. "200":
  20649. description: OK
  20650. schema:
  20651. items:
  20652. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20653. type: array
  20654. "500":
  20655. description: Internal Server Error
  20656. schema:
  20657. $ref: '#/definitions/app.Response'
  20658. security:
  20659. - ApiKeyAuth: []
  20660. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20661. tags:
  20662. - 企业风险管理(app)
  20663. /Ermcp/QueryFuturesCompany:
  20664. get:
  20665. produces:
  20666. - application/json
  20667. responses:
  20668. "200":
  20669. description: OK
  20670. schema:
  20671. items:
  20672. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20673. type: array
  20674. "500":
  20675. description: Internal Server Error
  20676. schema:
  20677. $ref: '#/definitions/app.Response'
  20678. security:
  20679. - ApiKeyAuth: []
  20680. summary: 查询期货公司
  20681. tags:
  20682. - 企业风险管理(app)
  20683. /Ermcp/QueryGGConvertConfig:
  20684. get:
  20685. parameters:
  20686. - description: 品种id(不填则查所有)
  20687. in: query
  20688. name: goodsgroupid
  20689. type: integer
  20690. produces:
  20691. - application/json
  20692. responses:
  20693. "200":
  20694. description: OK
  20695. schema:
  20696. items:
  20697. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20698. type: array
  20699. "500":
  20700. description: Internal Server Error
  20701. schema:
  20702. $ref: '#/definitions/app.Response'
  20703. security:
  20704. - ApiKeyAuth: []
  20705. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20706. tags:
  20707. - 企业风险管理(app)
  20708. /Ermcp/QueryGoodsBrand:
  20709. get:
  20710. parameters:
  20711. - description: 用户ID
  20712. in: query
  20713. name: userid
  20714. required: true
  20715. type: integer
  20716. - description: 现货商品ID
  20717. in: query
  20718. name: wrstandardid
  20719. type: integer
  20720. produces:
  20721. - application/json
  20722. responses:
  20723. "200":
  20724. description: OK
  20725. schema:
  20726. items:
  20727. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20728. type: array
  20729. "500":
  20730. description: Internal Server Error
  20731. schema:
  20732. $ref: '#/definitions/app.Response'
  20733. security:
  20734. - ApiKeyAuth: []
  20735. summary: 查询商品品牌
  20736. tags:
  20737. - 企业风险管理(app)
  20738. /Ermcp/QueryGoodsModel:
  20739. get:
  20740. parameters:
  20741. - description: 用户ID
  20742. in: query
  20743. name: userid
  20744. required: true
  20745. type: integer
  20746. produces:
  20747. - application/json
  20748. responses:
  20749. "200":
  20750. description: OK
  20751. schema:
  20752. items:
  20753. $ref: '#/definitions/models.ErmcpGoodsModel'
  20754. type: array
  20755. "500":
  20756. description: Internal Server Error
  20757. schema:
  20758. $ref: '#/definitions/app.Response'
  20759. security:
  20760. - ApiKeyAuth: []
  20761. summary: 查询商品型号
  20762. tags:
  20763. - 企业风险管理(app)
  20764. /Ermcp/QueryHisExposure:
  20765. get:
  20766. parameters:
  20767. - description: 用户id
  20768. in: query
  20769. name: userid
  20770. required: true
  20771. type: integer
  20772. - description: 每个品种记录数
  20773. in: query
  20774. name: lastNum
  20775. required: true
  20776. type: integer
  20777. produces:
  20778. - application/json
  20779. responses:
  20780. "200":
  20781. description: OK
  20782. schema:
  20783. items:
  20784. $ref: '#/definitions/ermcp.HisExposureRsp'
  20785. type: array
  20786. "500":
  20787. description: Internal Server Error
  20788. schema:
  20789. $ref: '#/definitions/app.Response'
  20790. security:
  20791. - ApiKeyAuth: []
  20792. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20793. tags:
  20794. - 企业风险管理(app)
  20795. /Ermcp/QueryMiddleGoods:
  20796. get:
  20797. parameters:
  20798. - description: 所属机构ID
  20799. in: query
  20800. name: userid
  20801. required: true
  20802. type: integer
  20803. - description: 状态 0-停用 1-正常
  20804. in: query
  20805. name: status
  20806. required: true
  20807. type: integer
  20808. produces:
  20809. - application/json
  20810. responses:
  20811. "200":
  20812. description: OK
  20813. schema:
  20814. items:
  20815. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20816. type: array
  20817. "500":
  20818. description: Internal Server Error
  20819. schema:
  20820. $ref: '#/definitions/app.Response'
  20821. security:
  20822. - ApiKeyAuth: []
  20823. summary: 查询套保品种(菜单:套保品种)
  20824. tags:
  20825. - 企业风险管理(app)
  20826. /Ermcp/QueryMiddleGoodsChangeLog:
  20827. get:
  20828. parameters:
  20829. - description: 所属机构ID
  20830. in: query
  20831. name: userid
  20832. required: true
  20833. type: integer
  20834. - description: 套保品种id
  20835. in: query
  20836. name: middlegoodsid
  20837. required: true
  20838. type: integer
  20839. produces:
  20840. - application/json
  20841. responses:
  20842. "200":
  20843. description: OK
  20844. schema:
  20845. items:
  20846. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20847. type: array
  20848. "500":
  20849. description: Internal Server Error
  20850. schema:
  20851. $ref: '#/definitions/app.Response'
  20852. security:
  20853. - ApiKeyAuth: []
  20854. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20855. tags:
  20856. - 企业风险管理(app)
  20857. /Ermcp/QueryMiddleGoodsDetail:
  20858. get:
  20859. parameters:
  20860. - description: 所属机构ID
  20861. in: query
  20862. name: userid
  20863. required: true
  20864. type: integer
  20865. - description: 套保品种id
  20866. in: query
  20867. name: middlegoodsid
  20868. type: integer
  20869. produces:
  20870. - application/json
  20871. responses:
  20872. "200":
  20873. description: OK
  20874. schema:
  20875. items:
  20876. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20877. type: array
  20878. "500":
  20879. description: Internal Server Error
  20880. schema:
  20881. $ref: '#/definitions/app.Response'
  20882. security:
  20883. - ApiKeyAuth: []
  20884. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20885. tags:
  20886. - 企业风险管理(app)
  20887. /Ermcp/QueryPendingAuditInfo:
  20888. get:
  20889. parameters:
  20890. - description: 用户ID
  20891. in: query
  20892. name: UserId
  20893. required: true
  20894. type: integer
  20895. produces:
  20896. - application/json
  20897. responses:
  20898. "200":
  20899. description: OK
  20900. schema:
  20901. items:
  20902. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20903. type: array
  20904. "500":
  20905. description: Internal Server Error
  20906. schema:
  20907. $ref: '#/definitions/app.Response'
  20908. security:
  20909. - ApiKeyAuth: []
  20910. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20911. tags:
  20912. - 企业风险管理(app)
  20913. /Ermcp/QueryRealtimeExposure:
  20914. get:
  20915. parameters:
  20916. - description: 所属机构ID
  20917. in: query
  20918. name: userid
  20919. required: true
  20920. type: integer
  20921. produces:
  20922. - application/json
  20923. responses:
  20924. "200":
  20925. description: OK
  20926. schema:
  20927. items:
  20928. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20929. type: array
  20930. "500":
  20931. description: Internal Server Error
  20932. schema:
  20933. $ref: '#/definitions/app.Response'
  20934. security:
  20935. - ApiKeyAuth: []
  20936. summary: 查询实时敞口
  20937. tags:
  20938. - 企业风险管理(app)
  20939. /Ermcp/QueryRealtimeExposurePosition:
  20940. get:
  20941. parameters:
  20942. - description: 用户id
  20943. in: query
  20944. name: userid
  20945. required: true
  20946. type: integer
  20947. - description: 套保商品ID
  20948. in: query
  20949. name: middleGoodsId
  20950. required: true
  20951. type: integer
  20952. produces:
  20953. - application/json
  20954. responses:
  20955. "200":
  20956. description: OK
  20957. schema:
  20958. items:
  20959. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20960. type: array
  20961. "500":
  20962. description: Internal Server Error
  20963. schema:
  20964. $ref: '#/definitions/app.Response'
  20965. security:
  20966. - ApiKeyAuth: []
  20967. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20968. tags:
  20969. - 企业风险管理(app)
  20970. /Ermcp/QueryRoleMenu:
  20971. get:
  20972. parameters:
  20973. - description: 登录ID
  20974. in: query
  20975. name: loginid
  20976. required: true
  20977. type: integer
  20978. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20979. in: query
  20980. name: menutype
  20981. type: integer
  20982. produces:
  20983. - application/json
  20984. responses:
  20985. "200":
  20986. description: OK
  20987. schema:
  20988. items:
  20989. $ref: '#/definitions/models.RoleMenu'
  20990. type: array
  20991. "500":
  20992. description: Internal Server Error
  20993. schema:
  20994. $ref: '#/definitions/app.Response'
  20995. security:
  20996. - ApiKeyAuth: []
  20997. summary: 查询角色菜单和权限
  20998. tags:
  20999. - 企业风险管理(app)
  21000. /Ermcp/QueryTradeConfigTMP:
  21001. get:
  21002. parameters:
  21003. - description: 所属机构id
  21004. in: query
  21005. name: areauserid
  21006. type: integer
  21007. produces:
  21008. - application/json
  21009. responses:
  21010. "200":
  21011. description: OK
  21012. schema:
  21013. items:
  21014. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21015. type: array
  21016. "500":
  21017. description: Internal Server Error
  21018. schema:
  21019. $ref: '#/definitions/app.Response'
  21020. security:
  21021. - ApiKeyAuth: []
  21022. summary: 查询交易模板配置
  21023. tags:
  21024. - 企业风险管理(app)
  21025. /Ermcp/QueryUserInfo:
  21026. get:
  21027. parameters:
  21028. - description: 所属机构用户ID
  21029. in: query
  21030. name: MemberUserID
  21031. required: true
  21032. type: integer
  21033. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21034. in: query
  21035. name: queryType
  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/ermcp.QryUserInfoRsp'
  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. - 企业风险管理(app)
  21056. /Ermcp/QueryWarehouseInfo:
  21057. get:
  21058. parameters:
  21059. - description: 用户ID
  21060. in: query
  21061. name: userid
  21062. required: true
  21063. type: integer
  21064. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21065. in: query
  21066. name: status
  21067. type: string
  21068. produces:
  21069. - application/json
  21070. responses:
  21071. "200":
  21072. description: OK
  21073. schema:
  21074. items:
  21075. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21076. type: array
  21077. "500":
  21078. description: Internal Server Error
  21079. schema:
  21080. $ref: '#/definitions/app.Response'
  21081. security:
  21082. - ApiKeyAuth: []
  21083. summary: 查询仓库信息
  21084. tags:
  21085. - 企业风险管理(app)
  21086. /Ermcp3/QryAreaExpourseContractDetail:
  21087. get:
  21088. parameters:
  21089. - description: 用户ID
  21090. in: query
  21091. name: userid
  21092. required: true
  21093. type: integer
  21094. - description: 套保商品id
  21095. in: query
  21096. name: middlegoodsid
  21097. required: true
  21098. type: integer
  21099. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21100. in: query
  21101. name: cycletype
  21102. required: true
  21103. type: integer
  21104. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21105. in: query
  21106. name: cycletime
  21107. required: true
  21108. type: string
  21109. produces:
  21110. - application/json
  21111. responses:
  21112. "200":
  21113. description: OK
  21114. schema:
  21115. items:
  21116. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21117. type: array
  21118. "500":
  21119. description: Internal Server Error
  21120. schema:
  21121. $ref: '#/definitions/app.Response'
  21122. security:
  21123. - ApiKeyAuth: []
  21124. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21125. tags:
  21126. - 企业风险管理v3(app)
  21127. /Ermcp3/QryAreaExpourseFutuDetail:
  21128. get:
  21129. parameters:
  21130. - description: 用户ID
  21131. in: query
  21132. name: userid
  21133. required: true
  21134. type: integer
  21135. - description: 套保商品id
  21136. in: query
  21137. name: middlegoodsid
  21138. required: true
  21139. type: integer
  21140. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21141. in: query
  21142. name: cycletype
  21143. required: true
  21144. type: integer
  21145. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21146. in: query
  21147. name: cycletime
  21148. required: true
  21149. type: string
  21150. produces:
  21151. - application/json
  21152. responses:
  21153. "200":
  21154. description: OK
  21155. schema:
  21156. items:
  21157. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21158. type: array
  21159. "500":
  21160. description: Internal Server Error
  21161. schema:
  21162. $ref: '#/definitions/app.Response'
  21163. security:
  21164. - ApiKeyAuth: []
  21165. summary: 查询敞口期货明细(敞口报表/期货明细)
  21166. tags:
  21167. - 企业风险管理v3(app)
  21168. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21169. get:
  21170. parameters:
  21171. - description: 用户ID
  21172. in: query
  21173. name: userid
  21174. required: true
  21175. type: integer
  21176. - description: 套保商品id
  21177. in: query
  21178. name: middlegoodsid
  21179. required: true
  21180. type: integer
  21181. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21182. in: query
  21183. name: cycletype
  21184. required: true
  21185. type: integer
  21186. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21187. in: query
  21188. name: cycletime
  21189. required: true
  21190. type: string
  21191. produces:
  21192. - application/json
  21193. responses:
  21194. "200":
  21195. description: OK
  21196. schema:
  21197. items:
  21198. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21199. type: array
  21200. "500":
  21201. description: Internal Server Error
  21202. schema:
  21203. $ref: '#/definitions/app.Response'
  21204. security:
  21205. - ApiKeyAuth: []
  21206. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21207. tags:
  21208. - 企业风险管理v3(app)
  21209. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21210. get:
  21211. parameters:
  21212. - description: 用户ID
  21213. in: query
  21214. name: userid
  21215. required: true
  21216. type: integer
  21217. - description: 套保商品id
  21218. in: query
  21219. name: middlegoodsid
  21220. required: true
  21221. type: integer
  21222. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21223. in: query
  21224. name: cycletype
  21225. required: true
  21226. type: integer
  21227. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21228. in: query
  21229. name: cycletime
  21230. required: true
  21231. type: string
  21232. produces:
  21233. - application/json
  21234. responses:
  21235. "200":
  21236. description: OK
  21237. schema:
  21238. items:
  21239. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21240. type: array
  21241. "500":
  21242. description: Internal Server Error
  21243. schema:
  21244. $ref: '#/definitions/app.Response'
  21245. security:
  21246. - ApiKeyAuth: []
  21247. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21248. tags:
  21249. - 企业风险管理v3(app)
  21250. /Ermcp3/QryAreaExpourseReport:
  21251. get:
  21252. parameters:
  21253. - description: 用户ID
  21254. in: query
  21255. name: userid
  21256. required: true
  21257. type: integer
  21258. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21259. in: query
  21260. name: querytype
  21261. required: true
  21262. type: integer
  21263. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21264. in: query
  21265. name: cycletype
  21266. required: true
  21267. type: integer
  21268. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21269. in: query
  21270. name: cycletime
  21271. required: true
  21272. type: string
  21273. produces:
  21274. - application/json
  21275. responses:
  21276. "200":
  21277. description: OK
  21278. schema:
  21279. items:
  21280. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21281. type: array
  21282. "500":
  21283. description: Internal Server Error
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. security:
  21287. - ApiKeyAuth: []
  21288. summary: 查询敞口报表
  21289. tags:
  21290. - 企业风险管理v3(app)
  21291. /Ermcp3/QryAreaSpotplReport:
  21292. get:
  21293. parameters:
  21294. - description: 用户ID
  21295. in: query
  21296. name: userid
  21297. required: true
  21298. type: integer
  21299. - description: 查询类型 1-报表 2-报表明细
  21300. in: query
  21301. name: querytype
  21302. required: true
  21303. type: integer
  21304. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21305. in: query
  21306. name: cycletype
  21307. required: true
  21308. type: integer
  21309. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21310. in: query
  21311. name: cycletime
  21312. required: true
  21313. type: string
  21314. - description: 现货品种id(明细必填)
  21315. in: query
  21316. name: deliverygoodsid
  21317. type: integer
  21318. - description: 币种id(明细必填)
  21319. in: query
  21320. name: currencyid
  21321. type: integer
  21322. produces:
  21323. - application/json
  21324. responses:
  21325. "200":
  21326. description: OK
  21327. schema:
  21328. items:
  21329. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21330. type: array
  21331. "500":
  21332. description: Internal Server Error
  21333. schema:
  21334. $ref: '#/definitions/app.Response'
  21335. security:
  21336. - ApiKeyAuth: []
  21337. summary: 查询现货报表
  21338. tags:
  21339. - 企业风险管理v3(app)
  21340. /Ermcp3/QryAreaStockReport:
  21341. get:
  21342. parameters:
  21343. - description: 用户ID
  21344. in: query
  21345. name: userid
  21346. required: true
  21347. type: integer
  21348. - description: 查询类型 1-报表 2-报表明细
  21349. in: query
  21350. name: querytype
  21351. required: true
  21352. type: integer
  21353. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21354. in: query
  21355. name: cycletype
  21356. required: true
  21357. type: integer
  21358. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21359. in: query
  21360. name: cycletime
  21361. required: true
  21362. type: string
  21363. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21364. in: query
  21365. name: sumfields
  21366. type: string
  21367. - description: 品种ID
  21368. in: query
  21369. name: deliverygoodsid
  21370. type: integer
  21371. - description: 品类ID
  21372. in: query
  21373. name: wrstandardid
  21374. type: integer
  21375. - description: 品牌ID
  21376. in: query
  21377. name: spotgoodsbrandid
  21378. type: integer
  21379. - description: 仓库ID
  21380. in: query
  21381. name: warehouseinfoid
  21382. type: integer
  21383. produces:
  21384. - application/json
  21385. responses:
  21386. "200":
  21387. description: OK
  21388. schema:
  21389. items:
  21390. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21391. type: array
  21392. "500":
  21393. description: Internal Server Error
  21394. schema:
  21395. $ref: '#/definitions/app.Response'
  21396. security:
  21397. - ApiKeyAuth: []
  21398. summary: 查询库存报表
  21399. tags:
  21400. - 企业风险管理v3(app)
  21401. /Ermcp3/QryAreaSumPL:
  21402. get:
  21403. parameters:
  21404. - description: 用户ID
  21405. in: query
  21406. name: userid
  21407. required: true
  21408. type: integer
  21409. - description: 查询类型 1-报表 2-报表明细
  21410. in: query
  21411. name: querytype
  21412. required: true
  21413. type: integer
  21414. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21415. in: query
  21416. name: cycletype
  21417. required: true
  21418. type: integer
  21419. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21420. in: query
  21421. name: cycletime
  21422. required: true
  21423. type: string
  21424. - description: 币种id(明细必填)
  21425. in: query
  21426. name: currencyid
  21427. type: integer
  21428. produces:
  21429. - application/json
  21430. responses:
  21431. "200":
  21432. description: OK
  21433. schema:
  21434. items:
  21435. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21436. type: array
  21437. "500":
  21438. description: Internal Server Error
  21439. schema:
  21440. $ref: '#/definitions/app.Response'
  21441. security:
  21442. - ApiKeyAuth: []
  21443. summary: 查询汇总损益表
  21444. tags:
  21445. - 企业风险管理v3(app)
  21446. /Ermcp3/QryFinanceReport:
  21447. get:
  21448. parameters:
  21449. - description: 用户ID
  21450. in: query
  21451. name: userid
  21452. required: true
  21453. type: integer
  21454. - description: 查询类型 1-报表 2-报表明细
  21455. in: query
  21456. name: querytype
  21457. required: true
  21458. type: integer
  21459. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21460. in: query
  21461. name: cycletype
  21462. required: true
  21463. type: integer
  21464. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21465. in: query
  21466. name: cycletime
  21467. required: true
  21468. type: string
  21469. - description: 币种id(报表明细必填)
  21470. in: query
  21471. name: currencyid
  21472. type: integer
  21473. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21474. in: query
  21475. name: sumfields
  21476. type: string
  21477. produces:
  21478. - application/json
  21479. responses:
  21480. "200":
  21481. description: OK
  21482. schema:
  21483. items:
  21484. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21485. type: array
  21486. "500":
  21487. description: Internal Server Error
  21488. schema:
  21489. $ref: '#/definitions/app.Response'
  21490. security:
  21491. - ApiKeyAuth: []
  21492. summary: 查询财务报表
  21493. tags:
  21494. - 企业风险管理v3(app)
  21495. /Ermcp3/QrySCMiddleGoodsReport:
  21496. get:
  21497. parameters:
  21498. - description: 用户ID
  21499. in: query
  21500. name: userid
  21501. required: true
  21502. type: integer
  21503. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21504. in: query
  21505. name: cycletype
  21506. required: true
  21507. type: integer
  21508. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21509. in: query
  21510. name: cycletime
  21511. required: true
  21512. type: string
  21513. - description: 合同id
  21514. in: query
  21515. name: spotcontractid
  21516. type: integer
  21517. - description: 套保品种id
  21518. in: query
  21519. name: middlegoodsid
  21520. type: integer
  21521. - description: 现货品种id
  21522. in: query
  21523. name: deliverygoodsid
  21524. type: integer
  21525. - description: 现货商品id
  21526. in: query
  21527. name: wrstandardid
  21528. type: integer
  21529. - description: 合同编号(模糊匹配)
  21530. in: query
  21531. name: contractno
  21532. type: string
  21533. produces:
  21534. - application/json
  21535. responses:
  21536. "200":
  21537. description: OK
  21538. schema:
  21539. items:
  21540. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21541. type: array
  21542. "500":
  21543. description: Internal Server Error
  21544. schema:
  21545. $ref: '#/definitions/app.Response'
  21546. security:
  21547. - ApiKeyAuth: []
  21548. summary: 查询定价报表
  21549. tags:
  21550. - 企业风险管理v3(app)
  21551. /Ermcp3/QryTaFutureDataReport:
  21552. get:
  21553. parameters:
  21554. - description: 用户ID
  21555. in: query
  21556. name: userid
  21557. required: true
  21558. type: integer
  21559. - description: 查询类型 1-报表 2-报表明细
  21560. in: query
  21561. name: querytype
  21562. required: true
  21563. type: integer
  21564. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21565. in: query
  21566. name: cycletype
  21567. required: true
  21568. type: integer
  21569. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21570. in: query
  21571. name: cycletime
  21572. required: true
  21573. type: string
  21574. - description: 币种id(查明细必填)
  21575. in: query
  21576. name: currencyid
  21577. type: integer
  21578. - description: 品种id(查明细必填)
  21579. in: query
  21580. name: goodsgroupid
  21581. type: integer
  21582. - description: 商品id(查明细必填)
  21583. in: query
  21584. name: goodsid
  21585. type: integer
  21586. - description: 买卖方向(查明细必填)
  21587. in: query
  21588. name: buyorsell
  21589. type: integer
  21590. produces:
  21591. - application/json
  21592. responses:
  21593. "200":
  21594. description: OK
  21595. schema:
  21596. items:
  21597. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21598. type: array
  21599. "500":
  21600. description: Internal Server Error
  21601. schema:
  21602. $ref: '#/definitions/app.Response'
  21603. security:
  21604. - ApiKeyAuth: []
  21605. summary: 查询期货报表
  21606. tags:
  21607. - 企业风险管理v3(app)
  21608. /Ermcp3/QueryAreaStock:
  21609. get:
  21610. parameters:
  21611. - description: 用户ID
  21612. in: query
  21613. name: userid
  21614. required: true
  21615. type: integer
  21616. produces:
  21617. - application/json
  21618. responses:
  21619. "200":
  21620. description: OK
  21621. schema:
  21622. items:
  21623. $ref: '#/definitions/models.Ermcp3AreaStock'
  21624. type: array
  21625. "500":
  21626. description: Internal Server Error
  21627. schema:
  21628. $ref: '#/definitions/app.Response'
  21629. security:
  21630. - ApiKeyAuth: []
  21631. summary: 查询机构库存(库存管理/当前库存)
  21632. tags:
  21633. - 企业风险管理v3(app)
  21634. /Ermcp3/QueryAreaStockApply:
  21635. get:
  21636. parameters:
  21637. - description: 用户ID
  21638. in: query
  21639. name: userid
  21640. required: true
  21641. type: integer
  21642. - description: 用户类型 2-机构 7-企业成员
  21643. in: query
  21644. name: usertype
  21645. type: integer
  21646. - description: 现货商品ID
  21647. in: query
  21648. name: deliverygoodsid
  21649. type: integer
  21650. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21651. in: query
  21652. name: inouttype
  21653. type: string
  21654. - description: 合同ID
  21655. in: query
  21656. name: spotcontractid
  21657. type: integer
  21658. - description: 品类ID
  21659. in: query
  21660. name: wrstandardid
  21661. type: integer
  21662. - description: 品牌ID
  21663. in: query
  21664. name: spotgoodsbrandid
  21665. type: integer
  21666. - description: 仓库ID
  21667. in: query
  21668. name: warehouseinfoid
  21669. type: integer
  21670. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21671. in: query
  21672. name: applystatus
  21673. type: string
  21674. produces:
  21675. - application/json
  21676. responses:
  21677. "200":
  21678. description: OK
  21679. schema:
  21680. items:
  21681. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21682. type: array
  21683. "500":
  21684. description: Internal Server Error
  21685. schema:
  21686. $ref: '#/definitions/app.Response'
  21687. security:
  21688. - ApiKeyAuth: []
  21689. summary: 查询库存申请(出入库记录|库存审核)
  21690. tags:
  21691. - 企业风险管理v3(app)
  21692. /Ermcp3/QueryAreaStockApplySum:
  21693. get:
  21694. parameters:
  21695. - description: 合同ID
  21696. in: query
  21697. name: spotcontractid
  21698. required: true
  21699. type: integer
  21700. produces:
  21701. - application/json
  21702. responses:
  21703. "200":
  21704. description: OK
  21705. schema:
  21706. items:
  21707. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21708. type: array
  21709. "500":
  21710. description: Internal Server Error
  21711. schema:
  21712. $ref: '#/definitions/app.Response'
  21713. security:
  21714. - ApiKeyAuth: []
  21715. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21716. tags:
  21717. - 企业风险管理v3(app)
  21718. /Ermcp3/QueryDGFactoryItem:
  21719. get:
  21720. parameters:
  21721. - description: 用户id
  21722. in: query
  21723. name: userid
  21724. type: integer
  21725. - description: 用户类型 2-机构 7-企业成员
  21726. in: query
  21727. name: usertype
  21728. type: integer
  21729. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21730. in: query
  21731. name: dgfactoryitemid
  21732. type: integer
  21733. - description: 现货品种ID
  21734. in: query
  21735. name: deliverygoodsid
  21736. type: integer
  21737. - description: 要素项类型
  21738. in: query
  21739. name: dgfactoryitemtypeid
  21740. type: integer
  21741. - description: 顺序
  21742. in: query
  21743. name: orderindex
  21744. type: integer
  21745. produces:
  21746. - application/json
  21747. responses:
  21748. "200":
  21749. description: OK
  21750. schema:
  21751. items:
  21752. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21753. type: array
  21754. "500":
  21755. description: Internal Server Error
  21756. schema:
  21757. $ref: '#/definitions/app.Response'
  21758. security:
  21759. - ApiKeyAuth: []
  21760. summary: 查询品种要素定义项
  21761. tags:
  21762. - 企业风险管理v3(app)
  21763. /Ermcp3/QueryDeliveryGoods:
  21764. get:
  21765. parameters:
  21766. - description: 用户id
  21767. in: query
  21768. name: userid
  21769. required: true
  21770. type: integer
  21771. - description: 用户类型 2-机构 7-企业成员
  21772. in: query
  21773. name: usertype
  21774. type: integer
  21775. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21776. in: query
  21777. name: excludecfg
  21778. type: integer
  21779. produces:
  21780. - application/json
  21781. responses:
  21782. "200":
  21783. description: OK
  21784. schema:
  21785. items:
  21786. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21787. type: array
  21788. "500":
  21789. description: Internal Server Error
  21790. schema:
  21791. $ref: '#/definitions/app.Response'
  21792. security:
  21793. - ApiKeyAuth: []
  21794. summary: 查询现货商品
  21795. tags:
  21796. - 企业风险管理v3(app)
  21797. /Ermcp3/QueryDeliveryGoodsDetail:
  21798. get:
  21799. parameters:
  21800. - description: 用户id
  21801. in: query
  21802. name: userid
  21803. required: true
  21804. type: integer
  21805. - description: 用户类型 2-机构 7-企业成员
  21806. in: query
  21807. name: usertype
  21808. type: integer
  21809. - description: 现货商品id
  21810. in: query
  21811. name: deliverygoodsid
  21812. type: integer
  21813. produces:
  21814. - application/json
  21815. responses:
  21816. "200":
  21817. description: OK
  21818. schema:
  21819. items:
  21820. $ref: '#/definitions/models.XHDeliveryGoods'
  21821. type: array
  21822. "500":
  21823. description: Internal Server Error
  21824. schema:
  21825. $ref: '#/definitions/app.Response'
  21826. security:
  21827. - ApiKeyAuth: []
  21828. summary: 查询现货商品详情
  21829. tags:
  21830. - 企业风险管理v3(app)
  21831. /Ermcp3/QueryExposureDetail:
  21832. get:
  21833. parameters:
  21834. - description: 用户id
  21835. in: query
  21836. name: userid
  21837. required: true
  21838. type: integer
  21839. - description: 用户类型 2-机构 7-企业成员
  21840. in: query
  21841. name: usertype
  21842. type: integer
  21843. - description: 套保商品
  21844. in: query
  21845. name: middlegoodsid
  21846. required: true
  21847. type: integer
  21848. produces:
  21849. - application/json
  21850. responses:
  21851. "200":
  21852. description: OK
  21853. schema:
  21854. items:
  21855. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21856. type: array
  21857. "500":
  21858. description: Internal Server Error
  21859. schema:
  21860. $ref: '#/definitions/app.Response'
  21861. security:
  21862. - ApiKeyAuth: []
  21863. summary: 查询敞口现货明细
  21864. tags:
  21865. - 企业风险管理v3(app)
  21866. /Ermcp3/QueryExposureSpot:
  21867. get:
  21868. parameters:
  21869. - description: 用户id
  21870. in: query
  21871. name: userid
  21872. required: true
  21873. type: integer
  21874. - description: 用户类型 2-机构 7-企业成员
  21875. in: query
  21876. name: usertype
  21877. type: integer
  21878. produces:
  21879. - application/json
  21880. responses:
  21881. "200":
  21882. description: OK
  21883. schema:
  21884. items:
  21885. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21886. type: array
  21887. "500":
  21888. description: Internal Server Error
  21889. schema:
  21890. $ref: '#/definitions/app.Response'
  21891. security:
  21892. - ApiKeyAuth: []
  21893. summary: 查询敞口现货头寸(敞口/现货头寸)
  21894. tags:
  21895. - 企业风险管理v3(app)
  21896. /Ermcp3/QueryExposureSpotDetail:
  21897. get:
  21898. parameters:
  21899. - description: 用户id
  21900. in: query
  21901. name: userid
  21902. required: true
  21903. type: integer
  21904. - description: 用户类型 2-机构 7-企业成员
  21905. in: query
  21906. name: usertype
  21907. type: integer
  21908. - description: 现货商品ID
  21909. in: query
  21910. name: wrstandardid
  21911. required: true
  21912. type: integer
  21913. produces:
  21914. - application/json
  21915. responses:
  21916. "200":
  21917. description: OK
  21918. schema:
  21919. items:
  21920. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21921. type: array
  21922. "500":
  21923. description: Internal Server Error
  21924. schema:
  21925. $ref: '#/definitions/app.Response'
  21926. security:
  21927. - ApiKeyAuth: []
  21928. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21929. tags:
  21930. - 企业风险管理v3(app)
  21931. /Ermcp3/QueryGoodsGroup:
  21932. get:
  21933. parameters:
  21934. - description: 用户id
  21935. in: query
  21936. name: userid
  21937. required: true
  21938. type: integer
  21939. - description: 用户类型 2-机构 7-企业成员
  21940. in: query
  21941. name: usertype
  21942. type: integer
  21943. - description: 排除套保品中已关联的商品组 1-排除
  21944. in: query
  21945. name: excludecfg
  21946. type: integer
  21947. produces:
  21948. - application/json
  21949. responses:
  21950. "200":
  21951. description: OK
  21952. schema:
  21953. items:
  21954. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21955. type: array
  21956. "500":
  21957. description: Internal Server Error
  21958. schema:
  21959. $ref: '#/definitions/app.Response'
  21960. security:
  21961. - ApiKeyAuth: []
  21962. summary: 查询期货商品组
  21963. tags:
  21964. - 企业风险管理v3(app)
  21965. /Ermcp3/QueryGoodsWrstandard:
  21966. get:
  21967. parameters:
  21968. - description: 用户id
  21969. in: query
  21970. name: userid
  21971. required: true
  21972. type: integer
  21973. - description: 用户类型 2-机构 7-企业成员
  21974. in: query
  21975. name: usertype
  21976. type: integer
  21977. - description: 现货商品id
  21978. in: query
  21979. name: deliverygoodsid
  21980. type: integer
  21981. produces:
  21982. - application/json
  21983. responses:
  21984. "200":
  21985. description: OK
  21986. schema:
  21987. items:
  21988. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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/QueryGoodsbrand:
  22000. get:
  22001. parameters:
  22002. - description: 用户id
  22003. in: query
  22004. name: userid
  22005. required: true
  22006. type: integer
  22007. - description: 用户类型 2-机构 7-企业成员
  22008. in: query
  22009. name: usertype
  22010. type: integer
  22011. produces:
  22012. - application/json
  22013. responses:
  22014. "200":
  22015. description: OK
  22016. schema:
  22017. items:
  22018. $ref: '#/definitions/models.Ermcp3Brand'
  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. /Ermcp3/QueryHedgePlan:
  22030. get:
  22031. parameters:
  22032. - description: 用户ID
  22033. in: query
  22034. name: userid
  22035. required: true
  22036. type: integer
  22037. - description: 用户类型 2-机构 7-企业成员
  22038. in: query
  22039. name: usertype
  22040. type: integer
  22041. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22042. in: query
  22043. name: hedgeplanstatus
  22044. required: true
  22045. type: string
  22046. produces:
  22047. - application/json
  22048. responses:
  22049. "200":
  22050. description: OK
  22051. schema:
  22052. items:
  22053. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22054. type: array
  22055. "500":
  22056. description: Internal Server Error
  22057. schema:
  22058. $ref: '#/definitions/app.Response'
  22059. security:
  22060. - ApiKeyAuth: []
  22061. summary: 查询套保计划
  22062. tags:
  22063. - 企业风险管理v3(app)
  22064. /Ermcp3/QueryInnerTradeLink:
  22065. get:
  22066. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22067. parameters:
  22068. - description: 外部成交单号
  22069. in: query
  22070. name: outtradeid
  22071. required: true
  22072. type: integer
  22073. produces:
  22074. - application/json
  22075. responses:
  22076. "200":
  22077. description: OK
  22078. schema:
  22079. items:
  22080. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22081. type: array
  22082. "500":
  22083. description: Internal Server Error
  22084. schema:
  22085. $ref: '#/definitions/app.Response'
  22086. security:
  22087. - ApiKeyAuth: []
  22088. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22089. tags:
  22090. - 企业风险管理v3(app)
  22091. /Ermcp3/QueryMiddleGoodsDetail:
  22092. get:
  22093. parameters:
  22094. - description: 用户id
  22095. in: query
  22096. name: userid
  22097. required: true
  22098. type: integer
  22099. - description: 用户类型 2-机构 7-企业成员
  22100. in: query
  22101. name: usertype
  22102. type: integer
  22103. - description: 套保品种id
  22104. in: query
  22105. name: middlegoodsid
  22106. type: integer
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. items:
  22114. $ref: '#/definitions/models.TBMiddleGoods'
  22115. type: array
  22116. "500":
  22117. description: Internal Server Error
  22118. schema:
  22119. $ref: '#/definitions/app.Response'
  22120. security:
  22121. - ApiKeyAuth: []
  22122. summary: 查询套保品种详情(套保品种/商品详情)
  22123. tags:
  22124. - 企业风险管理v3(app)
  22125. /Ermcp3/QueryOutTradeLink:
  22126. get:
  22127. description: 页面 app 现货->期现关联->外部成交单关联
  22128. parameters:
  22129. - description: 用户ID(填登录用户的userid)
  22130. in: query
  22131. name: userid
  22132. required: true
  22133. type: integer
  22134. - description: 外部订单号(模糊匹配)
  22135. in: query
  22136. name: outtradeid
  22137. type: string
  22138. - description: 合约名称/代码(模糊匹配)
  22139. in: query
  22140. name: goodsname
  22141. type: string
  22142. - description: 关联状态 0-未关联 1-已关联
  22143. in: query
  22144. name: hasinnerorder
  22145. type: integer
  22146. produces:
  22147. - application/json
  22148. responses:
  22149. "200":
  22150. description: OK
  22151. schema:
  22152. items:
  22153. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22154. type: array
  22155. "500":
  22156. description: Internal Server Error
  22157. schema:
  22158. $ref: '#/definitions/app.Response'
  22159. security:
  22160. - ApiKeyAuth: []
  22161. summary: 查询外部成交单关联
  22162. tags:
  22163. - 企业风险管理v3(app)
  22164. /Ermcp3/QueryPaAreaAuditCfg:
  22165. get:
  22166. parameters:
  22167. - description: 用户id
  22168. in: query
  22169. name: userid
  22170. required: true
  22171. type: integer
  22172. produces:
  22173. - application/json
  22174. responses:
  22175. "200":
  22176. description: OK
  22177. schema:
  22178. items:
  22179. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22180. type: array
  22181. "500":
  22182. description: Internal Server Error
  22183. schema:
  22184. $ref: '#/definitions/app.Response'
  22185. security:
  22186. - ApiKeyAuth: []
  22187. summary: 查询审核设置
  22188. tags:
  22189. - 企业风险管理v3(app)
  22190. /Ermcp3/QueryPaAreaSubject:
  22191. get:
  22192. parameters:
  22193. - description: 用户id
  22194. in: query
  22195. name: userid
  22196. required: true
  22197. type: integer
  22198. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22199. in: query
  22200. name: subjectid
  22201. type: integer
  22202. - description: 主体类型 - 1:交易主体 2:业务部门
  22203. in: query
  22204. name: subjecttype
  22205. type: integer
  22206. - description: '主体状态 - 1:正常 2: 停用'
  22207. in: query
  22208. name: subjectstatus
  22209. type: integer
  22210. produces:
  22211. - application/json
  22212. responses:
  22213. "200":
  22214. description: OK
  22215. schema:
  22216. items:
  22217. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22218. type: array
  22219. "500":
  22220. description: Internal Server Error
  22221. schema:
  22222. $ref: '#/definitions/app.Response'
  22223. security:
  22224. - ApiKeyAuth: []
  22225. summary: 查询交易主体
  22226. tags:
  22227. - 企业风险管理v3(app)
  22228. /Ermcp3/QueryPaTradeLink:
  22229. get:
  22230. description: 页面 app 现货->期现关联->期现单据关联
  22231. parameters:
  22232. - description: 用户ID
  22233. in: query
  22234. name: userid
  22235. required: true
  22236. type: integer
  22237. produces:
  22238. - application/json
  22239. responses:
  22240. "200":
  22241. description: OK
  22242. schema:
  22243. items:
  22244. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22245. type: array
  22246. "500":
  22247. description: Internal Server Error
  22248. schema:
  22249. $ref: '#/definitions/app.Response'
  22250. security:
  22251. - ApiKeyAuth: []
  22252. summary: 查询期现单据关联
  22253. tags:
  22254. - 企业风险管理v3(app)
  22255. /Ermcp3/QueryPaTradeLinkDetail:
  22256. get:
  22257. description: 页面 app 现货->期现关联->关联记录
  22258. parameters:
  22259. - description: 用户ID(填登录用户的userid)
  22260. in: query
  22261. name: userid
  22262. required: true
  22263. type: integer
  22264. - description: 关联状态 1:成功 2:失败 3:解绑
  22265. in: query
  22266. name: linkstatus
  22267. type: integer
  22268. - description: 期货订单号(模糊匹配)
  22269. in: query
  22270. name: tradeid
  22271. type: string
  22272. - description: 现货编号(模糊匹配)
  22273. in: query
  22274. name: contractno
  22275. type: string
  22276. - description: 期货账户(模糊匹配)
  22277. in: query
  22278. name: taname
  22279. type: string
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. items:
  22287. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22288. type: array
  22289. "500":
  22290. description: Internal Server Error
  22291. schema:
  22292. $ref: '#/definitions/app.Response'
  22293. security:
  22294. - ApiKeyAuth: []
  22295. summary: 查询期现关联记录
  22296. tags:
  22297. - 企业风险管理v3(app)
  22298. /Ermcp3/QueryParamChangeApp:
  22299. get:
  22300. description: |-
  22301. 原型页面:
  22302. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22303. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22304. parameters:
  22305. - description: 用户ID
  22306. in: query
  22307. name: userid
  22308. required: true
  22309. type: integer
  22310. - description: 现货品种id
  22311. in: query
  22312. name: deliverygoodsid
  22313. type: integer
  22314. - description: 现货商品id
  22315. in: query
  22316. name: wrstandardid
  22317. type: integer
  22318. - description: 套保商品id
  22319. in: query
  22320. name: middlegoodsid
  22321. type: integer
  22322. - description: 操作类型 1:新增 2:修改
  22323. in: query
  22324. name: operatetype
  22325. type: integer
  22326. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22327. in: query
  22328. name: paramchangetype
  22329. type: integer
  22330. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22331. in: query
  22332. name: ftstatus
  22333. type: string
  22334. produces:
  22335. - application/json
  22336. responses:
  22337. "200":
  22338. description: OK
  22339. schema:
  22340. items:
  22341. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22342. type: array
  22343. "500":
  22344. description: Internal Server Error
  22345. schema:
  22346. $ref: '#/definitions/app.Response'
  22347. security:
  22348. - ApiKeyAuth: []
  22349. summary: 查询现货商品参数变更申请(流水)
  22350. tags:
  22351. - 企业风险管理v3(app)
  22352. /Ermcp3/QueryRootUserAccount:
  22353. get:
  22354. parameters:
  22355. - description: 用户ID
  22356. in: query
  22357. name: userid
  22358. required: true
  22359. type: integer
  22360. produces:
  22361. - application/json
  22362. responses:
  22363. "200":
  22364. description: OK
  22365. schema:
  22366. items:
  22367. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22368. type: array
  22369. "500":
  22370. description: Internal Server Error
  22371. schema:
  22372. $ref: '#/definitions/app.Response'
  22373. security:
  22374. - ApiKeyAuth: []
  22375. summary: 查询顶级用户信息
  22376. tags:
  22377. - 企业风险管理v3(app)
  22378. /Ermcp3/QuerySCMiddleGoods:
  22379. get:
  22380. description: |-
  22381. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22382. 现货编号 即 合同编号
  22383. parameters:
  22384. - description: 用户ID(填登录用户的userid)
  22385. in: query
  22386. name: userid
  22387. required: true
  22388. type: integer
  22389. - description: 买卖方向 0-买 1-卖
  22390. in: query
  22391. name: buyorsell
  22392. required: true
  22393. type: integer
  22394. - description: 商品组id
  22395. in: query
  22396. name: goodsgroupid
  22397. required: true
  22398. type: integer
  22399. - description: 业务类型 1:套保 2:套利
  22400. in: query
  22401. name: biztype
  22402. type: integer
  22403. - description: 现货编号(模糊匹配)
  22404. in: query
  22405. name: contractno
  22406. type: string
  22407. - description: 对手方(模糊匹配)
  22408. in: query
  22409. name: customername
  22410. type: string
  22411. - description: 现货商品名称(模糊匹配)
  22412. in: query
  22413. name: wrstandardname
  22414. type: string
  22415. produces:
  22416. - application/json
  22417. responses:
  22418. "200":
  22419. description: OK
  22420. schema:
  22421. items:
  22422. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22423. type: array
  22424. "500":
  22425. description: Internal Server Error
  22426. schema:
  22427. $ref: '#/definitions/app.Response'
  22428. security:
  22429. - ApiKeyAuth: []
  22430. summary: 查询现货订单
  22431. tags:
  22432. - 企业风险管理v3(app)
  22433. /Ermcp3/QuerySpotContract:
  22434. get:
  22435. parameters:
  22436. - description: 用户id(当指定contractid, userid可不填)
  22437. in: query
  22438. name: userid
  22439. required: true
  22440. type: integer
  22441. - description: 用户类型 2-机构 7-企业成员
  22442. in: query
  22443. name: usertype
  22444. type: integer
  22445. - description: 合同类型 1-采购, -1-销售
  22446. in: query
  22447. name: contracttype
  22448. type: integer
  22449. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22450. in: query
  22451. name: querytype
  22452. type: string
  22453. - description: 合同ID(SpotContractId)
  22454. in: query
  22455. name: contractid
  22456. type: string
  22457. - description: 合同编号(模糊匹配)
  22458. in: query
  22459. name: contractno
  22460. type: string
  22461. - description: 商品名称(模糊匹配)
  22462. in: query
  22463. name: wrstandardname
  22464. type: string
  22465. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22466. in: query
  22467. name: status
  22468. type: string
  22469. - description: 是否只查今日的合同 1-查今日合同
  22470. in: query
  22471. name: istoday
  22472. type: integer
  22473. produces:
  22474. - application/json
  22475. responses:
  22476. "200":
  22477. description: OK
  22478. schema:
  22479. items:
  22480. $ref: '#/definitions/models.Ermcp3Contract'
  22481. type: array
  22482. "500":
  22483. description: Internal Server Error
  22484. schema:
  22485. $ref: '#/definitions/app.Response'
  22486. security:
  22487. - ApiKeyAuth: []
  22488. summary: 查询现货合同
  22489. tags:
  22490. - 企业风险管理v3(app)
  22491. /Ermcp3/QuerySpotContractBS:
  22492. get:
  22493. parameters:
  22494. - description: 用户id
  22495. in: query
  22496. name: userid
  22497. required: true
  22498. type: integer
  22499. - description: 用户类型 2-机构 7-企业成员
  22500. in: query
  22501. name: usertype
  22502. type: integer
  22503. - description: 合同类型 1-采购, -1-销售
  22504. in: query
  22505. name: contracttype
  22506. required: true
  22507. type: integer
  22508. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22509. in: query
  22510. name: querytype
  22511. type: integer
  22512. - description: 合同ID(SpotContractId)
  22513. in: query
  22514. name: contractid
  22515. type: string
  22516. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22517. in: query
  22518. name: status
  22519. type: string
  22520. - description: 是否只查今日的合同 1-查今日合同
  22521. in: query
  22522. name: istoday
  22523. type: integer
  22524. produces:
  22525. - application/json
  22526. responses:
  22527. "200":
  22528. description: OK
  22529. schema:
  22530. items:
  22531. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22532. type: array
  22533. "500":
  22534. description: Internal Server Error
  22535. schema:
  22536. $ref: '#/definitions/app.Response'
  22537. security:
  22538. - ApiKeyAuth: []
  22539. summary: 查询合同(采购/销售)
  22540. tags:
  22541. - 企业风险管理v3(app)
  22542. /Ermcp3/QuerySpotGoodsPrice:
  22543. get:
  22544. parameters:
  22545. - description: 用户ID
  22546. in: query
  22547. name: userid
  22548. required: true
  22549. type: integer
  22550. produces:
  22551. - application/json
  22552. responses:
  22553. "200":
  22554. description: OK
  22555. schema:
  22556. items:
  22557. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22558. type: array
  22559. "500":
  22560. description: Internal Server Error
  22561. schema:
  22562. $ref: '#/definitions/app.Response'
  22563. security:
  22564. - ApiKeyAuth: []
  22565. summary: 查询现货市价(现货市价)
  22566. tags:
  22567. - 企业风险管理v3(app)
  22568. /Ermcp3/QuerySpotGoodsPriceLog:
  22569. get:
  22570. parameters:
  22571. - description: 用户ID
  22572. in: query
  22573. name: userid
  22574. required: true
  22575. type: integer
  22576. - description: 现货商品ID
  22577. in: query
  22578. name: deliverygoodsid
  22579. required: true
  22580. type: integer
  22581. - description: 品牌ID
  22582. in: query
  22583. name: brandid
  22584. type: integer
  22585. - description: 品类ID
  22586. in: query
  22587. name: wrstandardid
  22588. type: integer
  22589. produces:
  22590. - application/json
  22591. responses:
  22592. "200":
  22593. description: OK
  22594. schema:
  22595. items:
  22596. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22597. type: array
  22598. "500":
  22599. description: Internal Server Error
  22600. schema:
  22601. $ref: '#/definitions/app.Response'
  22602. security:
  22603. - ApiKeyAuth: []
  22604. summary: 查询现货市价详情(现货市价/详情)
  22605. tags:
  22606. - 企业风险管理v3(app)
  22607. /Ermcp3/QuerySubTaaccount:
  22608. get:
  22609. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22610. parameters:
  22611. - description: 母账号id
  22612. in: query
  22613. name: parentaccountid
  22614. type: integer
  22615. - description: 母账号代码
  22616. in: query
  22617. name: parentaccountcode
  22618. type: string
  22619. produces:
  22620. - application/json
  22621. responses:
  22622. "200":
  22623. description: OK
  22624. schema:
  22625. items:
  22626. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22627. type: array
  22628. "500":
  22629. description: Internal Server Error
  22630. schema:
  22631. $ref: '#/definitions/app.Response'
  22632. security:
  22633. - ApiKeyAuth: []
  22634. summary: 查询期货子账户
  22635. tags:
  22636. - 企业风险管理v3(app)
  22637. /Erms2/QueryArbitrageStrategy:
  22638. get:
  22639. parameters:
  22640. - description: 账户ID
  22641. in: query
  22642. name: userid
  22643. required: true
  22644. type: integer
  22645. - description: 商品组ID(品种ID)
  22646. in: query
  22647. name: goodsgroupid
  22648. type: string
  22649. produces:
  22650. - application/json
  22651. responses:
  22652. "200":
  22653. description: OK
  22654. schema:
  22655. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22663. tags:
  22664. - 风险管理
  22665. /Erms2/QueryInnerTradeDetail:
  22666. get:
  22667. parameters:
  22668. - description: 资金账户
  22669. in: query
  22670. name: accountid
  22671. required: true
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22680. "500":
  22681. description: Internal Server Error
  22682. schema:
  22683. $ref: '#/definitions/app.Response'
  22684. security:
  22685. - ApiKeyAuth: []
  22686. summary: 查询内部成交单信息
  22687. tags:
  22688. - 风险管理
  22689. /Erms2/QuerySpotContract:
  22690. get:
  22691. parameters:
  22692. - description: 策略申请ID
  22693. in: query
  22694. name: asapplyid
  22695. required: true
  22696. type: integer
  22697. - description: 现货合同ID
  22698. in: query
  22699. name: spotcontractid
  22700. type: integer
  22701. produces:
  22702. - application/json
  22703. responses:
  22704. "200":
  22705. description: OK
  22706. schema:
  22707. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22708. "500":
  22709. description: Internal Server Error
  22710. schema:
  22711. $ref: '#/definitions/app.Response'
  22712. security:
  22713. - ApiKeyAuth: []
  22714. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22715. tags:
  22716. - 风险管理
  22717. /Erms3/AddErms2ASApply:
  22718. post:
  22719. parameters:
  22720. - description: 申请参数
  22721. in: body
  22722. name: jsonBody
  22723. required: true
  22724. schema:
  22725. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22726. produces:
  22727. - application/json
  22728. responses:
  22729. "200":
  22730. description: OK
  22731. schema:
  22732. $ref: '#/definitions/app.Response'
  22733. "500":
  22734. description: Internal Server Error
  22735. schema:
  22736. $ref: '#/definitions/app.Response'
  22737. security:
  22738. - ApiKeyAuth: []
  22739. summary: 新增期现套利业务申请
  22740. tags:
  22741. - 风险管理v3
  22742. /Erms3/AddErms2SpotTradeApply:
  22743. post:
  22744. parameters:
  22745. - description: 申请参数
  22746. in: body
  22747. name: jsonBody
  22748. required: true
  22749. schema:
  22750. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22751. produces:
  22752. - application/json
  22753. responses:
  22754. "200":
  22755. description: OK
  22756. schema:
  22757. $ref: '#/definitions/app.Response'
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 新增现货贸易业务申请
  22765. tags:
  22766. - 风险管理v3
  22767. /Erms3/AddSpotContractApply:
  22768. post:
  22769. parameters:
  22770. - description: 申请参数
  22771. in: body
  22772. name: jsonBody
  22773. required: true
  22774. schema:
  22775. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22776. produces:
  22777. - application/json
  22778. responses:
  22779. "200":
  22780. description: OK
  22781. schema:
  22782. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22783. "500":
  22784. description: Internal Server Error
  22785. schema:
  22786. $ref: '#/definitions/app.Response'
  22787. security:
  22788. - ApiKeyAuth: []
  22789. summary: 新增现货合同申请
  22790. tags:
  22791. - 风险管理v3
  22792. /Erms3/AddUserInfoApply:
  22793. post:
  22794. parameters:
  22795. - description: 用户信息
  22796. in: body
  22797. name: jsonBody
  22798. required: true
  22799. schema:
  22800. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22801. produces:
  22802. - application/json
  22803. responses:
  22804. "200":
  22805. description: OK
  22806. schema:
  22807. $ref: '#/definitions/app.Response'
  22808. "500":
  22809. description: Internal Server Error
  22810. schema:
  22811. $ref: '#/definitions/app.Response'
  22812. security:
  22813. - ApiKeyAuth: []
  22814. summary: 新增客户申请
  22815. tags:
  22816. - 风险管理v3
  22817. /Erms3/DeleteUserInfoApply:
  22818. get:
  22819. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22820. parameters:
  22821. - description: 用户ID
  22822. in: query
  22823. name: userID
  22824. required: true
  22825. type: integer
  22826. produces:
  22827. - application/json
  22828. responses:
  22829. "200":
  22830. description: OK
  22831. schema:
  22832. $ref: '#/definitions/app.Response'
  22833. "500":
  22834. description: Internal Server Error
  22835. schema:
  22836. $ref: '#/definitions/app.Response'
  22837. security:
  22838. - ApiKeyAuth: []
  22839. summary: 删除客户申请
  22840. tags:
  22841. - 风险管理v3
  22842. /Erms3/ModifyUserInfoApply:
  22843. post:
  22844. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22845. parameters:
  22846. - description: 用户信息
  22847. in: body
  22848. name: jsonBody
  22849. required: true
  22850. schema:
  22851. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22852. produces:
  22853. - application/json
  22854. responses:
  22855. "200":
  22856. description: OK
  22857. schema:
  22858. $ref: '#/definitions/app.Response'
  22859. "500":
  22860. description: Internal Server Error
  22861. schema:
  22862. $ref: '#/definitions/app.Response'
  22863. security:
  22864. - ApiKeyAuth: []
  22865. summary: 修改客户申请
  22866. tags:
  22867. - 风险管理v3
  22868. /Erms3/QueryBusinessInfo:
  22869. get:
  22870. parameters:
  22871. - description: 资金账号ID列表,用逗号分隔
  22872. in: query
  22873. name: accountids
  22874. required: true
  22875. type: string
  22876. - description: 状态,0为未结束 1为已结束
  22877. in: query
  22878. name: status
  22879. required: true
  22880. type: integer
  22881. produces:
  22882. - application/json
  22883. responses:
  22884. "200":
  22885. description: OK
  22886. schema:
  22887. items:
  22888. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22889. type: array
  22890. "500":
  22891. description: Internal Server Error
  22892. schema:
  22893. $ref: '#/definitions/app.Response'
  22894. security:
  22895. - ApiKeyAuth: []
  22896. summary: 查询业务表单数据
  22897. tags:
  22898. - 风险管理v3
  22899. /Erms3/QueryPendingAuditContract:
  22900. get:
  22901. parameters:
  22902. - description: 资金账号ID列表,逗号隔开
  22903. in: query
  22904. name: accountids
  22905. required: true
  22906. type: string
  22907. - description: 合同类型 1-采购 -1-销售
  22908. in: query
  22909. name: contracttype
  22910. required: true
  22911. type: integer
  22912. - description: 合同模式 1-普通 2-回购
  22913. in: query
  22914. name: contractmode
  22915. required: true
  22916. type: integer
  22917. produces:
  22918. - application/json
  22919. responses:
  22920. "200":
  22921. description: OK
  22922. schema:
  22923. items:
  22924. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22925. type: array
  22926. "500":
  22927. description: Internal Server Error
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. security:
  22931. - ApiKeyAuth: []
  22932. summary: 查询待审核合同
  22933. tags:
  22934. - 风险管理v3
  22935. /Erms3/QueryPendingBusiness:
  22936. get:
  22937. parameters:
  22938. - description: 资金账号ID列表,逗号隔开
  22939. in: query
  22940. name: accountids
  22941. required: true
  22942. type: string
  22943. produces:
  22944. - application/json
  22945. responses:
  22946. "200":
  22947. description: OK
  22948. schema:
  22949. items:
  22950. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22951. type: array
  22952. "500":
  22953. description: Internal Server Error
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. security:
  22957. - ApiKeyAuth: []
  22958. summary: 查询待审核基差贸易业务
  22959. tags:
  22960. - 风险管理v3
  22961. /Erms3/QuerySpotContractAppleForm:
  22962. get:
  22963. parameters:
  22964. - description: 登录账号
  22965. in: query
  22966. name: loginID
  22967. required: true
  22968. type: integer
  22969. produces:
  22970. - application/json
  22971. responses:
  22972. "200":
  22973. description: OK
  22974. schema:
  22975. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22976. "500":
  22977. description: Internal Server Error
  22978. schema:
  22979. $ref: '#/definitions/app.Response'
  22980. security:
  22981. - ApiKeyAuth: []
  22982. summary: 查询合同申请表单数据
  22983. tags:
  22984. - 风险管理v3
  22985. /Erms3/QuerySpotContractDetail:
  22986. get:
  22987. parameters:
  22988. - description: 资金账号ID列表,用逗号分隔
  22989. in: query
  22990. name: accountids
  22991. required: true
  22992. type: string
  22993. - description: 合同类型,1为采购合同 -1为销售合同
  22994. in: query
  22995. name: contracttype
  22996. required: true
  22997. type: integer
  22998. - description: 合同模式,1为普通合同 2为回购销售合同
  22999. in: query
  23000. name: contractmode
  23001. required: true
  23002. type: integer
  23003. - description: 状态,0为履约中 1为已完成
  23004. in: query
  23005. name: status
  23006. required: true
  23007. type: integer
  23008. produces:
  23009. - application/json
  23010. responses:
  23011. "200":
  23012. description: OK
  23013. schema:
  23014. items:
  23015. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23016. type: array
  23017. "500":
  23018. description: Internal Server Error
  23019. schema:
  23020. $ref: '#/definitions/app.Response'
  23021. security:
  23022. - ApiKeyAuth: []
  23023. summary: 查询合同详细信息
  23024. tags:
  23025. - 风险管理v3
  23026. /Erms3/QueryUserInfoApplies:
  23027. get:
  23028. parameters:
  23029. - description: 页码
  23030. in: query
  23031. name: page
  23032. type: integer
  23033. - description: 每页条数
  23034. in: query
  23035. name: pagesize
  23036. type: integer
  23037. - description: 客户名称,支持模糊查询
  23038. in: query
  23039. name: userName
  23040. type: string
  23041. produces:
  23042. - application/json
  23043. responses:
  23044. "200":
  23045. description: OK
  23046. schema:
  23047. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23048. "500":
  23049. description: Internal Server Error
  23050. schema:
  23051. $ref: '#/definitions/app.Response'
  23052. security:
  23053. - ApiKeyAuth: []
  23054. summary: 客户申请信息查询
  23055. tags:
  23056. - 风险管理v3
  23057. /Erms3/QueryUserInfos:
  23058. get:
  23059. parameters:
  23060. - description: 页码
  23061. in: query
  23062. name: page
  23063. type: integer
  23064. - description: 每页条数
  23065. in: query
  23066. name: pagesize
  23067. type: integer
  23068. - description: 客户名称,支持模糊查询
  23069. in: query
  23070. name: userName
  23071. type: string
  23072. produces:
  23073. - application/json
  23074. responses:
  23075. "200":
  23076. description: OK
  23077. schema:
  23078. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 客户信息查询
  23086. tags:
  23087. - 风险管理v3
  23088. /HSBY/GetHsbyMyCount:
  23089. get:
  23090. description: 说明: 不包括已完成的数量。
  23091. parameters:
  23092. - description: 资金账户列表,格式:1,2,3
  23093. in: query
  23094. name: accountIDs
  23095. required: true
  23096. type: string
  23097. produces:
  23098. - application/json
  23099. responses:
  23100. "200":
  23101. description: OK
  23102. schema:
  23103. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23104. "500":
  23105. description: Internal Server Error
  23106. schema:
  23107. $ref: '#/definitions/app.Response'
  23108. security:
  23109. - ApiKeyAuth: []
  23110. summary: 获取我的订单与包裹数量
  23111. tags:
  23112. - 定制【海商报业】
  23113. /HSBY/QueryClientFixedADConfigs:
  23114. get:
  23115. produces:
  23116. - application/json
  23117. responses:
  23118. "200":
  23119. description: OK
  23120. schema:
  23121. $ref: '#/definitions/models.Clientfixedadconfig'
  23122. "500":
  23123. description: Internal Server Error
  23124. schema:
  23125. $ref: '#/definitions/app.Response'
  23126. security:
  23127. - ApiKeyAuth: []
  23128. summary: 获取终端固定广告配置
  23129. tags:
  23130. - 定制【海商报业】
  23131. /HSBY/QueryHsbyBuyMyTradeDetail:
  23132. get:
  23133. parameters:
  23134. - description: 页码
  23135. in: query
  23136. name: page
  23137. type: integer
  23138. - description: 每页条数
  23139. in: query
  23140. name: pagesize
  23141. type: integer
  23142. - description: 资金账户列表,格式:1,2,3
  23143. in: query
  23144. name: accountIDs
  23145. required: true
  23146. type: string
  23147. produces:
  23148. - application/json
  23149. responses:
  23150. "200":
  23151. description: OK
  23152. schema:
  23153. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23154. "500":
  23155. description: Internal Server Error
  23156. schema:
  23157. $ref: '#/definitions/app.Response'
  23158. security:
  23159. - ApiKeyAuth: []
  23160. summary: 查询"我的订单 - 已完成"单据信息
  23161. tags:
  23162. - 定制【海商报业】
  23163. /HSBY/QueryHsbyGoodsOrderDetails:
  23164. get:
  23165. description: 说明:查询结果已按委托价格和委托时间排序
  23166. parameters:
  23167. - description: 商品ID
  23168. in: query
  23169. name: goodsID
  23170. required: true
  23171. type: integer
  23172. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23173. in: query
  23174. name: accountIDs
  23175. type: string
  23176. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23177. in: query
  23178. name: buyOrSell
  23179. type: integer
  23180. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23181. in: query
  23182. name: price
  23183. type: number
  23184. - description: 档位,不传则默认为3档
  23185. in: query
  23186. name: speed
  23187. type: integer
  23188. produces:
  23189. - application/json
  23190. responses:
  23191. "200":
  23192. description: OK
  23193. schema:
  23194. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23202. tags:
  23203. - 定制【海商报业】
  23204. /HSBY/QueryHsbyListingGoodsDetail:
  23205. get:
  23206. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23207. parameters:
  23208. - description: 商品ID
  23209. in: query
  23210. name: goodsID
  23211. required: true
  23212. type: integer
  23213. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23214. in: query
  23215. name: accountID
  23216. type: integer
  23217. produces:
  23218. - application/json
  23219. responses:
  23220. "200":
  23221. description: OK
  23222. schema:
  23223. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23224. "500":
  23225. description: Internal Server Error
  23226. schema:
  23227. $ref: '#/definitions/app.Response'
  23228. security:
  23229. - ApiKeyAuth: []
  23230. summary: 查询二级市场(挂牌点选)商品信息详情
  23231. tags:
  23232. - 定制【海商报业】
  23233. /HSBY/QueryHsbyMarketGoodsDetail:
  23234. get:
  23235. parameters:
  23236. - description: 委托单号
  23237. in: query
  23238. name: orderID
  23239. required: true
  23240. type: integer
  23241. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23242. in: query
  23243. name: accountID
  23244. type: integer
  23245. produces:
  23246. - application/json
  23247. responses:
  23248. "200":
  23249. description: OK
  23250. schema:
  23251. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23252. "500":
  23253. description: Internal Server Error
  23254. schema:
  23255. $ref: '#/definitions/app.Response'
  23256. security:
  23257. - ApiKeyAuth: []
  23258. summary: 查询三级市场(商城)商品信息详情
  23259. tags:
  23260. - 定制【海商报业】
  23261. /HSBY/QueryHsbyMarketGoodses:
  23262. get:
  23263. parameters:
  23264. - description: 页码
  23265. in: query
  23266. name: page
  23267. type: integer
  23268. - description: 每页条数
  23269. in: query
  23270. name: pagesize
  23271. type: integer
  23272. - description: 市场ID列表,格式:1,2,3
  23273. in: query
  23274. name: marketIDs
  23275. required: true
  23276. type: string
  23277. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23278. in: query
  23279. name: accountID
  23280. required: true
  23281. type: integer
  23282. - description: 类别ID
  23283. in: query
  23284. name: categoryID
  23285. type: integer
  23286. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23287. in: query
  23288. name: goodsIDs
  23289. type: string
  23290. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23291. in: query
  23292. name: couponTypeID
  23293. type: integer
  23294. produces:
  23295. - application/json
  23296. responses:
  23297. "200":
  23298. description: OK
  23299. schema:
  23300. $ref: '#/definitions/models.HsbyMarketGoods'
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 查询特卖商品列表(三级商城)
  23308. tags:
  23309. - 定制【海商报业】
  23310. /HSBY/QueryHsbyMarkets:
  23311. get:
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/models.HsbyMarketInfo'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 查询海商报业相关市场信息
  23326. tags:
  23327. - 定制【海商报业】
  23328. /HSBY/QueryHsbyMyBuyOrderDetails:
  23329. get:
  23330. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23331. parameters:
  23332. - description: 资金账户列表,格式:1,2,3
  23333. in: query
  23334. name: accountIDs
  23335. required: true
  23336. type: string
  23337. produces:
  23338. - application/json
  23339. responses:
  23340. "200":
  23341. description: OK
  23342. schema:
  23343. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23344. "500":
  23345. description: Internal Server Error
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. security:
  23349. - ApiKeyAuth: []
  23350. summary: 查询“我的订单”信息
  23351. tags:
  23352. - 定制【海商报业】
  23353. /HSBY/QueryHsbyMyGoods:
  23354. get:
  23355. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23356. parameters:
  23357. - description: 资金账户列表,格式:1,2,3
  23358. in: query
  23359. name: accountIDs
  23360. required: true
  23361. type: string
  23362. produces:
  23363. - application/json
  23364. responses:
  23365. "200":
  23366. description: OK
  23367. schema:
  23368. $ref: '#/definitions/models.HsbyMyGoods'
  23369. "500":
  23370. description: Internal Server Error
  23371. schema:
  23372. $ref: '#/definitions/app.Response'
  23373. security:
  23374. - ApiKeyAuth: []
  23375. summary: 查询“我的商品”信息
  23376. tags:
  23377. - 定制【海商报业】
  23378. /HSBY/QueryHsbyMyPackages:
  23379. get:
  23380. parameters:
  23381. - description: 资金账户列表,格式:1,2,3
  23382. in: query
  23383. name: accountIDs
  23384. required: true
  23385. type: string
  23386. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23387. in: query
  23388. name: takeOrderStatus
  23389. type: integer
  23390. produces:
  23391. - application/json
  23392. responses:
  23393. "200":
  23394. description: OK
  23395. schema:
  23396. $ref: '#/definitions/models.HsbyMyPackage'
  23397. "500":
  23398. description: Internal Server Error
  23399. schema:
  23400. $ref: '#/definitions/app.Response'
  23401. security:
  23402. - ApiKeyAuth: []
  23403. summary: 查询我的包裹信息
  23404. tags:
  23405. - 定制【海商报业】
  23406. /HSBY/QueryHsbyPreGoodsDetail:
  23407. get:
  23408. parameters:
  23409. - description: 商品ID
  23410. in: query
  23411. name: goodsID
  23412. required: true
  23413. type: integer
  23414. - description: 资金账户,主要用于获取预售商品购买上限
  23415. in: query
  23416. name: accountID
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 查询一级市场(预售)商品信息详情
  23432. tags:
  23433. - 定制【海商报业】
  23434. /HSBY/QueryHsbyPreGoodses:
  23435. get:
  23436. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23437. parameters:
  23438. - description: 页码
  23439. in: query
  23440. name: page
  23441. type: integer
  23442. - description: 每页条数
  23443. in: query
  23444. name: pagesize
  23445. type: integer
  23446. - description: 市场ID列表,格式:1,2,3
  23447. in: query
  23448. name: marketIDs
  23449. required: true
  23450. type: string
  23451. - description: 目的地(省)ID
  23452. in: query
  23453. name: descProvinceID
  23454. type: integer
  23455. - description: 目的地(市)ID
  23456. in: query
  23457. name: descCityID
  23458. type: integer
  23459. produces:
  23460. - application/json
  23461. responses:
  23462. "200":
  23463. description: OK
  23464. schema:
  23465. $ref: '#/definitions/models.HsbyPreGoods'
  23466. "500":
  23467. description: Internal Server Error
  23468. schema:
  23469. $ref: '#/definitions/app.Response'
  23470. security:
  23471. - ApiKeyAuth: []
  23472. summary: 查询新品上市商品列表(一级市场预售)
  23473. tags:
  23474. - 定制【海商报业】
  23475. /HSBY/QueryHsbySellMyDetails:
  23476. get:
  23477. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23478. parameters:
  23479. - description: 页码
  23480. in: query
  23481. name: page
  23482. type: integer
  23483. - description: 每页条数
  23484. in: query
  23485. name: pagesize
  23486. type: integer
  23487. - description: 资金账户列表,格式:1,2,3
  23488. in: query
  23489. name: accountIDs
  23490. required: true
  23491. type: string
  23492. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23493. in: query
  23494. name: orderType
  23495. type: integer
  23496. produces:
  23497. - application/json
  23498. responses:
  23499. "200":
  23500. description: OK
  23501. schema:
  23502. $ref: '#/definitions/models.HsbySellMyDetail'
  23503. "500":
  23504. description: Internal Server Error
  23505. schema:
  23506. $ref: '#/definitions/app.Response'
  23507. security:
  23508. - ApiKeyAuth: []
  23509. summary: 查询"我的闲置"单据信息
  23510. tags:
  23511. - 定制【海商报业】
  23512. /HSBY/QueryHsbyTopGoodses:
  23513. get:
  23514. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23515. parameters:
  23516. - description: 页码
  23517. in: query
  23518. name: page
  23519. type: integer
  23520. - description: 每页条数
  23521. in: query
  23522. name: pagesize
  23523. type: integer
  23524. - description: 市场ID列表,格式:1,2,3
  23525. in: query
  23526. name: marketIDs
  23527. required: true
  23528. type: string
  23529. - description: 目的地(省)ID
  23530. in: query
  23531. name: descProvinceID
  23532. type: integer
  23533. - description: 目的地(市)ID
  23534. in: query
  23535. name: descCityID
  23536. type: integer
  23537. produces:
  23538. - application/json
  23539. responses:
  23540. "200":
  23541. description: OK
  23542. schema:
  23543. $ref: '#/definitions/models.HsbyTopGoods'
  23544. "500":
  23545. description: Internal Server Error
  23546. schema:
  23547. $ref: '#/definitions/app.Response'
  23548. security:
  23549. - ApiKeyAuth: []
  23550. summary: 查询热卖商品列表(二级市场挂牌点选)
  23551. tags:
  23552. - 定制【海商报业】
  23553. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23554. get:
  23555. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23556. parameters:
  23557. - description: 商品ID
  23558. in: query
  23559. name: goodsID
  23560. required: true
  23561. type: integer
  23562. produces:
  23563. - application/json
  23564. responses:
  23565. "200":
  23566. description: OK
  23567. schema:
  23568. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23569. "500":
  23570. description: Internal Server Error
  23571. schema:
  23572. $ref: '#/definitions/app.Response'
  23573. security:
  23574. - ApiKeyAuth: []
  23575. summary: 查询游客三级市场(商城)商品信息详情
  23576. tags:
  23577. - 定制【海商报业】
  23578. /HSBY/QueryHsbyVisitorMarketGoodses:
  23579. get:
  23580. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23581. parameters:
  23582. - description: 页码
  23583. in: query
  23584. name: page
  23585. type: integer
  23586. - description: 每页条数
  23587. in: query
  23588. name: pagesize
  23589. type: integer
  23590. - description: 市场ID列表,格式:1,2,3
  23591. in: query
  23592. name: marketIDs
  23593. required: true
  23594. type: string
  23595. - description: 类别ID
  23596. in: query
  23597. name: categoryID
  23598. type: integer
  23599. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23600. in: query
  23601. name: goodsIDs
  23602. type: string
  23603. produces:
  23604. - application/json
  23605. responses:
  23606. "200":
  23607. description: OK
  23608. schema:
  23609. $ref: '#/definitions/models.HsbyMarketGoods'
  23610. "500":
  23611. description: Internal Server Error
  23612. schema:
  23613. $ref: '#/definitions/app.Response'
  23614. security:
  23615. - ApiKeyAuth: []
  23616. summary: 查询游客特卖商品列表(三级商城)
  23617. tags:
  23618. - 定制【海商报业】
  23619. /HSBY/QueryMyCollectionOrders:
  23620. get:
  23621. parameters:
  23622. - description: 页码
  23623. in: query
  23624. name: page
  23625. type: integer
  23626. - description: 每页条数
  23627. in: query
  23628. name: pagesize
  23629. type: integer
  23630. - description: 资金账户,格式:1,2,3
  23631. in: query
  23632. name: accountIDs
  23633. required: true
  23634. type: string
  23635. produces:
  23636. - application/json
  23637. responses:
  23638. "200":
  23639. description: OK
  23640. schema:
  23641. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23642. "500":
  23643. description: Internal Server Error
  23644. schema:
  23645. $ref: '#/definitions/app.Response'
  23646. security:
  23647. - ApiKeyAuth: []
  23648. summary: 我的闲置中收款信息查询
  23649. tags:
  23650. - 定制【海商报业】
  23651. /HSBY/QueryMyCouponHolds:
  23652. get:
  23653. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23654. parameters:
  23655. - description: 资金账户列表,格式:1,2,3
  23656. in: query
  23657. name: accountIDs
  23658. required: true
  23659. type: string
  23660. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23661. in: query
  23662. name: holdStatus
  23663. type: string
  23664. produces:
  23665. - application/json
  23666. responses:
  23667. "200":
  23668. description: OK
  23669. schema:
  23670. $ref: '#/definitions/models.MyCouponHold'
  23671. "500":
  23672. description: Internal Server Error
  23673. schema:
  23674. $ref: '#/definitions/app.Response'
  23675. security:
  23676. - ApiKeyAuth: []
  23677. summary: 我的优惠卷持仓查询
  23678. tags:
  23679. - 定制【海商报业】
  23680. /HSBY/QueryMyCoupons:
  23681. get:
  23682. parameters:
  23683. - description: 资金账户列表,格式:1,2,3
  23684. in: query
  23685. name: accountIDs
  23686. required: true
  23687. type: string
  23688. - description: 商品ID, 一般与sellUserID配套传入
  23689. in: query
  23690. name: goodsID
  23691. type: integer
  23692. - description: 卖方UserID
  23693. in: query
  23694. name: sellUserID
  23695. type: integer
  23696. produces:
  23697. - application/json
  23698. responses:
  23699. "200":
  23700. description: OK
  23701. schema:
  23702. $ref: '#/definitions/models.MyCoupon'
  23703. "500":
  23704. description: Internal Server Error
  23705. schema:
  23706. $ref: '#/definitions/app.Response'
  23707. security:
  23708. - ApiKeyAuth: []
  23709. summary: 我的优惠卷查询
  23710. tags:
  23711. - 定制【海商报业】
  23712. /HSBY/QueryMyPayOrders:
  23713. get:
  23714. parameters:
  23715. - description: 页码
  23716. in: query
  23717. name: page
  23718. type: integer
  23719. - description: 每页条数
  23720. in: query
  23721. name: pagesize
  23722. type: integer
  23723. - description: 资金账户列表,格式:1,2,3
  23724. in: query
  23725. name: accountIDs
  23726. required: true
  23727. type: string
  23728. - description: 买方委托单号
  23729. in: query
  23730. name: buyOrderID
  23731. type: integer
  23732. - description: 卖方委托单号
  23733. in: query
  23734. name: sellOrderID
  23735. type: integer
  23736. produces:
  23737. - application/json
  23738. responses:
  23739. "200":
  23740. description: OK
  23741. schema:
  23742. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23743. "500":
  23744. description: Internal Server Error
  23745. schema:
  23746. $ref: '#/definitions/app.Response'
  23747. security:
  23748. - ApiKeyAuth: []
  23749. summary: 获取我的订单中待付款信息
  23750. tags:
  23751. - 定制【海商报业】
  23752. /HSBY/QueryMyUsedCoupon:
  23753. get:
  23754. parameters:
  23755. - description: 资金账户列表,格式:1,2,3
  23756. in: query
  23757. name: accountIDs
  23758. required: true
  23759. type: string
  23760. produces:
  23761. - application/json
  23762. responses:
  23763. "200":
  23764. description: OK
  23765. schema:
  23766. $ref: '#/definitions/models.MyUsedCoupon'
  23767. "500":
  23768. description: Internal Server Error
  23769. schema:
  23770. $ref: '#/definitions/app.Response'
  23771. security:
  23772. - ApiKeyAuth: []
  23773. summary: 已使用优惠卷查询
  23774. tags:
  23775. - 定制【海商报业】
  23776. /HSBY/QueryProvincesAndCities:
  23777. get:
  23778. description: 查询结果只包括二级市场商品已关连的省市信息。
  23779. parameters:
  23780. - description: 省ID
  23781. in: query
  23782. name: provinceID
  23783. type: integer
  23784. produces:
  23785. - application/json
  23786. responses:
  23787. "200":
  23788. description: OK
  23789. schema:
  23790. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23791. "500":
  23792. description: Internal Server Error
  23793. schema:
  23794. $ref: '#/definitions/app.Response'
  23795. security:
  23796. - ApiKeyAuth: []
  23797. summary: 查询省市信息(不包括区)
  23798. tags:
  23799. - 定制【海商报业】
  23800. /HSBY/SetHsbyMyPackagesStatus:
  23801. post:
  23802. parameters:
  23803. - description: 提货单号
  23804. in: query
  23805. name: takeOrderID
  23806. required: true
  23807. type: string
  23808. - description: 资金账号
  23809. in: query
  23810. name: accountID
  23811. required: true
  23812. type: integer
  23813. produces:
  23814. - application/json
  23815. responses:
  23816. "200":
  23817. description: OK
  23818. schema:
  23819. $ref: '#/definitions/app.Response'
  23820. "500":
  23821. description: Internal Server Error
  23822. schema:
  23823. $ref: '#/definitions/app.Response'
  23824. security:
  23825. - ApiKeyAuth: []
  23826. summary: 设置我的包裹已收货状态
  23827. tags:
  23828. - 定制【海商报业】
  23829. /Market/GetAllExExchanges:
  23830. get:
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. $ref: '#/definitions/models.Goods'
  23838. "500":
  23839. description: Internal Server Error
  23840. schema:
  23841. $ref: '#/definitions/app.Response'
  23842. security:
  23843. - ApiKeyAuth: []
  23844. summary: 获取所有外部交易所信息
  23845. tags:
  23846. - 通用市场
  23847. /Market/QueryGoodsesByLoginID:
  23848. get:
  23849. parameters:
  23850. - description: 登录账号
  23851. in: query
  23852. name: loginID
  23853. required: true
  23854. type: integer
  23855. - description: 市场ID列表,格式:1,2,3
  23856. in: query
  23857. name: marketIDs
  23858. type: string
  23859. produces:
  23860. - application/json
  23861. responses:
  23862. "200":
  23863. description: OK
  23864. schema:
  23865. $ref: '#/definitions/models.Goods'
  23866. "500":
  23867. description: Internal Server Error
  23868. schema:
  23869. $ref: '#/definitions/app.Response'
  23870. security:
  23871. - ApiKeyAuth: []
  23872. summary: 获取登录账号有权限的商品信息
  23873. tags:
  23874. - 通用市场
  23875. /Market/QueryMarketRun:
  23876. get:
  23877. parameters:
  23878. - description: 市场ID,不传返回所有
  23879. in: query
  23880. name: marketID
  23881. type: integer
  23882. produces:
  23883. - application/json
  23884. responses:
  23885. "200":
  23886. description: OK
  23887. schema:
  23888. $ref: '#/definitions/models.Marketrun'
  23889. "500":
  23890. description: Internal Server Error
  23891. schema:
  23892. $ref: '#/definitions/app.Response'
  23893. security:
  23894. - ApiKeyAuth: []
  23895. summary: 查询市场运行信息
  23896. tags:
  23897. - 通用市场
  23898. /Market/QueryMarketsByLoginID:
  23899. get:
  23900. parameters:
  23901. - description: 登录账号
  23902. in: query
  23903. name: loginID
  23904. required: true
  23905. type: integer
  23906. produces:
  23907. - application/json
  23908. responses:
  23909. "200":
  23910. description: OK
  23911. schema:
  23912. $ref: '#/definitions/models.Market'
  23913. "500":
  23914. description: Internal Server Error
  23915. schema:
  23916. $ref: '#/definitions/app.Response'
  23917. security:
  23918. - ApiKeyAuth: []
  23919. summary: 获取登录账号有权限的市场信息
  23920. tags:
  23921. - 通用市场
  23922. /Order/QueryHisTradeDetail:
  23923. get:
  23924. parameters:
  23925. - description: 资金账户 - 格式:1,2,3
  23926. in: query
  23927. name: accountID
  23928. required: true
  23929. type: string
  23930. - description: 成交单号
  23931. in: query
  23932. name: tradeID
  23933. type: integer
  23934. - description: 委托单号
  23935. in: query
  23936. name: orderID
  23937. type: integer
  23938. - description: 商品ID
  23939. in: query
  23940. name: goodsID
  23941. type: integer
  23942. - description: 交易模式 - 格式:1,2,3
  23943. in: query
  23944. name: tradeMode
  23945. type: string
  23946. - description: 委托单据类型
  23947. in: query
  23948. name: buildType
  23949. type: integer
  23950. - description: 成交类别 - 格式:1,2,3
  23951. in: query
  23952. name: tradeType
  23953. type: string
  23954. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23955. in: query
  23956. name: startDate
  23957. type: string
  23958. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23959. in: query
  23960. name: endDate
  23961. type: string
  23962. produces:
  23963. - application/json
  23964. responses:
  23965. "200":
  23966. description: OK
  23967. schema:
  23968. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23969. "500":
  23970. description: Internal Server Error
  23971. schema:
  23972. $ref: '#/definitions/app.Response'
  23973. security:
  23974. - ApiKeyAuth: []
  23975. summary: 历史成交单查询(合约市场)
  23976. tags:
  23977. - 通用单据
  23978. /Order/QueryHisTradeOrderDetail:
  23979. get:
  23980. parameters:
  23981. - description: 资金账户 - 格式:1,2,3
  23982. in: query
  23983. name: accountID
  23984. required: true
  23985. type: string
  23986. - description: 交易模式 - 格式:1,2,3
  23987. in: query
  23988. name: tradeMode
  23989. type: string
  23990. - description: 委托状态 - 格式:1,2,3
  23991. in: query
  23992. name: orderStatus
  23993. type: string
  23994. - description: 委托单号
  23995. in: query
  23996. name: orderID
  23997. type: integer
  23998. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23999. in: query
  24000. name: startDate
  24001. type: string
  24002. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24003. in: query
  24004. name: endDate
  24005. type: string
  24006. produces:
  24007. - application/json
  24008. responses:
  24009. "200":
  24010. description: OK
  24011. schema:
  24012. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24013. "500":
  24014. description: Internal Server Error
  24015. schema:
  24016. $ref: '#/definitions/app.Response'
  24017. security:
  24018. - ApiKeyAuth: []
  24019. summary: 历史委托单查询请求(合约市场)
  24020. tags:
  24021. - 通用单据
  24022. /Order/QueryTradeDetail:
  24023. get:
  24024. parameters:
  24025. - description: 资金账户 - 格式:1,2,3
  24026. in: query
  24027. name: accountID
  24028. required: true
  24029. type: string
  24030. - description: 成交单号
  24031. in: query
  24032. name: tradeID
  24033. type: integer
  24034. - description: 委托单号
  24035. in: query
  24036. name: orderID
  24037. type: integer
  24038. - description: 交易模式 - 格式:1,2,3
  24039. in: query
  24040. name: tradeMode
  24041. type: string
  24042. - description: 委托单据类型
  24043. in: query
  24044. name: buildType
  24045. type: integer
  24046. - description: 成交类别 - 格式:1,2,3
  24047. in: query
  24048. name: tradeType
  24049. type: string
  24050. - description: 商品ID
  24051. in: query
  24052. name: goodsID
  24053. type: integer
  24054. produces:
  24055. - application/json
  24056. responses:
  24057. "200":
  24058. description: OK
  24059. schema:
  24060. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24061. "500":
  24062. description: Internal Server Error
  24063. schema:
  24064. $ref: '#/definitions/app.Response'
  24065. security:
  24066. - ApiKeyAuth: []
  24067. summary: 成交单查询(合约市场)
  24068. tags:
  24069. - 通用单据
  24070. /Order/QueryTradeHolderDetail:
  24071. get:
  24072. parameters:
  24073. - description: 用户id
  24074. in: query
  24075. name: userid
  24076. type: integer
  24077. - description: 资金账号, 格式 1,2,3
  24078. in: query
  24079. name: accids
  24080. type: string
  24081. - description: 交易模式, 格式 1,2,3
  24082. in: query
  24083. name: trademodes
  24084. type: string
  24085. - description: 市场id, 格式 1,2,3
  24086. in: query
  24087. name: marketids
  24088. type: string
  24089. - description: 商品id
  24090. in: query
  24091. name: goodsid
  24092. type: integer
  24093. - description: 买卖方向 0-买 1-卖
  24094. in: query
  24095. name: buyorsell
  24096. type: integer
  24097. produces:
  24098. - application/json
  24099. responses:
  24100. "200":
  24101. description: OK
  24102. schema:
  24103. items:
  24104. $ref: '#/definitions/models.TradeHolderDetail'
  24105. type: array
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 查询持仓明细
  24113. tags:
  24114. - 通用单据
  24115. /Order/QueryTradeOrderDetail:
  24116. get:
  24117. parameters:
  24118. - description: 资金账户 - 格式:1,2,3
  24119. in: query
  24120. name: accountID
  24121. required: true
  24122. type: string
  24123. - description: 交易模式 - 格式:1,2,3
  24124. in: query
  24125. name: tradeMode
  24126. type: string
  24127. - description: 委托状态 - 格式:1,2,3
  24128. in: query
  24129. name: orderStatus
  24130. type: string
  24131. - description: 委托单号
  24132. in: query
  24133. name: orderID
  24134. type: integer
  24135. produces:
  24136. - application/json
  24137. responses:
  24138. "200":
  24139. description: OK
  24140. schema:
  24141. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24142. "500":
  24143. description: Internal Server Error
  24144. schema:
  24145. $ref: '#/definitions/app.Response'
  24146. security:
  24147. - ApiKeyAuth: []
  24148. summary: 委托单查询请求(合约市场)
  24149. tags:
  24150. - 通用单据
  24151. /Order/QueryTradePosition:
  24152. get:
  24153. parameters:
  24154. - description: 资金账户 - 格式:1,2,3
  24155. in: query
  24156. name: accountID
  24157. required: true
  24158. type: string
  24159. - description: 交易模式 - 格式:1,2,3
  24160. in: query
  24161. name: tradeMode
  24162. type: string
  24163. produces:
  24164. - application/json
  24165. responses:
  24166. "200":
  24167. description: OK
  24168. schema:
  24169. $ref: '#/definitions/order.QueryTradePositionRsp'
  24170. "500":
  24171. description: Internal Server Error
  24172. schema:
  24173. $ref: '#/definitions/app.Response'
  24174. security:
  24175. - ApiKeyAuth: []
  24176. summary: 持仓汇总查询(合约市场)
  24177. tags:
  24178. - 通用单据
  24179. /Qhj/QueryAccountInOutApply:
  24180. get:
  24181. parameters:
  24182. - description: 用户ID
  24183. in: query
  24184. name: userid
  24185. required: true
  24186. type: integer
  24187. - description: 申请起始日期(格式yyyymmdd)
  24188. in: query
  24189. name: begindate
  24190. type: string
  24191. - description: 申请截止日期(格式yyyymmdd)
  24192. in: query
  24193. name: enddate
  24194. type: string
  24195. - description: 模糊搜索名称
  24196. in: query
  24197. name: likename
  24198. type: string
  24199. produces:
  24200. - application/json
  24201. responses:
  24202. "200":
  24203. description: OK
  24204. schema:
  24205. items:
  24206. $ref: '#/definitions/models.QhjAccountOutInApply'
  24207. type: array
  24208. "500":
  24209. description: Internal Server Error
  24210. schema:
  24211. $ref: '#/definitions/app.Response'
  24212. security:
  24213. - ApiKeyAuth: []
  24214. summary: 查询充值提现
  24215. tags:
  24216. - 大连千海金
  24217. /Qhj/QueryAreaFinanceConfig:
  24218. get:
  24219. parameters:
  24220. - description: 机构用户ID 其他做市关系,都设置为 1
  24221. in: query
  24222. name: userid
  24223. type: integer
  24224. produces:
  24225. - application/json
  24226. responses:
  24227. "200":
  24228. description: OK
  24229. schema:
  24230. items:
  24231. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24232. type: array
  24233. "500":
  24234. description: Internal Server Error
  24235. schema:
  24236. $ref: '#/definitions/app.Response'
  24237. security:
  24238. - ApiKeyAuth: []
  24239. summary: 查询企业配置表
  24240. tags:
  24241. - 大连千海金
  24242. /Qhj/QueryBankAccountSign:
  24243. get:
  24244. parameters:
  24245. - description: 用户ID
  24246. in: query
  24247. name: userid
  24248. required: true
  24249. type: integer
  24250. produces:
  24251. - application/json
  24252. responses:
  24253. "200":
  24254. description: OK
  24255. schema:
  24256. items:
  24257. $ref: '#/definitions/models.QhjBankAccountSign'
  24258. type: array
  24259. "500":
  24260. description: Internal Server Error
  24261. schema:
  24262. $ref: '#/definitions/app.Response'
  24263. security:
  24264. - ApiKeyAuth: []
  24265. summary: 查询签约银行信息(提现账户管理)
  24266. tags:
  24267. - 大连千海金
  24268. /Qhj/QueryBankInfo:
  24269. get:
  24270. produces:
  24271. - application/json
  24272. responses:
  24273. "200":
  24274. description: OK
  24275. schema:
  24276. items:
  24277. $ref: '#/definitions/models.QhjBankInfo'
  24278. type: array
  24279. "500":
  24280. description: Internal Server Error
  24281. schema:
  24282. $ref: '#/definitions/app.Response'
  24283. security:
  24284. - ApiKeyAuth: []
  24285. summary: 查询开户行
  24286. tags:
  24287. - 大连千海金
  24288. /Qhj/QueryBrokerApply:
  24289. get:
  24290. parameters:
  24291. - description: 所属机构ID
  24292. in: query
  24293. name: userid
  24294. type: integer
  24295. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24296. in: query
  24297. name: filterstatus
  24298. type: string
  24299. produces:
  24300. - application/json
  24301. responses:
  24302. "200":
  24303. description: OK
  24304. schema:
  24305. items:
  24306. $ref: '#/definitions/models.QhjBrokerApply'
  24307. type: array
  24308. "500":
  24309. description: Internal Server Error
  24310. schema:
  24311. $ref: '#/definitions/app.Response'
  24312. security:
  24313. - ApiKeyAuth: []
  24314. summary: 查询经纪人申请
  24315. tags:
  24316. - 大连千海金
  24317. /Qhj/QueryBrokerApplyEx:
  24318. get:
  24319. parameters:
  24320. - description: 所属机构ID
  24321. in: query
  24322. name: userid
  24323. type: integer
  24324. produces:
  24325. - application/json
  24326. responses:
  24327. "200":
  24328. description: OK
  24329. schema:
  24330. items:
  24331. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24332. type: array
  24333. "500":
  24334. description: Internal Server Error
  24335. schema:
  24336. $ref: '#/definitions/app.Response'
  24337. security:
  24338. - ApiKeyAuth: []
  24339. summary: 查询经纪人信息和申请记录
  24340. tags:
  24341. - 大连千海金
  24342. /Qhj/QueryBrokerRewardLog:
  24343. get:
  24344. parameters:
  24345. - description: 用户ID
  24346. in: query
  24347. name: userid
  24348. required: true
  24349. type: integer
  24350. - description: 开始交易日(yyyymmdd)
  24351. in: query
  24352. name: begindate
  24353. type: string
  24354. - description: 结束交易日(yyyymmdd)
  24355. in: query
  24356. name: enddate
  24357. type: string
  24358. produces:
  24359. - application/json
  24360. responses:
  24361. "200":
  24362. description: OK
  24363. schema:
  24364. items:
  24365. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24366. type: array
  24367. "500":
  24368. description: Internal Server Error
  24369. schema:
  24370. $ref: '#/definitions/app.Response'
  24371. security:
  24372. - ApiKeyAuth: []
  24373. summary: 查询奖励流水(我的奖励)
  24374. tags:
  24375. - 大连千海金
  24376. /Qhj/QueryContract:
  24377. get:
  24378. parameters:
  24379. - description: 用户ID
  24380. in: query
  24381. name: userid
  24382. type: integer
  24383. - description: scf合同id
  24384. in: query
  24385. name: scfcontractid
  24386. type: integer
  24387. produces:
  24388. - application/json
  24389. responses:
  24390. "200":
  24391. description: OK
  24392. schema:
  24393. items:
  24394. $ref: '#/definitions/models.QhjContract'
  24395. type: array
  24396. "500":
  24397. description: Internal Server Error
  24398. schema:
  24399. $ref: '#/definitions/app.Response'
  24400. security:
  24401. - ApiKeyAuth: []
  24402. summary: 查询融资明细(合同)
  24403. tags:
  24404. - 大连千海金
  24405. /Qhj/QueryContractLog:
  24406. get:
  24407. parameters:
  24408. - description: scf合同id
  24409. in: query
  24410. name: scfcontractid
  24411. required: true
  24412. type: integer
  24413. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24414. in: query
  24415. name: amounttype
  24416. type: string
  24417. produces:
  24418. - application/json
  24419. responses:
  24420. "200":
  24421. description: OK
  24422. schema:
  24423. items:
  24424. $ref: '#/definitions/models.QhjContractLog'
  24425. type: array
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 查询融资明细流水(融资明细详情页中的流水)
  24433. tags:
  24434. - 大连千海金
  24435. /Qhj/QueryCusBankSignBank:
  24436. get:
  24437. produces:
  24438. - application/json
  24439. responses:
  24440. "200":
  24441. description: OK
  24442. schema:
  24443. items:
  24444. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24445. type: array
  24446. "500":
  24447. description: Internal Server Error
  24448. schema:
  24449. $ref: '#/definitions/app.Response'
  24450. security:
  24451. - ApiKeyAuth: []
  24452. summary: 查询托管银行
  24453. tags:
  24454. - 大连千海金
  24455. /Qhj/QueryCustomerInfo:
  24456. get:
  24457. parameters:
  24458. - description: 用户ID
  24459. in: query
  24460. name: userid
  24461. required: true
  24462. type: integer
  24463. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24464. in: query
  24465. name: querytype
  24466. required: true
  24467. type: integer
  24468. - description: 客户类型 1-个人 2-企业
  24469. in: query
  24470. name: userinfotype
  24471. type: integer
  24472. - description: 客户名称(模糊匹配)
  24473. in: query
  24474. name: customername
  24475. type: string
  24476. - description: 昵称(模糊匹配)
  24477. in: query
  24478. name: nickname
  24479. type: string
  24480. - description: 是否包含子级 1-包含
  24481. in: query
  24482. name: includesub
  24483. type: integer
  24484. produces:
  24485. - application/json
  24486. responses:
  24487. "200":
  24488. description: OK
  24489. schema:
  24490. items:
  24491. $ref: '#/definitions/models.QhjCustomer'
  24492. type: array
  24493. "500":
  24494. description: Internal Server Error
  24495. schema:
  24496. $ref: '#/definitions/app.Response'
  24497. security:
  24498. - ApiKeyAuth: []
  24499. summary: 查询客户资料
  24500. tags:
  24501. - 大连千海金
  24502. /Qhj/QueryGoodsEx:
  24503. get:
  24504. parameters:
  24505. - description: 商品id
  24506. in: query
  24507. name: goodsid
  24508. type: integer
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/models.Qhjgoodsex'
  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. - 大连千海金
  24527. /Qhj/QueryMyTeam:
  24528. get:
  24529. parameters:
  24530. - description: 用户ID
  24531. in: query
  24532. name: userid
  24533. required: true
  24534. type: integer
  24535. produces:
  24536. - application/json
  24537. responses:
  24538. "200":
  24539. description: OK
  24540. schema:
  24541. items:
  24542. $ref: '#/definitions/models.QhjMyTeamEx'
  24543. type: array
  24544. "500":
  24545. description: Internal Server Error
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. security:
  24549. - ApiKeyAuth: []
  24550. summary: 查询我的团队
  24551. tags:
  24552. - 大连千海金
  24553. /Qhj/QueryMyTeamOrder:
  24554. get:
  24555. parameters:
  24556. - description: 页码
  24557. in: query
  24558. name: page
  24559. type: integer
  24560. - description: 每页条数
  24561. in: query
  24562. name: pagesize
  24563. type: integer
  24564. - description: 用户ID
  24565. in: query
  24566. name: userid
  24567. required: true
  24568. type: integer
  24569. - description: 交易模式
  24570. in: query
  24571. name: trademode
  24572. type: integer
  24573. - description: 名称(模糊搜索账户)
  24574. in: query
  24575. name: filtername
  24576. type: string
  24577. produces:
  24578. - application/json
  24579. responses:
  24580. "200":
  24581. description: OK
  24582. schema:
  24583. items:
  24584. $ref: '#/definitions/models.QhjTeamOrder'
  24585. type: array
  24586. "500":
  24587. description: Internal Server Error
  24588. schema:
  24589. $ref: '#/definitions/app.Response'
  24590. security:
  24591. - ApiKeyAuth: []
  24592. summary: 查询团队订单(我的团队/团队订单)
  24593. tags:
  24594. - 大连千海金
  24595. /Qhj/QueryParentAreaList:
  24596. get:
  24597. parameters:
  24598. - description: 用户ID
  24599. in: query
  24600. name: userid
  24601. required: true
  24602. type: integer
  24603. produces:
  24604. - application/json
  24605. responses:
  24606. "200":
  24607. description: OK
  24608. schema:
  24609. items:
  24610. $ref: '#/definitions/models.QhjParentAreaList'
  24611. type: array
  24612. "500":
  24613. description: Internal Server Error
  24614. schema:
  24615. $ref: '#/definitions/app.Response'
  24616. security:
  24617. - ApiKeyAuth: []
  24618. summary: 查询所属机构列表
  24619. tags:
  24620. - 大连千海金
  24621. /Qhj/QueryPayOrder:
  24622. get:
  24623. parameters:
  24624. - description: 资金账号id
  24625. in: query
  24626. name: accountid
  24627. required: true
  24628. type: integer
  24629. - description: 成交单号
  24630. in: query
  24631. name: tradeid
  24632. type: integer
  24633. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24634. in: query
  24635. name: payflag
  24636. type: string
  24637. produces:
  24638. - application/json
  24639. responses:
  24640. "200":
  24641. description: OK
  24642. schema:
  24643. items:
  24644. $ref: '#/definitions/models.QhjPayOrder'
  24645. type: array
  24646. "500":
  24647. description: Internal Server Error
  24648. schema:
  24649. $ref: '#/definitions/app.Response'
  24650. security:
  24651. - ApiKeyAuth: []
  24652. summary: 查询待付款单据
  24653. tags:
  24654. - 大连千海金
  24655. /Qhj/QueryPickArea:
  24656. get:
  24657. parameters:
  24658. - description: 用户ID
  24659. in: query
  24660. name: userid
  24661. type: integer
  24662. produces:
  24663. - application/json
  24664. responses:
  24665. "200":
  24666. description: OK
  24667. schema:
  24668. items:
  24669. $ref: '#/definitions/models.QhjPickArea'
  24670. type: array
  24671. "500":
  24672. description: Internal Server Error
  24673. schema:
  24674. $ref: '#/definitions/app.Response'
  24675. security:
  24676. - ApiKeyAuth: []
  24677. summary: 查询提货门店
  24678. tags:
  24679. - 大连千海金
  24680. /Qhj/QueryPickGoods:
  24681. get:
  24682. parameters:
  24683. - description: 交易商品id
  24684. in: query
  24685. name: goodsid
  24686. required: true
  24687. type: integer
  24688. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24689. in: query
  24690. name: status
  24691. type: string
  24692. produces:
  24693. - application/json
  24694. responses:
  24695. "200":
  24696. description: OK
  24697. schema:
  24698. items:
  24699. $ref: '#/definitions/models.QhjPickGoods'
  24700. type: array
  24701. "500":
  24702. description: Internal Server Error
  24703. schema:
  24704. $ref: '#/definitions/app.Response'
  24705. security:
  24706. - ApiKeyAuth: []
  24707. summary: 查询提货商品
  24708. tags:
  24709. - 大连千海金
  24710. /Qhj/QueryRSTriggerLog:
  24711. get:
  24712. parameters:
  24713. - description: 用户ID
  24714. in: query
  24715. name: userid
  24716. type: integer
  24717. - description: 定投策略id
  24718. in: query
  24719. name: regularlystrategyid
  24720. type: integer
  24721. - description: 商品id
  24722. in: query
  24723. name: goodsid
  24724. type: integer
  24725. - description: 开始交易日(yyyymmdd)
  24726. in: query
  24727. name: begindate
  24728. type: string
  24729. - description: 结束交易日(yyyymmdd)
  24730. in: query
  24731. name: enddate
  24732. type: string
  24733. - description: 名称(模糊搜索账户)
  24734. in: query
  24735. name: filtername
  24736. type: string
  24737. produces:
  24738. - application/json
  24739. responses:
  24740. "200":
  24741. description: OK
  24742. schema:
  24743. items:
  24744. $ref: '#/definitions/models.QhjRSTriggerLog'
  24745. type: array
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询定投记录(定投管理/详情/定投记录)
  24753. tags:
  24754. - 大连千海金
  24755. /Qhj/QueryRStrategy:
  24756. get:
  24757. parameters:
  24758. - description: 用户ID
  24759. in: query
  24760. name: userid
  24761. type: integer
  24762. - description: 商品id
  24763. in: query
  24764. name: goodsid
  24765. type: integer
  24766. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24767. in: query
  24768. name: status
  24769. type: string
  24770. - description: 名称(模糊搜索账户)
  24771. in: query
  24772. name: filtername
  24773. type: string
  24774. produces:
  24775. - application/json
  24776. responses:
  24777. "200":
  24778. description: OK
  24779. schema:
  24780. items:
  24781. $ref: '#/definitions/models.QhjRStrategy'
  24782. type: array
  24783. "500":
  24784. description: Internal Server Error
  24785. schema:
  24786. $ref: '#/definitions/app.Response'
  24787. security:
  24788. - ApiKeyAuth: []
  24789. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24790. tags:
  24791. - 大连千海金
  24792. /Qhj/QueryReckonPriceLog:
  24793. get:
  24794. parameters:
  24795. - description: 商品ID
  24796. in: query
  24797. name: goodsid
  24798. type: integer
  24799. - description: 交易日 格式(yyyymmdd)
  24800. in: query
  24801. name: tradedate
  24802. type: string
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/models.QhjReckonPriceLog'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询定投价(结算价)
  24819. tags:
  24820. - 大连千海金
  24821. /Qhj/QueryScoreLog:
  24822. get:
  24823. parameters:
  24824. - description: 用户ID
  24825. in: query
  24826. name: userid
  24827. required: true
  24828. type: integer
  24829. - description: 开始交易日(yyyymmdd)
  24830. in: query
  24831. name: begindate
  24832. type: string
  24833. - description: 结束交易日(yyyymmdd)
  24834. in: query
  24835. name: enddate
  24836. type: string
  24837. - description: 最近多少条
  24838. in: query
  24839. name: lastnum
  24840. type: integer
  24841. produces:
  24842. - application/json
  24843. responses:
  24844. "200":
  24845. description: OK
  24846. schema:
  24847. items:
  24848. $ref: '#/definitions/models.QhjScoreLog'
  24849. type: array
  24850. "500":
  24851. description: Internal Server Error
  24852. schema:
  24853. $ref: '#/definitions/app.Response'
  24854. security:
  24855. - ApiKeyAuth: []
  24856. summary: 查询积分流水(我的积分)
  24857. tags:
  24858. - 大连千海金
  24859. /Qhj/QuerySiteColumnDetail:
  24860. get:
  24861. parameters:
  24862. - description: 用户ID
  24863. in: query
  24864. name: userid
  24865. required: true
  24866. type: integer
  24867. produces:
  24868. - application/json
  24869. responses:
  24870. "200":
  24871. description: OK
  24872. schema:
  24873. items:
  24874. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24875. type: array
  24876. "500":
  24877. description: Internal Server Error
  24878. schema:
  24879. $ref: '#/definitions/app.Response'
  24880. security:
  24881. - ApiKeyAuth: []
  24882. summary: 查询资讯
  24883. tags:
  24884. - 大连千海金
  24885. /Qhj/QueryTradeGoodsPickup:
  24886. get:
  24887. parameters:
  24888. - description: 用户ID
  24889. in: query
  24890. name: userid
  24891. required: true
  24892. type: integer
  24893. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24894. in: query
  24895. name: takeorderstatus
  24896. type: integer
  24897. produces:
  24898. - application/json
  24899. responses:
  24900. "200":
  24901. description: OK
  24902. schema:
  24903. items:
  24904. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24905. type: array
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 查询提货
  24913. tags:
  24914. - 大连千海金
  24915. /Qhj/QueryUserCollectConfig:
  24916. get:
  24917. parameters:
  24918. - description: 用户ID
  24919. in: query
  24920. name: userid
  24921. required: true
  24922. type: integer
  24923. produces:
  24924. - application/json
  24925. responses:
  24926. "200":
  24927. description: OK
  24928. schema:
  24929. items:
  24930. $ref: '#/definitions/models.UserCollectConfig'
  24931. type: array
  24932. "500":
  24933. description: Internal Server Error
  24934. schema:
  24935. $ref: '#/definitions/app.Response'
  24936. security:
  24937. - ApiKeyAuth: []
  24938. summary: 查询提现账户设置
  24939. tags:
  24940. - 大连千海金
  24941. /Qhj/QueryUserReceiveInfo:
  24942. get:
  24943. parameters:
  24944. - description: 用户ID
  24945. in: query
  24946. name: userid
  24947. required: true
  24948. type: integer
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. items:
  24956. $ref: '#/definitions/models.UserReceiveInfo'
  24957. type: array
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 查询收货地址信息
  24965. tags:
  24966. - 大连千海金
  24967. /QhjMgr/QueryAccountInOutApply:
  24968. get:
  24969. parameters:
  24970. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24971. in: query
  24972. name: querytype
  24973. required: true
  24974. type: integer
  24975. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24976. in: query
  24977. name: applystatus
  24978. type: integer
  24979. - description: 申请起始日期(格式yyyymmdd)
  24980. in: query
  24981. name: begindate
  24982. type: string
  24983. - description: 申请截止日期(格式yyyymmdd)
  24984. in: query
  24985. name: enddate
  24986. type: string
  24987. - description: 模糊搜索名称
  24988. in: query
  24989. name: likename
  24990. type: string
  24991. produces:
  24992. - application/json
  24993. responses:
  24994. "200":
  24995. description: OK
  24996. schema:
  24997. items:
  24998. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24999. type: array
  25000. "500":
  25001. description: Internal Server Error
  25002. schema:
  25003. $ref: '#/definitions/app.Response'
  25004. security:
  25005. - ApiKeyAuth: []
  25006. summary: 查询充值提现
  25007. tags:
  25008. - 大连千海金(PCWeb)
  25009. /QhjMgr/QueryBrokerApply:
  25010. get:
  25011. parameters:
  25012. - description: 所属机构ID
  25013. in: query
  25014. name: userid
  25015. type: integer
  25016. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25017. in: query
  25018. name: filterstatus
  25019. type: string
  25020. - description: 名称(模糊匹配)
  25021. in: query
  25022. name: filtername
  25023. type: string
  25024. - description: 是否包含子级 1-包含
  25025. in: query
  25026. name: includesub
  25027. type: integer
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. items:
  25035. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25036. type: array
  25037. "500":
  25038. description: Internal Server Error
  25039. schema:
  25040. $ref: '#/definitions/app.Response'
  25041. security:
  25042. - ApiKeyAuth: []
  25043. summary: 查询经纪人申请
  25044. tags:
  25045. - 大连千海金(PCWeb)
  25046. /QhjMgr/QueryBrokerRewardReport:
  25047. get:
  25048. parameters:
  25049. - description: 所属机构ID
  25050. in: query
  25051. name: userid
  25052. required: true
  25053. type: integer
  25054. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25055. in: query
  25056. name: cycletype
  25057. required: true
  25058. type: integer
  25059. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25060. in: query
  25061. name: cycletime
  25062. required: true
  25063. type: string
  25064. - description: 名称(模糊匹配)
  25065. in: query
  25066. name: filtername
  25067. type: string
  25068. - description: 是否包含子级 1-包含
  25069. in: query
  25070. name: includesub
  25071. type: integer
  25072. produces:
  25073. - application/json
  25074. responses:
  25075. "200":
  25076. description: OK
  25077. schema:
  25078. items:
  25079. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25080. type: array
  25081. "500":
  25082. description: Internal Server Error
  25083. schema:
  25084. $ref: '#/definitions/app.Response'
  25085. security:
  25086. - ApiKeyAuth: []
  25087. summary: 查询经纪人奖励报表(废弃)
  25088. tags:
  25089. - 大连千海金(PCWeb)
  25090. /QhjMgr/QueryContract:
  25091. get:
  25092. parameters:
  25093. - description: 用户ID
  25094. in: query
  25095. name: userid
  25096. type: integer
  25097. - description: 商品id
  25098. in: query
  25099. name: goodsid
  25100. type: integer
  25101. - description: 名称(模糊搜索账户)
  25102. in: query
  25103. name: filtername
  25104. type: string
  25105. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25106. in: query
  25107. name: risklevel
  25108. type: string
  25109. - description: 开始交易日(yyyymmdd)
  25110. in: query
  25111. name: begindate
  25112. type: string
  25113. - description: 结束交易日(yyyymmdd)
  25114. in: query
  25115. name: enddate
  25116. type: string
  25117. produces:
  25118. - application/json
  25119. responses:
  25120. "200":
  25121. description: OK
  25122. schema:
  25123. items:
  25124. $ref: '#/definitions/models.QhjMgrContract'
  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. - 大连千海金(PCWeb)
  25135. /QhjMgr/QueryCustomerInfo:
  25136. get:
  25137. parameters:
  25138. - description: 用户ID
  25139. in: query
  25140. name: userid
  25141. required: true
  25142. type: integer
  25143. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25144. in: query
  25145. name: querytype
  25146. required: true
  25147. type: integer
  25148. - description: 客户类型 1-个人 2-企业
  25149. in: query
  25150. name: userinfotype
  25151. type: integer
  25152. - description: 客户名称(模糊匹配)
  25153. in: query
  25154. name: customername
  25155. type: string
  25156. - description: 昵称(模糊匹配)
  25157. in: query
  25158. name: nickname
  25159. type: string
  25160. - description: 所属客户经理(模糊匹配)
  25161. in: query
  25162. name: brokername
  25163. type: string
  25164. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25165. in: query
  25166. name: birthday
  25167. type: string
  25168. - description: 是否包含子级 1-包含
  25169. in: query
  25170. name: includesub
  25171. type: integer
  25172. produces:
  25173. - application/json
  25174. responses:
  25175. "200":
  25176. description: OK
  25177. schema:
  25178. items:
  25179. $ref: '#/definitions/models.QhjMgrCustomer'
  25180. type: array
  25181. "500":
  25182. description: Internal Server Error
  25183. schema:
  25184. $ref: '#/definitions/app.Response'
  25185. security:
  25186. - ApiKeyAuth: []
  25187. summary: 查询客户资料
  25188. tags:
  25189. - 大连千海金(PCWeb)
  25190. /QhjMgr/QueryPickGoods:
  25191. get:
  25192. parameters:
  25193. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25194. in: query
  25195. name: status
  25196. type: string
  25197. produces:
  25198. - application/json
  25199. responses:
  25200. "200":
  25201. description: OK
  25202. schema:
  25203. items:
  25204. $ref: '#/definitions/models.QhjMgrPickGoods'
  25205. type: array
  25206. "500":
  25207. description: Internal Server Error
  25208. schema:
  25209. $ref: '#/definitions/app.Response'
  25210. security:
  25211. - ApiKeyAuth: []
  25212. summary: 查询提货商品
  25213. tags:
  25214. - 大连千海金(PCWeb)
  25215. /QhjMgr/QuerySubArea:
  25216. get:
  25217. parameters:
  25218. - description: 用户ID
  25219. in: query
  25220. name: userid
  25221. required: true
  25222. type: integer
  25223. produces:
  25224. - application/json
  25225. responses:
  25226. "200":
  25227. description: OK
  25228. schema:
  25229. items:
  25230. $ref: '#/definitions/models.QhjMgrSubArea'
  25231. type: array
  25232. "500":
  25233. description: Internal Server Error
  25234. schema:
  25235. $ref: '#/definitions/app.Response'
  25236. security:
  25237. - ApiKeyAuth: []
  25238. summary: 查询子机构列表
  25239. tags:
  25240. - 大连千海金(PCWeb)
  25241. /QhjMgr/QueryTradeDetail:
  25242. get:
  25243. parameters:
  25244. - description: 用户ID
  25245. in: query
  25246. name: userid
  25247. required: true
  25248. type: integer
  25249. - description: 用户类型 1-个人 2-企业
  25250. in: query
  25251. name: userinfotype
  25252. type: integer
  25253. - description: 交易模式
  25254. in: query
  25255. name: trademode
  25256. type: integer
  25257. - description: 商品id
  25258. in: query
  25259. name: goodsid
  25260. type: integer
  25261. - description: 名称(模糊搜索账户)
  25262. in: query
  25263. name: filtername
  25264. type: string
  25265. - description: 开始交易日(yyyymmdd)
  25266. in: query
  25267. name: begindate
  25268. type: string
  25269. - description: 结束交易日(yyyymmdd)
  25270. in: query
  25271. name: enddate
  25272. type: string
  25273. - description: 是否包含子级 1-包含
  25274. in: query
  25275. name: includesub
  25276. type: integer
  25277. produces:
  25278. - application/json
  25279. responses:
  25280. "200":
  25281. description: OK
  25282. schema:
  25283. items:
  25284. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25285. type: array
  25286. "500":
  25287. description: Internal Server Error
  25288. schema:
  25289. $ref: '#/definitions/app.Response'
  25290. security:
  25291. - ApiKeyAuth: []
  25292. summary: 查询成交明细
  25293. tags:
  25294. - 大连千海金(PCWeb)
  25295. /QhjMgr/QueryTradeOrderDetail:
  25296. get:
  25297. parameters:
  25298. - description: 用户ID
  25299. in: query
  25300. name: userid
  25301. required: true
  25302. type: integer
  25303. - description: 用户类型 1-个人 2-企业
  25304. in: query
  25305. name: userinfotype
  25306. type: integer
  25307. - description: 交易模式
  25308. in: query
  25309. name: trademode
  25310. type: integer
  25311. - description: 商品id
  25312. in: query
  25313. name: goodsid
  25314. type: integer
  25315. - description: 名称(模糊搜索账户)
  25316. in: query
  25317. name: filtername
  25318. type: string
  25319. - description: 开始交易日(yyyymmdd)
  25320. in: query
  25321. name: begindate
  25322. type: string
  25323. - description: 结束交易日(yyyymmdd)
  25324. in: query
  25325. name: enddate
  25326. type: string
  25327. - description: 是否包含子级 1-包含
  25328. in: query
  25329. name: includesub
  25330. type: integer
  25331. produces:
  25332. - application/json
  25333. responses:
  25334. "200":
  25335. description: OK
  25336. schema:
  25337. items:
  25338. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25339. type: array
  25340. "500":
  25341. description: Internal Server Error
  25342. schema:
  25343. $ref: '#/definitions/app.Response'
  25344. security:
  25345. - ApiKeyAuth: []
  25346. summary: 查询委托明细
  25347. tags:
  25348. - 大连千海金(PCWeb)
  25349. /QhjMgr/QueryTradePayOrder:
  25350. get:
  25351. parameters:
  25352. - description: 用户ID
  25353. in: query
  25354. name: userid
  25355. required: true
  25356. type: integer
  25357. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25358. in: query
  25359. name: payflag
  25360. type: string
  25361. - description: 用户类型 1-个人 2-企业
  25362. in: query
  25363. name: userinfotype
  25364. type: integer
  25365. - description: 交易模式
  25366. in: query
  25367. name: trademode
  25368. type: integer
  25369. - description: 商品id
  25370. in: query
  25371. name: goodsid
  25372. type: integer
  25373. - description: 名称(模糊搜索账户)
  25374. in: query
  25375. name: filtername
  25376. type: string
  25377. - description: 开始交易日(yyyymmdd)
  25378. in: query
  25379. name: begindate
  25380. type: string
  25381. - description: 结束交易日(yyyymmdd)
  25382. in: query
  25383. name: enddate
  25384. type: string
  25385. - description: 是否包含子级 1-包含
  25386. in: query
  25387. name: includesub
  25388. type: integer
  25389. produces:
  25390. - application/json
  25391. responses:
  25392. "200":
  25393. description: OK
  25394. schema:
  25395. items:
  25396. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25397. type: array
  25398. "500":
  25399. description: Internal Server Error
  25400. schema:
  25401. $ref: '#/definitions/app.Response'
  25402. security:
  25403. - ApiKeyAuth: []
  25404. summary: 查询待付款单
  25405. tags:
  25406. - 大连千海金(PCWeb)
  25407. /QhjMgr/QueryTradePosition:
  25408. get:
  25409. parameters:
  25410. - description: 用户ID
  25411. in: query
  25412. name: userid
  25413. required: true
  25414. type: integer
  25415. - description: 用户类型 1-个人 2-企业
  25416. in: query
  25417. name: userinfotype
  25418. type: integer
  25419. - description: 交易模式
  25420. in: query
  25421. name: trademode
  25422. type: integer
  25423. - description: 商品id
  25424. in: query
  25425. name: goodsid
  25426. type: integer
  25427. - description: 名称(模糊搜索账户)
  25428. in: query
  25429. name: filtername
  25430. type: string
  25431. - description: 是否包含子级 1-包含
  25432. in: query
  25433. name: includesub
  25434. type: integer
  25435. produces:
  25436. - application/json
  25437. responses:
  25438. "200":
  25439. description: OK
  25440. schema:
  25441. items:
  25442. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25443. type: array
  25444. "500":
  25445. description: Internal Server Error
  25446. schema:
  25447. $ref: '#/definitions/app.Response'
  25448. security:
  25449. - ApiKeyAuth: []
  25450. summary: 查询持仓汇总
  25451. tags:
  25452. - 大连千海金(PCWeb)
  25453. /QhjSys/QueryAgreementChangeLog:
  25454. get:
  25455. parameters:
  25456. - description: 协议ID
  25457. in: query
  25458. name: agreementid
  25459. type: integer
  25460. - description: 协议版本号
  25461. in: query
  25462. name: agreementversion
  25463. type: integer
  25464. - description: 协议类型 - 1:注册 2:登录 3:交易
  25465. in: query
  25466. name: agreementtype
  25467. type: integer
  25468. - description: 协议编号(模糊匹配)
  25469. in: query
  25470. name: agreementno
  25471. type: string
  25472. - description: 协议名称(模糊匹配)
  25473. in: query
  25474. name: agreementname
  25475. type: string
  25476. produces:
  25477. - application/json
  25478. responses:
  25479. "200":
  25480. description: OK
  25481. schema:
  25482. items:
  25483. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25484. type: array
  25485. "500":
  25486. description: Internal Server Error
  25487. schema:
  25488. $ref: '#/definitions/app.Response'
  25489. security:
  25490. - ApiKeyAuth: []
  25491. summary: 查询协议配置变更流水
  25492. tags:
  25493. - 大连千海金(协议和签约信息)
  25494. /QhjSys/QueryAgreementConfig:
  25495. get:
  25496. parameters:
  25497. - description: 协议ID
  25498. in: query
  25499. name: agreementid
  25500. type: integer
  25501. - description: 协议版本号
  25502. in: query
  25503. name: agreementversion
  25504. type: integer
  25505. - description: 协议类型 - 1:注册 2:登录 3:交易
  25506. in: query
  25507. name: agreementtype
  25508. type: integer
  25509. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25510. in: query
  25511. name: isvalid
  25512. type: integer
  25513. - description: 协议编号(模糊匹配)
  25514. in: query
  25515. name: agreementno
  25516. type: string
  25517. - description: 协议名称(模糊匹配)
  25518. in: query
  25519. name: agreementname
  25520. type: string
  25521. produces:
  25522. - application/json
  25523. responses:
  25524. "200":
  25525. description: OK
  25526. schema:
  25527. items:
  25528. $ref: '#/definitions/models.QhjAgreementConfig'
  25529. type: array
  25530. "500":
  25531. description: Internal Server Error
  25532. schema:
  25533. $ref: '#/definitions/app.Response'
  25534. security:
  25535. - ApiKeyAuth: []
  25536. summary: 查询协议配置
  25537. tags:
  25538. - 大连千海金(协议和签约信息)
  25539. /QhjSys/QueryCustomerSignStatus:
  25540. get:
  25541. parameters:
  25542. - description: 客户ID
  25543. in: query
  25544. name: userid
  25545. type: integer
  25546. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25547. in: query
  25548. name: nodetype
  25549. type: integer
  25550. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25551. in: query
  25552. name: goodsid
  25553. type: integer
  25554. - description: 创建交易日(yyyyMMdd)
  25555. in: query
  25556. name: tradedate
  25557. type: string
  25558. - description: 用户名称(模糊匹配)
  25559. in: query
  25560. name: username
  25561. type: string
  25562. produces:
  25563. - application/json
  25564. responses:
  25565. "200":
  25566. description: OK
  25567. schema:
  25568. items:
  25569. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25570. type: array
  25571. "500":
  25572. description: Internal Server Error
  25573. schema:
  25574. $ref: '#/definitions/app.Response'
  25575. security:
  25576. - ApiKeyAuth: []
  25577. summary: 查询客户协议签约状态
  25578. tags:
  25579. - 大连千海金(协议和签约信息)
  25580. /QhjSys/QueryNodeAgreementConfig:
  25581. get:
  25582. parameters:
  25583. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25584. in: query
  25585. name: configid
  25586. type: integer
  25587. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25588. in: query
  25589. name: nodetype
  25590. type: integer
  25591. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25592. in: query
  25593. name: goodsid
  25594. type: integer
  25595. - description: 协议ID
  25596. in: query
  25597. name: agreementid
  25598. type: integer
  25599. - description: 协议类型 - 1:注册 2:登录 3:交易
  25600. in: query
  25601. name: agreementtype
  25602. type: integer
  25603. - description: 协议版本号
  25604. in: query
  25605. name: agreementversion
  25606. type: integer
  25607. - description: 协议编号(模糊匹配)
  25608. in: query
  25609. name: agreementno
  25610. type: string
  25611. - description: 协议名称(模糊匹配)
  25612. in: query
  25613. name: agreementname
  25614. type: string
  25615. produces:
  25616. - application/json
  25617. responses:
  25618. "200":
  25619. description: OK
  25620. schema:
  25621. items:
  25622. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25623. type: array
  25624. "500":
  25625. description: Internal Server Error
  25626. schema:
  25627. $ref: '#/definitions/app.Response'
  25628. security:
  25629. - ApiKeyAuth: []
  25630. summary: 查询协议节点配置
  25631. tags:
  25632. - 大连千海金(协议和签约信息)
  25633. /QhjSys/QueryQhjCustomerSignLog:
  25634. get:
  25635. parameters:
  25636. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25637. in: query
  25638. name: logid
  25639. type: integer
  25640. - description: 客户ID
  25641. in: query
  25642. name: userid
  25643. type: integer
  25644. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25645. in: query
  25646. name: nodetype
  25647. type: integer
  25648. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25649. in: query
  25650. name: goodsid
  25651. type: integer
  25652. - description: 协议ID
  25653. in: query
  25654. name: agreementid
  25655. type: integer
  25656. - description: 用户名称(模糊匹配)
  25657. in: query
  25658. name: username
  25659. type: string
  25660. - description: 协议编号(模糊匹配)
  25661. in: query
  25662. name: agreementno
  25663. type: string
  25664. - description: 协议名称(模糊匹配)
  25665. in: query
  25666. name: agreementname
  25667. type: string
  25668. produces:
  25669. - application/json
  25670. responses:
  25671. "200":
  25672. description: OK
  25673. schema:
  25674. items:
  25675. $ref: '#/definitions/models.QhjCustomerSignLog'
  25676. type: array
  25677. "500":
  25678. description: Internal Server Error
  25679. schema:
  25680. $ref: '#/definitions/app.Response'
  25681. security:
  25682. - ApiKeyAuth: []
  25683. summary: 查询客户协议签约流水
  25684. tags:
  25685. - 大连千海金(协议和签约信息)
  25686. /QhjSys/QueryUserNodeCfgAndStatus:
  25687. get:
  25688. parameters:
  25689. - description: 客户ID
  25690. in: query
  25691. name: userid
  25692. type: integer
  25693. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25694. in: query
  25695. name: configid
  25696. type: integer
  25697. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25698. in: query
  25699. name: nodetype
  25700. type: string
  25701. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25702. in: query
  25703. name: goodsid
  25704. type: integer
  25705. - description: 协议ID
  25706. in: query
  25707. name: agreementid
  25708. type: integer
  25709. - description: 协议类型 - 1:注册 2:登录 3:交易
  25710. in: query
  25711. name: agreementtype
  25712. type: integer
  25713. - description: 协议版本号
  25714. in: query
  25715. name: agreementversion
  25716. type: integer
  25717. - description: 协议编号(模糊匹配)
  25718. in: query
  25719. name: agreementno
  25720. type: string
  25721. - description: 协议名称(模糊匹配)
  25722. in: query
  25723. name: agreementname
  25724. type: string
  25725. produces:
  25726. - application/json
  25727. responses:
  25728. "200":
  25729. description: OK
  25730. schema:
  25731. items:
  25732. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25733. type: array
  25734. "500":
  25735. description: Internal Server Error
  25736. schema:
  25737. $ref: '#/definitions/app.Response'
  25738. security:
  25739. - ApiKeyAuth: []
  25740. summary: 查询用户协议节点配置和状态
  25741. tags:
  25742. - 大连千海金(协议和签约信息)
  25743. /Quote/QueryHistoryDatas:
  25744. get:
  25745. parameters:
  25746. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25747. in: query
  25748. name: cycleType
  25749. required: true
  25750. type: integer
  25751. - description: 商品代码
  25752. in: query
  25753. name: goodsCode
  25754. required: true
  25755. type: string
  25756. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25757. in: query
  25758. name: startTime
  25759. type: string
  25760. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25761. in: query
  25762. name: endTime
  25763. type: string
  25764. - description: 条数
  25765. in: query
  25766. name: count
  25767. type: integer
  25768. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25769. in: query
  25770. name: isAsc
  25771. type: boolean
  25772. produces:
  25773. - application/json
  25774. responses:
  25775. "200":
  25776. description: OK
  25777. schema:
  25778. $ref: '#/definitions/quote.HistoryData'
  25779. "500":
  25780. description: Internal Server Error
  25781. schema:
  25782. $ref: '#/definitions/app.Response'
  25783. security:
  25784. - ApiKeyAuth: []
  25785. summary: 查询行情历史数据
  25786. tags:
  25787. - 行情服务
  25788. /Quote/QueryHistoryTikDatas:
  25789. get:
  25790. parameters:
  25791. - description: 商品代码
  25792. in: query
  25793. name: goodsCode
  25794. required: true
  25795. type: string
  25796. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25797. in: query
  25798. name: startTime
  25799. type: string
  25800. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25801. in: query
  25802. name: endTime
  25803. type: string
  25804. - description: 条数
  25805. in: query
  25806. name: count
  25807. type: integer
  25808. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25809. in: query
  25810. name: isAsc
  25811. type: boolean
  25812. produces:
  25813. - application/json
  25814. responses:
  25815. "200":
  25816. description: OK
  25817. schema:
  25818. $ref: '#/definitions/quote.HistoryTikData'
  25819. "500":
  25820. description: Internal Server Error
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. security:
  25824. - ApiKeyAuth: []
  25825. summary: 查询行情Tik数据
  25826. tags:
  25827. - 行情服务
  25828. /Quote/QueryQuoteDay:
  25829. get:
  25830. parameters:
  25831. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25832. in: query
  25833. name: goodsCodes
  25834. type: string
  25835. produces:
  25836. - application/json
  25837. responses:
  25838. "200":
  25839. description: OK
  25840. schema:
  25841. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25842. "500":
  25843. description: Internal Server Error
  25844. schema:
  25845. $ref: '#/definitions/app.Response'
  25846. security:
  25847. - ApiKeyAuth: []
  25848. summary: 获取商品盘面信息
  25849. tags:
  25850. - 行情服务
  25851. /Quote/QueryTSData:
  25852. get:
  25853. parameters:
  25854. - description: 商品代码
  25855. in: query
  25856. name: goodsCode
  25857. required: true
  25858. type: string
  25859. produces:
  25860. - application/json
  25861. responses:
  25862. "200":
  25863. description: OK
  25864. schema:
  25865. $ref: '#/definitions/quote.QueryTSDataRsp'
  25866. "500":
  25867. description: Internal Server Error
  25868. schema:
  25869. $ref: '#/definitions/app.Response'
  25870. security:
  25871. - ApiKeyAuth: []
  25872. summary: 分时图数据查询
  25873. tags:
  25874. - 行情服务
  25875. /SZDZ/QueryConvertConfig:
  25876. get:
  25877. parameters:
  25878. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25879. in: query
  25880. name: convertType
  25881. type: integer
  25882. - description: 外部商品代码[JD\PD]
  25883. in: query
  25884. name: outerGoodsCode
  25885. type: string
  25886. - description: 内部商品ID列表[交易],格式:1,2,3
  25887. in: query
  25888. name: innerGoodsIDs
  25889. type: string
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. $ref: '#/definitions/models.Szdz3convertconfig'
  25897. "500":
  25898. description: Internal Server Error
  25899. schema:
  25900. $ref: '#/definitions/app.Response'
  25901. security:
  25902. - ApiKeyAuth: []
  25903. summary: 查询交易系统转换设置
  25904. tags:
  25905. - 定制【尚志大宗】
  25906. /SZDZ/QueryConvertLog:
  25907. get:
  25908. parameters:
  25909. - description: 资金账户 - 格式:1,2,3
  25910. in: query
  25911. name: accountID
  25912. required: true
  25913. type: string
  25914. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25915. in: query
  25916. name: startDate
  25917. type: string
  25918. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25919. in: query
  25920. name: endDate
  25921. type: string
  25922. produces:
  25923. - application/json
  25924. responses:
  25925. "200":
  25926. description: OK
  25927. schema:
  25928. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25929. "500":
  25930. description: Internal Server Error
  25931. schema:
  25932. $ref: '#/definitions/app.Response'
  25933. security:
  25934. - ApiKeyAuth: []
  25935. summary: 交易系统转换流水查询
  25936. tags:
  25937. - 定制【尚志大宗】
  25938. /SZDZ/QueryGoodsPickup:
  25939. get:
  25940. parameters:
  25941. - description: 资金账户 - 格式:1,2,3
  25942. in: query
  25943. name: accountID
  25944. required: true
  25945. type: string
  25946. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25947. in: query
  25948. name: takeOrderStatus
  25949. type: integer
  25950. produces:
  25951. - application/json
  25952. responses:
  25953. "200":
  25954. description: OK
  25955. schema:
  25956. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25957. "500":
  25958. description: Internal Server Error
  25959. schema:
  25960. $ref: '#/definitions/app.Response'
  25961. security:
  25962. - ApiKeyAuth: []
  25963. summary: 商品提货单查询
  25964. tags:
  25965. - 定制【尚志大宗】
  25966. /SZDZ/QueryRecieptOrder:
  25967. get:
  25968. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25969. parameters:
  25970. - description: 页码
  25971. in: query
  25972. name: page
  25973. type: integer
  25974. - description: 每页条数
  25975. in: query
  25976. name: pagesize
  25977. type: integer
  25978. - description: 商品ID
  25979. in: query
  25980. name: goodsID
  25981. required: true
  25982. type: integer
  25983. - description: 所属账户名称
  25984. in: query
  25985. name: accountName
  25986. type: string
  25987. - description: 市场ID
  25988. in: query
  25989. name: marketID
  25990. type: integer
  25991. - description: 方向 - 0:买 1:卖
  25992. in: query
  25993. name: buyorsell
  25994. required: true
  25995. type: integer
  25996. produces:
  25997. - application/json
  25998. responses:
  25999. "200":
  26000. description: OK
  26001. schema:
  26002. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26003. "500":
  26004. description: Internal Server Error
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. security:
  26008. - ApiKeyAuth: []
  26009. summary: 点选挂牌委托单据查询(摘牌大厅)
  26010. tags:
  26011. - 定制【尚志大宗】
  26012. /SZDZ/QuerySZDZTradePosition:
  26013. get:
  26014. parameters:
  26015. - description: 资金账户
  26016. in: query
  26017. name: accountID
  26018. required: true
  26019. type: integer
  26020. produces:
  26021. - application/json
  26022. responses:
  26023. "200":
  26024. description: OK
  26025. schema:
  26026. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26027. "500":
  26028. description: Internal Server Error
  26029. schema:
  26030. $ref: '#/definitions/app.Response'
  26031. security:
  26032. - ApiKeyAuth: []
  26033. summary: 持仓汇总查询(尚志大宗)
  26034. tags:
  26035. - 定制【尚志大宗】
  26036. /SZDZ/SearchWhite:
  26037. get:
  26038. parameters:
  26039. - description: 用户ID
  26040. in: query
  26041. name: userID
  26042. required: true
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26051. "500":
  26052. description: Internal Server Error
  26053. schema:
  26054. $ref: '#/definitions/app.Response'
  26055. security:
  26056. - ApiKeyAuth: []
  26057. summary: 搜索白名单
  26058. tags:
  26059. - 定制【尚志大宗】
  26060. /Search/SearchGoodses:
  26061. get:
  26062. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26063. parameters:
  26064. - description: 检索内容
  26065. in: query
  26066. name: content
  26067. required: true
  26068. type: string
  26069. - description: 交易模式,格式:1,2,3
  26070. in: query
  26071. name: tradeModes
  26072. type: string
  26073. produces:
  26074. - application/json
  26075. responses:
  26076. "200":
  26077. description: OK
  26078. schema:
  26079. $ref: '#/definitions/models.SearchGoods'
  26080. "500":
  26081. description: Internal Server Error
  26082. schema:
  26083. $ref: '#/definitions/app.Response'
  26084. summary: 检索商品信息
  26085. tags:
  26086. - 检索服务
  26087. /TaAccount/GetTaAccounts:
  26088. get:
  26089. parameters:
  26090. - description: 登录账户
  26091. in: query
  26092. name: loginID
  26093. required: true
  26094. type: integer
  26095. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26096. in: query
  26097. name: taAccountType
  26098. type: integer
  26099. produces:
  26100. - application/json
  26101. responses:
  26102. "200":
  26103. description: OK
  26104. schema:
  26105. $ref: '#/definitions/models.Taaccount'
  26106. "500":
  26107. description: Internal Server Error
  26108. schema:
  26109. $ref: '#/definitions/app.Response'
  26110. security:
  26111. - ApiKeyAuth: []
  26112. summary: 获取资金账户信息
  26113. tags:
  26114. - 资金账户
  26115. /TaAccount/QueryAmountLog:
  26116. get:
  26117. parameters:
  26118. - description: 页码
  26119. in: query
  26120. name: page
  26121. type: integer
  26122. - description: 每页条数
  26123. in: query
  26124. name: pagesize
  26125. type: integer
  26126. - description: 资金账户 - 格式:1,2,3
  26127. in: query
  26128. name: accountID
  26129. required: true
  26130. type: string
  26131. - description: 资金操作类型 - 格式:1,2,3
  26132. in: query
  26133. name: OperateType
  26134. type: string
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 资金流水查询(当前)
  26149. tags:
  26150. - 资金账户
  26151. /TaAccount/QueryHisAmountLog:
  26152. get:
  26153. parameters:
  26154. - description: 页码
  26155. in: query
  26156. name: page
  26157. type: integer
  26158. - description: 每页条数
  26159. in: query
  26160. name: pagesize
  26161. type: integer
  26162. - description: 资金账户 - 格式:1,2,3
  26163. in: query
  26164. name: accountID
  26165. required: true
  26166. type: string
  26167. - description: 资金操作类型 - 格式:1,2,3
  26168. in: query
  26169. name: OperateType
  26170. type: string
  26171. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26172. in: query
  26173. name: startDate
  26174. type: string
  26175. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26176. in: query
  26177. name: endDate
  26178. type: string
  26179. produces:
  26180. - application/json
  26181. responses:
  26182. "200":
  26183. description: OK
  26184. schema:
  26185. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26186. "500":
  26187. description: Internal Server Error
  26188. schema:
  26189. $ref: '#/definitions/app.Response'
  26190. security:
  26191. - ApiKeyAuth: []
  26192. summary: 资金流水查询(历史)
  26193. tags:
  26194. - 资金账户
  26195. /Tjmd/QueryQuoteGoodsList:
  26196. get:
  26197. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26198. parameters:
  26199. - description: 用户类型
  26200. in: query
  26201. name: usertype
  26202. required: true
  26203. type: integer
  26204. - description: 市场id, 格式 1,2,3
  26205. in: query
  26206. name: marketids
  26207. type: string
  26208. - description: 商品组id
  26209. in: query
  26210. name: goodsgroupid
  26211. type: integer
  26212. - description: 商品id
  26213. in: query
  26214. name: goodsid
  26215. type: integer
  26216. produces:
  26217. - application/json
  26218. responses:
  26219. "200":
  26220. description: OK
  26221. schema:
  26222. items:
  26223. $ref: '#/definitions/models.TjmdQuoteGoods'
  26224. type: array
  26225. "500":
  26226. description: Internal Server Error
  26227. schema:
  26228. $ref: '#/definitions/app.Response'
  26229. security:
  26230. - ApiKeyAuth: []
  26231. summary: 查询掉期报价列表
  26232. tags:
  26233. - 天津麦顿
  26234. /Tjmd/QueryTjmdMarketSection:
  26235. get:
  26236. produces:
  26237. - application/json
  26238. responses:
  26239. "200":
  26240. description: OK
  26241. schema:
  26242. items:
  26243. $ref: '#/definitions/models.TjmdMarketSection'
  26244. type: array
  26245. "500":
  26246. description: Internal Server Error
  26247. schema:
  26248. $ref: '#/definitions/app.Response'
  26249. security:
  26250. - ApiKeyAuth: []
  26251. summary: 查询市场板块
  26252. tags:
  26253. - 天津麦顿
  26254. /Tjmd/QueryTjmdTodayAccountMargin:
  26255. get:
  26256. parameters:
  26257. - description: 市场id
  26258. in: query
  26259. name: marketid
  26260. type: string
  26261. - description: 商品id
  26262. in: query
  26263. name: goodsid
  26264. type: string
  26265. - description: 资金账号
  26266. in: query
  26267. name: accountid
  26268. type: string
  26269. produces:
  26270. - application/json
  26271. responses:
  26272. "200":
  26273. description: OK
  26274. schema:
  26275. items:
  26276. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26277. type: array
  26278. "500":
  26279. description: Internal Server Error
  26280. schema:
  26281. $ref: '#/definitions/app.Response'
  26282. security:
  26283. - ApiKeyAuth: []
  26284. summary: 查询今日账户保证金配置
  26285. tags:
  26286. - 天津麦顿
  26287. /Tjmd/QueryTjmdTradeOrderDetail:
  26288. get:
  26289. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26290. parameters:
  26291. - description: 页码
  26292. in: query
  26293. name: page
  26294. type: integer
  26295. - description: 每页条数
  26296. in: query
  26297. name: pagesize
  26298. type: integer
  26299. - description: 用户id
  26300. in: query
  26301. name: userid
  26302. required: true
  26303. type: integer
  26304. - description: 用户类型
  26305. in: query
  26306. name: usertype
  26307. required: true
  26308. type: integer
  26309. - description: 市场id, 格式 1,2,3
  26310. in: query
  26311. name: marketids
  26312. type: string
  26313. - description: 商品id
  26314. in: query
  26315. name: goodsid
  26316. required: true
  26317. type: integer
  26318. - description: 买卖方向 0-买 1-卖
  26319. in: query
  26320. name: buyorsell
  26321. required: true
  26322. type: integer
  26323. produces:
  26324. - application/json
  26325. responses:
  26326. "200":
  26327. description: OK
  26328. schema:
  26329. items:
  26330. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26331. type: array
  26332. "500":
  26333. description: Internal Server Error
  26334. schema:
  26335. $ref: '#/definitions/app.Response'
  26336. security:
  26337. - ApiKeyAuth: []
  26338. summary: 查询掉期买卖大厅
  26339. tags:
  26340. - 天津麦顿
  26341. /Tjmd/QueryTjmdTransferApply:
  26342. get:
  26343. parameters:
  26344. - description: 类型 1-我的申请 2-对方申请
  26345. in: query
  26346. name: applytype
  26347. required: true
  26348. type: integer
  26349. - description: 市场id, 格式 1,2,3
  26350. in: query
  26351. name: marketids
  26352. type: string
  26353. - description: 资金账号, 格式 25000000001,25000000003
  26354. in: query
  26355. name: accountids
  26356. type: string
  26357. - description: 开始交易日(yyyymmdd)
  26358. in: query
  26359. name: begindate
  26360. type: string
  26361. - description: 结束交易日(yyyymmdd)
  26362. in: query
  26363. name: enddate
  26364. type: string
  26365. produces:
  26366. - application/json
  26367. responses:
  26368. "200":
  26369. description: OK
  26370. schema:
  26371. items:
  26372. $ref: '#/definitions/models.TjmdTransferApply'
  26373. type: array
  26374. "500":
  26375. description: Internal Server Error
  26376. schema:
  26377. $ref: '#/definitions/app.Response'
  26378. security:
  26379. - ApiKeyAuth: []
  26380. summary: 查询掉期协议单
  26381. tags:
  26382. - 天津麦顿
  26383. /Trade/QueryRecieptOrder:
  26384. get:
  26385. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26386. parameters:
  26387. - description: 页码
  26388. in: query
  26389. name: page
  26390. type: integer
  26391. - description: 每页条数
  26392. in: query
  26393. name: pagesize
  26394. type: integer
  26395. - description: 商品ID
  26396. in: query
  26397. name: goodsID
  26398. required: true
  26399. type: integer
  26400. - description: 所属账户名称
  26401. in: query
  26402. name: accountName
  26403. type: string
  26404. - description: 市场ID
  26405. in: query
  26406. name: marketID
  26407. type: integer
  26408. - description: 方向 - 0:买 1:卖
  26409. in: query
  26410. name: buyorsell
  26411. required: true
  26412. type: integer
  26413. produces:
  26414. - application/json
  26415. responses:
  26416. "200":
  26417. description: OK
  26418. schema:
  26419. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26420. "500":
  26421. description: Internal Server Error
  26422. schema:
  26423. $ref: '#/definitions/app.Response'
  26424. security:
  26425. - ApiKeyAuth: []
  26426. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26427. tags:
  26428. - 通用交易
  26429. /User/AddMessageBoard:
  26430. post:
  26431. parameters:
  26432. - description: 用户ID
  26433. in: query
  26434. name: userID
  26435. required: true
  26436. type: integer
  26437. - description: 留言信息
  26438. in: query
  26439. name: message
  26440. required: true
  26441. type: string
  26442. - description: 联系电话
  26443. in: query
  26444. name: contactNum
  26445. required: true
  26446. type: string
  26447. produces:
  26448. - application/json
  26449. responses:
  26450. "200":
  26451. description: OK
  26452. schema:
  26453. $ref: '#/definitions/app.Response'
  26454. "500":
  26455. description: Internal Server Error
  26456. schema:
  26457. $ref: '#/definitions/app.Response'
  26458. security:
  26459. - ApiKeyAuth: []
  26460. summary: 添加用户留言板信息
  26461. tags:
  26462. - 用户信息
  26463. /User/AddUserFavoriteGoods:
  26464. post:
  26465. parameters:
  26466. - description: 用户ID
  26467. in: query
  26468. name: userID
  26469. required: true
  26470. type: integer
  26471. - description: 商品ID
  26472. in: query
  26473. name: goodsID
  26474. required: true
  26475. type: integer
  26476. produces:
  26477. - application/json
  26478. responses:
  26479. "200":
  26480. description: OK
  26481. schema:
  26482. $ref: '#/definitions/app.Response'
  26483. "500":
  26484. description: Internal Server Error
  26485. schema:
  26486. $ref: '#/definitions/app.Response'
  26487. security:
  26488. - ApiKeyAuth: []
  26489. summary: 添加用户商品收藏信息
  26490. tags:
  26491. - 用户信息
  26492. /User/GetLoginID:
  26493. get:
  26494. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26495. parameters:
  26496. - description: 登录代码
  26497. in: query
  26498. name: username
  26499. required: true
  26500. type: string
  26501. produces:
  26502. - application/json
  26503. responses:
  26504. "200":
  26505. description: OK
  26506. schema:
  26507. $ref: '#/definitions/app.Response'
  26508. "500":
  26509. description: Internal Server Error
  26510. schema:
  26511. $ref: '#/definitions/app.Response'
  26512. summary: 获取登录ID
  26513. tags:
  26514. - 用户信息
  26515. /User/GetUserAccount:
  26516. get:
  26517. parameters:
  26518. - description: 用户ID
  26519. in: query
  26520. name: userID
  26521. required: true
  26522. type: integer
  26523. produces:
  26524. - application/json
  26525. responses:
  26526. "200":
  26527. description: OK
  26528. schema:
  26529. $ref: '#/definitions/models.Useraccount'
  26530. "500":
  26531. description: Internal Server Error
  26532. schema:
  26533. $ref: '#/definitions/app.Response'
  26534. security:
  26535. - ApiKeyAuth: []
  26536. summary: 获取用户账号信息
  26537. tags:
  26538. - 用户信息
  26539. /User/GetUserAuthStatus:
  26540. get:
  26541. parameters:
  26542. - description: 用户ID
  26543. in: query
  26544. name: userID
  26545. required: true
  26546. type: integer
  26547. produces:
  26548. - application/json
  26549. responses:
  26550. "200":
  26551. description: OK
  26552. schema:
  26553. $ref: '#/definitions/app.Response'
  26554. "500":
  26555. description: Internal Server Error
  26556. schema:
  26557. $ref: '#/definitions/app.Response'
  26558. security:
  26559. - ApiKeyAuth: []
  26560. summary: 获取用户实名认证状态
  26561. tags:
  26562. - 用户信息
  26563. /User/LoginQuery:
  26564. get:
  26565. parameters:
  26566. - description: 登录账号
  26567. in: query
  26568. name: loginID
  26569. required: true
  26570. type: integer
  26571. produces:
  26572. - application/json
  26573. responses:
  26574. "200":
  26575. description: OK
  26576. schema:
  26577. $ref: '#/definitions/user.LoginQueryRsp'
  26578. "500":
  26579. description: Internal Server Error
  26580. schema:
  26581. $ref: '#/definitions/app.Response'
  26582. security:
  26583. - ApiKeyAuth: []
  26584. summary: 账户登录后信息查询
  26585. tags:
  26586. - 用户信息
  26587. /User/QueryMessageBoard:
  26588. get:
  26589. parameters:
  26590. - description: 用户ID
  26591. in: query
  26592. name: userID
  26593. required: true
  26594. type: integer
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. $ref: '#/definitions/models.Messageboard'
  26602. "500":
  26603. description: Internal Server Error
  26604. schema:
  26605. $ref: '#/definitions/app.Response'
  26606. security:
  26607. - ApiKeyAuth: []
  26608. summary: 获取用户留言板信息
  26609. tags:
  26610. - 用户信息
  26611. /User/QueryUserFavoriteGoodses:
  26612. get:
  26613. parameters:
  26614. - description: 用户ID
  26615. in: query
  26616. name: userID
  26617. required: true
  26618. type: integer
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. $ref: '#/definitions/models.Userfavoritegoods'
  26626. "500":
  26627. description: Internal Server Error
  26628. schema:
  26629. $ref: '#/definitions/app.Response'
  26630. security:
  26631. - ApiKeyAuth: []
  26632. summary: 获取用户商品收藏信息
  26633. tags:
  26634. - 用户信息
  26635. /User/QueryUserInfo:
  26636. get:
  26637. parameters:
  26638. - description: 用户ID
  26639. in: query
  26640. name: userID
  26641. required: true
  26642. type: integer
  26643. - description: 是否解密
  26644. in: query
  26645. name: isDecrypt
  26646. type: boolean
  26647. produces:
  26648. - application/json
  26649. responses:
  26650. "200":
  26651. description: OK
  26652. schema:
  26653. $ref: '#/definitions/models.Userinfo'
  26654. "500":
  26655. description: Internal Server Error
  26656. schema:
  26657. $ref: '#/definitions/app.Response'
  26658. security:
  26659. - ApiKeyAuth: []
  26660. summary: 获取用户信息
  26661. tags:
  26662. - 用户信息
  26663. /User/QueryUserReferNum:
  26664. get:
  26665. parameters:
  26666. - description: 用户ID
  26667. in: query
  26668. name: userID
  26669. required: true
  26670. type: integer
  26671. produces:
  26672. - application/json
  26673. responses:
  26674. "200":
  26675. description: OK
  26676. schema:
  26677. $ref: '#/definitions/app.Response'
  26678. "500":
  26679. description: Internal Server Error
  26680. schema:
  26681. $ref: '#/definitions/app.Response'
  26682. summary: 获取用户邀请码
  26683. tags:
  26684. - 用户信息
  26685. /User/RemoveUserFavoriteGoods:
  26686. post:
  26687. parameters:
  26688. - description: 用户ID
  26689. in: query
  26690. name: userID
  26691. required: true
  26692. type: integer
  26693. - description: 商品ID
  26694. in: query
  26695. name: goodsID
  26696. required: true
  26697. type: integer
  26698. produces:
  26699. - application/json
  26700. responses:
  26701. "200":
  26702. description: OK
  26703. schema:
  26704. $ref: '#/definitions/app.Response'
  26705. "500":
  26706. description: Internal Server Error
  26707. schema:
  26708. $ref: '#/definitions/app.Response'
  26709. security:
  26710. - ApiKeyAuth: []
  26711. summary: 移除用户商品收藏信息
  26712. tags:
  26713. - 用户信息
  26714. /User/UpdateUserAccountStatus:
  26715. post:
  26716. parameters:
  26717. - description: 用户ID
  26718. in: query
  26719. name: userID
  26720. required: true
  26721. type: integer
  26722. - description: 账户状态 - 4:正常 6:注销(停用)
  26723. in: query
  26724. name: accountStatus
  26725. required: true
  26726. type: integer
  26727. produces:
  26728. - application/json
  26729. responses:
  26730. "200":
  26731. description: OK
  26732. schema:
  26733. $ref: '#/definitions/app.Response'
  26734. "500":
  26735. description: Internal Server Error
  26736. schema:
  26737. $ref: '#/definitions/app.Response'
  26738. security:
  26739. - ApiKeyAuth: []
  26740. summary: 更新用户状态
  26741. tags:
  26742. - 用户信息
  26743. /WRTrade/GetAllDeliveryGoods:
  26744. get:
  26745. produces:
  26746. - application/json
  26747. - application/json
  26748. responses:
  26749. "200":
  26750. description: OK
  26751. schema:
  26752. $ref: '#/definitions/app.Response'
  26753. "500":
  26754. description: Internal Server Error
  26755. schema:
  26756. $ref: '#/definitions/app.Response'
  26757. security:
  26758. - ApiKeyAuth: []
  26759. - ApiKeyAuth: []
  26760. summary: 获取带仓单分类的种类信息
  26761. tags:
  26762. - 仓单贸易
  26763. - 仓单贸易
  26764. /WrTrade2/QueryDeliveryGoodsSection:
  26765. get:
  26766. produces:
  26767. - application/json
  26768. responses:
  26769. "200":
  26770. description: OK
  26771. schema:
  26772. items:
  26773. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26774. type: array
  26775. "500":
  26776. description: Internal Server Error
  26777. schema:
  26778. $ref: '#/definitions/app.Response'
  26779. security:
  26780. - ApiKeyAuth: []
  26781. summary: 查询板块(分类)
  26782. tags:
  26783. - 仓单贸易v2
  26784. /WrTrade2/QueryFaProductDetail:
  26785. get:
  26786. description: 页面 买卖大厅 -> 选择融资方案
  26787. parameters:
  26788. - description: 仓单要素id
  26789. in: query
  26790. name: wrfactortypeid
  26791. required: true
  26792. type: integer
  26793. produces:
  26794. - application/json
  26795. responses:
  26796. "200":
  26797. description: OK
  26798. schema:
  26799. items:
  26800. $ref: '#/definitions/models.WrFAProductDetail'
  26801. type: array
  26802. "500":
  26803. description: Internal Server Error
  26804. schema:
  26805. $ref: '#/definitions/app.Response'
  26806. security:
  26807. - ApiKeyAuth: []
  26808. summary: 查询融资产品列表
  26809. tags:
  26810. - 仓单贸易v2
  26811. /WrTrade2/QueryFilterItem:
  26812. get:
  26813. parameters:
  26814. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26815. in: query
  26816. name: itype
  26817. required: true
  26818. type: string
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. items:
  26826. $ref: '#/definitions/models.WrFilterItem'
  26827. type: array
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. security:
  26833. - ApiKeyAuth: []
  26834. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26835. tags:
  26836. - 仓单贸易v2
  26837. /WrTrade2/QueryFtDeliveryGoods:
  26838. get:
  26839. produces:
  26840. - application/json
  26841. responses:
  26842. "200":
  26843. description: OK
  26844. schema:
  26845. items:
  26846. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26847. type: array
  26848. "500":
  26849. description: Internal Server Error
  26850. schema:
  26851. $ref: '#/definitions/app.Response'
  26852. security:
  26853. - ApiKeyAuth: []
  26854. summary: 查询品种品类筛选框列表
  26855. tags:
  26856. - 仓单贸易v2
  26857. /WrTrade2/QueryHoldLB:
  26858. get:
  26859. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26860. parameters:
  26861. - description: 资金账号
  26862. in: query
  26863. name: accountid
  26864. required: true
  26865. type: integer
  26866. - description: 仓库id
  26867. in: query
  26868. name: warehouseid
  26869. type: integer
  26870. - description: 品种id
  26871. in: query
  26872. name: deliverygoodsid
  26873. type: integer
  26874. - description: 品类id
  26875. in: query
  26876. name: wrstandardid
  26877. type: integer
  26878. - description: 仓单要素id
  26879. in: query
  26880. name: wrfactortypeid
  26881. type: integer
  26882. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26883. in: query
  26884. name: dgitemname
  26885. type: string
  26886. produces:
  26887. - application/json
  26888. responses:
  26889. "200":
  26890. description: OK
  26891. schema:
  26892. items:
  26893. $ref: '#/definitions/models.WrHoldLB'
  26894. type: array
  26895. "500":
  26896. description: Internal Server Error
  26897. schema:
  26898. $ref: '#/definitions/app.Response'
  26899. security:
  26900. - ApiKeyAuth: []
  26901. summary: 查询仓单持有记录
  26902. tags:
  26903. - 仓单贸易v2
  26904. /WrTrade2/QueryOrderQuote:
  26905. get:
  26906. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26907. parameters:
  26908. - description: 页码
  26909. in: query
  26910. name: page
  26911. type: integer
  26912. - description: 每页条数
  26913. in: query
  26914. name: pagesize
  26915. type: integer
  26916. - description: 仓单贸易市场id
  26917. in: query
  26918. name: marketid
  26919. type: integer
  26920. - description: 价格方式 - 1:固定价 2-浮动价
  26921. in: query
  26922. name: wrpricetype
  26923. required: true
  26924. type: integer
  26925. - description: 0:仓单预售 1:仓单贸易
  26926. in: query
  26927. name: haswr
  26928. type: integer
  26929. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26930. in: query
  26931. name: dgitemname
  26932. type: string
  26933. - description: 仓库id(筛选条件)
  26934. in: query
  26935. name: warehouseid
  26936. type: integer
  26937. - description: 品种id
  26938. in: query
  26939. name: deliverygoodsid
  26940. type: integer
  26941. - description: 品类id
  26942. in: query
  26943. name: wrstandardid
  26944. type: integer
  26945. - description: 仓单要素id
  26946. in: query
  26947. name: wrfactortypeid
  26948. type: integer
  26949. - description: 交收月(yyyy-mm) 仓单预售填写
  26950. in: query
  26951. name: deliverymonth
  26952. type: string
  26953. produces:
  26954. - application/json
  26955. responses:
  26956. "200":
  26957. description: OK
  26958. schema:
  26959. items:
  26960. $ref: '#/definitions/models.WrOrderQuote'
  26961. type: array
  26962. "500":
  26963. description: Internal Server Error
  26964. schema:
  26965. $ref: '#/definitions/app.Response'
  26966. security:
  26967. - ApiKeyAuth: []
  26968. summary: 查询大厅行情列表
  26969. tags:
  26970. - 仓单贸易v2
  26971. /WrTrade2/QueryOrderQuoteDetail:
  26972. get:
  26973. parameters:
  26974. - description: 页码
  26975. in: query
  26976. name: page
  26977. type: integer
  26978. - description: 每页条数
  26979. in: query
  26980. name: pagesize
  26981. type: integer
  26982. - description: 仓单贸易市场id
  26983. in: query
  26984. name: marketid
  26985. type: integer
  26986. - description: 价格方式 - 1:固定价 2-浮动价
  26987. in: query
  26988. name: wrpricetype
  26989. required: true
  26990. type: integer
  26991. - description: 0:仓单预售 1:仓单贸易
  26992. in: query
  26993. name: haswr
  26994. type: integer
  26995. - description: 仓单要素id
  26996. in: query
  26997. name: wrfactortypeid
  26998. required: true
  26999. type: integer
  27000. - description: 期货商品id(浮动价方式时填)
  27001. in: query
  27002. name: goodsid
  27003. type: integer
  27004. - description: 买卖方向 0-买 1-卖
  27005. in: query
  27006. name: buyorsell
  27007. required: true
  27008. type: integer
  27009. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27010. in: query
  27011. name: deliverymonth
  27012. type: string
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. items:
  27020. $ref: '#/definitions/models.WrOrderQuoteDetail'
  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/QueryOrderQuoteMyq:
  27032. get:
  27033. parameters:
  27034. - description: 页码
  27035. in: query
  27036. name: page
  27037. type: integer
  27038. - description: 每页条数
  27039. in: query
  27040. name: pagesize
  27041. type: integer
  27042. - description: 用户id
  27043. in: query
  27044. name: userid
  27045. required: true
  27046. type: integer
  27047. - description: 仓单贸易市场id
  27048. in: query
  27049. name: marketid
  27050. type: integer
  27051. - description: 0:仓单预售 1:仓单贸易
  27052. in: query
  27053. name: haswr
  27054. type: integer
  27055. - description: 买卖方向 0-买 1-卖
  27056. in: query
  27057. name: buyorsell
  27058. required: true
  27059. type: integer
  27060. - description: 品种id
  27061. in: query
  27062. name: deliverygoodsid
  27063. type: integer
  27064. - description: 品类id
  27065. in: query
  27066. name: wrstandardid
  27067. type: integer
  27068. - description: 交收月(yyyy-mm) 仓单预售填写
  27069. in: query
  27070. name: deliverymonth
  27071. type: string
  27072. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27073. in: query
  27074. name: dgitemname
  27075. type: string
  27076. produces:
  27077. - application/json
  27078. responses:
  27079. "200":
  27080. description: OK
  27081. schema:
  27082. items:
  27083. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27084. type: array
  27085. "500":
  27086. description: Internal Server Error
  27087. schema:
  27088. $ref: '#/definitions/app.Response'
  27089. security:
  27090. - ApiKeyAuth: []
  27091. summary: 查询贸易圈挂牌大厅
  27092. tags:
  27093. - 仓单贸易v2
  27094. /WrTrade2/QueryPerformancePlan:
  27095. get:
  27096. parameters:
  27097. - description: 用户id
  27098. in: query
  27099. name: userid
  27100. required: true
  27101. type: integer
  27102. - description: 买卖方向 0-买 1-卖
  27103. in: query
  27104. name: buyorsell
  27105. required: true
  27106. type: integer
  27107. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27108. in: query
  27109. name: status
  27110. type: string
  27111. - description: 开始交易日(yyyymmdd)
  27112. in: query
  27113. name: begindate
  27114. type: string
  27115. - description: 结束交易日(yyyymmdd)
  27116. in: query
  27117. name: enddate
  27118. type: string
  27119. produces:
  27120. - application/json
  27121. responses:
  27122. "200":
  27123. description: OK
  27124. schema:
  27125. items:
  27126. $ref: '#/definitions/models.WrPerformancePlan'
  27127. type: array
  27128. "500":
  27129. description: Internal Server Error
  27130. schema:
  27131. $ref: '#/definitions/app.Response'
  27132. security:
  27133. - ApiKeyAuth: []
  27134. summary: 查询履约信息
  27135. tags:
  27136. - 仓单贸易v2
  27137. /WrTrade2/QueryPermancePlanTmp:
  27138. get:
  27139. description: |-
  27140. 返回指定用户的模板和公共模板(用户id为空)
  27141. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27142. parameters:
  27143. - description: 用户id
  27144. in: query
  27145. name: userid
  27146. type: integer
  27147. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27148. in: query
  27149. name: tmptype
  27150. type: string
  27151. - description: 是否包含公共模板(用户id为空的) 1-包含
  27152. in: query
  27153. name: includepub
  27154. type: integer
  27155. - description: 市场id(天津麦顿指定此参数,其它不用)
  27156. in: query
  27157. name: marketid
  27158. type: integer
  27159. produces:
  27160. - application/json
  27161. responses:
  27162. "200":
  27163. description: OK
  27164. schema:
  27165. items:
  27166. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27167. type: array
  27168. "500":
  27169. description: Internal Server Error
  27170. schema:
  27171. $ref: '#/definitions/app.Response'
  27172. security:
  27173. - ApiKeyAuth: []
  27174. summary: 查询履约模板
  27175. tags:
  27176. - 仓单贸易v2
  27177. /WrTrade2/QuerySiteColumnDetail:
  27178. get:
  27179. parameters:
  27180. - description: 页码
  27181. in: query
  27182. name: page
  27183. type: integer
  27184. - description: 每页条数
  27185. in: query
  27186. name: pagesize
  27187. type: integer
  27188. produces:
  27189. - application/json
  27190. responses:
  27191. "200":
  27192. description: OK
  27193. schema:
  27194. items:
  27195. $ref: '#/definitions/models.WrSiteColumnDetail'
  27196. type: array
  27197. "500":
  27198. description: Internal Server Error
  27199. schema:
  27200. $ref: '#/definitions/app.Response'
  27201. security:
  27202. - ApiKeyAuth: []
  27203. summary: 查询资讯
  27204. tags:
  27205. - 仓单贸易v2
  27206. /WrTrade2/QuerySpotGroupTradeSum:
  27207. get:
  27208. produces:
  27209. - application/json
  27210. responses:
  27211. "200":
  27212. description: OK
  27213. schema:
  27214. items:
  27215. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27216. type: array
  27217. "500":
  27218. description: Internal Server Error
  27219. schema:
  27220. $ref: '#/definitions/app.Response'
  27221. security:
  27222. - ApiKeyAuth: []
  27223. summary: 查询指数
  27224. tags:
  27225. - 仓单贸易v2
  27226. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27227. get:
  27228. description: 查询的结果将会按日期 从小到大 排序
  27229. parameters:
  27230. - description: 现货商品id
  27231. in: query
  27232. name: deliverygoodsid
  27233. required: true
  27234. type: integer
  27235. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27236. in: query
  27237. name: lastnum
  27238. type: integer
  27239. produces:
  27240. - application/json
  27241. responses:
  27242. "200":
  27243. description: OK
  27244. schema:
  27245. items:
  27246. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27247. type: array
  27248. "500":
  27249. description: Internal Server Error
  27250. schema:
  27251. $ref: '#/definitions/app.Response'
  27252. security:
  27253. - ApiKeyAuth: []
  27254. summary: 查询指数详细(价格走势图)
  27255. tags:
  27256. - 仓单贸易v2
  27257. /WrTrade2/QueryWrAverageTradePrice:
  27258. get:
  27259. parameters:
  27260. - description: 页码
  27261. in: query
  27262. name: page
  27263. type: integer
  27264. - description: 每页条数
  27265. in: query
  27266. name: pagesize
  27267. type: integer
  27268. - description: 0:仓单预售 1:仓单贸易
  27269. in: query
  27270. name: haswr
  27271. required: true
  27272. type: integer
  27273. - description: 仓单要素id
  27274. in: query
  27275. name: wrfactortypeid
  27276. required: true
  27277. type: integer
  27278. produces:
  27279. - application/json
  27280. responses:
  27281. "200":
  27282. description: OK
  27283. schema:
  27284. items:
  27285. $ref: '#/definitions/models.WrAverageTradePrice'
  27286. type: array
  27287. "500":
  27288. description: Internal Server Error
  27289. schema:
  27290. $ref: '#/definitions/app.Response'
  27291. security:
  27292. - ApiKeyAuth: []
  27293. summary: 查询成交价(历史走势)
  27294. tags:
  27295. - 仓单贸易v2
  27296. /WrTrade2/QueryWrBsGoodsInfo:
  27297. get:
  27298. description: 合约交易/买卖大厅/详情
  27299. parameters:
  27300. - description: 商品id
  27301. in: query
  27302. name: goodsid
  27303. required: true
  27304. type: integer
  27305. produces:
  27306. - application/json
  27307. responses:
  27308. "200":
  27309. description: OK
  27310. schema:
  27311. items:
  27312. $ref: '#/definitions/models.WrBsGoodsInfo'
  27313. type: array
  27314. "500":
  27315. description: Internal Server Error
  27316. schema:
  27317. $ref: '#/definitions/app.Response'
  27318. security:
  27319. - ApiKeyAuth: []
  27320. summary: 查询合约交易买卖大厅详情
  27321. tags:
  27322. - 仓单贸易v2
  27323. /WrTrade2/QueryWrBuybackDetail:
  27324. get:
  27325. parameters:
  27326. - description: 融资合同id
  27327. in: query
  27328. name: scfcontractid
  27329. type: integer
  27330. produces:
  27331. - application/json
  27332. responses:
  27333. "200":
  27334. description: OK
  27335. schema:
  27336. items:
  27337. $ref: '#/definitions/models.WrBuybackDetail'
  27338. type: array
  27339. "500":
  27340. description: Internal Server Error
  27341. schema:
  27342. $ref: '#/definitions/app.Response'
  27343. security:
  27344. - ApiKeyAuth: []
  27345. summary: 查询仓单回购明细
  27346. tags:
  27347. - 仓单贸易v2
  27348. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27349. get:
  27350. parameters:
  27351. - description: 资金账号
  27352. in: query
  27353. name: accountid
  27354. required: true
  27355. type: integer
  27356. - description: 商品id
  27357. in: query
  27358. name: goodsid
  27359. required: true
  27360. type: integer
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. items:
  27368. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27369. type: array
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. summary: 查询合约交收可点选仓单
  27377. tags:
  27378. - 仓单贸易v2
  27379. /WrTrade2/QueryWrDeliveryDetail:
  27380. get:
  27381. parameters:
  27382. - description: 用户id
  27383. in: query
  27384. name: userid
  27385. required: true
  27386. type: integer
  27387. - description: 资金账号id
  27388. in: query
  27389. name: accountid
  27390. type: integer
  27391. - description: 开始交易日(yyyymmdd)
  27392. in: query
  27393. name: begindate
  27394. type: string
  27395. - description: 结束交易日(yyyymmdd)
  27396. in: query
  27397. name: enddate
  27398. type: string
  27399. produces:
  27400. - application/json
  27401. responses:
  27402. "200":
  27403. description: OK
  27404. schema:
  27405. items:
  27406. $ref: '#/definitions/models.WrDeliveryDetail'
  27407. type: array
  27408. "500":
  27409. description: Internal Server Error
  27410. schema:
  27411. $ref: '#/definitions/app.Response'
  27412. security:
  27413. - ApiKeyAuth: []
  27414. summary: 查询交收
  27415. tags:
  27416. - 仓单贸易v2
  27417. /WrTrade2/QueryWrFactorTypeInfo:
  27418. get:
  27419. parameters:
  27420. - description: 仓单要素id
  27421. in: query
  27422. name: wrfactortypeid
  27423. required: true
  27424. type: integer
  27425. produces:
  27426. - application/json
  27427. responses:
  27428. "200":
  27429. description: OK
  27430. schema:
  27431. items:
  27432. $ref: '#/definitions/models.WrFactorTypeInfo'
  27433. type: array
  27434. "500":
  27435. description: Internal Server Error
  27436. schema:
  27437. $ref: '#/definitions/app.Response'
  27438. security:
  27439. - ApiKeyAuth: []
  27440. summary: 查询仓单要素详细信息
  27441. tags:
  27442. - 仓单贸易v2
  27443. /WrTrade2/QueryWrFactorTypeInfoEx:
  27444. get:
  27445. parameters:
  27446. - description: 仓单要素id
  27447. in: query
  27448. name: wrfactortypeid
  27449. required: true
  27450. type: integer
  27451. produces:
  27452. - application/json
  27453. responses:
  27454. "200":
  27455. description: OK
  27456. schema:
  27457. items:
  27458. $ref: '#/definitions/models.WrTypeItem'
  27459. type: array
  27460. "500":
  27461. description: Internal Server Error
  27462. schema:
  27463. $ref: '#/definitions/app.Response'
  27464. security:
  27465. - ApiKeyAuth: []
  27466. summary: 查询仓单要素详细信息列表项
  27467. tags:
  27468. - 仓单贸易v2
  27469. /WrTrade2/QueryWrFinanceBuyApply:
  27470. get:
  27471. description: 页面 融资信息+ / 申请单
  27472. parameters:
  27473. - description: 用户id
  27474. in: query
  27475. name: userid
  27476. required: true
  27477. type: integer
  27478. produces:
  27479. - application/json
  27480. responses:
  27481. "200":
  27482. description: OK
  27483. schema:
  27484. items:
  27485. $ref: '#/definitions/models.WrFinanceBuyApply'
  27486. type: array
  27487. "500":
  27488. description: Internal Server Error
  27489. schema:
  27490. $ref: '#/definitions/app.Response'
  27491. security:
  27492. - ApiKeyAuth: []
  27493. summary: 查询融资购买申请
  27494. tags:
  27495. - 仓单贸易v2
  27496. /WrTrade2/QueryWrFriendApply:
  27497. get:
  27498. parameters:
  27499. - description: 用户id
  27500. in: query
  27501. name: userid
  27502. required: true
  27503. type: integer
  27504. produces:
  27505. - application/json
  27506. responses:
  27507. "200":
  27508. description: OK
  27509. schema:
  27510. items:
  27511. $ref: '#/definitions/models.WrFriendApply'
  27512. type: array
  27513. "500":
  27514. description: Internal Server Error
  27515. schema:
  27516. $ref: '#/definitions/app.Response'
  27517. security:
  27518. - ApiKeyAuth: []
  27519. summary: 查询好友申请记录
  27520. tags:
  27521. - 仓单贸易v2
  27522. /WrTrade2/QueryWrGoodsInfo:
  27523. get:
  27524. parameters:
  27525. - description: 仓单贸易市场id
  27526. in: query
  27527. name: marketid
  27528. type: integer
  27529. - description: 0:仓单预售 1:仓单贸易
  27530. in: query
  27531. name: haswr
  27532. required: true
  27533. type: integer
  27534. - description: 仓单要素id
  27535. in: query
  27536. name: wrfactortypeid
  27537. required: true
  27538. type: integer
  27539. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27540. in: query
  27541. name: tmplateid
  27542. type: integer
  27543. produces:
  27544. - application/json
  27545. responses:
  27546. "200":
  27547. description: OK
  27548. schema:
  27549. items:
  27550. $ref: '#/definitions/models.WrGoodsInfo'
  27551. type: array
  27552. "500":
  27553. description: Internal Server Error
  27554. schema:
  27555. $ref: '#/definitions/app.Response'
  27556. security:
  27557. - ApiKeyAuth: []
  27558. summary: 查询仓单商品信息
  27559. tags:
  27560. - 仓单贸易v2
  27561. /WrTrade2/QueryWrMarketTradeConfig:
  27562. get:
  27563. parameters:
  27564. - description: 市场id
  27565. in: query
  27566. name: marketid
  27567. type: integer
  27568. produces:
  27569. - application/json
  27570. responses:
  27571. "200":
  27572. description: OK
  27573. schema:
  27574. items:
  27575. $ref: '#/definitions/models.WrMarketTradeConfig'
  27576. type: array
  27577. "500":
  27578. description: Internal Server Error
  27579. schema:
  27580. $ref: '#/definitions/app.Response'
  27581. security:
  27582. - ApiKeyAuth: []
  27583. summary: 查询市场交易参数配置
  27584. tags:
  27585. - 仓单贸易v2
  27586. /WrTrade2/QueryWrOrderDetail:
  27587. get:
  27588. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27589. parameters:
  27590. - description: 页码
  27591. in: query
  27592. name: page
  27593. type: integer
  27594. - description: 每页条数
  27595. in: query
  27596. name: pagesize
  27597. type: integer
  27598. - description: 用户id
  27599. in: query
  27600. name: userid
  27601. required: true
  27602. type: integer
  27603. - description: 仓单贸易市场id
  27604. in: query
  27605. name: marketid
  27606. type: integer
  27607. - description: 0:仓单预售 1:仓单贸易
  27608. in: query
  27609. name: haswr
  27610. required: true
  27611. type: integer
  27612. - description: 开始交易日(yyyymmdd)
  27613. in: query
  27614. name: begindate
  27615. type: string
  27616. - description: 结束交易日(yyyymmdd)
  27617. in: query
  27618. name: enddate
  27619. type: string
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. items:
  27627. $ref: '#/definitions/models.WrOrderDetail'
  27628. type: array
  27629. "500":
  27630. description: Internal Server Error
  27631. schema:
  27632. $ref: '#/definitions/app.Response'
  27633. security:
  27634. - ApiKeyAuth: []
  27635. summary: 查询仓单委托单(挂单)
  27636. tags:
  27637. - 仓单贸易v2
  27638. /WrTrade2/QueryWrOutInApply:
  27639. get:
  27640. parameters:
  27641. - description: 用户id
  27642. in: query
  27643. name: userid
  27644. required: true
  27645. type: integer
  27646. - description: 开始交易日(yyyymmdd)
  27647. in: query
  27648. name: begindate
  27649. type: string
  27650. - description: 结束交易日(yyyymmdd)
  27651. in: query
  27652. name: enddate
  27653. type: string
  27654. produces:
  27655. - application/json
  27656. responses:
  27657. "200":
  27658. description: OK
  27659. schema:
  27660. items:
  27661. $ref: '#/definitions/models.WrOutInApply'
  27662. type: array
  27663. "500":
  27664. description: Internal Server Error
  27665. schema:
  27666. $ref: '#/definitions/app.Response'
  27667. security:
  27668. - ApiKeyAuth: []
  27669. summary: 查询提货申请
  27670. tags:
  27671. - 仓单贸易v2
  27672. /WrTrade2/QueryWrPerformancePlanStep:
  27673. get:
  27674. parameters:
  27675. - description: 履约计划id(performanceplanid)
  27676. in: query
  27677. name: planid
  27678. required: true
  27679. type: integer
  27680. - description: 当前步骤id
  27681. in: query
  27682. name: curstepid
  27683. type: integer
  27684. produces:
  27685. - application/json
  27686. responses:
  27687. "200":
  27688. description: OK
  27689. schema:
  27690. items:
  27691. $ref: '#/definitions/models.WrPerformancePlanStep'
  27692. type: array
  27693. "500":
  27694. description: Internal Server Error
  27695. schema:
  27696. $ref: '#/definitions/app.Response'
  27697. security:
  27698. - ApiKeyAuth: []
  27699. summary: 查询履约信息详情
  27700. tags:
  27701. - 仓单贸易v2
  27702. /WrTrade2/QueryWrPerformanceStepType:
  27703. get:
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. items:
  27711. $ref: '#/definitions/models.WrPerformanceStepType'
  27712. type: array
  27713. "500":
  27714. description: Internal Server Error
  27715. schema:
  27716. $ref: '#/definitions/app.Response'
  27717. security:
  27718. - ApiKeyAuth: []
  27719. summary: 查询履约步骤枚举
  27720. tags:
  27721. - 仓单贸易v2
  27722. /WrTrade2/QueryWrPosition:
  27723. get:
  27724. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27725. parameters:
  27726. - description: 用户id
  27727. in: query
  27728. name: userid
  27729. required: true
  27730. type: integer
  27731. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27732. in: query
  27733. name: querytype
  27734. required: true
  27735. type: integer
  27736. - description: 0:仓单预售 1:仓单贸易
  27737. in: query
  27738. name: haswr
  27739. required: true
  27740. type: integer
  27741. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27742. in: query
  27743. name: dgitemname
  27744. type: string
  27745. - description: 仓库id(筛选条件)
  27746. in: query
  27747. name: warehouseid
  27748. type: integer
  27749. - description: 品种id
  27750. in: query
  27751. name: deliverygoodsid
  27752. type: integer
  27753. - description: 品类id
  27754. in: query
  27755. name: wrstandardid
  27756. type: integer
  27757. produces:
  27758. - application/json
  27759. responses:
  27760. "200":
  27761. description: OK
  27762. schema:
  27763. items:
  27764. $ref: '#/definitions/models.WrPosition'
  27765. type: array
  27766. "500":
  27767. description: Internal Server Error
  27768. schema:
  27769. $ref: '#/definitions/app.Response'
  27770. security:
  27771. - ApiKeyAuth: []
  27772. summary: 查询现货(预售)仓单持仓
  27773. tags:
  27774. - 仓单贸易v2
  27775. /WrTrade2/QueryWrScfContract:
  27776. get:
  27777. parameters:
  27778. - description: 用户id
  27779. in: query
  27780. name: userid
  27781. required: true
  27782. type: integer
  27783. - description: 融资合同id
  27784. in: query
  27785. name: scfcontractid
  27786. type: integer
  27787. produces:
  27788. - application/json
  27789. responses:
  27790. "200":
  27791. description: OK
  27792. schema:
  27793. items:
  27794. $ref: '#/definitions/models.WrScfContract'
  27795. type: array
  27796. "500":
  27797. description: Internal Server Error
  27798. schema:
  27799. $ref: '#/definitions/app.Response'
  27800. security:
  27801. - ApiKeyAuth: []
  27802. summary: 查询仓单贸易融资合同
  27803. tags:
  27804. - 仓单贸易v2
  27805. /WrTrade2/QueryWrScfContractInterest:
  27806. get:
  27807. parameters:
  27808. - description: 融资合同id
  27809. in: query
  27810. name: scfcontractid
  27811. type: integer
  27812. produces:
  27813. - application/json
  27814. responses:
  27815. "200":
  27816. description: OK
  27817. schema:
  27818. items:
  27819. $ref: '#/definitions/models.WrScfContractInterest'
  27820. type: array
  27821. "500":
  27822. description: Internal Server Error
  27823. schema:
  27824. $ref: '#/definitions/app.Response'
  27825. security:
  27826. - ApiKeyAuth: []
  27827. summary: 查询融资合同费用明细
  27828. tags:
  27829. - 仓单贸易v2
  27830. /WrTrade2/QueryWrSpecialMatchOrder:
  27831. get:
  27832. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27833. parameters:
  27834. - description: 页码
  27835. in: query
  27836. name: page
  27837. type: integer
  27838. - description: 每页条数
  27839. in: query
  27840. name: pagesize
  27841. type: integer
  27842. - description: 用户id
  27843. in: query
  27844. name: userid
  27845. required: true
  27846. type: integer
  27847. - description: 仓单贸易市场id
  27848. in: query
  27849. name: marketid
  27850. type: integer
  27851. - description: 0:仓单预售 1:仓单贸易
  27852. in: query
  27853. name: haswr
  27854. required: true
  27855. type: integer
  27856. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27857. in: query
  27858. name: isspecified
  27859. type: integer
  27860. produces:
  27861. - application/json
  27862. responses:
  27863. "200":
  27864. description: OK
  27865. schema:
  27866. items:
  27867. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27868. type: array
  27869. "500":
  27870. description: Internal Server Error
  27871. schema:
  27872. $ref: '#/definitions/app.Response'
  27873. security:
  27874. - ApiKeyAuth: []
  27875. summary: 查询指定成交
  27876. tags:
  27877. - 仓单贸易v2
  27878. /WrTrade2/QueryWrStandardFactoryItem:
  27879. get:
  27880. parameters:
  27881. - description: 品类id
  27882. in: query
  27883. name: wrstandardid
  27884. required: true
  27885. type: integer
  27886. produces:
  27887. - application/json
  27888. responses:
  27889. "200":
  27890. description: OK
  27891. schema:
  27892. items:
  27893. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27894. type: array
  27895. "500":
  27896. description: Internal Server Error
  27897. schema:
  27898. $ref: '#/definitions/app.Response'
  27899. security:
  27900. - ApiKeyAuth: []
  27901. summary: 查询品类要素定义项
  27902. tags:
  27903. - 仓单贸易v2
  27904. /WrTrade2/QueryWrTradeBargainApply:
  27905. get:
  27906. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27907. parameters:
  27908. - description: 议价人id(摘牌方)
  27909. in: query
  27910. name: userid
  27911. type: integer
  27912. - description: 挂牌方id(查对方议价时,填写此项)
  27913. in: query
  27914. name: matchuserid
  27915. type: integer
  27916. - description: 关联委托单id
  27917. in: query
  27918. name: wrtradeorderid
  27919. type: integer
  27920. - description: 0:仓单预售 1:仓单贸易
  27921. in: query
  27922. name: haswr
  27923. required: true
  27924. type: integer
  27925. - description: 开始交易日(yyyymmdd)
  27926. in: query
  27927. name: begindate
  27928. type: string
  27929. - description: 结束交易日(yyyymmdd)
  27930. in: query
  27931. name: enddate
  27932. type: string
  27933. produces:
  27934. - application/json
  27935. responses:
  27936. "200":
  27937. description: OK
  27938. schema:
  27939. items:
  27940. $ref: '#/definitions/models.WRTradeBargainApply'
  27941. type: array
  27942. "500":
  27943. description: Internal Server Error
  27944. schema:
  27945. $ref: '#/definitions/app.Response'
  27946. security:
  27947. - ApiKeyAuth: []
  27948. summary: 查询议价单
  27949. tags:
  27950. - 仓单贸易v2
  27951. /WrTrade2/QueryWrTradeDetail:
  27952. get:
  27953. parameters:
  27954. - description: 页码
  27955. in: query
  27956. name: page
  27957. type: integer
  27958. - description: 每页条数
  27959. in: query
  27960. name: pagesize
  27961. type: integer
  27962. - description: 用户id
  27963. in: query
  27964. name: userid
  27965. required: true
  27966. type: integer
  27967. - description: 仓单贸易市场id
  27968. in: query
  27969. name: marketid
  27970. type: integer
  27971. - description: 0:仓单预售 1:仓单贸易
  27972. in: query
  27973. name: haswr
  27974. required: true
  27975. type: integer
  27976. - description: 开始交易日(yyyymmdd)
  27977. in: query
  27978. name: begindate
  27979. type: string
  27980. - description: 结束交易日(yyyymmdd)
  27981. in: query
  27982. name: enddate
  27983. type: string
  27984. produces:
  27985. - application/json
  27986. responses:
  27987. "200":
  27988. description: OK
  27989. schema:
  27990. items:
  27991. $ref: '#/definitions/models.WrTradeDetail'
  27992. type: array
  27993. "500":
  27994. description: Internal Server Error
  27995. schema:
  27996. $ref: '#/definitions/app.Response'
  27997. security:
  27998. - ApiKeyAuth: []
  27999. summary: 查询仓单成交明细
  28000. tags:
  28001. - 仓单贸易v2
  28002. /WrTrade2/QueryWrTradeOrderDetail:
  28003. get:
  28004. parameters:
  28005. - description: 页码
  28006. in: query
  28007. name: page
  28008. type: integer
  28009. - description: 每页条数
  28010. in: query
  28011. name: pagesize
  28012. type: integer
  28013. - description: 商品id
  28014. in: query
  28015. name: goodsid
  28016. required: true
  28017. type: integer
  28018. - description: 买卖方向 0-买 1-卖
  28019. in: query
  28020. name: buyorsell
  28021. required: true
  28022. type: integer
  28023. produces:
  28024. - application/json
  28025. responses:
  28026. "200":
  28027. description: OK
  28028. schema:
  28029. items:
  28030. $ref: '#/definitions/models.WrTradeOrderDetail'
  28031. type: array
  28032. "500":
  28033. description: Internal Server Error
  28034. schema:
  28035. $ref: '#/definitions/app.Response'
  28036. security:
  28037. - ApiKeyAuth: []
  28038. summary: 查询合约交易买卖大厅
  28039. tags:
  28040. - 仓单贸易v2
  28041. /WrTrade2/QueryWrUserFriend:
  28042. get:
  28043. parameters:
  28044. - description: 用户id
  28045. in: query
  28046. name: userid
  28047. required: true
  28048. type: integer
  28049. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28050. in: query
  28051. name: newuserid
  28052. type: integer
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. items:
  28060. $ref: '#/definitions/models.WrUserFriend'
  28061. type: array
  28062. "500":
  28063. description: Internal Server Error
  28064. schema:
  28065. $ref: '#/definitions/app.Response'
  28066. security:
  28067. - ApiKeyAuth: []
  28068. summary: 查询我的朋友
  28069. tags:
  28070. - 仓单贸易v2
  28071. /WrTrade2/QueryWrUserReceiptInfo:
  28072. get:
  28073. parameters:
  28074. - description: 用户id
  28075. in: query
  28076. name: userid
  28077. type: integer
  28078. - description: 发票类型 - 1:个人 2:企业
  28079. in: query
  28080. name: receipttype
  28081. type: integer
  28082. produces:
  28083. - application/json
  28084. responses:
  28085. "200":
  28086. description: OK
  28087. schema:
  28088. items:
  28089. $ref: '#/definitions/models.WrUserReceiptInfo'
  28090. type: array
  28091. "500":
  28092. description: Internal Server Error
  28093. schema:
  28094. $ref: '#/definitions/app.Response'
  28095. security:
  28096. - ApiKeyAuth: []
  28097. summary: 查询发票信息
  28098. tags:
  28099. - 仓单贸易v2
  28100. /ZJ/GetBankTip:
  28101. get:
  28102. produces:
  28103. - application/json
  28104. responses:
  28105. "200":
  28106. description: OK
  28107. schema:
  28108. type: string
  28109. "500":
  28110. description: Internal Server Error
  28111. schema:
  28112. $ref: '#/definitions/app.Response'
  28113. summary: 获取中江网银端出入金提示信息
  28114. tags:
  28115. - 中江
  28116. /ZJ/GetCusBankChannels:
  28117. get:
  28118. produces:
  28119. - application/json
  28120. responses:
  28121. "200":
  28122. description: OK
  28123. schema:
  28124. items:
  28125. type: string
  28126. type: array
  28127. "500":
  28128. description: Internal Server Error
  28129. schema:
  28130. $ref: '#/definitions/app.Response'
  28131. summary: 获取中江出入金渠道显示列表
  28132. tags:
  28133. - 中江
  28134. securityDefinitions:
  28135. ApiKeyAuth:
  28136. in: header
  28137. name: Authorization
  28138. type: apiKey
  28139. swagger: "2.0"