swagger.yaml 783 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120
  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. SellFutureQty:
  2258. description: 卖出期货数量
  2259. type: number
  2260. SellPlanQty:
  2261. description: 销售计划数量
  2262. type: number
  2263. SellPricedQty:
  2264. description: 销售合同已定价数量
  2265. type: number
  2266. TotalExposure:
  2267. description: 总敞口 平安:净敞口
  2268. type: number
  2269. TotalFutureQty:
  2270. description: 期货总量 平安:保值净持仓量
  2271. type: number
  2272. TotalHedgeRatio:
  2273. description: 敞口比例
  2274. type: number
  2275. TotalNeedHedgeQty:
  2276. description: 应套保总量(现货应套保总量)
  2277. type: number
  2278. TotalSpotQty:
  2279. description: 现货总量 平安:采销定价净值
  2280. type: number
  2281. arbitrageqty:
  2282. description: 套利量
  2283. type: number
  2284. diffArbitrageQty:
  2285. description: 套利变动量
  2286. type: number
  2287. diffExposoureQty:
  2288. description: 变动量(套保敞口)
  2289. type: number
  2290. diffFutuQty:
  2291. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2292. type: number
  2293. diffHedgeQty:
  2294. description: 套保变动量
  2295. type: number
  2296. diffQty:
  2297. description: 变动量(总敞口) 平安:净敞口今日变动
  2298. type: number
  2299. diffSpotHedgeQty:
  2300. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2301. type: number
  2302. diffSpotQty:
  2303. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2304. type: number
  2305. enumdicname:
  2306. description: 单位名称
  2307. type: string
  2308. hedgeqty:
  2309. description: 套保量
  2310. type: number
  2311. needarbitrageqty:
  2312. description: 应套利量
  2313. type: number
  2314. needarbitrageratio:
  2315. description: 套利比例
  2316. type: number
  2317. needhedgeqty:
  2318. description: 应套保量
  2319. type: number
  2320. oriTotalFutuQty:
  2321. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2322. type: number
  2323. oriTotalSpotQty:
  2324. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2325. type: number
  2326. oriarbitrageqty:
  2327. description: 期初套利量
  2328. type: number
  2329. orihedgeqty:
  2330. description: 期初套保量
  2331. type: number
  2332. orineedhedgeexposoure:
  2333. description: 期初套保敞口
  2334. type: number
  2335. oritotalexposure:
  2336. description: 期初总敞口
  2337. type: number
  2338. oritotalfutureqty:
  2339. description: 期初期货总量
  2340. type: number
  2341. oritotalneedhedgeqty:
  2342. description: 期初现货应套保量
  2343. type: number
  2344. type: object
  2345. erms2.QueryArbitrageStrategyRsp:
  2346. properties:
  2347. applybasis:
  2348. description: 申请基差
  2349. type: number
  2350. asapplyid:
  2351. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2352. type: string
  2353. asname:
  2354. description: 策略名称
  2355. type: string
  2356. asno:
  2357. description: 策略编号
  2358. type: string
  2359. basischangepl:
  2360. description: 基差变动损益[结算更新]
  2361. type: number
  2362. biztype:
  2363. description: 业务类型 - 1:正向套利 -1:反向套利
  2364. type: integer
  2365. closetradedate:
  2366. description: 完结交易日(yyyyMMdd)
  2367. type: string
  2368. curbasis:
  2369. description: 当前基差[结算更新]
  2370. type: number
  2371. deliverygoodsid:
  2372. description: 现货品种ID
  2373. type: integer
  2374. futureavgprice:
  2375. description: 期货建仓均价
  2376. type: number
  2377. futurecloseamount:
  2378. description: 期货平仓金额
  2379. type: number
  2380. futurecloseqty:
  2381. description: 期货平仓数量
  2382. type: number
  2383. futureopenamount:
  2384. description: 期货开仓金额
  2385. type: number
  2386. futureopenqty:
  2387. description: 期货开仓数量
  2388. type: number
  2389. futurepl:
  2390. description: 期货总盈亏[结算更新]
  2391. type: number
  2392. futureqty:
  2393. description: 期货持仓数量
  2394. type: number
  2395. futurequote:
  2396. description: 期货额度
  2397. type: number
  2398. goodsgroupid:
  2399. description: 期货品种ID
  2400. type: integer
  2401. marketid:
  2402. description: 市场ID
  2403. type: integer
  2404. netexposure:
  2405. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2406. type: number
  2407. netexposurepl:
  2408. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2409. type: number
  2410. netexposurerate:
  2411. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2412. type: number
  2413. openbasis:
  2414. description: 建仓基差
  2415. type: number
  2416. pricedspotqty:
  2417. description: 已定价现货数量
  2418. type: number
  2419. pricedspotqtynotax:
  2420. description: 已定价现货不含税数量
  2421. type: number
  2422. remark:
  2423. description: 备注
  2424. type: string
  2425. spotavgprice:
  2426. description: 现货均价
  2427. type: number
  2428. spotbuyamount:
  2429. description: 现货采购金额
  2430. type: number
  2431. spotbuyqty:
  2432. description: 现货采购数量
  2433. type: number
  2434. spotpl:
  2435. description: 现货总盈亏[结算更新]
  2436. type: number
  2437. spotquota:
  2438. description: 现货额度
  2439. type: number
  2440. spotsellamount:
  2441. description: 现货销售金额
  2442. type: number
  2443. spotsellqty:
  2444. description: 现货销售数量
  2445. type: number
  2446. spotusedquota:
  2447. description: 现货占用资金
  2448. type: number
  2449. strategystatus:
  2450. description: 策略状态 - 0:未结束 1:已结束
  2451. type: integer
  2452. totalpl:
  2453. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2454. type: number
  2455. tradedate:
  2456. description: 交易日(yyyyMMdd)
  2457. type: string
  2458. updatetime:
  2459. description: 更新时间
  2460. type: string
  2461. usedquota:
  2462. description: 已占用资金
  2463. type: number
  2464. userid:
  2465. description: 所属机构
  2466. type: integer
  2467. required:
  2468. - asapplyid
  2469. type: object
  2470. erms2.QueryInnerTradeDetailRsp:
  2471. properties:
  2472. accountid:
  2473. description: 账号ID
  2474. type: integer
  2475. agreeunit:
  2476. description: 合约单位
  2477. type: number
  2478. asapplyid:
  2479. description: 策略申请ID
  2480. type: integer
  2481. asname:
  2482. description: 策略名称
  2483. type: string
  2484. asno:
  2485. description: 策略编号
  2486. type: string
  2487. buyorsell:
  2488. description: 方向 - 0:买 1:卖
  2489. type: integer
  2490. channelbuildtype:
  2491. description: 委托单据类型 0:无 1:建仓 2:平仓
  2492. type: integer
  2493. closetype:
  2494. description: 平仓方式 - 0:无 1:平今 2:平昨
  2495. type: integer
  2496. decimalplace:
  2497. description: 报价小数位
  2498. type: integer
  2499. detailtype:
  2500. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2501. type: integer
  2502. exexchangecode:
  2503. description: 外部交易所代码
  2504. type: string
  2505. exexchangename:
  2506. description: 外部交易所名称
  2507. type: string
  2508. goodscode:
  2509. description: 商品代码(合约)
  2510. type: string
  2511. goodsgroupid:
  2512. description: 商品组ID(品种ID)
  2513. type: integer
  2514. goodsgroupname:
  2515. description: 商品组名称(品种)
  2516. type: string
  2517. goodsid:
  2518. description: 商品ID
  2519. type: integer
  2520. goodsname:
  2521. description: 商品名称(合约)
  2522. type: string
  2523. goodunit:
  2524. description: 报价单位
  2525. type: string
  2526. marketid:
  2527. description: 市场ID
  2528. type: integer
  2529. orderid:
  2530. description: 委托单号
  2531. type: string
  2532. outgoodscode:
  2533. description: 商品代码(外部)
  2534. type: string
  2535. relatedouttradeid:
  2536. description: 关联外部成交单ID
  2537. type: string
  2538. remark:
  2539. description: 备注
  2540. type: string
  2541. spotcontractid:
  2542. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2543. type: integer
  2544. spotcontractno:
  2545. description: 现货合同编号
  2546. type: string
  2547. tradeid:
  2548. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2549. type: string
  2550. tradeprice:
  2551. description: 成交价格
  2552. type: number
  2553. tradeqty:
  2554. description: 成交数量
  2555. type: integer
  2556. tradetime:
  2557. description: 成交时间
  2558. type: string
  2559. updatetime:
  2560. description: 更新时间
  2561. type: string
  2562. required:
  2563. - asapplyid
  2564. - buyorsell
  2565. - goodscode
  2566. - goodsgroupid
  2567. - goodsgroupname
  2568. - goodsname
  2569. - tradeid
  2570. type: object
  2571. erms2.QuerySpotContractRsp:
  2572. properties:
  2573. accountid:
  2574. description: 资金账户ID
  2575. type: integer
  2576. areauserid:
  2577. description: 所属机构
  2578. type: integer
  2579. closedate:
  2580. description: 终止日期
  2581. type: string
  2582. closeremark:
  2583. description: 结束备注
  2584. type: string
  2585. closetradedate:
  2586. description: 完结交易日(yyyyMMdd)
  2587. type: string
  2588. closetype:
  2589. description: 终止类型 - 1:违约 2:提前终止
  2590. type: integer
  2591. contractamount:
  2592. description: 合同金额
  2593. type: number
  2594. contractattachment:
  2595. description: 合同附件
  2596. type: string
  2597. contractno:
  2598. description: 现货合同编号
  2599. type: string
  2600. contractqty:
  2601. description: 合同数量(数值) (用于计算)
  2602. type: number
  2603. contractqtychar:
  2604. description: 合同数量\已订价数量 (用于显示)
  2605. type: string
  2606. contractstatus:
  2607. description: 合同状态 - 0:未结束 1:已结束
  2608. type: integer
  2609. contracttype:
  2610. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2611. type: integer
  2612. customeraccountid:
  2613. description: 客户资金账户ID
  2614. type: integer
  2615. customeruserid:
  2616. description: 客户ID
  2617. type: integer
  2618. deliverygoodsdesc:
  2619. description: 品种说明
  2620. type: string
  2621. deliverygoodsid:
  2622. description: 现货品种ID
  2623. type: integer
  2624. handlestatus:
  2625. description: 处理状态
  2626. type: integer
  2627. invoiceatt:
  2628. description: 发票附件
  2629. type: string
  2630. invoicedatetime:
  2631. description: 开收票更新时间
  2632. type: string
  2633. invoiceopentime:
  2634. description: 开票时间
  2635. type: string
  2636. invoiceremark:
  2637. description: 发票备注
  2638. type: string
  2639. invoicestatus:
  2640. description: 开收票状态 - 0:未开票 1:已开票
  2641. type: integer
  2642. lastdate:
  2643. description: 交货时间
  2644. type: string
  2645. marketid:
  2646. description: 市场ID
  2647. type: integer
  2648. paydatetime:
  2649. description: 收付款更新时间
  2650. type: string
  2651. payremark:
  2652. description: 收付款备注
  2653. type: string
  2654. paystatus:
  2655. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2656. type: integer
  2657. positionqty:
  2658. description: 头寸数量 - 合同数量去小数部分
  2659. type: integer
  2660. producttype:
  2661. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2662. type: integer
  2663. relatedqty:
  2664. description: 已关联数量
  2665. type: number
  2666. relatedstatus:
  2667. description: 关联完结状态 - 0:未结束 1:已结束
  2668. type: integer
  2669. remark:
  2670. description: 备注
  2671. type: string
  2672. signdate:
  2673. description: 签订日期
  2674. type: string
  2675. spotcontractid:
  2676. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2677. type: string
  2678. spotdatetime:
  2679. description: 收发货更新时间
  2680. type: string
  2681. spotprice:
  2682. description: 价格
  2683. type: number
  2684. spotremark:
  2685. description: 收发货备注
  2686. type: string
  2687. spotstatus:
  2688. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2689. type: integer
  2690. tradedate:
  2691. description: 交易日(yyyyMMdd)
  2692. type: string
  2693. userid:
  2694. description: 业务员用户ID
  2695. type: integer
  2696. warehouseid:
  2697. description: 仓库ID
  2698. type: integer
  2699. wrfactortypeid:
  2700. description: 仓单要素类型ID
  2701. type: integer
  2702. wrstandardid:
  2703. description: 仓单标准ID(SEQ_WRSTANDARD)
  2704. type: integer
  2705. required:
  2706. - spotcontractid
  2707. type: object
  2708. erms3.AddErms2ASApplyReq:
  2709. properties:
  2710. applybasis:
  2711. description: 申请基差
  2712. type: number
  2713. applystatus:
  2714. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2715. type: integer
  2716. asapplyid:
  2717. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2718. type: integer
  2719. asname:
  2720. description: 策略名称
  2721. type: string
  2722. asno:
  2723. description: 策略编号
  2724. type: string
  2725. auditid:
  2726. description: 审核人
  2727. type: integer
  2728. auditremark:
  2729. description: 审核备注
  2730. type: string
  2731. audittime:
  2732. description: 审核时间
  2733. type: string
  2734. biztype:
  2735. description: 业务类型 - 1:正向套利 2:反向套利
  2736. type: integer
  2737. createtime:
  2738. description: 创建时间
  2739. type: string
  2740. creatorid:
  2741. description: 创建人
  2742. type: integer
  2743. deliverygoodsid:
  2744. description: 现货品种ID
  2745. type: integer
  2746. futurequote:
  2747. description: 期货额度
  2748. type: number
  2749. goodsgroupid:
  2750. description: 期货品种ID
  2751. type: integer
  2752. marketid:
  2753. description: 市场ID
  2754. type: integer
  2755. remark:
  2756. description: 备注
  2757. type: string
  2758. spotquota:
  2759. description: 现货额度
  2760. type: number
  2761. tradedate:
  2762. description: 交易日(yyyyMMdd)
  2763. type: string
  2764. userid:
  2765. description: 所属机构
  2766. type: integer
  2767. required:
  2768. - asapplyid
  2769. type: object
  2770. erms3.AddErms2SpotTradeApplyReq:
  2771. properties:
  2772. applyjsondetail:
  2773. description: 申请明细(JSON)
  2774. type: string
  2775. applystatus:
  2776. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2777. type: integer
  2778. areauserid:
  2779. description: 所属机构
  2780. type: integer
  2781. auditid:
  2782. description: 审核人
  2783. type: integer
  2784. auditremark:
  2785. description: 审核备注
  2786. type: string
  2787. audittime:
  2788. description: 审核时间
  2789. type: string
  2790. createtime:
  2791. description: 创建时间
  2792. type: string
  2793. creatorid:
  2794. description: 创建人
  2795. type: integer
  2796. deliverygoodsid:
  2797. description: 现货品种ID
  2798. type: integer
  2799. futureaccountid:
  2800. description: 期货资金账户
  2801. type: integer
  2802. goodsgroupid:
  2803. description: 期货品种
  2804. type: integer
  2805. marketid:
  2806. description: 市场ID
  2807. type: integer
  2808. remark:
  2809. description: 备注
  2810. type: string
  2811. spotaccountid:
  2812. description: 现货资金账户
  2813. type: integer
  2814. spottradeid:
  2815. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2816. type: integer
  2817. spottradename:
  2818. description: 业务名称
  2819. type: string
  2820. spottradeno:
  2821. description: 业务编号
  2822. type: string
  2823. tradedate:
  2824. description: 交易日(yyyyMMdd)
  2825. type: string
  2826. wrstandardid:
  2827. description: 仓单标准ID
  2828. type: integer
  2829. required:
  2830. - spottradeid
  2831. type: object
  2832. erms3.AddSpotContractApplyReq:
  2833. properties:
  2834. accountid:
  2835. description: 资金账户ID
  2836. type: integer
  2837. areauserid:
  2838. description: 所属机构
  2839. type: integer
  2840. contractattachment:
  2841. description: 合同附件
  2842. type: string
  2843. contractno:
  2844. description: 现货合同编号
  2845. type: string
  2846. contracttype:
  2847. description: 现货合同类型 - 1:采购 -1:销售
  2848. type: integer
  2849. creatorid:
  2850. description: 申请人
  2851. type: integer
  2852. customeraccountid:
  2853. description: 客户资金账户ID
  2854. type: integer
  2855. customeruserid:
  2856. description: 客户ID
  2857. type: integer
  2858. details:
  2859. description: 明细
  2860. items:
  2861. $ref: '#/definitions/erms3.SoptContractDetail'
  2862. type: array
  2863. orimargin:
  2864. description: 初始保证金
  2865. type: number
  2866. remark:
  2867. description: 备注
  2868. type: string
  2869. signdate:
  2870. description: 签订日期
  2871. type: string
  2872. required:
  2873. - accountid
  2874. - areauserid
  2875. - contractno
  2876. - contracttype
  2877. - customeraccountid
  2878. - customeruserid
  2879. - details
  2880. - orimargin
  2881. - signdate
  2882. type: object
  2883. erms3.AddSpotContractApplyRsp:
  2884. properties:
  2885. contractno:
  2886. description: 现货合同编号
  2887. type: string
  2888. spotcontractid:
  2889. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2890. type: integer
  2891. required:
  2892. - contractno
  2893. type: object
  2894. erms3.AddUserInfoApplyReq:
  2895. properties:
  2896. accountid:
  2897. description: 交易系统帐号Id (加密存储)
  2898. type: integer
  2899. areacode:
  2900. description: 机构代码
  2901. type: string
  2902. areaid:
  2903. description: 机构Id
  2904. type: integer
  2905. attachment1:
  2906. description: 附件1
  2907. type: string
  2908. attachment2:
  2909. description: 附件2
  2910. type: string
  2911. attachment3:
  2912. description: 附件3
  2913. type: string
  2914. attachment4:
  2915. description: 附件4
  2916. type: string
  2917. attachment5:
  2918. description: 附件5
  2919. type: string
  2920. auditedby:
  2921. description: 审核人
  2922. type: string
  2923. auditime:
  2924. description: 审核时间
  2925. type: string
  2926. auditsrc:
  2927. description: 审核来源 - 1:管理端 2:终端
  2928. type: integer
  2929. bankaccount:
  2930. description: 银行帐号 (加密存储)
  2931. type: string
  2932. bankaccountname:
  2933. description: 收款人名称
  2934. type: string
  2935. bankcardbackphotourl:
  2936. description: 银行卡背面照地址
  2937. type: string
  2938. bankcardfrontphotourl:
  2939. description: 银行卡正面照地址
  2940. type: string
  2941. bankid:
  2942. description: 银行编码
  2943. type: string
  2944. bankname:
  2945. description: 银行名称
  2946. type: string
  2947. bankpictureurl:
  2948. description: 银行卡正面地址
  2949. type: string
  2950. biznature:
  2951. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2952. type: integer
  2953. bizscope:
  2954. description: 企业经营范围(企业)
  2955. type: string
  2956. biztype:
  2957. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2958. type: integer
  2959. brokerid:
  2960. description: 经纪人ID(加密存储)
  2961. type: string
  2962. cardaddress:
  2963. description: 证件地址 (加密存储)
  2964. type: string
  2965. cardbackphotourl:
  2966. description: 背面证件照地址
  2967. type: string
  2968. cardfrontphotourl:
  2969. description: 正面证件照地址
  2970. type: string
  2971. cardnum:
  2972. description: 证件号码 (加密存储)
  2973. type: string
  2974. cardtype:
  2975. description: 证件类型
  2976. type: integer
  2977. cityid:
  2978. description: 市
  2979. type: integer
  2980. company:
  2981. description: 公司(个人)
  2982. type: string
  2983. contactcardbackphotourl:
  2984. description: 联系人证件背面图片地址
  2985. type: string
  2986. contactcardfrontphotourl:
  2987. description: 联系人证件正面图片地址
  2988. type: string
  2989. contactname:
  2990. description: 联系人
  2991. type: string
  2992. countryid:
  2993. description: 国家
  2994. type: integer
  2995. createtime:
  2996. description: 开户申请时间
  2997. type: string
  2998. cusbankid:
  2999. description: 签约类型
  3000. type: string
  3001. cusbankname:
  3002. description: 签约类型名称
  3003. type: string
  3004. customername:
  3005. description: 客户名称(企业名称)
  3006. type: string
  3007. districtid:
  3008. description: 地区
  3009. type: integer
  3010. email:
  3011. description: Email地址(加密存储)
  3012. type: string
  3013. halfbodyphotourl:
  3014. description: 半身照地址
  3015. type: string
  3016. headurl:
  3017. description: 头像地址
  3018. type: string
  3019. ipaddress:
  3020. description: IP地址
  3021. type: string
  3022. isvalidate:
  3023. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3024. type: string
  3025. legalcardbackphotourl:
  3026. description: 法人身份证背面照地址
  3027. type: string
  3028. legalcardfrontphotourl:
  3029. description: 法人身份证正面照地址
  3030. type: string
  3031. legalpersonname:
  3032. description: 法人姓名(企业)
  3033. type: string
  3034. logincode:
  3035. description: 登录帐号 (加密存储)
  3036. type: string
  3037. memberareaid:
  3038. description: 所属会员ID
  3039. type: integer
  3040. mobile2:
  3041. description: 手机号码[明文-尚志]
  3042. type: string
  3043. mobilephone:
  3044. description: 手机号码 (加密存储)
  3045. type: string
  3046. modifiedby:
  3047. description: 修改人帐号
  3048. type: integer
  3049. modifiedtime:
  3050. description: 修改时间
  3051. type: string
  3052. nickname:
  3053. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3054. type: string
  3055. openmode:
  3056. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3057. type: integer
  3058. otherurl:
  3059. description: 其它图片地址[使用分号分隔]
  3060. type: string
  3061. postalcode:
  3062. description: 邮政编码
  3063. type: string
  3064. provinceid:
  3065. description: 省
  3066. type: integer
  3067. proxystatementurl:
  3068. description: 授权委托书
  3069. type: string
  3070. qq:
  3071. description: QQ(加密存储
  3072. type: string
  3073. referral:
  3074. description: 推荐人编码
  3075. type: string
  3076. remark:
  3077. description: 备注
  3078. type: string
  3079. removebeforestatus:
  3080. description: REMOVEBEFORESTATUS
  3081. type: integer
  3082. sex:
  3083. description: 性别 - 0:女 1:男
  3084. type: integer
  3085. signedstatus:
  3086. description: 账户一号签签约状态
  3087. type: integer
  3088. signpdfurl:
  3089. description: 签约pdf文件
  3090. type: string
  3091. subbranch:
  3092. description: 开户支行
  3093. type: string
  3094. taxpayernum:
  3095. description: 纳税人识别号
  3096. type: string
  3097. telphone:
  3098. description: 联系电话(加密存储)
  3099. type: string
  3100. userid:
  3101. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3102. type: integer
  3103. userinfotype:
  3104. description: 用户信息类型 - 1:个人 2:企业
  3105. type: integer
  3106. username:
  3107. description: 用户姓名
  3108. type: string
  3109. userstate:
  3110. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3111. type: integer
  3112. usertype:
  3113. description: 用户类型 - 1:投资者 2:机构
  3114. type: integer
  3115. videourl:
  3116. description: 视频地址
  3117. type: string
  3118. wechat:
  3119. description: 微信号 (加密存储)
  3120. type: string
  3121. required:
  3122. - userid
  3123. type: object
  3124. erms3.CustomerInfo:
  3125. properties:
  3126. accountids:
  3127. description: 资金账户ID列表
  3128. items:
  3129. type: integer
  3130. type: array
  3131. customername:
  3132. description: 名称(企业名称)
  3133. type: string
  3134. mobile:
  3135. description: 手机号码
  3136. type: string
  3137. userid:
  3138. description: 用户ID
  3139. type: integer
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.ModifyUserInfoApplyReq:
  3144. properties:
  3145. accountid:
  3146. description: 交易系统帐号Id (加密存储)
  3147. type: integer
  3148. areacode:
  3149. description: 机构代码
  3150. type: string
  3151. areaid:
  3152. description: 机构Id
  3153. type: integer
  3154. attachment1:
  3155. description: 附件1
  3156. type: string
  3157. attachment2:
  3158. description: 附件2
  3159. type: string
  3160. attachment3:
  3161. description: 附件3
  3162. type: string
  3163. attachment4:
  3164. description: 附件4
  3165. type: string
  3166. attachment5:
  3167. description: 附件5
  3168. type: string
  3169. auditedby:
  3170. description: 审核人
  3171. type: string
  3172. auditime:
  3173. description: 审核时间
  3174. type: string
  3175. auditsrc:
  3176. description: 审核来源 - 1:管理端 2:终端
  3177. type: integer
  3178. bankaccount:
  3179. description: 银行帐号 (加密存储)
  3180. type: string
  3181. bankaccountname:
  3182. description: 收款人名称
  3183. type: string
  3184. bankcardbackphotourl:
  3185. description: 银行卡背面照地址
  3186. type: string
  3187. bankcardfrontphotourl:
  3188. description: 银行卡正面照地址
  3189. type: string
  3190. bankid:
  3191. description: 银行编码
  3192. type: string
  3193. bankname:
  3194. description: 银行名称
  3195. type: string
  3196. bankpictureurl:
  3197. description: 银行卡正面地址
  3198. type: string
  3199. biznature:
  3200. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3201. type: integer
  3202. bizscope:
  3203. description: 企业经营范围(企业)
  3204. type: string
  3205. biztype:
  3206. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3207. type: integer
  3208. brokerid:
  3209. description: 经纪人ID(加密存储)
  3210. type: string
  3211. cardaddress:
  3212. description: 证件地址 (加密存储)
  3213. type: string
  3214. cardbackphotourl:
  3215. description: 背面证件照地址
  3216. type: string
  3217. cardfrontphotourl:
  3218. description: 正面证件照地址
  3219. type: string
  3220. cardnum:
  3221. description: 证件号码 (加密存储)
  3222. type: string
  3223. cardtype:
  3224. description: 证件类型
  3225. type: integer
  3226. cityid:
  3227. description: 市
  3228. type: integer
  3229. company:
  3230. description: 公司(个人)
  3231. type: string
  3232. contactcardbackphotourl:
  3233. description: 联系人证件背面图片地址
  3234. type: string
  3235. contactcardfrontphotourl:
  3236. description: 联系人证件正面图片地址
  3237. type: string
  3238. contactname:
  3239. description: 联系人
  3240. type: string
  3241. countryid:
  3242. description: 国家
  3243. type: integer
  3244. createtime:
  3245. description: 开户申请时间
  3246. type: string
  3247. cusbankid:
  3248. description: 签约类型
  3249. type: string
  3250. cusbankname:
  3251. description: 签约类型名称
  3252. type: string
  3253. customername:
  3254. description: 客户名称(企业名称)
  3255. type: string
  3256. districtid:
  3257. description: 地区
  3258. type: integer
  3259. email:
  3260. description: Email地址(加密存储)
  3261. type: string
  3262. halfbodyphotourl:
  3263. description: 半身照地址
  3264. type: string
  3265. headurl:
  3266. description: 头像地址
  3267. type: string
  3268. ipaddress:
  3269. description: IP地址
  3270. type: string
  3271. isvalidate:
  3272. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3273. type: string
  3274. legalcardbackphotourl:
  3275. description: 法人身份证背面照地址
  3276. type: string
  3277. legalcardfrontphotourl:
  3278. description: 法人身份证正面照地址
  3279. type: string
  3280. legalpersonname:
  3281. description: 法人姓名(企业)
  3282. type: string
  3283. logincode:
  3284. description: 登录帐号 (加密存储)
  3285. type: string
  3286. memberareaid:
  3287. description: 所属会员ID
  3288. type: integer
  3289. mobile2:
  3290. description: 手机号码[明文-尚志]
  3291. type: string
  3292. mobilephone:
  3293. description: 手机号码 (加密存储)
  3294. type: string
  3295. modifiedby:
  3296. description: 修改人帐号
  3297. type: integer
  3298. modifiedtime:
  3299. description: 修改时间
  3300. type: string
  3301. nickname:
  3302. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3303. type: string
  3304. openmode:
  3305. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3306. type: integer
  3307. otherurl:
  3308. description: 其它图片地址[使用分号分隔]
  3309. type: string
  3310. postalcode:
  3311. description: 邮政编码
  3312. type: string
  3313. provinceid:
  3314. description: 省
  3315. type: integer
  3316. proxystatementurl:
  3317. description: 授权委托书
  3318. type: string
  3319. qq:
  3320. description: QQ(加密存储
  3321. type: string
  3322. referral:
  3323. description: 推荐人编码
  3324. type: string
  3325. remark:
  3326. description: 备注
  3327. type: string
  3328. removebeforestatus:
  3329. description: REMOVEBEFORESTATUS
  3330. type: integer
  3331. sex:
  3332. description: 性别 - 0:女 1:男
  3333. type: integer
  3334. signedstatus:
  3335. description: 账户一号签签约状态
  3336. type: integer
  3337. signpdfurl:
  3338. description: 签约pdf文件
  3339. type: string
  3340. subbranch:
  3341. description: 开户支行
  3342. type: string
  3343. taxpayernum:
  3344. description: 纳税人识别号
  3345. type: string
  3346. telphone:
  3347. description: 联系电话(加密存储)
  3348. type: string
  3349. userid:
  3350. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3351. type: integer
  3352. userinfotype:
  3353. description: 用户信息类型 - 1:个人 2:企业
  3354. type: integer
  3355. username:
  3356. description: 用户姓名
  3357. type: string
  3358. userstate:
  3359. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3360. type: integer
  3361. usertype:
  3362. description: 用户类型 - 1:投资者 2:机构
  3363. type: integer
  3364. videourl:
  3365. description: 视频地址
  3366. type: string
  3367. wechat:
  3368. description: 微信号 (加密存储)
  3369. type: string
  3370. required:
  3371. - userid
  3372. type: object
  3373. erms3.QryAuditContractRsp:
  3374. properties:
  3375. accountid:
  3376. description: 交易员ID
  3377. type: string
  3378. applystatus:
  3379. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3380. type: integer
  3381. curdeliveryqty:
  3382. description: 未交收量
  3383. type: integer
  3384. customername:
  3385. description: 采购方ID
  3386. type: string
  3387. deliverygoodsid:
  3388. description: 品种ID
  3389. type: string
  3390. deliveryqty:
  3391. description: 交收量
  3392. type: integer
  3393. enumdicname:
  3394. description: 单位名称
  3395. type: string
  3396. matchaccountid:
  3397. description: 业务员ID
  3398. type: string
  3399. matchcustomername:
  3400. description: 销售方ID
  3401. type: string
  3402. pricedqty:
  3403. description: 定价量
  3404. type: number
  3405. signdate:
  3406. description: 签订日期
  3407. type: string
  3408. spotcontractid:
  3409. description: 合同ID
  3410. type: string
  3411. totaldqty:
  3412. description: 合同量
  3413. type: number
  3414. unpricedqty:
  3415. description: 未定价量
  3416. type: number
  3417. wrstandardname:
  3418. description: 商品名称
  3419. type: string
  3420. required:
  3421. - matchcustomername
  3422. - spotcontractid
  3423. type: object
  3424. erms3.QryPendingBizRsp:
  3425. properties:
  3426. accountid:
  3427. description: 现货账户
  3428. type: string
  3429. areaname:
  3430. description: 所属部门
  3431. type: string
  3432. bizid:
  3433. description: 业务ID
  3434. type: string
  3435. bizname:
  3436. description: 业务名称
  3437. type: string
  3438. status:
  3439. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3440. type: integer
  3441. type:
  3442. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3443. type: integer
  3444. type: object
  3445. erms3.QueryBusinessInfoRsp:
  3446. properties:
  3447. businessid:
  3448. description: 业务ID.
  3449. type: integer
  3450. buyamount:
  3451. description: 采购额.
  3452. type: number
  3453. buyqty:
  3454. description: 采购量.
  3455. type: string
  3456. futurepl:
  3457. description: 期货盈亏.
  3458. type: number
  3459. futureqty:
  3460. description: 期货敞口.
  3461. type: string
  3462. goodsid:
  3463. description: 商品名称/商品代码.
  3464. type: string
  3465. hedgingqty:
  3466. description: 套保量.
  3467. type: string
  3468. sellamount:
  3469. description: 销售额.
  3470. type: number
  3471. sellqty:
  3472. description: 销售量.
  3473. type: string
  3474. spotmarketvalue:
  3475. description: 现货市值.
  3476. type: number
  3477. spotpl:
  3478. description: 浮动权益.
  3479. type: number
  3480. spotqty:
  3481. description: 现货量.
  3482. type: string
  3483. statu:
  3484. description: 状态,0-未结束 1-已结束.
  3485. type: integer
  3486. totalpl:
  3487. description: 总盈亏.
  3488. type: number
  3489. totalqty:
  3490. description: 总敞口.
  3491. type: string
  3492. type:
  3493. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3494. type: integer
  3495. type: object
  3496. erms3.QuerySpotContractAppleFormRsp:
  3497. properties:
  3498. goodses:
  3499. description: 合约列表
  3500. items:
  3501. $ref: '#/definitions/models.GoodsIDAndName'
  3502. type: array
  3503. oppositeusers:
  3504. description: 对方账号列表
  3505. items:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. type: array
  3508. ouruser:
  3509. $ref: '#/definitions/erms3.CustomerInfo'
  3510. description: 我方账号
  3511. warehouseinfos:
  3512. description: 仓库信息列表
  3513. items:
  3514. $ref: '#/definitions/models.Warehouseinfo'
  3515. type: array
  3516. wrstandards:
  3517. description: 仓单标准列表
  3518. items:
  3519. $ref: '#/definitions/models.WRStandardInfo'
  3520. type: array
  3521. type: object
  3522. erms3.QuerySpotContractInfoRsp:
  3523. properties:
  3524. accountid:
  3525. description: 表示交易员ID.
  3526. type: integer
  3527. curdeliveryqty:
  3528. description: 表示未交收量.
  3529. type: number
  3530. customername:
  3531. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3532. type: string
  3533. deliverygoodsid:
  3534. description: 表示品种ID.
  3535. type: string
  3536. deliveryqty:
  3537. description: 表示交收量.
  3538. type: number
  3539. matchaccountid:
  3540. description: 表示业务员ID.
  3541. type: integer
  3542. matchcustomername:
  3543. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3544. type: string
  3545. priceqty:
  3546. description: 表示定价量.
  3547. type: number
  3548. relatedbizid:
  3549. description: 表示业务ID.
  3550. type: string
  3551. signdate:
  3552. description: 表示签订日期.
  3553. type: string
  3554. spotcontractid:
  3555. description: 合同ID
  3556. type: string
  3557. status:
  3558. description: 表示状态,0-履约中 1-已完成.
  3559. type: integer
  3560. totalqty:
  3561. description: 表示合同量.
  3562. type: number
  3563. unpricedqty:
  3564. description: 表示未定价量.
  3565. type: number
  3566. wrstandardname:
  3567. description: 表示商品ID.
  3568. type: string
  3569. type: object
  3570. erms3.QueryUserInfoAppliesRsp:
  3571. properties:
  3572. biznature:
  3573. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3574. type: integer
  3575. contactname:
  3576. description: 联系人
  3577. type: string
  3578. createtime:
  3579. description: 开户申请时间
  3580. type: string
  3581. userid:
  3582. description: 用户ID(自增ID)
  3583. type: integer
  3584. userinfotype:
  3585. description: 用户信息类型 - 1:个人 2:企业
  3586. type: integer
  3587. username:
  3588. description: 用户姓名
  3589. type: string
  3590. userstate:
  3591. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3592. type: integer
  3593. required:
  3594. - userid
  3595. type: object
  3596. erms3.QueryUserInfosRsp:
  3597. properties:
  3598. biznature:
  3599. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3600. type: integer
  3601. contactname:
  3602. description: 联系人
  3603. type: string
  3604. customername:
  3605. description: 客户名称(企业名称)
  3606. type: string
  3607. userid:
  3608. description: 用户ID
  3609. type: integer
  3610. userinfotype:
  3611. description: 用户信息类型 - 1:个人 2:企业
  3612. type: integer
  3613. userstatus:
  3614. description: 用户状态 - 1:正常 2:注销
  3615. type: integer
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.SoptContractDetail:
  3620. properties:
  3621. deliverygoodsdesc:
  3622. description: 现货品种说明
  3623. type: string
  3624. deliverygoodsid:
  3625. description: 现货品种ID
  3626. type: integer
  3627. deliverygoodsname:
  3628. description: 现货品种名称
  3629. type: string
  3630. pointdesc:
  3631. description: 点价描述
  3632. type: string
  3633. producttype:
  3634. description: 产品类型 1:标准仓单 2:等标 3:非标
  3635. type: integer
  3636. producttypename:
  3637. description: 产品类型名称
  3638. type: string
  3639. spotPointOrderVoList:
  3640. description: 点价列表
  3641. items:
  3642. $ref: '#/definitions/erms3.SpotPointOrder'
  3643. type: array
  3644. spotPriceOrderList:
  3645. description: 定价列表
  3646. items:
  3647. $ref: '#/definitions/erms3.SpotPriceOrder'
  3648. type: array
  3649. unitname:
  3650. description: 单位名称
  3651. type: string
  3652. warehouseid:
  3653. description: 仓库ID
  3654. type: integer
  3655. warehousename:
  3656. description: 仓库名称
  3657. type: string
  3658. wrstandardid:
  3659. description: 交易标的ID
  3660. type: integer
  3661. wrstandardname:
  3662. description: 交易标的名称
  3663. type: string
  3664. required:
  3665. - deliverygoodsid
  3666. - producttype
  3667. - unitname
  3668. - warehouseid
  3669. - wrstandardid
  3670. - wrstandardname
  3671. type: object
  3672. erms3.SpotPointOrder:
  3673. properties:
  3674. basic:
  3675. description: 基差
  3676. type: number
  3677. deliveryenddate:
  3678. description: 交收结束日期
  3679. type: string
  3680. deliverystartdate:
  3681. description: 交收开始日期
  3682. type: string
  3683. enddate:
  3684. description: 点价结束日期
  3685. type: string
  3686. goodsid:
  3687. description: 商品ID
  3688. type: integer
  3689. goodsname:
  3690. description: 商品名称
  3691. type: string
  3692. qty:
  3693. description: 数量
  3694. type: number
  3695. startdate:
  3696. description: 点价开始日期
  3697. type: string
  3698. required:
  3699. - basic
  3700. - goodsid
  3701. - qty
  3702. type: object
  3703. erms3.SpotPriceOrder:
  3704. properties:
  3705. amount:
  3706. description: 金额
  3707. type: number
  3708. deliveryenddate:
  3709. description: 交收结束日期
  3710. type: string
  3711. deliverystartdate:
  3712. description: 交收开始日期
  3713. type: string
  3714. price:
  3715. description: 价格
  3716. type: number
  3717. qty:
  3718. description: 数量
  3719. type: number
  3720. required:
  3721. - amount
  3722. - price
  3723. - qty
  3724. type: object
  3725. hsby.GetHsbyMyCountRsp:
  3726. properties:
  3727. myCouponCount:
  3728. description: 我的优惠卷数量
  3729. type: integer
  3730. myOrderDetailListingCount:
  3731. description: 我的订单求购中数量
  3732. type: integer
  3733. myOrderDetailPreCount:
  3734. description: 我的订单抢购中数量
  3735. type: integer
  3736. myPackageUnReceiveCount:
  3737. description: 我的包裹待收货数量
  3738. type: integer
  3739. myPackageUnSendCount:
  3740. description: 我的包裹待发货数量
  3741. type: integer
  3742. myPayOrderCount:
  3743. description: 我的订单待付款数量
  3744. type: integer
  3745. type: object
  3746. hsby.QueryProvincesAndCitiesRsp:
  3747. properties:
  3748. cities:
  3749. description: 市
  3750. items:
  3751. $ref: '#/definitions/models.Division'
  3752. type: array
  3753. province:
  3754. $ref: '#/definitions/models.Division'
  3755. description: 省
  3756. type: object
  3757. models.Arearole:
  3758. properties:
  3759. createtime:
  3760. description: 创建时间
  3761. type: string
  3762. creatorid:
  3763. description: 创建人ID
  3764. type: integer
  3765. fromuserid:
  3766. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3767. type: integer
  3768. isreturnscore:
  3769. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3770. type: integer
  3771. modifierid:
  3772. description: 修改人ID
  3773. type: integer
  3774. modifytime:
  3775. description: 修改时间
  3776. type: string
  3777. orgtype:
  3778. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3779. type: integer
  3780. outuserid:
  3781. description: 外部账户[场外期权做市商]
  3782. type: string
  3783. parentuserid:
  3784. description: 上级组织机构(组织机构)
  3785. type: integer
  3786. roletype:
  3787. 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:门店
  3788. type: integer
  3789. rootuserid:
  3790. description: 顶级组织机构用户ID(组织机构)
  3791. type: integer
  3792. shoppassword:
  3793. description: 商城店铺登陆密码(商城店铺角色使用)
  3794. type: string
  3795. sublevelpath:
  3796. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3797. type: string
  3798. suborgtype:
  3799. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3800. type: integer
  3801. tradeaccountid:
  3802. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3803. type: integer
  3804. transurl:
  3805. description: 物流地址(物流机构)
  3806. type: string
  3807. userid:
  3808. description: 机构用户ID其他做市关系,都设置为 1
  3809. type: integer
  3810. required:
  3811. - roletype
  3812. - userid
  3813. type: object
  3814. models.Clientfixedadconfig:
  3815. properties:
  3816. adsort:
  3817. description: 排序
  3818. type: integer
  3819. adtype:
  3820. description: 广告位类型 - 1:新品抢购(HSBY)
  3821. type: integer
  3822. areauserid:
  3823. description: 所属机构ID
  3824. type: integer
  3825. createdate:
  3826. description: 创建时间
  3827. type: string
  3828. creatorid:
  3829. description: 创建人
  3830. type: integer
  3831. imagepath:
  3832. description: 图片
  3833. type: string
  3834. isshow:
  3835. description: 是否展示 - 0:不展示 1:展示
  3836. type: integer
  3837. modifierid:
  3838. description: 操作人
  3839. type: integer
  3840. recsize:
  3841. description: 推荐尺寸
  3842. type: string
  3843. title:
  3844. description: 标题
  3845. type: string
  3846. updatedate:
  3847. description: 更新时间
  3848. type: string
  3849. urlcontent:
  3850. description: 链接(地址或商品ID)
  3851. type: string
  3852. urltype:
  3853. description: 链接类型 - 1:直接地址 2:商品ID
  3854. type: integer
  3855. required:
  3856. - adsort
  3857. - adtype
  3858. type: object
  3859. models.Division:
  3860. properties:
  3861. autoid:
  3862. description: 自增ID
  3863. type: integer
  3864. divisioncode:
  3865. description: 行政代码
  3866. type: string
  3867. divisionlevel:
  3868. description: 行政级别
  3869. type: string
  3870. divisionname:
  3871. description: 行政名称
  3872. type: string
  3873. modifierid:
  3874. description: 修改人
  3875. type: integer
  3876. modifytime:
  3877. description: 修改时间
  3878. type: string
  3879. parentcode:
  3880. description: 上级行政代码
  3881. type: string
  3882. pathname:
  3883. description: 路径名称
  3884. type: string
  3885. postcode:
  3886. description: 邮政编码
  3887. type: string
  3888. separablename:
  3889. description: 可拆分的全称
  3890. type: string
  3891. shortcode:
  3892. description: 地区简码
  3893. type: string
  3894. required:
  3895. - autoid
  3896. - divisioncode
  3897. type: object
  3898. models.Enumdicitem:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. bankmappedvalue:
  3904. description: 银行服务对应值
  3905. type: string
  3906. enumdiccode:
  3907. description: 所属枚举代码
  3908. type: string
  3909. enumdicid:
  3910. description: 所属枚举ID
  3911. type: integer
  3912. enumdicname:
  3913. description: 枚举项名称
  3914. type: string
  3915. enumitemname:
  3916. description: 枚举项值
  3917. type: integer
  3918. enumitemstatus:
  3919. description: 枚举项状态 - 1.启用 2.不启用
  3920. type: integer
  3921. enumitemvalue:
  3922. description: 通用值 - [币种通用简写]
  3923. type: string
  3924. param1:
  3925. description: 参数1[币种:币种小数位]
  3926. type: string
  3927. param2:
  3928. description: 参数1[币种:币种显示单位]
  3929. type: string
  3930. remark:
  3931. description: 备注
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - enumdiccode
  3936. - enumdicid
  3937. - enumitemname
  3938. type: object
  3939. models.Ermcp3AreaSpot:
  3940. properties:
  3941. areauserid:
  3942. description: 所属机构
  3943. type: integer
  3944. convertratio:
  3945. description: 套保系数
  3946. type: number
  3947. decreaseqty:
  3948. description: 减少数量=-(销售已定价数量+采购计划数量)
  3949. type: number
  3950. enumdicname:
  3951. description: 单位名称
  3952. type: string
  3953. increaseqty:
  3954. description: 增加数量=销售计划数量+采购已定价数量
  3955. type: number
  3956. oritoalspotqty:
  3957. description: 昨日数量
  3958. type: number
  3959. totalspotqty:
  3960. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3961. type: number
  3962. unitid:
  3963. description: 现货商品单位id
  3964. type: integer
  3965. updatetime:
  3966. description: 更新时间
  3967. type: string
  3968. wrstandardcode:
  3969. description: 现货商品代码
  3970. type: string
  3971. wrstandardid:
  3972. description: 现货商品ID(SEQ_WRSTANDARD)
  3973. type: integer
  3974. wrstandardname:
  3975. description: 现货商品名称
  3976. type: string
  3977. type: object
  3978. models.Ermcp3AreaSpotDetail:
  3979. properties:
  3980. contracttype:
  3981. description: 合同类型 1-采购 -1-销售
  3982. type: integer
  3983. createtime:
  3984. description: 创建时间
  3985. type: string
  3986. enumdicname:
  3987. description: 现货商品单位名称
  3988. type: string
  3989. logtype:
  3990. description: 记录类型 1-套保 2-现货合同
  3991. type: integer
  3992. qty:
  3993. description: 数量
  3994. type: number
  3995. recordname:
  3996. description: 类型名称
  3997. type: string
  3998. relatedid:
  3999. description: 套保计划ID/现货合同ID
  4000. type: string
  4001. relatedno:
  4002. description: 编号
  4003. type: string
  4004. strtime:
  4005. description: 时间
  4006. type: string
  4007. wrstandardcode:
  4008. description: 现货商品代码
  4009. type: string
  4010. wrstandardid:
  4011. description: 现货商品ID(SEQ_WRSTANDARD)
  4012. type: integer
  4013. wrstandardname:
  4014. description: 现货商品名称
  4015. type: string
  4016. type: object
  4017. models.Ermcp3AreaSpotPLReport:
  4018. properties:
  4019. accountid:
  4020. description: 期货账户ID (作废, 默认为0)
  4021. type: integer
  4022. accountname:
  4023. description: 机构名称
  4024. type: string
  4025. actualpl:
  4026. description: 现货损益
  4027. type: number
  4028. areauserid:
  4029. description: 所属机构\交易用户ID
  4030. type: integer
  4031. begindate:
  4032. description: 开始交易日
  4033. type: string
  4034. biztype:
  4035. description: 业务类型 - 1:套保 2:套利
  4036. type: integer
  4037. brandname:
  4038. description: 品牌名称
  4039. type: string
  4040. curamount:
  4041. description: 期末额
  4042. type: number
  4043. curaverageprice:
  4044. description: 期末均价
  4045. type: number
  4046. curbuyamount:
  4047. description: 期末采购总额
  4048. type: number
  4049. curbuyqty:
  4050. description: 期末采购总量
  4051. type: number
  4052. curmarketvalue:
  4053. description: 参考市值(期末市值)
  4054. type: number
  4055. curqty:
  4056. description: 期末量
  4057. type: number
  4058. currencyid:
  4059. description: 结算币种ID【原值】
  4060. type: integer
  4061. currencyname:
  4062. description: 币种名称
  4063. type: string
  4064. cursellamount:
  4065. description: 期末销售总额
  4066. type: number
  4067. cursellqty:
  4068. description: 期末销售总量
  4069. type: number
  4070. curspotprice:
  4071. description: 参考市价(最新价)
  4072. type: number
  4073. cycletime:
  4074. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4075. type: string
  4076. cycletype:
  4077. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4078. type: integer
  4079. deliverygoodscode:
  4080. description: 现货商品代码
  4081. type: string
  4082. deliverygoodsid:
  4083. description: 现货品种ID
  4084. type: integer
  4085. deliverygoodsname:
  4086. description: 现货商品名称
  4087. type: string
  4088. enddate:
  4089. description: 结束交易日
  4090. type: string
  4091. enumdicname:
  4092. description: 现货商品单位名称
  4093. type: string
  4094. floatpl:
  4095. description: 浮动损益
  4096. type: number
  4097. goodsunitid:
  4098. description: 现货商品单位id
  4099. type: integer
  4100. oriamount:
  4101. description: 期初额
  4102. type: number
  4103. oriaverageprice:
  4104. description: 期初均价
  4105. type: number
  4106. oribuyamount:
  4107. description: 期初采购总额
  4108. type: number
  4109. oribuyqty:
  4110. description: 期初采购总量
  4111. type: number
  4112. oriqty:
  4113. description: 期初量
  4114. type: number
  4115. orisellamount:
  4116. description: 期初销售总额
  4117. type: number
  4118. orisellqty:
  4119. description: 期初销售总量
  4120. type: number
  4121. reckondate:
  4122. description: 日照时期(yyyyMMdd)
  4123. type: string
  4124. spotgoodsbrandid:
  4125. description: 现货品牌ID
  4126. type: integer
  4127. todaybuyamount:
  4128. description: 今日采购额(今采购额)
  4129. type: number
  4130. todaybuyaverageprice:
  4131. description: 今日采购均价
  4132. type: number
  4133. todaybuyqty:
  4134. description: 今日采购量(今采购量)
  4135. type: number
  4136. todayinqty:
  4137. description: 今日入库量(今入库量)
  4138. type: number
  4139. todayoutqty:
  4140. description: 今日出库量(今出库量)
  4141. type: number
  4142. todaysellamount:
  4143. description: 今日销售额(今销售额)
  4144. type: number
  4145. todaysellaverageprice:
  4146. description: 今日销售均价
  4147. type: number
  4148. todaysellqty:
  4149. description: 今日销售量(今销售量)
  4150. type: number
  4151. unitid:
  4152. description: 品类单位id
  4153. type: integer
  4154. unitidname:
  4155. description: 品类单位名称
  4156. type: string
  4157. updatetime:
  4158. description: 更新时间
  4159. type: string
  4160. wrfactortypeid:
  4161. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4162. type: integer
  4163. wrstandardcode:
  4164. description: 品类代码
  4165. type: string
  4166. wrstandardid:
  4167. description: 现货品类ID
  4168. type: integer
  4169. wrstandardname:
  4170. description: 品类名称
  4171. type: string
  4172. type: object
  4173. models.Ermcp3AreaStock:
  4174. properties:
  4175. brandname:
  4176. description: 品牌名称
  4177. type: string
  4178. curstock:
  4179. description: 期末库存量(今日量)
  4180. type: number
  4181. deliverygoodscode:
  4182. description: 现货品种代码
  4183. type: string
  4184. deliverygoodsid:
  4185. description: 现货品种id
  4186. type: integer
  4187. deliverygoodsname:
  4188. description: 现货品种名称
  4189. type: string
  4190. enumdicname:
  4191. description: 单位名称
  4192. type: string
  4193. goodsunitid:
  4194. description: 现货商品单位id
  4195. type: integer
  4196. oristock:
  4197. description: 期初库存量(昨日量)
  4198. type: number
  4199. spotgoodsbrandid:
  4200. description: 现货品牌ID
  4201. type: integer
  4202. todaybuyinqty:
  4203. description: 今日采购入库量
  4204. type: number
  4205. todayproduceinqty:
  4206. description: 今日生产入库量
  4207. type: number
  4208. todayproduceoutqty:
  4209. description: 今日生产出库量
  4210. type: number
  4211. todayselloutqty:
  4212. description: 今日销售出库量
  4213. type: number
  4214. unitid:
  4215. description: 单位id
  4216. type: integer
  4217. updatetime:
  4218. description: 更新时间
  4219. type: string
  4220. userid:
  4221. description: 机构ID
  4222. type: integer
  4223. username:
  4224. description: 机构名称
  4225. type: string
  4226. warehousecode:
  4227. description: 仓库代码
  4228. type: string
  4229. warehouseinfoid:
  4230. description: 仓库ID
  4231. type: string
  4232. warehousename:
  4233. description: 仓库名称
  4234. type: string
  4235. warehousetype:
  4236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4237. type: integer
  4238. wrstandardcode:
  4239. description: 品类代码
  4240. type: string
  4241. wrstandardid:
  4242. description: 品类ID
  4243. type: string
  4244. wrstandardname:
  4245. description: 品类名称
  4246. type: string
  4247. required:
  4248. - userid
  4249. type: object
  4250. models.Ermcp3AreaStockApply:
  4251. properties:
  4252. applyid:
  4253. description: 申请人
  4254. type: integer
  4255. applyname:
  4256. description: 申请人名称
  4257. type: string
  4258. applyremark:
  4259. description: 申请备注
  4260. type: string
  4261. applysrc:
  4262. description: 申请来源 - 1:管理端 2:终端
  4263. type: integer
  4264. applystatus:
  4265. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4266. type: integer
  4267. applytime:
  4268. description: 申请时间
  4269. type: string
  4270. auditid:
  4271. description: 审核人
  4272. type: integer
  4273. auditname:
  4274. description: 审核人名称
  4275. type: string
  4276. auditremark:
  4277. description: 审核备注
  4278. type: string
  4279. auditsrc:
  4280. description: 审核来源 - 1:管理端 2:终端
  4281. type: integer
  4282. audittime:
  4283. description: 审核时间
  4284. type: string
  4285. audittradedate:
  4286. description: 审核交易日(yyyyMMdd)
  4287. type: string
  4288. brandname:
  4289. description: 品牌名称
  4290. type: string
  4291. buynickname:
  4292. description: 采购方昵称
  4293. type: string
  4294. buyuserid:
  4295. description: 采购方userid
  4296. type: integer
  4297. buyusername:
  4298. description: 采购方名称
  4299. type: string
  4300. contractno:
  4301. description: 合同编号
  4302. type: string
  4303. contractqty:
  4304. description: 合同量
  4305. type: number
  4306. contracttype:
  4307. description: 现货合同类型 - 1:采购 -1:销售
  4308. type: integer
  4309. deliverygoodscode:
  4310. description: 现货品种代码
  4311. type: string
  4312. deliverygoodsid:
  4313. description: 现货品种id
  4314. type: integer
  4315. deliverygoodsname:
  4316. description: 现货品种名称
  4317. type: string
  4318. detailjson:
  4319. description: 明细数据
  4320. type: string
  4321. enumdicname:
  4322. description: 现货商品单位名称
  4323. type: string
  4324. inoutapplyid:
  4325. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4326. type: string
  4327. inouttype:
  4328. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4329. type: integer
  4330. pricetype:
  4331. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4332. type: integer
  4333. qty:
  4334. description: 数量
  4335. type: number
  4336. sellnickname:
  4337. description: 销售方昵称
  4338. type: string
  4339. selluserid:
  4340. description: 销售方userid
  4341. type: integer
  4342. sellusername:
  4343. description: 销售方名称
  4344. type: string
  4345. spotcontractid:
  4346. description: 关联现货合同ID
  4347. type: string
  4348. spotgoodsbrandid:
  4349. description: 现货品牌ID
  4350. type: integer
  4351. unitid:
  4352. description: 单位id
  4353. type: integer
  4354. userid:
  4355. description: 机构ID
  4356. type: integer
  4357. warehousecode:
  4358. description: 仓库代码
  4359. type: string
  4360. warehouseinfoid:
  4361. description: 现货仓库ID
  4362. type: string
  4363. warehousename:
  4364. description: 仓库名称
  4365. type: string
  4366. warehousetype:
  4367. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4368. type: integer
  4369. wrstandardcode:
  4370. description: 品类代码
  4371. type: string
  4372. wrstandardid:
  4373. description: 品类ID
  4374. type: integer
  4375. wrstandardname:
  4376. description: 品类名称
  4377. type: string
  4378. type: object
  4379. models.Ermcp3AreaStockApplySum:
  4380. properties:
  4381. brandname:
  4382. description: 品牌名称
  4383. type: string
  4384. inouttype:
  4385. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4386. type: integer
  4387. spotcontractid:
  4388. description: 关联现货合同ID
  4389. type: string
  4390. spotgoodsbrandid:
  4391. description: 品牌id
  4392. type: integer
  4393. totalqty:
  4394. description: 总数量
  4395. type: number
  4396. wrstandardid:
  4397. description: 品类id
  4398. type: integer
  4399. wrstandardname:
  4400. description: 品类名称
  4401. type: string
  4402. type: object
  4403. models.Ermcp3AreaStockReportEx:
  4404. properties:
  4405. begindate:
  4406. description: 开始交易日
  4407. type: string
  4408. brandname:
  4409. description: 品牌名称
  4410. type: string
  4411. curstock:
  4412. description: 期末库存量
  4413. type: number
  4414. cycletime:
  4415. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4416. type: string
  4417. cycletype:
  4418. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4419. type: integer
  4420. deliverygoodscode:
  4421. description: 现货品种代码
  4422. type: string
  4423. deliverygoodsid:
  4424. description: 现货品种id
  4425. type: integer
  4426. deliverygoodsname:
  4427. description: 现货品种名称
  4428. type: string
  4429. diffqty:
  4430. description: 库存变化量 = 期末 - 期初
  4431. type: number
  4432. enddate:
  4433. description: 结束交易日
  4434. type: string
  4435. enumdicname:
  4436. description: 单位名称
  4437. type: string
  4438. goodsunitid:
  4439. description: 现货单位id
  4440. type: integer
  4441. oristock:
  4442. description: 期初库存量
  4443. type: number
  4444. reckondate:
  4445. description: 日照时期(yyyyMMdd)
  4446. type: string
  4447. spotgoodsbrandid:
  4448. description: 现货品牌ID
  4449. type: integer
  4450. todaybuyinqty:
  4451. description: 今采购入库量
  4452. type: number
  4453. todayproduceinqty:
  4454. description: 今内部入库量
  4455. type: number
  4456. todayproduceoutqty:
  4457. description: 今内部出库量
  4458. type: number
  4459. todayselloutqty:
  4460. description: 今销售出库量
  4461. type: number
  4462. unbuyinqty:
  4463. description: 采购未入库量(数据库未找到相关字段?)
  4464. type: number
  4465. unitid:
  4466. description: 品类单位id
  4467. type: integer
  4468. unselloutqty:
  4469. description: 销售未出库量(数据库未找到相关字段?)
  4470. type: number
  4471. updatetime:
  4472. description: 更新时间
  4473. type: string
  4474. userid:
  4475. description: 机构ID
  4476. type: integer
  4477. username:
  4478. description: 机构名称
  4479. type: string
  4480. warehousecode:
  4481. description: 仓库代码
  4482. type: string
  4483. warehouseinfoid:
  4484. description: 仓库ID
  4485. type: string
  4486. warehousename:
  4487. description: 仓库名称
  4488. type: string
  4489. warehousetype:
  4490. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4491. type: integer
  4492. wrstandardcode:
  4493. description: 品类代码
  4494. type: string
  4495. wrstandardid:
  4496. description: 品类ID
  4497. type: integer
  4498. wrstandardname:
  4499. description: 品类名称
  4500. type: string
  4501. type: object
  4502. models.Ermcp3ArealSumPL:
  4503. properties:
  4504. accountname:
  4505. description: 机构名称
  4506. type: string
  4507. areauserid:
  4508. description: 所属机构\交易用户ID
  4509. type: integer
  4510. begindate:
  4511. description: 开始交易日
  4512. type: string
  4513. currencyid:
  4514. description: 结算币种ID
  4515. type: integer
  4516. currencyname:
  4517. description: 币种名称
  4518. type: string
  4519. cycletime:
  4520. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4521. type: string
  4522. cycletype:
  4523. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4524. type: integer
  4525. enddate:
  4526. description: 结束交易日
  4527. type: string
  4528. enumdicname:
  4529. description: 单位名称(套保品种)
  4530. type: string
  4531. futureactualpl:
  4532. description: 期货损益
  4533. type: number
  4534. futurefloatpl:
  4535. description: 期货浮动损益
  4536. type: number
  4537. futurespotratio:
  4538. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4539. type: number
  4540. goodsunitid:
  4541. description: 套保品种单位id
  4542. type: integer
  4543. hedgeexposurepl:
  4544. description: 套保敞口损益
  4545. type: number
  4546. middlegoodscode:
  4547. description: 套保品种代码
  4548. type: string
  4549. middlegoodsid:
  4550. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4551. type: integer
  4552. middlegoodsname:
  4553. description: 套保品种名称
  4554. type: string
  4555. reckondate:
  4556. description: 日照时期(yyyyMMdd)
  4557. type: string
  4558. spotactualpl:
  4559. description: 现货损益
  4560. type: number
  4561. spotfloatpl:
  4562. description: 现货浮动损益
  4563. type: number
  4564. sumactualpl:
  4565. description: 实际损益 = (ActualPL + FutureActualPL)
  4566. type: number
  4567. sumpl:
  4568. description: 总敞口损益 | 汇总损益
  4569. type: number
  4570. totalfutureqty:
  4571. description: 期货头寸总量
  4572. type: number
  4573. totalneedhedgeqty:
  4574. description: 应套保总量
  4575. type: number
  4576. totalspotqty:
  4577. description: 现货头寸总量
  4578. type: number
  4579. updatetime:
  4580. description: 更新时间
  4581. type: string
  4582. type: object
  4583. models.Ermcp3Brand:
  4584. properties:
  4585. areauserid:
  4586. description: 用户id
  4587. type: integer
  4588. brandid:
  4589. description: 品牌id
  4590. type: integer
  4591. brandname:
  4592. description: 品牌名称
  4593. type: string
  4594. deliverygoodsid:
  4595. description: 品种ID
  4596. type: integer
  4597. isvalid:
  4598. description: 是否有效
  4599. type: integer
  4600. type: object
  4601. models.Ermcp3Contract:
  4602. properties:
  4603. accountid:
  4604. description: 期货账户id
  4605. type: string
  4606. amount:
  4607. description: 金额 [1:一口价、3:暂定价]
  4608. type: number
  4609. attachment:
  4610. description: 附件
  4611. type: string
  4612. auditremark:
  4613. description: 审核意见
  4614. type: string
  4615. audittime:
  4616. description: 审核时间
  4617. type: string
  4618. biztype:
  4619. description: 业务类型 1-套保 2-套利
  4620. type: integer
  4621. brandname:
  4622. description: 品牌名称
  4623. type: string
  4624. buynickname:
  4625. description: 销售方昵称
  4626. type: string
  4627. buyuserid:
  4628. description: 采购方ID
  4629. type: integer
  4630. buyusername:
  4631. description: 采购方名称
  4632. type: string
  4633. contracctstatus:
  4634. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4635. type: integer
  4636. contractmargin:
  4637. description: 合同保证金
  4638. type: number
  4639. contractno:
  4640. description: 现货合同编号
  4641. type: string
  4642. contracttype:
  4643. description: 现货合同类型 - 1:采购 -1:销售
  4644. type: integer
  4645. convertfactor:
  4646. description: 标仓系数(品类)
  4647. type: number
  4648. createtime:
  4649. description: 创建时间
  4650. type: string
  4651. currencyid:
  4652. description: 币种id
  4653. type: integer
  4654. currencyname:
  4655. description: 币种名称
  4656. type: string
  4657. deliveryenddate:
  4658. description: 交收期(结束)
  4659. type: string
  4660. deliverygoodscode:
  4661. description: 现货品种代码
  4662. type: string
  4663. deliverygoodsid:
  4664. description: 现货品种ID
  4665. type: integer
  4666. deliverygoodsname:
  4667. description: 现货品种名称
  4668. type: string
  4669. deliverystartdate:
  4670. description: 交收期(开始)
  4671. type: string
  4672. enddate:
  4673. description: 点价结束日期 [2:点价 3:暂定价]
  4674. type: string
  4675. enumdicname:
  4676. description: 单位名称
  4677. type: string
  4678. goodscode:
  4679. description: 点价合约代码
  4680. type: string
  4681. goodsid:
  4682. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4683. type: integer
  4684. goodsname:
  4685. description: 点价商品名称
  4686. type: string
  4687. margin:
  4688. description: 当前保证金
  4689. type: number
  4690. meruserid:
  4691. description: 跟单员id
  4692. type: integer
  4693. meruserlogincode:
  4694. description: 跟单员登录代码
  4695. type: string
  4696. merusername:
  4697. description: 跟单员名称
  4698. type: string
  4699. price:
  4700. description: 价格\暂定价 [1:一口价、3:暂定价]
  4701. type: number
  4702. pricemove:
  4703. description: 升贴水 [2:点价 3:暂定价]
  4704. type: number
  4705. pricetype:
  4706. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4707. type: integer
  4708. producttype:
  4709. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4710. type: integer
  4711. qty:
  4712. description: 数量
  4713. type: number
  4714. remark:
  4715. description: 备注
  4716. type: string
  4717. saleuserid:
  4718. description: 业务员id
  4719. type: integer
  4720. saleuserlogincode:
  4721. description: 业务员登录代码
  4722. type: string
  4723. saleusername:
  4724. description: 业务员名称
  4725. type: string
  4726. sellnickname:
  4727. description: 采购方昵称
  4728. type: string
  4729. selluserid:
  4730. description: 销售方ID
  4731. type: integer
  4732. sellusername:
  4733. description: 销售方名称
  4734. type: string
  4735. spotcontractid:
  4736. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4737. type: string
  4738. spotgoodsbrandid:
  4739. description: 现货品牌ID(DGFactoryItem表的ID)
  4740. type: integer
  4741. spotgoodsdesc:
  4742. description: 商品型号
  4743. type: string
  4744. startdate:
  4745. description: 点价开始日期 [2:点价 3:暂定价]
  4746. type: string
  4747. subjectid:
  4748. description: 交易主体ID
  4749. type: integer
  4750. subjectname:
  4751. description: 交易主体名称
  4752. type: string
  4753. tradeuserid:
  4754. description: 交易员id
  4755. type: integer
  4756. tradeuserlogincode:
  4757. description: 交易员登录代码
  4758. type: string
  4759. tradeusername:
  4760. description: 交易员名称
  4761. type: string
  4762. unitid:
  4763. description: 单位id(取品类上的单位id)
  4764. type: integer
  4765. updatetime:
  4766. description: 更新时间
  4767. type: string
  4768. userid:
  4769. description: 所属机构ID
  4770. type: integer
  4771. vatrate:
  4772. description: 增值税率
  4773. type: number
  4774. wrstandardcode:
  4775. description: 品类代码
  4776. type: string
  4777. wrstandardid:
  4778. description: 品类ID
  4779. type: integer
  4780. wrstandardname:
  4781. description: 品类名称
  4782. type: string
  4783. type: object
  4784. models.Ermcp3ExposureContractDetail:
  4785. properties:
  4786. biztype:
  4787. description: 业务类型 1-套保 2-套利
  4788. type: integer
  4789. brandname:
  4790. description: 品牌名称
  4791. type: string
  4792. buyuserid:
  4793. description: 采购方id
  4794. type: integer
  4795. buyusername:
  4796. description: 采购方名称
  4797. type: string
  4798. contractno:
  4799. description: 合同编号
  4800. type: string
  4801. contracttype:
  4802. description: 现货合同类型 - 1:采购 -1:销售
  4803. type: integer
  4804. convertfactor:
  4805. description: 标仓系数
  4806. type: number
  4807. convertratio:
  4808. description: 折算系数(套保品种)
  4809. type: number
  4810. curqty:
  4811. description: 今定价量
  4812. type: number
  4813. deliverygoodscode:
  4814. description: 现货品种代码
  4815. type: string
  4816. deliverygoodsid:
  4817. description: 现货品种id
  4818. type: integer
  4819. deliverygoodsname:
  4820. description: 现货品种名称
  4821. type: string
  4822. diffhedgeqty:
  4823. description: 套保变动量
  4824. type: number
  4825. diffneedhedgeqty:
  4826. description: 应套保变动量
  4827. type: number
  4828. diffqty:
  4829. description: 套保品种今变动量
  4830. type: number
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. mgunitname:
  4835. description: 套保品种单位名称
  4836. type: string
  4837. middlegoodscode:
  4838. description: 套保品种代码
  4839. type: string
  4840. middlegoodsid:
  4841. description: 套保品种id
  4842. type: integer
  4843. middlegoodsname:
  4844. description: 套保品种名称
  4845. type: string
  4846. needarbitrageratio:
  4847. description: 应套利比例
  4848. type: number
  4849. needhedgeratio:
  4850. description: 应套保比例
  4851. type: number
  4852. pricedqty:
  4853. description: 已定价量
  4854. type: number
  4855. qty:
  4856. description: 合同量
  4857. type: number
  4858. selluserid:
  4859. description: 销售方id
  4860. type: integer
  4861. sellusername:
  4862. description: 销售方名称
  4863. type: string
  4864. spotcontractid:
  4865. description: 合同id
  4866. type: string
  4867. todaypricedqty:
  4868. description: 今定价量
  4869. type: number
  4870. tradedate:
  4871. description: 交易日
  4872. type: string
  4873. unitid:
  4874. description: 品类单位id
  4875. type: integer
  4876. userid:
  4877. description: 机构id
  4878. type: integer
  4879. username:
  4880. description: 交易用户
  4881. type: string
  4882. wrstandardcode:
  4883. description: 现货商品代码
  4884. type: string
  4885. wrstandardid:
  4886. description: 现货商品id
  4887. type: integer
  4888. wrstandardname:
  4889. description: 现货商品名称
  4890. type: string
  4891. type: object
  4892. models.Ermcp3ExposureDetail:
  4893. properties:
  4894. areauserid:
  4895. description: 机构ID
  4896. type: integer
  4897. changeQty:
  4898. description: 套保变动量
  4899. type: number
  4900. contracttype:
  4901. description: 现货合同类型 - 1:采购 -1:销售
  4902. type: integer
  4903. convertfactor:
  4904. description: 标仓系数
  4905. type: number
  4906. convertratio:
  4907. description: 折算系数
  4908. type: number
  4909. createtime:
  4910. description: 时间
  4911. type: string
  4912. enumdicname:
  4913. description: 现货商品单位名称
  4914. type: string
  4915. logtype:
  4916. description: 类型 - 1:套保计划 2:现货合同
  4917. type: integer
  4918. mgunitid:
  4919. description: 套保品种单位id
  4920. type: integer
  4921. mgunitidname:
  4922. description: 套保品种单位名称
  4923. type: string
  4924. middlegoodsId:
  4925. description: 套保商品id
  4926. type: integer
  4927. middlegoodscode:
  4928. description: 套保商品代码
  4929. type: string
  4930. middlegoodsname:
  4931. description: 套保商品名称
  4932. type: string
  4933. qty:
  4934. description: 数量
  4935. type: number
  4936. relateNo:
  4937. description: 现货合同/套保计划编号
  4938. type: string
  4939. unitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. wrstandardcode:
  4943. description: 现货商品代码
  4944. type: string
  4945. wrstandardid:
  4946. description: 现货商品ID(SEQ_WRSTANDARD)
  4947. type: integer
  4948. wrstandardname:
  4949. description: 现货商品名称
  4950. type: string
  4951. type: object
  4952. models.Ermcp3ExposureFutuDetail:
  4953. properties:
  4954. accountid:
  4955. description: 交易账户id
  4956. type: integer
  4957. accountname:
  4958. description: 交易账户
  4959. type: string
  4960. begindate:
  4961. description: 开始交易日
  4962. type: string
  4963. buyorsell:
  4964. description: 方向 0-买 1-卖
  4965. type: integer
  4966. diffmgqty:
  4967. description: 套保品种今变化量
  4968. type: number
  4969. diffneedqty:
  4970. description: 应套保总量变化量
  4971. type: number
  4972. difftradeqty:
  4973. description: 交易品种今变化量
  4974. type: number
  4975. enddate:
  4976. description: 结束交易日
  4977. type: string
  4978. enumdicname:
  4979. description: 单位名称
  4980. type: string
  4981. goodscode:
  4982. description: 商品代码
  4983. type: string
  4984. goodsid:
  4985. description: 商品id
  4986. type: integer
  4987. goodsname:
  4988. description: 商品名称
  4989. type: string
  4990. holdqty:
  4991. description: 期末持仓量
  4992. type: number
  4993. middlegoodscode:
  4994. description: 套保商品代码
  4995. type: string
  4996. middlegoodsid:
  4997. description: 套保商品id
  4998. type: integer
  4999. middlegoodsname:
  5000. description: 套保商品名称
  5001. type: string
  5002. oriholdqty:
  5003. description: 期初持仓量
  5004. type: number
  5005. todaycloseqty:
  5006. description: 今平仓量
  5007. type: number
  5008. todayopenqty:
  5009. description: 今开仓量
  5010. type: number
  5011. tradedate:
  5012. description: 交易日
  5013. type: string
  5014. username:
  5015. description: 用户名称(交易用户)
  5016. type: string
  5017. type: object
  5018. models.Ermcp3ExposureHedgeplanDetail:
  5019. properties:
  5020. biztype:
  5021. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5022. type: integer
  5023. changqty:
  5024. description: 应套保总量变化量
  5025. type: number
  5026. contracttype:
  5027. description: 计划类型 - 1:采购 -1:销售
  5028. type: integer
  5029. convertratio:
  5030. description: 折算系数(套保品种)
  5031. type: number
  5032. deliverygoodscode:
  5033. description: 现货商品代码
  5034. type: string
  5035. deliverygoodsid:
  5036. description: 现货商品id
  5037. type: integer
  5038. deliverygoodsname:
  5039. description: 现货商吕名称
  5040. type: string
  5041. dgunitid:
  5042. description: 现货商品单位id
  5043. type: integer
  5044. dgunitidname:
  5045. description: 单位名称(现货商品)
  5046. type: string
  5047. diffqty:
  5048. description: 套保品种今变动量
  5049. type: number
  5050. enumdicname:
  5051. description: 单位名称(品类)
  5052. type: string
  5053. hedgeplanid:
  5054. description: 套保计划id
  5055. type: string
  5056. hedgeplanno:
  5057. description: 套保计划名称
  5058. type: string
  5059. hedgeplanstatus:
  5060. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5061. type: integer
  5062. mgunitidname:
  5063. description: 单位名称(套保商品)
  5064. type: string
  5065. middlegoodscode:
  5066. description: 套保品种代码
  5067. type: string
  5068. middlegoodsid:
  5069. description: 套保品种id
  5070. type: integer
  5071. middlegoodsname:
  5072. description: 套保品种名称
  5073. type: string
  5074. needarbitrageratio:
  5075. description: 应套利比例
  5076. type: number
  5077. needhedgeratio:
  5078. description: 应套保比例
  5079. type: number
  5080. pricedqty:
  5081. description: 已定价量
  5082. type: number
  5083. qty:
  5084. description: 合同量
  5085. type: number
  5086. tradedate:
  5087. description: 交易日(登记日)
  5088. type: string
  5089. unitid:
  5090. description: 品类单位id
  5091. type: integer
  5092. userid:
  5093. description: 机构id
  5094. type: integer
  5095. wrstandardcode:
  5096. description: 品类代码
  5097. type: string
  5098. wrstandardid:
  5099. description: 品类id
  5100. type: integer
  5101. wrstandardname:
  5102. description: 品类名称
  5103. type: string
  5104. type: object
  5105. models.Ermcp3ExposureParamChLog:
  5106. properties:
  5107. accountid:
  5108. description: 期货账户ID (作废, 默认为0)
  5109. type: integer
  5110. aftervalue:
  5111. description: 应套保\套利量变更后(调整后应套保总量)
  5112. type: number
  5113. areauserid:
  5114. description: 所属机构\交易用户ID
  5115. type: integer
  5116. beforevalue:
  5117. description: 应套保\套利量变更前(调整前应套保总量)
  5118. type: number
  5119. begindate:
  5120. description: 开始交易日
  5121. type: string
  5122. changelogtype:
  5123. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5124. type: integer
  5125. curvalue:
  5126. description: 当前套保\套利量(套保总量|套利总量)
  5127. type: number
  5128. diffvalue:
  5129. description: 应套保总量变化量
  5130. type: number
  5131. enddate:
  5132. description: 结束交易日
  5133. type: string
  5134. logdatetime:
  5135. description: 流水日期
  5136. type: string
  5137. logid:
  5138. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5139. type: string
  5140. middlegoodscode:
  5141. description: 套保品种代码
  5142. type: string
  5143. middlegoodsid:
  5144. description: 套保品种
  5145. type: integer
  5146. middlegoodsname:
  5147. description: 套保品种名称
  5148. type: string
  5149. paramaftervalue:
  5150. description: 参数变更后(调整后参数值)
  5151. type: number
  5152. parambeforevalue:
  5153. description: 参数变更前(调整前参数值)
  5154. type: number
  5155. tradedate:
  5156. description: 交易日(yyyyMMdd)
  5157. type: string
  5158. type: object
  5159. models.Ermcp3ExpourseReport:
  5160. properties:
  5161. accountid:
  5162. description: 期货账户ID (作废, 默认为0)
  5163. type: integer
  5164. accountname:
  5165. description: 机构名称
  5166. type: string
  5167. arbitrageqty:
  5168. description: 套利量
  5169. type: number
  5170. areauserid:
  5171. description: 所属机构\交易用户ID
  5172. type: integer
  5173. begindate:
  5174. description: 开始交易日
  5175. type: string
  5176. buyfutureqty:
  5177. description: 买入期货数量
  5178. type: number
  5179. buyplanqty:
  5180. description: 采购计划数量
  5181. type: number
  5182. buypricedqty:
  5183. description: 采购合同已定价数量
  5184. type: number
  5185. cycletime:
  5186. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5187. type: string
  5188. cycletype:
  5189. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5190. type: integer
  5191. diffexposure:
  5192. description: 变动量(套保敞口)
  5193. type: number
  5194. difffutuqty:
  5195. description: 变动量(期货)
  5196. type: number
  5197. diffhedgeqty:
  5198. description: 变动量(现货应套保总量)
  5199. type: number
  5200. diffmgqtya:
  5201. description: 套保变动量
  5202. type: number
  5203. diffmgqtyb:
  5204. description: 套利变动量
  5205. type: number
  5206. diffqty:
  5207. description: 变动量(总敞口)
  5208. type: number
  5209. diffspotqty:
  5210. description: 变动量(现货)
  5211. type: number
  5212. enddate:
  5213. description: 结束交易日
  5214. type: string
  5215. enumdicname:
  5216. description: 单位名称
  5217. type: string
  5218. hedgeqty:
  5219. description: 套保量
  5220. type: number
  5221. mgneedhedgeratio:
  5222. description: 套保比例(套保品的)
  5223. type: number
  5224. middlegoodsid:
  5225. description: 套保品种ID
  5226. type: integer
  5227. middlegoodsname:
  5228. description: 套保商品名称
  5229. type: string
  5230. middlgoodscode:
  5231. description: 套保商品代码
  5232. type: string
  5233. needarbitrageqty:
  5234. description: 应套利量
  5235. type: number
  5236. needarbitrageratio:
  5237. description: 套利比例(套保品的)
  5238. type: number
  5239. needhedgeexposoure:
  5240. description: 应套保敞口(套保敞口)
  5241. type: number
  5242. needhedgeqty:
  5243. description: 应套保量
  5244. type: number
  5245. needhedgeratio:
  5246. description: 应套保敞口比例
  5247. type: number
  5248. oriarbitrageqty:
  5249. description: 期初套利量
  5250. type: number
  5251. oribuyfutureqty:
  5252. description: 期初买入期货数量
  5253. type: number
  5254. oribuyplanqty:
  5255. description: 期初采购计划数量
  5256. type: number
  5257. oribuypricedqty:
  5258. description: 期初采购合同已定价数量
  5259. type: number
  5260. orihedgeqty:
  5261. description: 期初套保量
  5262. type: number
  5263. orineedarbitrageqty:
  5264. description: 期初应套利量
  5265. type: number
  5266. orineedhedgeexposoure:
  5267. description: 期初应套保敞口
  5268. type: number
  5269. orineedhedgeqty:
  5270. description: 期初应套保量
  5271. type: number
  5272. orisellfutureqty:
  5273. description: 期初卖出期货数量
  5274. type: number
  5275. orisellplanqty:
  5276. description: 期初销售计划数量
  5277. type: number
  5278. orisellpricedqty:
  5279. description: 期初销售合同已定价数量
  5280. type: number
  5281. oritotalexposure:
  5282. description: 期初实时总敞口
  5283. type: number
  5284. oritotalfutureqty:
  5285. description: 期初期货头寸总量
  5286. type: number
  5287. oritotalneedhedgeqty:
  5288. description: 期初应套保总量
  5289. type: number
  5290. oritotalspotqty:
  5291. description: 期初现货头寸总量
  5292. type: number
  5293. reckondate:
  5294. description: 日照时期(yyyyMMdd)
  5295. type: string
  5296. sellfutureqty:
  5297. description: 卖出期货数量
  5298. type: number
  5299. sellplanqty:
  5300. description: 销售计划数量
  5301. type: number
  5302. sellpricedqty:
  5303. description: 销售合同已定价数量
  5304. type: number
  5305. totalexposure:
  5306. description: 实时总敞口(总敞口)
  5307. type: number
  5308. totalfutureqty:
  5309. description: 期货头寸总量(期货总量)
  5310. type: number
  5311. totalhedgeratio:
  5312. description: 敞口比例
  5313. type: number
  5314. totalneedhedgeqty:
  5315. description: 应套保总量(现货应套保总量)
  5316. type: number
  5317. totalspotqty:
  5318. description: 现货头寸总量
  5319. type: number
  5320. unitid:
  5321. description: 单位id
  5322. type: integer
  5323. updatetime:
  5324. description: 更新时间
  5325. type: string
  5326. type: object
  5327. models.Ermcp3FinanceReport:
  5328. properties:
  5329. accountname:
  5330. description: 机构名称
  5331. type: string
  5332. areauserid:
  5333. description: 所属机构\交易用户ID
  5334. type: integer
  5335. begindate:
  5336. description: 开始交易日
  5337. type: string
  5338. biztype:
  5339. description: 业务类型 - 1:套保 2:套利
  5340. type: integer
  5341. brandname:
  5342. description: 品牌名称
  5343. type: string
  5344. buypreinvoicedamount:
  5345. description: 采购预收票额(预收票额)
  5346. type: number
  5347. buyprepaidamount:
  5348. description: 采购预付款额(预付货款额)
  5349. type: number
  5350. buytodayinvoiceamount:
  5351. description: 采购今收票额(今收票额)
  5352. type: number
  5353. buytodayrefundamount:
  5354. description: 采购今收退款额(今收退款额)
  5355. type: number
  5356. buytodaysettleamount:
  5357. description: 采购今付款额(今付货款额)
  5358. type: number
  5359. buyuninvoicedamount:
  5360. description: 采购应收票额(应收票额)
  5361. type: number
  5362. buyunpaidamount:
  5363. description: 采购应付款额(应付货款额)
  5364. type: number
  5365. currencyid:
  5366. description: 结算币种ID
  5367. type: integer
  5368. currencyname:
  5369. description: 币种名称
  5370. type: string
  5371. cycletime:
  5372. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5373. type: string
  5374. cycletype:
  5375. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5376. type: integer
  5377. deliverygoodscode:
  5378. description: 现货品种代码
  5379. type: string
  5380. deliverygoodsid:
  5381. description: 现货品种ID
  5382. type: integer
  5383. deliverygoodsname:
  5384. description: 现货品种名称
  5385. type: string
  5386. enddate:
  5387. description: 结束交易日
  5388. type: string
  5389. reckondate:
  5390. description: 日照时期(yyyyMMdd)
  5391. type: string
  5392. sellpreinvoicedamount:
  5393. description: 销售预开票额(预开票额)
  5394. type: number
  5395. sellprepaidamount:
  5396. description: 销售预收款额(预收货款额)
  5397. type: number
  5398. selltodayinvoiceamount:
  5399. description: 销售今开票额(今开票额)
  5400. type: number
  5401. selltodayrefundamount:
  5402. description: 销售今付退款额(今付退款额)
  5403. type: number
  5404. selltodaysettleamount:
  5405. description: 销售今收款额(今收货款额)
  5406. type: number
  5407. selluninvoicedamount:
  5408. description: 销售应开票额(应开票额)
  5409. type: number
  5410. sellunpaidamount:
  5411. description: 销售应收款额(应收货款额)
  5412. type: number
  5413. spotgoodsbrandid:
  5414. description: 现货品牌ID
  5415. type: integer
  5416. todaypaysum:
  5417. description: 今付款合计
  5418. type: number
  5419. todayreceivesum:
  5420. description: 今收款合计
  5421. type: number
  5422. updatetime:
  5423. description: 更新时间
  5424. type: string
  5425. wrfactortypeid:
  5426. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5427. type: integer
  5428. wrstandardcode:
  5429. description: 品类代码
  5430. type: string
  5431. wrstandardid:
  5432. description: 现货商品ID
  5433. type: integer
  5434. wrstandardname:
  5435. description: 品类名称
  5436. type: string
  5437. type: object
  5438. models.Ermcp3GoodsGroup:
  5439. properties:
  5440. agreeunit:
  5441. description: 合约单位
  5442. type: number
  5443. areauserid:
  5444. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5445. type: integer
  5446. canshort:
  5447. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5448. type: integer
  5449. closepricemode:
  5450. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5451. type: integer
  5452. createtime:
  5453. description: 创建时间
  5454. type: string
  5455. creatorid:
  5456. description: 创建人
  5457. type: integer
  5458. currencyid:
  5459. description: 报价货币ID
  5460. type: integer
  5461. decimalplace:
  5462. description: 报价小数位
  5463. type: integer
  5464. enumdicname:
  5465. description: 单位名称
  5466. type: string
  5467. exchangefullname:
  5468. description: 交易所全称
  5469. type: string
  5470. excludecfg:
  5471. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5472. type: integer
  5473. exexchangecode:
  5474. description: 交易所代码
  5475. type: string
  5476. exexchangeid:
  5477. description: 外部交易所ID[通道交易]
  5478. type: integer
  5479. exexchangename:
  5480. description: 交易所名称
  5481. type: string
  5482. goodsgroupid:
  5483. description: 商品组ID(自增ID)
  5484. type: integer
  5485. goodsgroupname:
  5486. description: 商品组名称
  5487. type: string
  5488. goodsgroupstatus:
  5489. description: 商品组状态 - 1:正常 2:注销
  5490. type: integer
  5491. goodunitid:
  5492. description: 报价单位ID
  5493. type: integer
  5494. groupcategroyid:
  5495. description: 品种分类ID
  5496. type: integer
  5497. innerdealmode:
  5498. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5499. type: integer
  5500. marketid:
  5501. description: 所属市场ID
  5502. type: integer
  5503. modifierid:
  5504. description: 修改人
  5505. type: integer
  5506. modifytime:
  5507. description: 修改时间
  5508. type: string
  5509. outerdealmode:
  5510. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5511. type: integer
  5512. outergroupcode:
  5513. description: 外部商品组代码[通道交易]
  5514. type: string
  5515. quoteminunit:
  5516. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5517. type: integer
  5518. quotesourcegroupid:
  5519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5520. type: integer
  5521. syncgoodsqty:
  5522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5523. type: integer
  5524. required:
  5525. - areauserid
  5526. type: object
  5527. models.Ermcp3HedgePlan:
  5528. properties:
  5529. accountid:
  5530. description: 资金账号
  5531. type: integer
  5532. areauserid:
  5533. description: 用户ID
  5534. type: integer
  5535. auditid:
  5536. description: 审核id
  5537. type: integer
  5538. auditname:
  5539. description: 审核人名称
  5540. type: string
  5541. auditremark:
  5542. description: 审核备注
  5543. type: string
  5544. auditsrc:
  5545. description: 审核来源 1-管理端 2-终端
  5546. type: integer
  5547. audittime:
  5548. description: 审核时间
  5549. type: string
  5550. contracttype:
  5551. description: 计划类型 - 1:采购 -1:销售
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. currencyid:
  5560. description: 币种id
  5561. type: integer
  5562. currencyname:
  5563. description: 币种名称
  5564. type: string
  5565. deliverygoodscode:
  5566. description: 现货品种代码
  5567. type: string
  5568. deliverygoodsid:
  5569. description: 现货品种ID
  5570. type: integer
  5571. deliverygoodsname:
  5572. description: 现货品种名称
  5573. type: string
  5574. enumdicname:
  5575. description: 单位名称(现货商品)
  5576. type: string
  5577. hedgeplanid:
  5578. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5579. type: string
  5580. hedgeplanno:
  5581. description: 套保计划编号(名称)
  5582. type: string
  5583. hedgeplanstatus:
  5584. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5585. type: integer
  5586. planqty:
  5587. description: 计划数量
  5588. type: number
  5589. plantime:
  5590. description: 计划时间
  5591. type: string
  5592. producttype:
  5593. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5594. type: integer
  5595. remark:
  5596. description: 备注
  5597. type: string
  5598. spotgoodsdesc:
  5599. description: 商品型号
  5600. type: string
  5601. taaccountname:
  5602. description: 资金账号名称
  5603. type: string
  5604. tradeuserid:
  5605. description: 交易用户id
  5606. type: integer
  5607. tradeusername:
  5608. description: 交易用户名称
  5609. type: string
  5610. unitid:
  5611. description: 单位id(现货商品)
  5612. type: integer
  5613. updatetime:
  5614. description: 更新时间
  5615. type: string
  5616. vatrate:
  5617. description: 增值税率
  5618. type: number
  5619. wrstandardcode:
  5620. description: 品类代码
  5621. type: string
  5622. wrstandardid:
  5623. description: 品类id
  5624. type: integer
  5625. wrstandardname:
  5626. description: 品类名称
  5627. type: string
  5628. wrunitid:
  5629. description: 品类单位id
  5630. type: integer
  5631. wrunitidame:
  5632. description: 品类单位名称
  5633. type: string
  5634. type: object
  5635. models.Ermcp3InnerTradeLink:
  5636. properties:
  5637. accountid:
  5638. description: 期货账号代码 | 资金账号ID
  5639. type: integer
  5640. buyorsell:
  5641. description: 方向 - 0:买 1:卖
  5642. type: integer
  5643. channelbuildtype:
  5644. description: 委托单据类型 0:无 1:建仓 2:平仓
  5645. type: integer
  5646. currencyid:
  5647. description: 币种id
  5648. type: integer
  5649. currencyname:
  5650. description: 结算币种 名称
  5651. type: string
  5652. goodscode:
  5653. description: 商品代码
  5654. type: string
  5655. goodsid:
  5656. description: 商品ID
  5657. type: integer
  5658. goodsname:
  5659. description: 商品名称
  5660. type: string
  5661. outtradeid:
  5662. description: 外部成交单号
  5663. type: string
  5664. taname:
  5665. description: 期货账户名称
  5666. type: string
  5667. tradeid:
  5668. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5669. type: string
  5670. tradeprice:
  5671. description: 成交价格
  5672. type: number
  5673. tradeqty:
  5674. description: 期货成交数量
  5675. type: integer
  5676. tradetime:
  5677. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5678. type: string
  5679. username:
  5680. description: 用户名称
  5681. type: string
  5682. type: object
  5683. models.Ermcp3OutTradeLink:
  5684. properties:
  5685. buyorsell:
  5686. description: 买卖方向 - 0:买 1:卖
  5687. type: integer
  5688. channelbuildtype:
  5689. description: 开平标志- 0:无 1:建仓 2:平仓
  5690. type: integer
  5691. currencyname:
  5692. description: 币种名称
  5693. type: string
  5694. exexchangecode:
  5695. description: 交易所代码
  5696. type: string
  5697. exexchangename:
  5698. description: 交易所名称
  5699. type: string
  5700. goodscode:
  5701. description: 合约代码
  5702. type: string
  5703. goodsid:
  5704. description: 合约id
  5705. type: integer
  5706. goodsname:
  5707. description: 合约名称
  5708. type: string
  5709. hasinnerorder:
  5710. description: 是否有内部单关联 - 0:无 1:有
  5711. type: integer
  5712. hedgeaccountcode:
  5713. description: 外部账号 | 对冲账号
  5714. type: string
  5715. outtradeid:
  5716. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5717. type: string
  5718. tradeprice:
  5719. description: 成交价格
  5720. type: number
  5721. tradeqty:
  5722. description: 成交数量
  5723. type: integer
  5724. tradetime:
  5725. description: 成交时间
  5726. type: string
  5727. type: object
  5728. models.Ermcp3PaAreaAuditCfg:
  5729. properties:
  5730. areauserid:
  5731. description: 用户ID
  5732. type: integer
  5733. buyinauditflag:
  5734. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. costratioauditflag:
  5737. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. customerauditflag:
  5740. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. deliveryauditflag:
  5743. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. invoiceauditflag:
  5746. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. mgneedhedgeratioauditflag:
  5749. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. moneyauditflag:
  5752. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. operatorid:
  5755. description: 操作人
  5756. type: integer
  5757. operatorsrc:
  5758. description: 操作来源 - 1:管理端 2:终端
  5759. type: integer
  5760. pointpriceauditflag:
  5761. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceinauditflag:
  5764. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. produceoutauditflag:
  5767. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. selloutauditflag:
  5770. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgconvertratioauditflag:
  5773. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. sgvtaratioauditflag:
  5776. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. spotcontractauditflag:
  5779. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5780. type: integer
  5781. updatetime:
  5782. description: 更新时间
  5783. type: string
  5784. type: object
  5785. models.Ermcp3PaAreaSubject:
  5786. properties:
  5787. areauserid:
  5788. description: 所属机构
  5789. type: integer
  5790. canmodify:
  5791. description: 是否可修改 - 0:否 1:是
  5792. type: integer
  5793. createtime:
  5794. description: 创建时间
  5795. type: string
  5796. creatorid:
  5797. description: 创建人ID
  5798. type: string
  5799. creatorsrc:
  5800. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: string
  5805. modifiersrc:
  5806. description: 修改人来源 - 1:管理端 2:终端
  5807. type: integer
  5808. modifytime:
  5809. description: 修改时间
  5810. type: string
  5811. parentsubjectid:
  5812. description: 上级主体ID
  5813. type: string
  5814. remark:
  5815. description: 备注
  5816. type: string
  5817. subjectid:
  5818. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5819. type: integer
  5820. subjectname:
  5821. description: 主体名称
  5822. type: string
  5823. subjectstatus:
  5824. description: '主体状态 - 1:正常 2: 停用'
  5825. type: integer
  5826. subjecttype:
  5827. description: 主体类型 - 1:交易主体 2:业务部门
  5828. type: integer
  5829. type: object
  5830. models.Ermcp3PaTradeLink:
  5831. properties:
  5832. accountid:
  5833. description: 期货账户代码 | 账号ID
  5834. type: integer
  5835. agreeunit:
  5836. description: 合约乘数
  5837. type: number
  5838. buyorsell:
  5839. description: 方向 - 0:买 1:卖
  5840. type: integer
  5841. channelbuildtype:
  5842. description: 委托单据类型 0:无 1:建仓 2:平仓
  5843. type: integer
  5844. charge:
  5845. description: 手续费
  5846. type: number
  5847. closepl:
  5848. description: 平仓盈亏
  5849. type: number
  5850. closetype:
  5851. description: 平仓方式 - 0:无 1:平今 2:平昨
  5852. type: integer
  5853. convertratio:
  5854. description: 折算系数
  5855. type: number
  5856. enumdicname:
  5857. description: 单位名称
  5858. type: string
  5859. executeprice:
  5860. description: 执行价 [期权]
  5861. type: integer
  5862. goodscode:
  5863. description: 合约代码
  5864. type: string
  5865. goodsgroupid:
  5866. description: 对冲品种ID[期货合约商品组ID]
  5867. type: integer
  5868. goodsid:
  5869. description: 商品ID
  5870. type: integer
  5871. goodsname:
  5872. description: 合约名称
  5873. type: string
  5874. goodunitid:
  5875. description: 单位id
  5876. type: integer
  5877. hedgeflag:
  5878. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5879. type: integer
  5880. marketid:
  5881. description: 市场ID
  5882. type: integer
  5883. middlegoodsid:
  5884. description: 套保品种ID
  5885. type: integer
  5886. middlegoodsqty:
  5887. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5888. type: number
  5889. optioncode:
  5890. description: 期权代码 [期权]
  5891. type: string
  5892. ordertype:
  5893. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5894. type: integer
  5895. ordertypename:
  5896. description: 订单类型
  5897. type: string
  5898. parentaccountid:
  5899. description: 所属母账户
  5900. type: integer
  5901. premium:
  5902. description: 权利金 [期权]
  5903. type: number
  5904. relatedlot:
  5905. description: 已关联数量(已关联数量手) | db:关联手数
  5906. type: number
  5907. relatedouttradeid:
  5908. description: 关联外部成交单ID
  5909. type: string
  5910. relatedqty:
  5911. description: 关联数量
  5912. type: number
  5913. spotcontractid:
  5914. description: 现货合同ID [4:套期保值\10\11]
  5915. type: string
  5916. taname:
  5917. description: 期货账户名称
  5918. type: string
  5919. tradeamount:
  5920. description: 成交金额(账户)
  5921. type: number
  5922. tradedate:
  5923. description: 交易日(yyyyMMdd)
  5924. type: string
  5925. tradeid:
  5926. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5927. type: string
  5928. tradelot:
  5929. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5930. type: integer
  5931. tradeprice:
  5932. description: 成交价格
  5933. type: number
  5934. tradetime:
  5935. description: 时间 | db:成交时间
  5936. type: string
  5937. tradetype:
  5938. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5939. type: integer
  5940. userid:
  5941. description: 所属机构 - 所属母账户的UserID
  5942. type: string
  5943. username:
  5944. description: 用户名称
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ParamChangeApp:
  5948. properties:
  5949. aftervalue:
  5950. description: 变更后
  5951. type: number
  5952. applicationid:
  5953. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5954. type: string
  5955. applyid:
  5956. description: 申请人
  5957. type: string
  5958. applyname:
  5959. description: 申请人名称(代码)
  5960. type: string
  5961. applyremark:
  5962. description: 申请备注
  5963. type: string
  5964. applysrc:
  5965. description: 申请来源 - 1:管理端 2:终端
  5966. type: integer
  5967. applystatus:
  5968. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5969. type: integer
  5970. applytime:
  5971. description: 申请时间
  5972. type: string
  5973. areauserid:
  5974. description: 所属机构用户ID
  5975. type: integer
  5976. auditid:
  5977. description: 审核人
  5978. type: string
  5979. auditname:
  5980. description: 审核人名称(代码)
  5981. type: string
  5982. auditremark:
  5983. description: 审核备注
  5984. type: string
  5985. auditsrc:
  5986. description: 审核来源 - 1:管理端 2:终端
  5987. type: integer
  5988. audittime:
  5989. description: 审核时间
  5990. type: string
  5991. audittradedate:
  5992. description: 审核交易日(yyyyMMdd)
  5993. type: string
  5994. beforevalue:
  5995. description: 变更前
  5996. type: number
  5997. deliverygoodscode:
  5998. description: 品种代码
  5999. type: string
  6000. deliverygoodsid:
  6001. description: 品种id
  6002. type: integer
  6003. deliverygoodsname:
  6004. description: 品种名称
  6005. type: string
  6006. middlegoodscode:
  6007. description: 套保品种代码
  6008. type: string
  6009. middlegoodsid:
  6010. description: 套保品种ID [ParamChangeType = 2,3,4]
  6011. type: integer
  6012. middlegoodsname:
  6013. description: 套保品种名称
  6014. type: string
  6015. operatetype:
  6016. description: 操作类型 - 1:新增 2:修改
  6017. type: integer
  6018. paramchangetype:
  6019. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6020. type: integer
  6021. wrstandardcode:
  6022. description: 现货商品代码
  6023. type: string
  6024. wrstandardid:
  6025. description: 现货商品ID [ParamChangeType = 1,2,3]
  6026. type: integer
  6027. wrstandardname:
  6028. description: 现货商品名称
  6029. type: string
  6030. type: object
  6031. models.Ermcp3RootUserAccount:
  6032. properties:
  6033. accountname:
  6034. description: 账户名称(机构名称)
  6035. type: string
  6036. accountstatus:
  6037. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6038. type: integer
  6039. applysrc:
  6040. description: 申请来源 - 1:管理端 2:终端
  6041. type: integer
  6042. auditremark:
  6043. description: 审核备注
  6044. type: string
  6045. auditsrc:
  6046. description: 审核来源 - 1:管理端 2:终端
  6047. type: integer
  6048. audittime:
  6049. description: 审核时间
  6050. type: string
  6051. audituserid:
  6052. description: 审核人
  6053. type: integer
  6054. broker:
  6055. description: 所属经纪人ID
  6056. type: integer
  6057. canceltime:
  6058. description: 销户时间
  6059. type: string
  6060. canceluserid:
  6061. description: 销户人
  6062. type: integer
  6063. canrecommend:
  6064. description: 是否可推荐 - 0:不可 1;可
  6065. type: integer
  6066. createtime:
  6067. description: 创建时间
  6068. type: string
  6069. creatorid:
  6070. description: 创建人
  6071. type: integer
  6072. hasauth:
  6073. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6074. type: integer
  6075. isanonymous:
  6076. description: 是否匿名下单 - 0:否 1:是
  6077. type: integer
  6078. maxinvestornum:
  6079. description: 最大用户数(经纪会员下投资者个数)
  6080. type: integer
  6081. memberuserid:
  6082. description: 所属会员ID
  6083. type: integer
  6084. modifierid:
  6085. description: 修改人
  6086. type: integer
  6087. modifyremark:
  6088. description: 变更备注
  6089. type: string
  6090. modifystatus:
  6091. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6092. type: integer
  6093. modifytime:
  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. goodsid:
  6406. description: 点价商品ID
  6407. type: integer
  6408. goodsname:
  6409. description: 点价商品名称
  6410. type: string
  6411. invoiceamount:
  6412. description: 已开票额
  6413. type: number
  6414. loanamount:
  6415. description: 贷款总额=已定价额+调整金额
  6416. type: number
  6417. margin:
  6418. description: 保证金
  6419. type: number
  6420. meruserid:
  6421. description: 跟单员id
  6422. type: integer
  6423. meruserlogincode:
  6424. description: 跟单员登录代码
  6425. type: string
  6426. merusername:
  6427. description: 跟单员名称
  6428. type: string
  6429. nickname:
  6430. description: 账户昵称
  6431. type: string
  6432. payamount:
  6433. description: 已收付额(收款或付款)
  6434. type: number
  6435. preinvoiceamount:
  6436. description: 预收(开)票额
  6437. type: number
  6438. prepayamount:
  6439. description: 预收付额
  6440. type: number
  6441. price:
  6442. description: 价格
  6443. type: number
  6444. pricedamount:
  6445. description: 已定价额
  6446. type: number
  6447. pricedavg:
  6448. description: 已点均价
  6449. type: number
  6450. pricedqty:
  6451. description: 已定价量
  6452. type: number
  6453. pricemove:
  6454. description: 升贴水
  6455. type: number
  6456. pricetype:
  6457. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6458. type: integer
  6459. producttype:
  6460. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6461. type: integer
  6462. qty:
  6463. description: 合同量
  6464. type: number
  6465. reckonadjustamount:
  6466. description: 调整金额
  6467. type: number
  6468. reckonedamount:
  6469. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6470. type: number
  6471. reckonotheramount:
  6472. description: 其它费用
  6473. type: number
  6474. reckonrealqty:
  6475. description: 已确定量
  6476. type: number
  6477. remark:
  6478. description: 备注
  6479. type: string
  6480. saleuserid:
  6481. description: 业务员id
  6482. type: integer
  6483. saleuserlogincode:
  6484. description: 业务员登录代码
  6485. type: string
  6486. saleusername:
  6487. description: 业务员名称
  6488. type: string
  6489. spotcontractid:
  6490. description: 合同ID
  6491. type: string
  6492. spotgoodsbrandid:
  6493. description: 现货品牌ID(DGFactoryItem表的ID)
  6494. type: integer
  6495. spotgoodsdesc:
  6496. description: 商品型号(商品规格)
  6497. type: string
  6498. startdate:
  6499. description: 点价开始日
  6500. type: string
  6501. subjectid:
  6502. description: 交易主体ID
  6503. type: integer
  6504. subjectname:
  6505. description: 交易主体名称
  6506. type: string
  6507. totalamount:
  6508. description: 合计总额
  6509. type: number
  6510. tradeuserid:
  6511. description: 交易员id
  6512. type: integer
  6513. tradeuserlogincode:
  6514. description: 交易员登录代码
  6515. type: string
  6516. tradeusername:
  6517. description: 交易员名称
  6518. type: string
  6519. unpayamount:
  6520. description: 应收付款额(应支付或应收款)
  6521. type: number
  6522. unpricedqty:
  6523. description: 未定价量
  6524. type: number
  6525. unsureqty:
  6526. description: 未确定量
  6527. type: number
  6528. userid:
  6529. description: 机构ID
  6530. type: integer
  6531. vatrate:
  6532. description: 增值税率
  6533. type: number
  6534. wrstandardcode:
  6535. description: 品类代码
  6536. type: string
  6537. wrstandardid:
  6538. description: 品类ID
  6539. type: integer
  6540. wrstandardname:
  6541. description: 品类名称
  6542. type: string
  6543. type: object
  6544. models.Ermcp3SpotGoodsPrice:
  6545. properties:
  6546. areauserid:
  6547. description: 所属机构id
  6548. type: integer
  6549. brandname:
  6550. description: 品牌名称
  6551. type: string
  6552. currencyid:
  6553. description: 报价货币ID
  6554. type: integer
  6555. currencyname:
  6556. description: 币种名称
  6557. type: string
  6558. deliverygoodscode:
  6559. description: 现货商品代码
  6560. type: string
  6561. deliverygoodsid:
  6562. description: 现货商品id
  6563. type: integer
  6564. deliverygoodsname:
  6565. description: 现货商品名称
  6566. type: string
  6567. enumdicname:
  6568. description: 现货商品单位名称
  6569. type: string
  6570. gbenumdicname:
  6571. description: 品类单位名称
  6572. type: string
  6573. gmunitid:
  6574. description: 品类单位id
  6575. type: integer
  6576. isvalid:
  6577. description: 是否有效 - 0:无效 1:有效
  6578. type: integer
  6579. operateid:
  6580. description: 最后操作人
  6581. type: integer
  6582. operatesrc:
  6583. description: 最后操作来源 - 1:管理端 2:终端
  6584. type: integer
  6585. operatetime:
  6586. description: 最后操作时间
  6587. type: string
  6588. operatorname:
  6589. description: 操作人名称
  6590. type: string
  6591. spotgoodsbrandid:
  6592. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6593. type: integer
  6594. spotgoodsprice:
  6595. description: 现货价格
  6596. type: number
  6597. tradedate:
  6598. description: 交易日(yyyyMMdd)
  6599. type: string
  6600. unitid:
  6601. description: 现货商品单位id
  6602. type: integer
  6603. wrstandardcode:
  6604. description: 品类代码
  6605. type: string
  6606. wrstandardid:
  6607. description: 现货品类ID(通用则为0)
  6608. type: integer
  6609. wrstandardname:
  6610. description: 品类名称
  6611. type: string
  6612. type: object
  6613. models.Ermcp3SpotGoodsPriceLog:
  6614. properties:
  6615. areauserid:
  6616. description: 所属机构id
  6617. type: integer
  6618. brandname:
  6619. description: 品牌名称
  6620. type: string
  6621. currencyid:
  6622. description: 报价货币ID
  6623. type: integer
  6624. deliverygoodscode:
  6625. description: 现货商品代码
  6626. type: string
  6627. deliverygoodsid:
  6628. description: 现货商品id
  6629. type: integer
  6630. deliverygoodsname:
  6631. description: 现货商品名称
  6632. type: string
  6633. enumdicname:
  6634. description: 现货商品单位名称
  6635. type: string
  6636. gbenumdicname:
  6637. description: 品类单位名称
  6638. type: string
  6639. gmunitid:
  6640. description: 品类单位id
  6641. type: integer
  6642. logid:
  6643. description: 日志id
  6644. type: integer
  6645. operateid:
  6646. description: 最后操作人
  6647. type: integer
  6648. operatesrc:
  6649. description: 最后操作来源 - 1:管理端 2:终端
  6650. type: integer
  6651. operatetime:
  6652. description: 最后操作时间
  6653. type: string
  6654. operatorname:
  6655. description: 操作人名称
  6656. type: string
  6657. spotgoodsbrandid:
  6658. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6659. type: integer
  6660. spotgoodsprice:
  6661. description: 现货价格
  6662. type: number
  6663. tradedate:
  6664. description: 交易日(yyyyMMdd)
  6665. type: string
  6666. unitid:
  6667. description: 现货商品单位id
  6668. type: integer
  6669. wrstandardcode:
  6670. description: 品类代码
  6671. type: string
  6672. wrstandardid:
  6673. description: 现货品类ID(通用则为0)
  6674. type: integer
  6675. wrstandardname:
  6676. description: 品类名称
  6677. type: string
  6678. type: object
  6679. models.Ermcp3SubTaaccount:
  6680. properties:
  6681. accountid:
  6682. description: 资金账户ID
  6683. type: integer
  6684. parentaccountcode:
  6685. description: 所属根账号代码(母账号代码)
  6686. type: string
  6687. parentaccountid:
  6688. description: 所属根账号(母账号)
  6689. type: integer
  6690. taname:
  6691. description: 资金账号名称
  6692. type: string
  6693. tradestatus:
  6694. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6695. type: integer
  6696. username:
  6697. description: 交易用户
  6698. type: string
  6699. type: object
  6700. models.Ermcp3TaFutuReDataReport:
  6701. properties:
  6702. accountid:
  6703. description: 交易账户
  6704. type: integer
  6705. accountname:
  6706. description: 交易账号名称
  6707. type: string
  6708. agreeunit:
  6709. description: 商品合约单位
  6710. type: number
  6711. begindate:
  6712. description: 开始交易日
  6713. type: string
  6714. buyorsell:
  6715. description: 持仓方向
  6716. type: integer
  6717. charge:
  6718. description: 手续费
  6719. type: number
  6720. closeavgprice:
  6721. description: 平仓均价
  6722. type: number
  6723. closepl:
  6724. description: 平仓损益
  6725. type: number
  6726. currencyid:
  6727. description: 结算币种ID
  6728. type: integer
  6729. currencyname:
  6730. description: 币种名称
  6731. type: string
  6732. cycletime:
  6733. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6734. type: string
  6735. cycletype:
  6736. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6737. type: integer
  6738. enddate:
  6739. description: 结束交易日
  6740. type: string
  6741. enumdicname:
  6742. description: 单位名称
  6743. type: string
  6744. floatpl:
  6745. description: 浮动损益
  6746. type: number
  6747. goodscode:
  6748. description: 交易合约代码
  6749. type: string
  6750. goodsgroupid:
  6751. description: 交易品种
  6752. type: integer
  6753. goodsgroupname:
  6754. description: 交易品种名称
  6755. type: string
  6756. goodsgroupspotqty:
  6757. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6758. type: number
  6759. goodsid:
  6760. description: 交易合约
  6761. type: integer
  6762. goodsname:
  6763. description: 交易合约名称
  6764. type: string
  6765. goodunitid:
  6766. description: 交易合约单位id
  6767. type: integer
  6768. holdamount:
  6769. description: 期末持仓额
  6770. type: number
  6771. holdqty:
  6772. description: 期末持仓量
  6773. type: number
  6774. lastholdamount:
  6775. description: 当前持仓额
  6776. type: number
  6777. lastprice:
  6778. description: 最新价
  6779. type: number
  6780. middlegoodsid:
  6781. description: 套保品种id
  6782. type: integer
  6783. middlegoodsname:
  6784. description: 套保商品名称
  6785. type: string
  6786. middlegoodsqty:
  6787. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6788. type: number
  6789. middlgoodscode:
  6790. description: 套保商品代码
  6791. type: string
  6792. openamount:
  6793. description: 期末开仓额
  6794. type: number
  6795. openavgprice:
  6796. description: 开仓均价
  6797. type: number
  6798. oriholdamount:
  6799. description: 期初持仓额
  6800. type: number
  6801. oriholdqty:
  6802. description: 期初持仓量
  6803. type: number
  6804. oriopenamount:
  6805. description: 期初开仓额
  6806. type: number
  6807. outergroupcode:
  6808. description: 交易品种代码
  6809. type: string
  6810. qtydecimalplace:
  6811. description: 成交量小数位
  6812. type: integer
  6813. reckondate:
  6814. description: 日照时期(yyyyMMdd)
  6815. type: string
  6816. reckonholdamount:
  6817. description: 结算持仓额
  6818. type: number
  6819. reckonpl:
  6820. description: 结算损益
  6821. type: number
  6822. reckonpl2:
  6823. description: 结算逐笔盈亏
  6824. type: number
  6825. reckonprice:
  6826. description: 结算价
  6827. type: number
  6828. relateduserid:
  6829. description: 账户关联用户ID
  6830. type: integer
  6831. todaycloseamount:
  6832. description: 今平仓额
  6833. type: number
  6834. todaycloseqty:
  6835. description: 今平仓量
  6836. type: number
  6837. todaygoodsgroupspotqty:
  6838. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6839. type: number
  6840. todaymiddlegoodsqty:
  6841. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6842. type: number
  6843. todayopenamount:
  6844. description: 今开仓额
  6845. type: number
  6846. todayopenqty:
  6847. description: 今开仓量
  6848. type: number
  6849. userid:
  6850. description: 账户所属用户ID
  6851. type: integer
  6852. type: object
  6853. models.Ermcp3TradeLinkDetail:
  6854. properties:
  6855. accountid:
  6856. description: 资金账号
  6857. type: integer
  6858. agreeunit:
  6859. description: 合约乘数
  6860. type: number
  6861. areauserid:
  6862. description: 所属机构
  6863. type: string
  6864. bizsubjectid:
  6865. description: 归属业务部门ID - SubjectID
  6866. type: string
  6867. buyorsell:
  6868. description: 方向 - 0:买 1:卖
  6869. type: integer
  6870. channelbuildtype:
  6871. description: 委托单据类型 0:无 1:建仓 2:平仓
  6872. type: integer
  6873. contractno:
  6874. description: 现货编号 (合同编号)
  6875. type: string
  6876. convertratio:
  6877. description: 折算系数
  6878. type: number
  6879. createtime:
  6880. description: 关联时间 | 创建时间
  6881. type: string
  6882. creatorid:
  6883. description: 创建人ID
  6884. type: string
  6885. creatorsrc:
  6886. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6887. type: integer
  6888. enumdicname:
  6889. description: 单位名称
  6890. type: string
  6891. goodscode:
  6892. description: 合约代码
  6893. type: string
  6894. goodsgroupid:
  6895. description: 对冲品种ID[期货合约商品组ID]
  6896. type: integer
  6897. goodsid:
  6898. description: 商品ID
  6899. type: integer
  6900. goodsname:
  6901. description: 合约名称
  6902. type: string
  6903. hedgeflag:
  6904. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6905. type: integer
  6906. linkdetailid:
  6907. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6908. type: string
  6909. linkstatus:
  6910. description: 关联状态 - 1:成功 2:失败 3:解绑
  6911. type: integer
  6912. middlegoodscode:
  6913. description: 套保品种代码
  6914. type: string
  6915. middlegoodsid:
  6916. description: 套保品种ID
  6917. type: integer
  6918. middlegoodsname:
  6919. description: 套保品种名称
  6920. type: string
  6921. relatedlot:
  6922. description: 关联手数
  6923. type: number
  6924. relatedmode:
  6925. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6926. type: integer
  6927. relatedqty:
  6928. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6929. type: number
  6930. retcode:
  6931. description: 返回码
  6932. type: integer
  6933. saleuserid:
  6934. description: 业务员ID
  6935. type: string
  6936. spotcontractid:
  6937. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6938. type: string
  6939. taname:
  6940. description: 期货账户
  6941. type: string
  6942. tradedate:
  6943. description: 关联交易日(yyyyMMdd)
  6944. type: string
  6945. tradeid:
  6946. description: 期货订单号 | 内部成交单ID
  6947. type: string
  6948. tradelot:
  6949. description: 成交数量 | 成交手数
  6950. type: integer
  6951. tradeprice:
  6952. description: 成交价格
  6953. type: number
  6954. tradetime:
  6955. description: 期货成交时间
  6956. type: string
  6957. tradetradedate:
  6958. description: 成交交易日(yyyyMMdd)
  6959. type: string
  6960. username:
  6961. description: 用户名称
  6962. type: string
  6963. type: object
  6964. models.Ermcp3Wrstandard:
  6965. properties:
  6966. areauserid:
  6967. description: 所属机构
  6968. type: integer
  6969. cantrade:
  6970. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6971. type: integer
  6972. convertfactor:
  6973. description: 标仓系数
  6974. type: number
  6975. createtime:
  6976. description: 创建时间
  6977. type: string
  6978. creatorid:
  6979. description: 创建人
  6980. type: integer
  6981. deliverygoodsid:
  6982. description: 现货品种ID
  6983. type: integer
  6984. enumdicname:
  6985. description: 品类单位名称
  6986. type: string
  6987. isvalid:
  6988. description: 是否有效 0-无效(停用) 1-有效(正常)
  6989. type: integer
  6990. minivalue:
  6991. description: 最小变动值
  6992. type: integer
  6993. minivaluedp:
  6994. description: 最小变动值小数位
  6995. type: integer
  6996. realminivalue:
  6997. description: 实际最小变动值
  6998. type: integer
  6999. realminivaluedp:
  7000. description: 实际最小变动值小数位
  7001. type: integer
  7002. remark:
  7003. description: 备注
  7004. type: string
  7005. unitid:
  7006. description: 品类单位ID
  7007. type: integer
  7008. updatetime:
  7009. description: 更新时间
  7010. type: string
  7011. wrstandardcode:
  7012. description: 品类代码
  7013. type: string
  7014. wrstandardid:
  7015. description: 品类ID(SEQ_WRSTANDARD)
  7016. type: integer
  7017. wrstandardname:
  7018. description: 品类名称
  7019. type: string
  7020. type: object
  7021. models.ErmcpBizGroupEx:
  7022. properties:
  7023. acclist:
  7024. description: 账号列表
  7025. items:
  7026. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7027. type: array
  7028. bizgroupid:
  7029. description: 业务分组id
  7030. type: integer
  7031. biztype:
  7032. description: 业务类型 1-套保 2-套利
  7033. type: integer
  7034. wrlist:
  7035. description: 现货商品表
  7036. items:
  7037. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7038. type: array
  7039. type: object
  7040. models.ErmcpBizGroupSpotGoods:
  7041. properties:
  7042. areauserid:
  7043. description: 所属机构id
  7044. type: integer
  7045. bizgroupid:
  7046. description: 分组id
  7047. type: integer
  7048. biztype:
  7049. description: 业务类型 1-套保 2-套利
  7050. type: integer
  7051. deliverygoodscode:
  7052. description: 现货商品代码
  7053. type: string
  7054. deliverygoodsid:
  7055. description: 现货商品id
  7056. type: integer
  7057. deliverygoodsname:
  7058. description: 现货商品名称
  7059. type: string
  7060. unitid:
  7061. description: 现货商品单位id
  7062. type: integer
  7063. type: object
  7064. models.ErmcpBizGroupTaAccount:
  7065. properties:
  7066. accountid:
  7067. description: 账号id
  7068. type: integer
  7069. accountname:
  7070. description: 账号名称
  7071. type: string
  7072. areauserid:
  7073. description: 所属机构id
  7074. type: integer
  7075. bizgroupid:
  7076. description: 业务分组id
  7077. type: integer
  7078. ismain:
  7079. description: 是否主账号 1-是 0-否
  7080. type: integer
  7081. type: object
  7082. models.ErmcpDGFactoryItem:
  7083. properties:
  7084. areauserid:
  7085. description: 用户id
  7086. type: integer
  7087. deliverygoodsid:
  7088. description: 现货品种ID
  7089. type: integer
  7090. dgfactoryitemid:
  7091. description: 选择项ID(SEQ_DGFACTORYITEM)
  7092. type: integer
  7093. dgfactoryitemtypeid:
  7094. description: 要素项类型
  7095. type: integer
  7096. dgfactoryitemvalue:
  7097. description: 要素项值(类型为仓库时填写仓库名称)
  7098. type: string
  7099. isvalid:
  7100. description: 是否有效 - 0:无效 1:有效
  7101. type: integer
  7102. orderindex:
  7103. description: 顺序
  7104. type: integer
  7105. warehouseid:
  7106. description: 仓库ID(类型为仓库时填写)
  7107. type: integer
  7108. type: object
  7109. models.ErmcpDeliveryGoods:
  7110. properties:
  7111. agreeunit:
  7112. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7113. type: integer
  7114. areauserid:
  7115. description: 所属机构
  7116. type: integer
  7117. auditflag:
  7118. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7119. type: integer
  7120. categoryid:
  7121. description: 类别ID(SEQ_WRCATEGORY)
  7122. type: integer
  7123. deliverygoodscode:
  7124. description: 现货品种代码
  7125. type: string
  7126. deliverygoodsid:
  7127. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7128. type: integer
  7129. deliverygoodsname:
  7130. description: 现货品种名称
  7131. type: string
  7132. deliverygoodstype:
  7133. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7134. type: integer
  7135. dgstatus:
  7136. description: 品种状态 - 作废 - 0:未激活 1:正常
  7137. type: integer
  7138. enumdicname:
  7139. description: 现货品种单位名称
  7140. type: string
  7141. goodsunitid:
  7142. description: 现货品种单位ID
  7143. type: integer
  7144. isvalid:
  7145. description: 是否有效 - 0:无效 1:有效
  7146. type: integer
  7147. qtydecimalplace:
  7148. description: 成交量小数位
  7149. type: integer
  7150. remark:
  7151. description: 备注
  7152. type: string
  7153. standardqty:
  7154. description: 标准数量(库位数量) [标准品特有]
  7155. type: integer
  7156. standardqtyrange:
  7157. description: 标准数量偏差范围 [标准品特有]
  7158. type: integer
  7159. type: object
  7160. models.ErmcpFuturesCompany:
  7161. properties:
  7162. brokerid:
  7163. description: 经纪公司代码
  7164. type: string
  7165. channeladdress:
  7166. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7167. type: string
  7168. channelid:
  7169. description: 对冲渠道ID
  7170. type: string
  7171. createtime:
  7172. description: 创建时间
  7173. type: string
  7174. creatorid:
  7175. description: 创建人
  7176. type: string
  7177. fcid:
  7178. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7179. type: integer
  7180. fcname:
  7181. description: 期货公司名称
  7182. type: string
  7183. isvalid:
  7184. description: 是否有效 - 0:无效 1:有效
  7185. type: integer
  7186. mhpaddress:
  7187. description: MHP服务地址(IP:Port)
  7188. type: string
  7189. riskrulegroupid:
  7190. description: 风控规则组ID
  7191. type: string
  7192. tradefeetmpid:
  7193. description: 手续费模板ID[TradeConfigTmpType为2]
  7194. type: string
  7195. trademargintmpid:
  7196. description: 保证金模板ID [TradeConfigTmpType为1]
  7197. type: string
  7198. traderatetmpid:
  7199. description: 汇率模板ID[TradeConfigTmpType为3]
  7200. type: string
  7201. updatetime:
  7202. description: 更新时间
  7203. type: string
  7204. updatorid:
  7205. description: 更新人
  7206. type: string
  7207. type: object
  7208. models.ErmcpGGConvertCfg:
  7209. properties:
  7210. convertratio:
  7211. description: 折算系数
  7212. type: number
  7213. destgoodsgroupid:
  7214. description: 目标品种ID
  7215. type: integer
  7216. dstcode:
  7217. description: 目录品种代码
  7218. type: string
  7219. dstexchangecode:
  7220. description: 目标期货交易所
  7221. type: string
  7222. dstname:
  7223. description: 目标品种名称
  7224. type: string
  7225. dstunitid:
  7226. description: 目标品种单位ID
  7227. type: integer
  7228. dstunitidname:
  7229. description: 目标品种单位名称
  7230. type: string
  7231. modifytime:
  7232. description: 修改时间
  7233. type: string
  7234. srccode:
  7235. description: 源品种代码
  7236. type: string
  7237. srcexchangecode:
  7238. description: 源期货交易所
  7239. type: string
  7240. srcgoodsgroupid:
  7241. description: 源品种ID
  7242. type: integer
  7243. srcname:
  7244. description: 源品种名称
  7245. type: string
  7246. srcunitid:
  7247. description: 源品种单位ID
  7248. type: integer
  7249. srcunitidname:
  7250. description: 源品种单位名称
  7251. type: string
  7252. type: object
  7253. models.ErmcpGoods:
  7254. properties:
  7255. agreeunit:
  7256. description: 合约单位
  7257. type: number
  7258. areauserid:
  7259. description: 所属机构
  7260. type: integer
  7261. auditaccountid:
  7262. description: 审核操作员账号
  7263. type: integer
  7264. audittime:
  7265. description: 审核时间
  7266. type: string
  7267. cancelaccountid:
  7268. description: 注销操作员账号
  7269. type: integer
  7270. canceltime:
  7271. description: 注销时间
  7272. type: string
  7273. closepricemode:
  7274. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7275. type: integer
  7276. closepriceparam:
  7277. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7278. type: number
  7279. createtime:
  7280. description: 创建时间
  7281. type: string
  7282. creatorid:
  7283. description: 创建人
  7284. type: integer
  7285. currencyid:
  7286. description: 报价货币ID
  7287. type: integer
  7288. cutmode:
  7289. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7290. type: integer
  7291. decimalplace:
  7292. description: 报价小数位
  7293. type: integer
  7294. delistingdate:
  7295. description: 商品退市时间(状态:退市) -- 已作废
  7296. type: string
  7297. delistingmode:
  7298. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7299. type: integer
  7300. deliveryflag:
  7301. description: 交割标志 - 0:不可交割 1:可交割
  7302. type: integer
  7303. enumdicname:
  7304. description: 单位名称
  7305. type: string
  7306. forceclosemode:
  7307. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7308. type: integer
  7309. forceclosevalue:
  7310. description: 定期强平参数 [收益权]
  7311. type: integer
  7312. goodscode:
  7313. description: 商品代码(内部)
  7314. type: string
  7315. goodscurrencyid:
  7316. description: 合约货币ID
  7317. type: integer
  7318. goodsgroupid:
  7319. description: 所属商品组ID
  7320. type: integer
  7321. goodsid:
  7322. description: 商品ID(自增ID SEQ_GOODS)
  7323. type: integer
  7324. goodsname:
  7325. description: 商品名称
  7326. type: string
  7327. goodsquotetype:
  7328. description: '合约报价类型: 1-直接报价 2-间接报价'
  7329. type: integer
  7330. goodsstatus:
  7331. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7332. type: integer
  7333. goodstradetype:
  7334. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7335. type: integer
  7336. goodunitid:
  7337. description: 报价单位ID
  7338. type: integer
  7339. hasquoter:
  7340. description: 是否有报价商 - 0:无报价商 1:有报价商
  7341. type: integer
  7342. hqprotecttime:
  7343. description: 行情保护时间(秒)
  7344. type: integer
  7345. innerdealmode:
  7346. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7347. type: integer
  7348. isbuylimited:
  7349. description: 是否限制建仓量 - 0:不限制 1:限制
  7350. type: integer
  7351. isvisible:
  7352. description: 游客是否可见 - 0:不可见 1:可见
  7353. type: integer
  7354. lasttradedate:
  7355. description: 最后交易日期(状态:待退市)
  7356. type: string
  7357. listingdate:
  7358. description: 交易开始日期
  7359. type: string
  7360. marketid:
  7361. description: 所属市场ID
  7362. type: integer
  7363. modifierid:
  7364. description: 修改人
  7365. type: integer
  7366. modifystatus:
  7367. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7368. type: integer
  7369. modifytime:
  7370. description: 修改时间
  7371. type: string
  7372. outerdealmode:
  7373. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7374. type: integer
  7375. outgoodscode:
  7376. description: 商品代码(外部)
  7377. type: string
  7378. pictureurl:
  7379. description: 商品图片
  7380. type: string
  7381. qtydecimalplace:
  7382. description: 成交量小数位
  7383. type: integer
  7384. quotegear:
  7385. description: 行情档位(1-10)
  7386. type: integer
  7387. quoteminunit:
  7388. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7389. type: integer
  7390. quoteshowtype:
  7391. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7392. type: integer
  7393. quoteshowtypeinterval:
  7394. description: 行情报价间隔时间(秒)(成交价时为0)
  7395. type: integer
  7396. relatedgoodsid:
  7397. description: 关联参考商品ID
  7398. type: integer
  7399. remark:
  7400. description: 备注
  7401. type: string
  7402. trademode:
  7403. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7404. type: integer
  7405. required:
  7406. - goodscode
  7407. - goodsid
  7408. - goodsname
  7409. - marketid
  7410. type: object
  7411. models.ErmcpGoodsBrand:
  7412. properties:
  7413. areauserid:
  7414. description: 所属机构
  7415. type: integer
  7416. brandid:
  7417. description: BrandID(SEQ_SPOTGOODSBRAND)
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. createtime:
  7423. description: 创建时间
  7424. type: string
  7425. creatorid:
  7426. description: 创建人
  7427. type: integer
  7428. creatorsrc:
  7429. description: 创建人来源 - 1:管理端 2:终端
  7430. type: integer
  7431. deliverygoodsid:
  7432. description: 现货品种ID
  7433. type: integer
  7434. isvalid:
  7435. description: 是否有效 - 0:无效 1:有效
  7436. type: integer
  7437. updatetime:
  7438. description: 更新时间
  7439. type: string
  7440. updatorid:
  7441. description: 更新人
  7442. type: integer
  7443. updatorsrc:
  7444. description: 更新人来源 - 1:管理端 2:终端
  7445. type: integer
  7446. wrstandardid:
  7447. description: 现货商品ID
  7448. type: integer
  7449. type: object
  7450. models.ErmcpGoodsModel:
  7451. properties:
  7452. areauserid:
  7453. description: 所属机构
  7454. type: integer
  7455. convertfactor:
  7456. description: 标仓系数
  7457. type: number
  7458. createtime:
  7459. description: 创建时间
  7460. type: string
  7461. creatorid:
  7462. description: 创建人
  7463. type: integer
  7464. creatorsrc:
  7465. description: 创建人来源 - 1:管理端 2:终端
  7466. type: integer
  7467. deliverygoodsid:
  7468. description: 现货品种ID
  7469. type: integer
  7470. isvalid:
  7471. description: 是否有效 - 0:无效 1:有效
  7472. type: integer
  7473. modelid:
  7474. description: ModelID(SEQ_SPOTGOODSMODEL)
  7475. type: integer
  7476. modelname:
  7477. description: 型号名称
  7478. type: string
  7479. updatetime:
  7480. description: 更新时间
  7481. type: string
  7482. updatorid:
  7483. description: 更新人
  7484. type: integer
  7485. updatorsrc:
  7486. description: 更新人来源 - 1:管理端 2:终端
  7487. type: integer
  7488. wrstandardid:
  7489. description: 现货商品ID
  7490. type: integer
  7491. type: object
  7492. models.ErmcpHisExposure:
  7493. properties:
  7494. needhedgeexposoure:
  7495. description: 应套保敞口
  7496. type: number
  7497. reckondate:
  7498. description: 日照时期(yyyyMMdd)
  7499. type: string
  7500. totalexposure:
  7501. description: 总敞口
  7502. type: number
  7503. type: object
  7504. models.ErmcpLoginTaAccount:
  7505. properties:
  7506. accountid:
  7507. description: 账号id
  7508. type: integer
  7509. accountname:
  7510. description: 账号名称
  7511. type: string
  7512. type: object
  7513. models.ErmcpLoginUser:
  7514. properties:
  7515. acclist:
  7516. description: 关联资金账号
  7517. items:
  7518. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7519. type: array
  7520. accountname:
  7521. description: 用户名称
  7522. type: string
  7523. clientroleid:
  7524. description: 角色id(usertype=2)
  7525. type: integer
  7526. createtime:
  7527. description: 创建时间
  7528. type: string
  7529. logincode:
  7530. description: 登录代码
  7531. type: string
  7532. loginid:
  7533. description: 登录id(LOGINID)
  7534. type: integer
  7535. loginname:
  7536. description: 登录名称(loginaccount表中的accountname字段)
  7537. type: string
  7538. loginstatus:
  7539. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7540. type: integer
  7541. memberuserid:
  7542. description: 所属会员id
  7543. type: integer
  7544. mobile:
  7545. description: 手机号
  7546. type: string
  7547. modifytime:
  7548. description: 修改时间
  7549. type: string
  7550. password:
  7551. description: 密码(不可解密)
  7552. type: string
  7553. rolename:
  7554. description: 角色名称
  7555. type: string
  7556. rolestatus:
  7557. description: 角色状态 1-启用 2-停用
  7558. type: integer
  7559. roletype:
  7560. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7561. type: string
  7562. userid:
  7563. description: 用户id
  7564. type: integer
  7565. usertype:
  7566. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7567. type: integer
  7568. type: object
  7569. models.ErmcpLoginUserEx:
  7570. properties:
  7571. accountstatus:
  7572. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7573. type: integer
  7574. mobile:
  7575. description: 手机号
  7576. type: string
  7577. querytype:
  7578. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7579. type: integer
  7580. roleid:
  7581. description: 角色id(交易账户->用户id)
  7582. type: integer
  7583. rolename:
  7584. description: 角色名称(交易账户->用户名称)
  7585. type: string
  7586. userlist:
  7587. description: 用户列表
  7588. items:
  7589. $ref: '#/definitions/models.ErmcpLoginUser'
  7590. type: array
  7591. usertype:
  7592. description: 用户类型 2-机构 7-企业成员(云平台)
  7593. type: integer
  7594. type: object
  7595. models.ErmcpMiddleGoodsModel:
  7596. properties:
  7597. areauserid:
  7598. description: 机构用户ID
  7599. type: integer
  7600. createtime:
  7601. description: 修改时间
  7602. type: string
  7603. enumdicname:
  7604. description: 单位名称
  7605. type: string
  7606. evaluateratio:
  7607. description: 估价系数
  7608. type: number
  7609. goodsgroupid:
  7610. description: 关联期货品种ID
  7611. type: integer
  7612. goodsunitid:
  7613. description: 单位ID
  7614. type: integer
  7615. isvalid:
  7616. description: 状态 0-无效(停用) 1-有效(正常)
  7617. type: integer
  7618. middlegoodscode:
  7619. description: 套保品种代码
  7620. type: string
  7621. middlegoodsid:
  7622. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7623. type: integer
  7624. middlegoodsname:
  7625. description: 套保品种名称
  7626. type: string
  7627. modifytime:
  7628. description: 修改时间
  7629. type: string
  7630. needarbitrageratio:
  7631. description: 套利比例
  7632. type: number
  7633. needhedgeratio:
  7634. description: 套保比率
  7635. type: number
  7636. qtydecimalplace:
  7637. description: 数量小数位
  7638. type: integer
  7639. relatedgoodsid:
  7640. description: 关联交易商品ID
  7641. type: integer
  7642. relatedgoodstype:
  7643. description: 关联商品类型 - 1:期货合约 2:现货品种
  7644. type: integer
  7645. remark:
  7646. description: 备注
  7647. type: string
  7648. type: object
  7649. models.ErmcpMiddlegoodsRelateGoods:
  7650. properties:
  7651. agreeunit:
  7652. description: 合约乘数
  7653. type: number
  7654. convertratio:
  7655. description: 折算系数
  7656. type: number
  7657. enumdicname:
  7658. description: 单位名称(交易商品)
  7659. type: string
  7660. goodscode:
  7661. description: 交易商品代码
  7662. type: string
  7663. goodsgroupid:
  7664. description: 交易品种id
  7665. type: integer
  7666. goodsid:
  7667. description: 商品Id
  7668. type: integer
  7669. goodsname:
  7670. description: 交易商品名称
  7671. type: string
  7672. goodunitid:
  7673. description: 交易商品单位id
  7674. type: integer
  7675. middlegoodsid:
  7676. description: 套保商品id
  7677. type: integer
  7678. middlegoodsname:
  7679. description: 套保商品名称
  7680. type: string
  7681. middlegoodsswcode:
  7682. description: 套保商品代码
  7683. type: string
  7684. needarbitrageratio:
  7685. description: 应套利比例
  7686. type: number
  7687. needhedgeratio:
  7688. description: 应套保比例
  7689. type: number
  7690. type: object
  7691. models.ErmcpRole:
  7692. properties:
  7693. areauserid:
  7694. description: 所属机构
  7695. type: integer
  7696. autoid:
  7697. description: 角色ID(自增ID)
  7698. type: integer
  7699. modifierid:
  7700. description: 修改人(创建人)
  7701. type: integer
  7702. modifiername:
  7703. description: 修改人名称
  7704. type: string
  7705. modifytime:
  7706. description: 修改时间(创建时间)
  7707. type: string
  7708. rolename:
  7709. description: 角色名称
  7710. type: string
  7711. rolestatus:
  7712. description: 角色状态 - 1:启用 2:停用
  7713. type: integer
  7714. roletype:
  7715. description: 角色类型 - 1- 管理端 2- 交易端
  7716. type: integer
  7717. type: object
  7718. models.ErmcpRoleMenu:
  7719. properties:
  7720. iconame:
  7721. description: 菜单图标
  7722. type: string
  7723. ishadrole:
  7724. description: 是否有权限
  7725. type: boolean
  7726. menutype:
  7727. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7728. type: integer
  7729. parentcode:
  7730. description: 上级资源代码
  7731. type: string
  7732. remark:
  7733. description: 菜单备注
  7734. type: string
  7735. resourcecode:
  7736. description: 菜单代码
  7737. type: string
  7738. resourcelevel:
  7739. description: 级别
  7740. type: integer
  7741. resourcename:
  7742. description: 菜单名称
  7743. type: string
  7744. roleid:
  7745. description: 角色id
  7746. type: integer
  7747. sort:
  7748. description: 排序
  7749. type: integer
  7750. url:
  7751. description: URL
  7752. type: string
  7753. userid:
  7754. description: 用户id
  7755. type: integer
  7756. type: object
  7757. models.ErmcpRoleMenuEx:
  7758. properties:
  7759. menu:
  7760. $ref: '#/definitions/models.ErmcpRoleMenu'
  7761. description: 父级菜单
  7762. subMenu:
  7763. description: 子级菜单
  7764. items:
  7765. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7766. type: array
  7767. type: object
  7768. models.ErmcpTaAccount:
  7769. properties:
  7770. accountid:
  7771. description: 账户id
  7772. type: integer
  7773. accountname:
  7774. description: 账户名称
  7775. type: string
  7776. currencyid:
  7777. description: 币种id
  7778. type: integer
  7779. hedgeaccountcode:
  7780. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7781. type: string
  7782. ismain:
  7783. description: 是否主账户 0-否 1-是
  7784. type: integer
  7785. parentaccountid:
  7786. description: 父账户id
  7787. type: integer
  7788. relateduserid:
  7789. description: 关联userid
  7790. type: integer
  7791. tradefeetmpid:
  7792. description: 手续费模板id
  7793. type: integer
  7794. tradefeetmpname:
  7795. description: 手续费模板名称
  7796. type: string
  7797. trademargintmpid:
  7798. description: 保证金模板id
  7799. type: integer
  7800. trademargintmpname:
  7801. description: 保证金模板名称
  7802. type: string
  7803. traderatetmpid:
  7804. description: 汇率模板id
  7805. type: integer
  7806. traderatetmpname:
  7807. description: 汇率模板名称
  7808. type: string
  7809. tradestatus:
  7810. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7811. type: integer
  7812. userid:
  7813. description: 用户id
  7814. type: integer
  7815. type: object
  7816. models.ErmcpTaAccountEx:
  7817. properties:
  7818. mainAcc:
  7819. $ref: '#/definitions/models.ErmcpTaAccountM'
  7820. description: 主账号
  7821. subacclist:
  7822. description: 子账号列表
  7823. items:
  7824. $ref: '#/definitions/models.ErmcpTaAccount'
  7825. type: array
  7826. type: object
  7827. models.ErmcpTaAccountInfo:
  7828. properties:
  7829. accountid:
  7830. description: 资金账户ID
  7831. type: integer
  7832. accountname:
  7833. description: 账户名称
  7834. type: string
  7835. balance:
  7836. description: 期初余额
  7837. type: number
  7838. capitalbalance:
  7839. description: 本金余额[外部子账户实际出入金余额]
  7840. type: number
  7841. closepl:
  7842. description: 今日平仓盈亏
  7843. type: number
  7844. creditdecrease:
  7845. description: 今日授信减少
  7846. type: number
  7847. creditincrease:
  7848. description: 今日授信增加
  7849. type: number
  7850. curdebt:
  7851. description: 期末欠款
  7852. type: number
  7853. currencyid:
  7854. description: 货币ID
  7855. type: integer
  7856. currentbalance:
  7857. description: 期末余额
  7858. type: number
  7859. freezecharge:
  7860. description: 手续费冻结
  7861. type: number
  7862. freezemargin:
  7863. description: 冻结保证金
  7864. type: number
  7865. fromaccountid:
  7866. description: 所属上级账户
  7867. type: integer
  7868. inamount:
  7869. description: 今日入金金额(包括三方入金)
  7870. type: number
  7871. ismain:
  7872. description: 是否母账号 0:不是母账户 1:是母账户
  7873. type: integer
  7874. mortgagecredit:
  7875. description: 授信金额
  7876. type: number
  7877. oridebt:
  7878. description: 期初欠款
  7879. type: number
  7880. orifreezecharge:
  7881. description: 期初手续费冻结
  7882. type: number
  7883. orifreezemargin:
  7884. description: 期初冻结保证金
  7885. type: number
  7886. orimortgagecredit:
  7887. description: 期初授信金额
  7888. type: number
  7889. oriothercredit:
  7890. description: 期初其它授信金额
  7891. type: number
  7892. oriotherfreezemargin:
  7893. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7894. type: number
  7895. orioutamountfreeze:
  7896. description: 期初出金冻结
  7897. type: number
  7898. oriusedmargin:
  7899. description: 期初占用保证金
  7900. type: number
  7901. othercredit:
  7902. description: 其它授信金额
  7903. type: number
  7904. othercreditdecrease:
  7905. description: 今日其它授信减少
  7906. type: number
  7907. othercreditincrease:
  7908. description: 今日其它授信增加
  7909. type: number
  7910. otherfreezemargin:
  7911. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7912. type: number
  7913. outamount:
  7914. description: 今日出金金额(包括三方出金)
  7915. type: number
  7916. outamountfreeze:
  7917. description: 出金冻结
  7918. type: number
  7919. outthreshold:
  7920. description: 出金阈值
  7921. type: number
  7922. parentaccountid:
  7923. description: 所属根账号
  7924. type: integer
  7925. paycharge:
  7926. description: 今日手续费支出
  7927. type: number
  7928. relateduserid:
  7929. description: 关联用户
  7930. type: integer
  7931. signstatus:
  7932. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7933. type: integer
  7934. sublevelpath:
  7935. description: 账号层级路径(逗号分隔,首尾加逗号)
  7936. type: string
  7937. taaccounttype:
  7938. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7939. type: integer
  7940. thirdinamount:
  7941. description: 今日三方入金
  7942. type: number
  7943. thirdoutamount:
  7944. description: 今日三方出金
  7945. type: number
  7946. tradestatus:
  7947. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7948. type: integer
  7949. transferamount:
  7950. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7951. type: number
  7952. usedmargin:
  7953. description: 占用保证金
  7954. type: number
  7955. userid:
  7956. description: 用户ID
  7957. type: integer
  7958. type: object
  7959. models.ErmcpTaAccountM:
  7960. properties:
  7961. accountid:
  7962. description: 账户id
  7963. type: integer
  7964. accountname:
  7965. description: 账户名称
  7966. type: string
  7967. currencyid:
  7968. description: 币种id
  7969. type: integer
  7970. fcid:
  7971. description: 期货公司id
  7972. type: integer
  7973. fcname:
  7974. description: 期货公司代码
  7975. type: string
  7976. hedgeaccountcode:
  7977. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7978. type: string
  7979. ismain:
  7980. description: 是否主账户 0-否 1-是
  7981. type: integer
  7982. parentaccountid:
  7983. description: 父账户id
  7984. type: integer
  7985. relateduserid:
  7986. description: 关联userid
  7987. type: integer
  7988. tradefeetmpid:
  7989. description: 手续费模板id
  7990. type: integer
  7991. tradefeetmpname:
  7992. description: 手续费模板名称
  7993. type: string
  7994. trademargintmpid:
  7995. description: 保证金模板id
  7996. type: integer
  7997. trademargintmpname:
  7998. description: 保证金模板名称
  7999. type: string
  8000. traderatetmpid:
  8001. description: 汇率模板id
  8002. type: integer
  8003. traderatetmpname:
  8004. description: 汇率模板名称
  8005. type: string
  8006. tradestatus:
  8007. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8008. type: integer
  8009. userid:
  8010. description: 用户id
  8011. type: integer
  8012. type: object
  8013. models.ErmcpTradeConfigTMP:
  8014. properties:
  8015. areauserid:
  8016. description: 所属机构
  8017. type: integer
  8018. basiccurrencyid:
  8019. description: 基本币种ID[汇率] - 目标币种
  8020. type: integer
  8021. mainaccountid:
  8022. description: 主账户ID
  8023. type: integer
  8024. modifierid:
  8025. description: 修改人
  8026. type: integer
  8027. remark:
  8028. description: 备注
  8029. type: string
  8030. tradeconfigtmpid:
  8031. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8032. type: integer
  8033. tradeconfigtmpname:
  8034. description: 交易配置模板名称
  8035. type: string
  8036. tradeconfigtmptype:
  8037. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8038. type: integer
  8039. updatetime:
  8040. description: 更新时间
  8041. type: string
  8042. type: object
  8043. models.Externalexchange:
  8044. properties:
  8045. autoid:
  8046. description: AutoID - SEQ_EXTERNALEXCHANGE
  8047. type: integer
  8048. exchangefullname:
  8049. description: 外部交易所全称
  8050. type: string
  8051. exexchangecode:
  8052. description: 外部交易所代码
  8053. type: string
  8054. exexchangename:
  8055. description: 外部交易所名称(简称)
  8056. type: string
  8057. ismarketprice:
  8058. description: 是否支持市价 - 0:不支持 1:支持
  8059. type: integer
  8060. quotegear:
  8061. description: 行情档位(1-10)
  8062. type: integer
  8063. showbrokerflag:
  8064. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8065. type: integer
  8066. updatetime:
  8067. description: 更新时间
  8068. type: string
  8069. required:
  8070. - autoid
  8071. type: object
  8072. models.Funcmenulist:
  8073. properties:
  8074. iconame:
  8075. description: 菜单图标
  8076. type: string
  8077. menutype:
  8078. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8079. type: integer
  8080. parentcode:
  8081. description: 上级资源代码
  8082. type: string
  8083. remark:
  8084. description: 备注
  8085. type: string
  8086. resourcecode:
  8087. description: 资源代码
  8088. type: string
  8089. resourcelevel:
  8090. description: 级别 1-一级 2-二级 3-三级 4-四级
  8091. type: integer
  8092. resourcename:
  8093. description: 资源名
  8094. type: string
  8095. sort:
  8096. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8097. type: integer
  8098. url:
  8099. description: URL
  8100. type: string
  8101. required:
  8102. - resourcecode
  8103. type: object
  8104. models.Goods:
  8105. properties:
  8106. agreeunit:
  8107. description: 合约单位
  8108. type: number
  8109. areauserid:
  8110. description: 所属机构
  8111. type: integer
  8112. auditaccountid:
  8113. description: 审核操作员账号
  8114. type: integer
  8115. audittime:
  8116. description: 审核时间
  8117. type: string
  8118. cancelaccountid:
  8119. description: 注销操作员账号
  8120. type: integer
  8121. canceltime:
  8122. description: 注销时间
  8123. type: string
  8124. closepricemode:
  8125. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8126. type: integer
  8127. closepriceparam:
  8128. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8129. type: number
  8130. createtime:
  8131. description: 创建时间
  8132. type: string
  8133. creatorid:
  8134. description: 创建人
  8135. type: integer
  8136. currencyid:
  8137. description: 报价货币ID
  8138. type: integer
  8139. cutmode:
  8140. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8141. type: integer
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. delistingdate:
  8146. description: 商品退市时间(状态:退市) -- 已作废
  8147. type: string
  8148. delistingmode:
  8149. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8150. type: integer
  8151. deliveryflag:
  8152. description: 交割标志 - 0:不可交割 1:可交割
  8153. type: integer
  8154. forceclosemode:
  8155. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8156. type: integer
  8157. forceclosevalue:
  8158. description: 定期强平参数 [收益权]
  8159. type: integer
  8160. goodscode:
  8161. description: 商品代码(内部)
  8162. type: string
  8163. goodscurrencyid:
  8164. description: 合约货币ID
  8165. type: integer
  8166. goodsgroupid:
  8167. description: 所属商品组ID
  8168. type: integer
  8169. goodsid:
  8170. description: 商品ID(自增ID SEQ_GOODS)
  8171. type: integer
  8172. goodsname:
  8173. description: 商品名称
  8174. type: string
  8175. goodsquotetype:
  8176. description: '合约报价类型: 1-直接报价 2-间接报价'
  8177. type: integer
  8178. goodsstatus:
  8179. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8180. type: integer
  8181. goodstradetype:
  8182. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8183. type: integer
  8184. goodunitid:
  8185. description: 报价单位ID
  8186. type: integer
  8187. hasquoter:
  8188. description: 是否有报价商 - 0:无报价商 1:有报价商
  8189. type: integer
  8190. hqprotecttime:
  8191. description: 行情保护时间(秒)
  8192. type: integer
  8193. innerdealmode:
  8194. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8195. type: integer
  8196. isbuylimited:
  8197. description: 是否限制建仓量 - 0:不限制 1:限制
  8198. type: integer
  8199. isvisible:
  8200. description: 游客是否可见 - 0:不可见 1:可见
  8201. type: integer
  8202. lasttradedate:
  8203. description: 最后交易日期(状态:待退市)
  8204. type: string
  8205. listingdate:
  8206. description: 交易开始日期
  8207. type: string
  8208. marketid:
  8209. description: 所属市场ID
  8210. type: integer
  8211. modifierid:
  8212. description: 修改人
  8213. type: integer
  8214. modifystatus:
  8215. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8216. type: integer
  8217. modifytime:
  8218. description: 修改时间
  8219. type: string
  8220. outerdealmode:
  8221. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8222. type: integer
  8223. outgoodscode:
  8224. description: 商品代码(外部)
  8225. type: string
  8226. pictureurl:
  8227. description: 商品图片
  8228. type: string
  8229. qtydecimalplace:
  8230. description: 成交量小数位
  8231. type: integer
  8232. quotegear:
  8233. description: 行情档位(1-10)
  8234. type: integer
  8235. quoteminunit:
  8236. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8237. type: integer
  8238. quoteshowtype:
  8239. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8240. type: integer
  8241. quoteshowtypeinterval:
  8242. description: 行情报价间隔时间(秒)(成交价时为0)
  8243. type: integer
  8244. remark:
  8245. description: 备注
  8246. type: string
  8247. required:
  8248. - goodscode
  8249. - goodsid
  8250. - goodsname
  8251. - marketid
  8252. type: object
  8253. models.GoodsIDAndName:
  8254. properties:
  8255. goodscode:
  8256. description: 商品代码(内部)
  8257. type: string
  8258. goodsid:
  8259. description: 商品ID(自增ID SEQ_GOODS)
  8260. type: integer
  8261. goodsname:
  8262. description: 商品名称
  8263. type: string
  8264. marketid:
  8265. description: 所属市场ID
  8266. type: integer
  8267. required:
  8268. - goodscode
  8269. - goodsid
  8270. - goodsname
  8271. - marketid
  8272. type: object
  8273. models.Goodsgroup:
  8274. properties:
  8275. agreeunit:
  8276. description: 合约单位
  8277. type: number
  8278. canshort:
  8279. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8280. type: integer
  8281. closepricemode:
  8282. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8283. type: integer
  8284. closepriceparam:
  8285. description: 强平最新价浮动比例 - 方式为2时使用
  8286. type: number
  8287. createtime:
  8288. description: 创建时间
  8289. type: string
  8290. creatorid:
  8291. description: 创建人
  8292. type: integer
  8293. currencyid:
  8294. description: 报价货币ID
  8295. type: integer
  8296. decimalplace:
  8297. description: 报价小数位
  8298. type: integer
  8299. exercisetype:
  8300. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8301. type: integer
  8302. exexchangeid:
  8303. description: 外部交易所ID[通道交易]
  8304. type: integer
  8305. goodsgroupid:
  8306. description: 商品组ID(自增ID)
  8307. type: integer
  8308. goodsgroupname:
  8309. description: 商品组名称
  8310. type: string
  8311. goodsgroupstatus:
  8312. description: 商品组状态 - 1:正常 2:注销
  8313. type: integer
  8314. goodunitid:
  8315. description: 报价单位ID
  8316. type: integer
  8317. innerdealmode:
  8318. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8319. type: integer
  8320. isbuylimited:
  8321. description: 是否限制建仓量 - 0:不限制 1:限制
  8322. type: integer
  8323. marketid:
  8324. description: 所属市场ID
  8325. type: integer
  8326. modifierid:
  8327. description: 修改人
  8328. type: integer
  8329. modifytime:
  8330. description: 修改时间
  8331. type: string
  8332. outerdealmode:
  8333. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8334. type: integer
  8335. outergroupcode:
  8336. description: 外部商品组代码[通道交易]
  8337. type: string
  8338. premiumdecimalplace:
  8339. description: 权利金小数位[场外期权]
  8340. type: integer
  8341. premiumspreadalgorithm:
  8342. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8343. type: integer
  8344. premiumspreadvalue:
  8345. description: 权利金点差值[场外期权]
  8346. type: number
  8347. qtydecimalplace:
  8348. description: 成交量小数位
  8349. type: integer
  8350. quotegear:
  8351. description: 行情档位(1-10)
  8352. type: integer
  8353. quoteminunit:
  8354. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8355. type: integer
  8356. quoterid:
  8357. description: 报价商ID[场外期权]
  8358. type: integer
  8359. quotesourcegroupid:
  8360. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8361. type: integer
  8362. syncgoodsqty:
  8363. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8364. type: integer
  8365. required:
  8366. - goodsgroupid
  8367. - goodsgroupname
  8368. - goodsgroupstatus
  8369. - marketid
  8370. type: object
  8371. models.Goodssortbypreposition:
  8372. properties:
  8373. goodscode:
  8374. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8375. type: string
  8376. goodsgroupcode:
  8377. description: 品种代码
  8378. type: string
  8379. prepositionqty:
  8380. description: 昨持仓量
  8381. type: integer
  8382. sortindex:
  8383. description: 排序
  8384. type: integer
  8385. tradedate:
  8386. description: 交易日
  8387. type: string
  8388. updatetime:
  8389. description: 更新时间
  8390. type: string
  8391. required:
  8392. - goodscode
  8393. - tradedate
  8394. type: object
  8395. models.Hedgeinnerholderdetail:
  8396. properties:
  8397. accountid:
  8398. description: 账号ID
  8399. type: integer
  8400. buyorsell:
  8401. description: 方向 - 0:买 1:卖
  8402. type: integer
  8403. freezeqty:
  8404. description: 冻结数量 - 按单平使用
  8405. type: integer
  8406. goodsid:
  8407. description: 商品ID
  8408. type: integer
  8409. holderamount:
  8410. description: 持仓金额 [商品币种]
  8411. type: number
  8412. holderdays:
  8413. description: 剩余冻结天数
  8414. type: integer
  8415. holderprice:
  8416. description: 持仓价格
  8417. type: number
  8418. holderqty:
  8419. description: 持仓数量
  8420. type: integer
  8421. marketid:
  8422. description: 市场ID
  8423. type: integer
  8424. openprice:
  8425. description: 建仓价格
  8426. type: number
  8427. openqty:
  8428. description: 建仓数量
  8429. type: integer
  8430. parentaccountid:
  8431. description: 所属母账户
  8432. type: integer
  8433. releaseamount:
  8434. description: 释放持仓金额[商品币种]
  8435. type: number
  8436. tradeamount:
  8437. description: 成交金额[账户]
  8438. type: number
  8439. tradedate:
  8440. description: 交易日(yyyyMMdd)
  8441. type: string
  8442. tradeid:
  8443. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8444. type: string
  8445. tradetime:
  8446. description: 交易时间
  8447. type: string
  8448. required:
  8449. - buyorsell
  8450. - tradeid
  8451. type: object
  8452. models.Hedgemarketopenlog:
  8453. properties:
  8454. accountid:
  8455. description: 资金账号[外部母账户]
  8456. type: integer
  8457. fcname:
  8458. description: 期货公司名称
  8459. type: string
  8460. handlestatus:
  8461. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8462. type: integer
  8463. marketid:
  8464. description: 市场ID
  8465. type: integer
  8466. status:
  8467. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8468. type: integer
  8469. tradedate:
  8470. description: 交易日(yyyyMMdd)
  8471. type: string
  8472. updatetime:
  8473. description: 更新时间
  8474. type: string
  8475. required:
  8476. - accountid
  8477. type: object
  8478. models.HsbyBuyMyPayOrder:
  8479. properties:
  8480. agreeunit:
  8481. description: 合约单位
  8482. type: number
  8483. buyaccountid:
  8484. description: 买方账号ID[报价币种]
  8485. type: integer
  8486. buyorderid:
  8487. description: 买方委托单号
  8488. type: string
  8489. createtime:
  8490. description: 创建时间
  8491. type: string
  8492. currencysign:
  8493. description: 货币符号
  8494. type: string
  8495. decimalplace:
  8496. description: 报价小数位
  8497. type: integer
  8498. goodscode:
  8499. description: 商品代码(内部)
  8500. type: string
  8501. goodsid:
  8502. description: 商品ID
  8503. type: integer
  8504. goodsname:
  8505. description: 商品名称
  8506. type: string
  8507. marketid:
  8508. description: 市场ID
  8509. type: integer
  8510. offamount:
  8511. description: 优惠金额
  8512. type: number
  8513. originalamount:
  8514. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8515. type: number
  8516. payamount:
  8517. description: 支付金额 = TradeAmount + TradeCharge
  8518. type: number
  8519. payflag:
  8520. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8521. type: integer
  8522. paylimitedtime:
  8523. description: 支付期限
  8524. type: string
  8525. paytime:
  8526. description: 付款时间
  8527. type: string
  8528. picurls1:
  8529. description: 预售商品介绍图片[多张用逗号分隔]
  8530. type: string
  8531. picurls2:
  8532. description: 挂牌商品介绍图片[多张用逗号分隔]
  8533. type: string
  8534. sellaccountid:
  8535. description: 卖方账号ID[报价币种]
  8536. type: integer
  8537. sellorderid:
  8538. description: 卖方委托单号
  8539. type: string
  8540. tradeamount:
  8541. description: 成交金额
  8542. type: number
  8543. tradecharge:
  8544. description: 成交手续费(买方)
  8545. type: number
  8546. tradedate:
  8547. description: 交易日(yyyyMMdd)
  8548. type: string
  8549. tradeid:
  8550. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8551. type: string
  8552. trademode:
  8553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. tradeprice:
  8556. description: 成交价格
  8557. type: number
  8558. tradeqty:
  8559. description: 成交数量
  8560. type: integer
  8561. vendorname1:
  8562. description: 预售商品供应商名称
  8563. type: string
  8564. vendorname2:
  8565. description: 挂牌商品供应商名称
  8566. type: string
  8567. required:
  8568. - goodscode
  8569. - goodsname
  8570. - tradeid
  8571. - trademode
  8572. type: object
  8573. models.HsbyBuyMyTradeDetail:
  8574. properties:
  8575. accountid:
  8576. description: 账户ID[报价币种]
  8577. type: integer
  8578. agreeunit:
  8579. description: 合约单位
  8580. type: number
  8581. amount:
  8582. description: 金额 = 价格 * 数量 * 合约单位
  8583. type: number
  8584. buyorsell:
  8585. description: 买卖 - 0:买 1:卖
  8586. type: integer
  8587. currencysign:
  8588. description: 货币符号
  8589. type: string
  8590. decimalplace:
  8591. description: 报价小数位
  8592. type: integer
  8593. goodscode:
  8594. description: 商品代码(内部)
  8595. type: string
  8596. goodsid:
  8597. description: 商品ID
  8598. type: integer
  8599. goodsname:
  8600. description: 商品名称
  8601. type: string
  8602. marketid:
  8603. description: 市场ID
  8604. type: integer
  8605. orderamount:
  8606. description: 委托金额
  8607. type: number
  8608. orderid:
  8609. description: 单号(成交单号)
  8610. type: string
  8611. picurls1:
  8612. description: 预售商品介绍图片[多张用逗号分隔]
  8613. type: string
  8614. picurls2:
  8615. description: 挂牌商品介绍图片[多张用逗号分隔]
  8616. type: string
  8617. price:
  8618. description: 价格
  8619. type: number
  8620. qty:
  8621. description: 数量
  8622. type: integer
  8623. time:
  8624. description: 时间
  8625. type: string
  8626. trademode:
  8627. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8628. type: integer
  8629. vendorname1:
  8630. description: 预售商品供应商名称
  8631. type: string
  8632. vendorname2:
  8633. description: 挂牌商品供应商名称
  8634. type: string
  8635. required:
  8636. - accountid
  8637. - buyorsell
  8638. - goodscode
  8639. - goodsid
  8640. - goodsname
  8641. - marketid
  8642. - orderid
  8643. - qty
  8644. - time
  8645. - trademode
  8646. type: object
  8647. models.HsbyGoodsOrderDetail:
  8648. properties:
  8649. buyorsell:
  8650. description: 买卖 - 0:买 1:卖
  8651. type: integer
  8652. currencysign:
  8653. description: 货币符号
  8654. type: string
  8655. customername:
  8656. description: 客户名称(企业名称),已脱敏
  8657. type: string
  8658. enableqty:
  8659. description: 可用数量
  8660. type: integer
  8661. goodunit:
  8662. description: 报价单位
  8663. type: string
  8664. orderid:
  8665. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8666. type: string
  8667. orderprice:
  8668. description: 委托价格
  8669. type: number
  8670. ordertime:
  8671. description: 委托时间
  8672. type: string
  8673. required:
  8674. - buyorsell
  8675. - orderid
  8676. - ordertime
  8677. type: object
  8678. models.HsbyListingGoodsDetail:
  8679. properties:
  8680. agreeunit:
  8681. description: 合约单位
  8682. type: number
  8683. buymaxqty:
  8684. description: 购买上限 [71] - 0为不限
  8685. type: integer
  8686. currency:
  8687. description: 货币
  8688. type: string
  8689. currencysign:
  8690. description: 货币符号
  8691. type: string
  8692. decimalplace:
  8693. description: 报价小数位
  8694. type: integer
  8695. desccityid:
  8696. description: 目的地(市)ID
  8697. type: integer
  8698. descprovinceid:
  8699. description: 目的地(省)ID
  8700. type: integer
  8701. goodscode:
  8702. description: 商品代码(内部)
  8703. type: string
  8704. goodsdesc:
  8705. description: 商品详情
  8706. type: string
  8707. goodsid:
  8708. description: 商品ID(自增ID SEQ_GOODS)
  8709. type: integer
  8710. goodsname:
  8711. description: 商品名称
  8712. type: string
  8713. goodsprice:
  8714. description: 商品价格
  8715. type: number
  8716. hotindex:
  8717. description: 景点热度
  8718. type: integer
  8719. last:
  8720. description: 现价
  8721. type: number
  8722. limitdown:
  8723. description: 跌停价
  8724. type: number
  8725. limitup:
  8726. description: 涨停价
  8727. type: number
  8728. lotsize:
  8729. description: 手数最小变动单位
  8730. type: integer
  8731. marketid:
  8732. description: 所属市场ID
  8733. type: integer
  8734. picurls:
  8735. description: 介绍图片[多张用逗号分隔]
  8736. type: string
  8737. quoteminunit:
  8738. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8739. type: integer
  8740. stepvalue:
  8741. description: 价格最小变动单位
  8742. type: number
  8743. trademode:
  8744. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8745. type: integer
  8746. vendorattr:
  8747. description: 供应商附件(多张,逗号分隔)
  8748. type: string
  8749. vendorname:
  8750. description: 供应商名称
  8751. type: string
  8752. vendorphone:
  8753. description: 供应商客服电话
  8754. type: string
  8755. videourls:
  8756. description: 介绍视频[多张用逗号分隔]
  8757. type: string
  8758. required:
  8759. - goodscode
  8760. - goodsid
  8761. - goodsname
  8762. - marketid
  8763. - trademode
  8764. type: object
  8765. models.HsbyMarketGoods:
  8766. properties:
  8767. accountid:
  8768. description: 账户ID[报价币种]
  8769. type: integer
  8770. agreeunit:
  8771. description: 合约单位
  8772. type: number
  8773. buyorsell:
  8774. description: 买卖 - 0:买 1:卖
  8775. type: integer
  8776. categoryid:
  8777. description: 类别ID(WRCATEGORY)
  8778. type: integer
  8779. currency:
  8780. description: 货币
  8781. type: string
  8782. currencysign:
  8783. description: 货币符号
  8784. type: string
  8785. customername:
  8786. description: 卖家名称
  8787. type: string
  8788. decimalplace:
  8789. description: 报价小数位
  8790. type: integer
  8791. goodscode:
  8792. description: 商品代码(内部)
  8793. type: string
  8794. goodsid:
  8795. description: 商品ID
  8796. type: integer
  8797. goodsname:
  8798. description: 商品名称
  8799. type: string
  8800. goodsprice:
  8801. description: 商品价格
  8802. type: number
  8803. hascoupon:
  8804. description: 是否可用优惠卷
  8805. type: boolean
  8806. hotindex:
  8807. description: 景点热度
  8808. type: integer
  8809. marketid:
  8810. description: 市场ID
  8811. type: integer
  8812. orderid:
  8813. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8814. type: string
  8815. orderprice:
  8816. description: 委托价格
  8817. type: number
  8818. orderstatus:
  8819. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8820. type: integer
  8821. picurls:
  8822. description: 介绍图片[多张用逗号分隔]
  8823. type: string
  8824. quoteminunit:
  8825. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8826. type: integer
  8827. sellUserID:
  8828. description: 卖方UserID
  8829. type: integer
  8830. trademode:
  8831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8832. type: integer
  8833. videourls:
  8834. description: 介绍视频[多张用逗号分隔]
  8835. type: string
  8836. required:
  8837. - accountid
  8838. - buyorsell
  8839. - goodscode
  8840. - goodsid
  8841. - goodsname
  8842. - marketid
  8843. - orderid
  8844. - trademode
  8845. type: object
  8846. models.HsbyMarketGoodsDetail:
  8847. properties:
  8848. accountid:
  8849. description: 账户ID[报价币种]
  8850. type: integer
  8851. agreeunit:
  8852. description: 合约单位
  8853. type: number
  8854. buymaxqty:
  8855. description: 购买上限 [71] - 0为不限
  8856. type: integer
  8857. buyorsell:
  8858. description: 买卖 - 0:买 1:卖
  8859. type: integer
  8860. cancelqty:
  8861. description: 撤单数量
  8862. type: integer
  8863. categoryid:
  8864. description: 类别ID(WRCATEGORY)
  8865. type: integer
  8866. currency:
  8867. description: 货币
  8868. type: string
  8869. currencysign:
  8870. description: 货币符号
  8871. type: string
  8872. customername:
  8873. description: 卖家名称
  8874. type: string
  8875. decimalplace:
  8876. description: 报价小数位
  8877. type: integer
  8878. goodscode:
  8879. description: 商品代码(内部)
  8880. type: string
  8881. goodsdesc:
  8882. description: 商品详情
  8883. type: string
  8884. goodsid:
  8885. description: 商品ID
  8886. type: integer
  8887. goodsname:
  8888. description: 商品名称
  8889. type: string
  8890. goodsprice:
  8891. description: 商品价格
  8892. type: number
  8893. hotindex:
  8894. description: 景点热度
  8895. type: integer
  8896. lotsize:
  8897. description: 手数最小变动单位
  8898. type: integer
  8899. marketid:
  8900. description: 市场ID
  8901. type: integer
  8902. orderid:
  8903. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8904. type: string
  8905. orderprice:
  8906. description: 委托价格
  8907. type: number
  8908. orderqty:
  8909. description: 委托数量
  8910. type: integer
  8911. orderstatus:
  8912. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8913. type: integer
  8914. picurls:
  8915. description: 介绍图片[多张用逗号分隔]
  8916. type: string
  8917. quoteminunit:
  8918. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8919. type: integer
  8920. sellUserID:
  8921. description: 卖方UserID
  8922. type: integer
  8923. trademode:
  8924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8925. type: integer
  8926. tradeqty:
  8927. description: 成交数量
  8928. type: integer
  8929. vendorattr:
  8930. description: 供应商附件(多张,逗号分隔)
  8931. type: string
  8932. vendorname:
  8933. description: 供应商名称
  8934. type: string
  8935. vendorphone:
  8936. description: 供应商客服电话
  8937. type: string
  8938. videourls:
  8939. description: 介绍视频[多张用逗号分隔]
  8940. type: string
  8941. required:
  8942. - accountid
  8943. - buyorsell
  8944. - goodscode
  8945. - goodsid
  8946. - goodsname
  8947. - marketid
  8948. - orderid
  8949. - orderqty
  8950. - trademode
  8951. type: object
  8952. models.HsbyMarketInfo:
  8953. properties:
  8954. marketid:
  8955. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8956. type: integer
  8957. marketname:
  8958. description: 市场名称
  8959. type: string
  8960. marketstatus:
  8961. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8962. type: integer
  8963. trademode:
  8964. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8965. type: integer
  8966. required:
  8967. - marketid
  8968. - marketstatus
  8969. - trademode
  8970. type: object
  8971. models.HsbyMyGoods:
  8972. properties:
  8973. accountid:
  8974. description: 账号Id
  8975. type: integer
  8976. agreeunit:
  8977. description: 合约单位
  8978. type: number
  8979. buyaverageprice:
  8980. description: 持仓均价
  8981. type: number
  8982. buycurholderamount:
  8983. description: 买当前持仓总金额[商品币种]
  8984. type: number
  8985. buycurpositionqty:
  8986. description: 买当前持仓总数量
  8987. type: integer
  8988. buymaxqty:
  8989. description: 购买上限 [71] - 0为不限
  8990. type: integer
  8991. currencysign:
  8992. description: 货币符号
  8993. type: string
  8994. decimalplace:
  8995. description: 报价小数位
  8996. type: integer
  8997. enableqty:
  8998. description: 可用数量
  8999. type: integer
  9000. goodscode:
  9001. description: 商品代码(内部)
  9002. type: string
  9003. goodsid:
  9004. description: 商品Id
  9005. type: integer
  9006. goodsname:
  9007. description: 商品名称
  9008. type: string
  9009. goodsprice:
  9010. description: 商品价格
  9011. type: number
  9012. goodsstatus:
  9013. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9014. type: integer
  9015. last:
  9016. description: 现价(仅使用于挂牌点选)
  9017. type: number
  9018. limitdown:
  9019. description: 跌停价(仅使用于挂牌点选)
  9020. type: number
  9021. limitup:
  9022. description: 涨停价(仅使用于挂牌点选)
  9023. type: number
  9024. lotsize:
  9025. description: 手数最小变动单位
  9026. type: integer
  9027. marketid:
  9028. description: 所属市场ID
  9029. type: integer
  9030. picurls:
  9031. description: 介绍图片[多张用逗号分隔]
  9032. type: string
  9033. quoteminunit:
  9034. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9035. type: integer
  9036. stepvalue:
  9037. description: 价格最小变动单位
  9038. type: number
  9039. trademode:
  9040. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9041. type: integer
  9042. required:
  9043. - accountid
  9044. - goodscode
  9045. - goodsid
  9046. - goodsname
  9047. - marketid
  9048. - trademode
  9049. type: object
  9050. models.HsbyMyPackage:
  9051. properties:
  9052. accountid:
  9053. description: 账户ID
  9054. type: integer
  9055. address:
  9056. description: 提货人详细地址
  9057. type: string
  9058. agreeunit:
  9059. description: 合约单位
  9060. type: number
  9061. amount:
  9062. description: 提货金额
  9063. type: number
  9064. auditer:
  9065. description: 审核人
  9066. type: integer
  9067. audittime:
  9068. description: 审核时间
  9069. type: string
  9070. averageprice:
  9071. description: 均价
  9072. type: number
  9073. cardnum:
  9074. description: 提货人证件号码
  9075. type: string
  9076. cardtypeid:
  9077. description: 提货人证件类型
  9078. type: integer
  9079. checkremark:
  9080. description: 审核备注
  9081. type: string
  9082. currencysign:
  9083. description: 货币符号
  9084. type: string
  9085. decimalplace:
  9086. description: 报价小数位
  9087. type: integer
  9088. goodscode:
  9089. description: 商品代码(内部)
  9090. type: string
  9091. goodsid:
  9092. description: 商品ID
  9093. type: integer
  9094. goodsname:
  9095. description: 商品名称
  9096. type: string
  9097. handlestatus:
  9098. description: 处理状态
  9099. type: integer
  9100. marketid:
  9101. description: 市场ID
  9102. type: integer
  9103. phonenum:
  9104. description: 提货人联系方式
  9105. type: string
  9106. picurls:
  9107. description: 介绍图片[多张用逗号分隔]
  9108. type: string
  9109. qty:
  9110. description: 提货数量
  9111. type: number
  9112. recivername:
  9113. description: 提货人姓名
  9114. type: string
  9115. reqtime:
  9116. description: 更新时间
  9117. type: string
  9118. takemode:
  9119. description: 提货方式 - 2:自提 3:配送
  9120. type: integer
  9121. takeorderid:
  9122. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9123. type: string
  9124. takeorderstatus:
  9125. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9126. type: integer
  9127. takeremark:
  9128. description: 提货备注
  9129. type: string
  9130. tradedate:
  9131. description: 交易日(yyyyMMdd)
  9132. type: string
  9133. trademode:
  9134. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9135. type: integer
  9136. userid:
  9137. description: 用户ID
  9138. type: integer
  9139. vendorname:
  9140. description: 供应商名称
  9141. type: string
  9142. required:
  9143. - goodscode
  9144. - goodsname
  9145. - takeorderid
  9146. - trademode
  9147. type: object
  9148. models.HsbyPreGoods:
  9149. properties:
  9150. agreeunit:
  9151. description: 合约单位
  9152. type: number
  9153. currency:
  9154. description: 货币
  9155. type: string
  9156. currencysign:
  9157. description: 货币符号
  9158. type: string
  9159. decimalplace:
  9160. description: 报价小数位
  9161. type: integer
  9162. desccityid:
  9163. description: 目的地(市)
  9164. type: integer
  9165. descprovinceid:
  9166. description: 目的地(省)
  9167. type: integer
  9168. enableqty:
  9169. description: 剩余数量
  9170. type: integer
  9171. goodscode:
  9172. description: 商品代码(内部)
  9173. type: string
  9174. goodsid:
  9175. description: 商品ID(自增ID SEQ_GOODS)
  9176. type: integer
  9177. goodsname:
  9178. description: 商品名称
  9179. type: string
  9180. goodsstatus:
  9181. description: 商品状态- 2:未上市 3:上市
  9182. type: integer
  9183. lasttradedate:
  9184. description: 最后交易日期(状态:待退市)
  9185. type: string
  9186. listingdate:
  9187. description: 交易开始日期
  9188. type: string
  9189. marketid:
  9190. description: 所属市场ID
  9191. type: integer
  9192. picurls:
  9193. description: 介绍图片[多张用逗号分隔]
  9194. type: string
  9195. presaledqty:
  9196. description: 已预售量(预售结束时更新)
  9197. type: integer
  9198. presaleqty:
  9199. description: 预售数量
  9200. type: integer
  9201. quoteminunit:
  9202. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9203. type: integer
  9204. refprice:
  9205. description: 参考价格[一口价]
  9206. type: number
  9207. relatedgoodsid:
  9208. description: 关联交易合约ID
  9209. type: integer
  9210. trademode:
  9211. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9212. type: integer
  9213. videourls:
  9214. description: 介绍视频[多张用逗号分隔]
  9215. type: string
  9216. required:
  9217. - goodscode
  9218. - goodsid
  9219. - goodsname
  9220. - marketid
  9221. - trademode
  9222. type: object
  9223. models.HsbyPreGoodsDetail:
  9224. properties:
  9225. agreeunit:
  9226. description: 合约单位
  9227. type: number
  9228. buymaxqty:
  9229. description: 购买上限 [71] - 0为不限
  9230. type: integer
  9231. currency:
  9232. description: 货币
  9233. type: string
  9234. currencysign:
  9235. description: 货币符号
  9236. type: string
  9237. customername:
  9238. description: 发行单位
  9239. type: string
  9240. decimalplace:
  9241. description: 报价小数位
  9242. type: integer
  9243. desccityid:
  9244. description: 目的地(市)ID
  9245. type: integer
  9246. descprovinceid:
  9247. description: 目的地(省)ID
  9248. type: integer
  9249. enableqty:
  9250. description: 剩余数量
  9251. type: integer
  9252. goodscode:
  9253. description: 商品代码(内部)
  9254. type: string
  9255. goodsdesc:
  9256. description: 商品详情
  9257. type: string
  9258. goodsid:
  9259. description: 商品ID(自增ID SEQ_GOODS)
  9260. type: integer
  9261. goodsname:
  9262. description: 商品名称
  9263. type: string
  9264. goodsstatus:
  9265. description: 商品状态- 2:未上市 3:上市
  9266. type: integer
  9267. goodunit:
  9268. description: 报价单位
  9269. type: string
  9270. lasttradedate:
  9271. description: 最后交易日期(状态:待退市)
  9272. type: string
  9273. listingdate:
  9274. description: 交易开始日期
  9275. type: string
  9276. lotsize:
  9277. description: 手数最小变动单位
  9278. type: integer
  9279. marketid:
  9280. description: 所属市场ID
  9281. type: integer
  9282. picurls:
  9283. description: 介绍图片[多张用逗号分隔]
  9284. type: string
  9285. presaledqty:
  9286. description: 已预售量(预售结束时更新)
  9287. type: integer
  9288. presaleqty:
  9289. description: 预售数量
  9290. type: integer
  9291. quoteminunit:
  9292. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9293. type: integer
  9294. refprice:
  9295. description: 参考价格[一口价]
  9296. type: number
  9297. relatedgoodsid:
  9298. description: 关联交易合约ID
  9299. type: integer
  9300. stepvalue:
  9301. description: 价格最小变动单位
  9302. type: number
  9303. trademode:
  9304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9305. type: integer
  9306. vendorattr:
  9307. description: 供应商附件(多张,逗号分隔)
  9308. type: string
  9309. vendorname:
  9310. description: 供应商名称
  9311. type: string
  9312. vendorphone:
  9313. description: 供应商客服电话
  9314. type: string
  9315. videourls:
  9316. description: 介绍视频[多张用逗号分隔]
  9317. type: string
  9318. required:
  9319. - goodscode
  9320. - goodsid
  9321. - goodsname
  9322. - marketid
  9323. - trademode
  9324. type: object
  9325. models.HsbySellCollectionOrder:
  9326. properties:
  9327. agreeunit:
  9328. description: 合约单位
  9329. type: number
  9330. buyaccountid:
  9331. description: 买方账号ID[报价币种]
  9332. type: integer
  9333. buyorderid:
  9334. description: 买方委托单号
  9335. type: string
  9336. createtime:
  9337. description: 创建时间
  9338. type: string
  9339. currencysign:
  9340. description: 货币符号
  9341. type: string
  9342. decimalplace:
  9343. description: 报价小数位
  9344. type: integer
  9345. goodscode:
  9346. description: 商品代码(内部)
  9347. type: string
  9348. goodsid:
  9349. description: 商品ID
  9350. type: integer
  9351. goodsname:
  9352. description: 商品名称
  9353. type: string
  9354. marketid:
  9355. description: 市场ID
  9356. type: integer
  9357. offamount:
  9358. description: 优惠金额
  9359. type: number
  9360. payamount:
  9361. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9362. type: number
  9363. payflag:
  9364. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9365. type: integer
  9366. paylimitedtime:
  9367. description: 支付期限
  9368. type: string
  9369. paytime:
  9370. description: 付款时间
  9371. type: string
  9372. picurls:
  9373. description: 商品介绍图片[多张用逗号分隔]
  9374. type: string
  9375. sellaccountid:
  9376. description: 卖方账号ID[报价币种]
  9377. type: integer
  9378. sellorderid:
  9379. description: 卖方委托单号
  9380. type: string
  9381. tradeamount:
  9382. description: 成交金额
  9383. type: number
  9384. tradecharge:
  9385. description: 成交手续费(买方)
  9386. type: number
  9387. tradedate:
  9388. description: 交易日(yyyyMMdd)
  9389. type: string
  9390. tradeid:
  9391. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9392. type: string
  9393. trademode:
  9394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9395. type: integer
  9396. tradeprice:
  9397. description: 成交价格
  9398. type: number
  9399. tradeqty:
  9400. description: 成交数量
  9401. type: integer
  9402. required:
  9403. - goodscode
  9404. - goodsname
  9405. - tradeid
  9406. - trademode
  9407. type: object
  9408. models.HsbySellMyDetail:
  9409. properties:
  9410. accountid:
  9411. description: 账户ID[报价币种]
  9412. type: integer
  9413. agreeunit:
  9414. description: 合约单位
  9415. type: number
  9416. buyorsell:
  9417. description: 买卖 - 0:买 1:卖
  9418. type: integer
  9419. currencysign:
  9420. description: 货币符号
  9421. type: string
  9422. decimalplace:
  9423. description: 报价小数位
  9424. type: integer
  9425. goodscode:
  9426. description: 商品代码(内部)
  9427. type: string
  9428. goodsid:
  9429. description: 商品ID
  9430. type: integer
  9431. goodsname:
  9432. description: 商品名称
  9433. type: string
  9434. marketid:
  9435. description: 市场ID
  9436. type: integer
  9437. orderid:
  9438. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9439. type: string
  9440. ordertype:
  9441. description: 单据类型:0 - 发布中, 1 - 已完成
  9442. type: integer
  9443. picurls:
  9444. description: 介绍图片[多张用逗号分隔]
  9445. type: string
  9446. price:
  9447. description: 价格
  9448. type: number
  9449. qty:
  9450. description: 数量
  9451. type: integer
  9452. time:
  9453. description: 时间
  9454. type: string
  9455. trademode:
  9456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9457. type: integer
  9458. vendorname:
  9459. description: 供应商名称
  9460. type: string
  9461. required:
  9462. - accountid
  9463. - buyorsell
  9464. - goodscode
  9465. - goodsid
  9466. - goodsname
  9467. - marketid
  9468. - orderid
  9469. - time
  9470. - trademode
  9471. type: object
  9472. models.HsbyTopGoods:
  9473. properties:
  9474. agreeunit:
  9475. description: 合约单位
  9476. type: number
  9477. currency:
  9478. description: 货币
  9479. type: string
  9480. currencysign:
  9481. description: 货币符号
  9482. type: string
  9483. decimalplace:
  9484. description: 报价小数位
  9485. type: integer
  9486. desccityid:
  9487. description: 目的地(市)
  9488. type: integer
  9489. descprovinceid:
  9490. description: 目的地(省)
  9491. type: integer
  9492. goodscode:
  9493. description: 商品代码(内部)
  9494. type: string
  9495. goodsid:
  9496. description: 商品ID(自增ID SEQ_GOODS)
  9497. type: integer
  9498. goodsname:
  9499. description: 商品名称
  9500. type: string
  9501. hotindex:
  9502. description: 景点热度
  9503. type: integer
  9504. last:
  9505. description: 现价
  9506. type: number
  9507. marketid:
  9508. description: 所属市场ID
  9509. type: integer
  9510. picurls:
  9511. description: 介绍图片[多张用逗号分隔]
  9512. type: string
  9513. quoteminunit:
  9514. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9515. type: integer
  9516. trademode:
  9517. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9518. type: integer
  9519. videourls:
  9520. description: 介绍视频[多张用逗号分隔]
  9521. type: string
  9522. required:
  9523. - goodscode
  9524. - goodsid
  9525. - goodsname
  9526. - marketid
  9527. - trademode
  9528. type: object
  9529. models.HybsMyBuyOrderDetail:
  9530. properties:
  9531. accountid:
  9532. description: 账户ID[报价币种]
  9533. type: integer
  9534. agreeunit:
  9535. description: 合约单位
  9536. type: number
  9537. buyorsell:
  9538. description: 买卖 - 0:买 1:卖
  9539. type: integer
  9540. cancelqty:
  9541. description: 撤单数量
  9542. type: integer
  9543. currencysign:
  9544. description: 货币符号
  9545. type: string
  9546. decimalplace:
  9547. description: 报价小数位
  9548. type: integer
  9549. goodscode:
  9550. description: 商品代码(内部)
  9551. type: string
  9552. goodsid:
  9553. description: 商品ID
  9554. type: integer
  9555. goodsname:
  9556. description: 商品名称
  9557. type: string
  9558. listingselecttype:
  9559. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9560. type: integer
  9561. marketid:
  9562. description: 市场ID
  9563. type: integer
  9564. mybuystatus:
  9565. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9566. type: integer
  9567. orderamount:
  9568. description: 委托金额
  9569. type: number
  9570. orderid:
  9571. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9572. type: string
  9573. orderprice:
  9574. description: 委托价格
  9575. type: number
  9576. orderqty:
  9577. description: 委托数量
  9578. type: integer
  9579. orderstatus:
  9580. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9581. type: integer
  9582. ordertime:
  9583. description: 委托时间
  9584. type: string
  9585. picurls1:
  9586. description: 预售商品介绍图片[多张用逗号分隔]
  9587. type: string
  9588. picurls2:
  9589. description: 挂牌商品介绍图片[多张用逗号分隔]
  9590. type: string
  9591. trademode:
  9592. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9593. type: integer
  9594. tradeqty:
  9595. description: 成交数量
  9596. type: integer
  9597. vendorname1:
  9598. description: 预售商品供应商名称
  9599. type: string
  9600. vendorname2:
  9601. description: 挂牌商品供应商名称
  9602. type: string
  9603. required:
  9604. - accountid
  9605. - buyorsell
  9606. - goodscode
  9607. - goodsid
  9608. - goodsname
  9609. - marketid
  9610. - orderid
  9611. - orderqty
  9612. - ordertime
  9613. - trademode
  9614. type: object
  9615. models.Loginaccount:
  9616. properties:
  9617. accountname:
  9618. description: 账户名称
  9619. type: string
  9620. canoutin:
  9621. description: 是否可出入金 - 0:不可 1:可
  9622. type: integer
  9623. clientroleid:
  9624. description: 终端角色ID
  9625. type: integer
  9626. haslogined:
  9627. description: 是否已登录 - 0:未登录 1:已登录
  9628. type: integer
  9629. hasupdatedpwd:
  9630. description: 是否已更改密码 - 0:未修改 1:已修改
  9631. type: integer
  9632. lastloginip:
  9633. description: 最新登录地址
  9634. type: string
  9635. lastloginmode:
  9636. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9637. type: integer
  9638. lastloginremark:
  9639. description: 最新登录描述
  9640. type: string
  9641. lastlogintime:
  9642. description: 最新登录时间
  9643. type: string
  9644. logincode:
  9645. description: 登录代码
  9646. type: string
  9647. loginfailnum:
  9648. description: 连续登录失败次数(登录成功时清零)
  9649. type: integer
  9650. loginid:
  9651. description: 登陆账号
  9652. type: integer
  9653. loginport:
  9654. description: 最新登录端口
  9655. type: integer
  9656. loginstatus:
  9657. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9658. type: integer
  9659. loginusertype:
  9660. description: 登录账号类型 - 1:投资者 2:机构交易员
  9661. type: integer
  9662. mobile:
  9663. description: 手机号码(加密存储)
  9664. type: string
  9665. modifierid:
  9666. description: 修改人
  9667. type: integer
  9668. modifysrc:
  9669. description: 审核来源 - 1:管理端 2:终端
  9670. type: integer
  9671. modifytime:
  9672. description: 修改时间
  9673. type: string
  9674. password:
  9675. description: 登陆密码
  9676. type: string
  9677. pwdwrongcount:
  9678. description: 密码错误次数
  9679. type: integer
  9680. relateduserid:
  9681. description: 关联用户ID(机构)
  9682. type: integer
  9683. taaccountrighttype:
  9684. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9685. type: integer
  9686. unfreezetime:
  9687. description: 账户解冻时间
  9688. type: string
  9689. userid:
  9690. description: 用户ID
  9691. type: integer
  9692. required:
  9693. - loginid
  9694. type: object
  9695. models.MainAccountInfo:
  9696. properties:
  9697. accountid:
  9698. description: 账号id
  9699. type: integer
  9700. accountname:
  9701. description: 账号名称(taaccount表中的名称)
  9702. type: string
  9703. appid:
  9704. description: AppID
  9705. type: string
  9706. authcode:
  9707. description: 授权码
  9708. type: string
  9709. brokerid:
  9710. description: 经纪商id
  9711. type: string
  9712. fcid:
  9713. description: 期货公司id
  9714. type: integer
  9715. fcname:
  9716. description: 期货公司代码
  9717. type: string
  9718. hedgeaccountcode:
  9719. description: 外部账号代码(主账号登录代码)
  9720. type: string
  9721. hedgeaccountpwd:
  9722. description: 密码
  9723. type: string
  9724. ismain:
  9725. description: 是否主账号
  9726. type: integer
  9727. relateduserid:
  9728. description: 关联用户id
  9729. type: integer
  9730. userid:
  9731. description: 关联用户id
  9732. type: integer
  9733. type: object
  9734. models.Market:
  9735. properties:
  9736. auctionwrtype:
  9737. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9738. type: integer
  9739. canacceptquote:
  9740. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9741. type: integer
  9742. cangoodsexercise:
  9743. description: '[期权]是否可现货行权- 0:否 1:是'
  9744. type: integer
  9745. cangoodsexercisetype:
  9746. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9747. type: integer
  9748. canmanualquotestrike:
  9749. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9750. type: integer
  9751. canmutistage:
  9752. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9753. type: integer
  9754. canpreexercise:
  9755. description: '[期权]是否可预申报- 0:否 1:是'
  9756. type: integer
  9757. clearinterval:
  9758. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9759. type: integer
  9760. contracttmp:
  9761. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9762. type: string
  9763. exchareaid:
  9764. description: 所属交易所,可以没有
  9765. type: integer
  9766. goodstype:
  9767. description: 商品类型 - 1:交易商品 2:仓单商品
  9768. type: integer
  9769. hasrebate:
  9770. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9771. type: integer
  9772. hastradecredit:
  9773. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9774. type: integer
  9775. haswr:
  9776. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9777. type: integer
  9778. isdeductmargin:
  9779. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9780. type: integer
  9781. isrecordsource:
  9782. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9783. type: integer
  9784. isreleasemargin:
  9785. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9786. type: integer
  9787. marginformula:
  9788. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9789. type: integer
  9790. marginformula2:
  9791. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9792. type: integer
  9793. marketid:
  9794. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9795. type: integer
  9796. marketname:
  9797. description: 市场名称
  9798. type: string
  9799. marketserviceid:
  9800. description: 市场服务ID
  9801. type: integer
  9802. marketstatus:
  9803. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9804. type: integer
  9805. markettype:
  9806. description: 市场类型- 1:非交易服务 2:交易服务
  9807. type: integer
  9808. matchermode:
  9809. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9810. type: integer
  9811. openmethod:
  9812. description: 开盘模式 - 0 自动 1手动
  9813. type: integer
  9814. otcuserid:
  9815. description: 场外期权做市商[场外期权]
  9816. type: integer
  9817. outersynctime:
  9818. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9819. type: string
  9820. pendingflag:
  9821. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9822. type: integer
  9823. pendingtime:
  9824. description: 待开市时间[通道交易-对冲](HH:mm)
  9825. type: string
  9826. performancetempid:
  9827. description: 履约计划模板ID - 作废
  9828. type: integer
  9829. premiumquotemode:
  9830. description: 权利金报价方式 - 1:自动 2:手动
  9831. type: integer
  9832. rebateratio:
  9833. description: 返利比率[竞价式]
  9834. type: number
  9835. reckonorder:
  9836. description: 结算顺序
  9837. type: integer
  9838. reckonpricealgorithm:
  9839. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9840. type: integer
  9841. reckonpriceparam:
  9842. description: 结算价参数
  9843. type: integer
  9844. reckontime:
  9845. description: 结算时间[通道交易-对冲](HH:mm)
  9846. type: string
  9847. roleprioritytype:
  9848. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9849. type: integer
  9850. selllistingauditflag:
  9851. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9852. type: integer
  9853. trademarkettype:
  9854. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9855. type: integer
  9856. trademode:
  9857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9858. type: integer
  9859. tradeproperty:
  9860. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9861. type: integer
  9862. tradetype:
  9863. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9864. type: integer
  9865. required:
  9866. - marketid
  9867. - marketstatus
  9868. - openmethod
  9869. - reckonpricealgorithm
  9870. - trademode
  9871. - tradeproperty
  9872. type: object
  9873. models.Marketrun:
  9874. properties:
  9875. afternexttradedate:
  9876. description: 下下交易日
  9877. type: string
  9878. clearquoteflag:
  9879. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9880. type: integer
  9881. lastreckondate:
  9882. description: 最新交易日(结算成功)
  9883. type: string
  9884. machinedate:
  9885. description: 机器时间
  9886. type: string
  9887. manualflag:
  9888. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9889. type: integer
  9890. marketid:
  9891. description: 市场ID
  9892. type: integer
  9893. nexttradedate:
  9894. description: 下一交易日
  9895. type: string
  9896. pretradedate:
  9897. description: 上一交易日
  9898. type: string
  9899. reckonflag:
  9900. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9901. type: integer
  9902. runstatus:
  9903. 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.今日免清算
  9904. type: integer
  9905. sectionid:
  9906. description: 时间段号[多时段时用]
  9907. type: integer
  9908. tradedate:
  9909. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9910. type: string
  9911. tradedate2:
  9912. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9913. type: string
  9914. updatetime:
  9915. description: 更新时间
  9916. type: string
  9917. required:
  9918. - marketid
  9919. - nexttradedate
  9920. - reckonflag
  9921. - runstatus
  9922. - tradedate
  9923. - tradedate2
  9924. type: object
  9925. models.Messageboard:
  9926. properties:
  9927. contactnum:
  9928. description: 联系电话
  9929. type: string
  9930. createtime:
  9931. description: 创建时间
  9932. type: string
  9933. message:
  9934. description: 留言信息
  9935. type: string
  9936. messageboardid:
  9937. description: 留言簿ID(SEQ_MessageBoard)
  9938. type: integer
  9939. userid:
  9940. description: 用户ID
  9941. type: integer
  9942. required:
  9943. - messageboardid
  9944. type: object
  9945. models.MyCoupon:
  9946. properties:
  9947. accountid:
  9948. description: 资金账户ID
  9949. type: integer
  9950. areauserid:
  9951. description: 所属机构
  9952. type: integer
  9953. conditionvalue:
  9954. description: 条件阈值(可为0)
  9955. type: number
  9956. couponcategroy:
  9957. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9958. type: integer
  9959. couponname:
  9960. description: 优惠券名称
  9961. type: string
  9962. coupontypeid:
  9963. description: 优惠券类型ID
  9964. type: string
  9965. couponvalue:
  9966. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9967. type: number
  9968. curfreezeqty:
  9969. description: 期末冻结数量
  9970. type: integer
  9971. curqty:
  9972. description: 期末数量
  9973. type: integer
  9974. isgeneral:
  9975. description: 是否通用券 - 0:否 1:是
  9976. type: integer
  9977. isunusable:
  9978. description: 是否不可用
  9979. type: boolean
  9980. limitedflag:
  9981. description: 是否指定商品 - 0:不限 1:限制
  9982. type: integer
  9983. limitedgoodsids:
  9984. description: 指定商品IDs[逗号分隔,前后加逗号]
  9985. type: string
  9986. orifreezeqty:
  9987. description: 期初冻结数量
  9988. type: integer
  9989. oriqty:
  9990. description: 期初数量
  9991. type: integer
  9992. reasontype:
  9993. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9994. type: integer
  9995. todaydecrease:
  9996. description: 今日减少
  9997. type: integer
  9998. todayincrease:
  9999. description: 今日增加
  10000. type: integer
  10001. userid:
  10002. description: 用户ID
  10003. type: integer
  10004. userscope:
  10005. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10006. type: string
  10007. required:
  10008. - accountid
  10009. - coupontypeid
  10010. type: object
  10011. models.MyCouponHold:
  10012. properties:
  10013. accountid:
  10014. description: 资金账户ID
  10015. type: integer
  10016. conditionvalue:
  10017. description: 条件阈值(可为0)
  10018. type: number
  10019. couponcategroy:
  10020. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10021. type: integer
  10022. couponholdid:
  10023. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10024. type: string
  10025. couponname:
  10026. description: 优惠券名称
  10027. type: string
  10028. coupontypeid:
  10029. description: 优惠券类型ID - SEQ_COUPONTYPE
  10030. type: string
  10031. couponvalue:
  10032. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10033. type: number
  10034. createtime:
  10035. description: 创建时间
  10036. type: string
  10037. enddate:
  10038. description: 结束日期
  10039. type: string
  10040. giveapplyid:
  10041. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10042. type: integer
  10043. holdstatus:
  10044. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10045. type: integer
  10046. isgeneral:
  10047. description: 是否通用券 - 0:否 1:是
  10048. type: integer
  10049. limitedflag:
  10050. description: 是否指定商品 - 0:不限 1:限制
  10051. type: integer
  10052. limitedgoodsids:
  10053. description: 指定商品IDs[逗号分隔]
  10054. type: string
  10055. qty:
  10056. description: 数量(按1平铺)
  10057. type: integer
  10058. startdate:
  10059. description: 开始日期
  10060. type: string
  10061. userid:
  10062. description: 用户ID
  10063. type: integer
  10064. userscope:
  10065. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10066. type: string
  10067. required:
  10068. - couponholdid
  10069. type: object
  10070. models.MyUsedCoupon:
  10071. properties:
  10072. accountid:
  10073. description: 资金账户ID(买方)
  10074. type: integer
  10075. conditionvalue:
  10076. description: 条件阈值(可为0)
  10077. type: number
  10078. couponcategroy:
  10079. description: 种类 - 1:现金券 2:折扣券
  10080. type: integer
  10081. couponname:
  10082. description: 优惠券名称
  10083. type: string
  10084. coupontypeid:
  10085. description: 优惠券类型ID(买方)
  10086. type: string
  10087. couponvalue:
  10088. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10089. type: number
  10090. createtime:
  10091. description: 创建时间
  10092. type: string
  10093. goodsid:
  10094. description: 商品ID
  10095. type: integer
  10096. handlestatus:
  10097. description: 处理状态
  10098. type: integer
  10099. marketid:
  10100. description: 市场ID
  10101. type: integer
  10102. offamount:
  10103. description: 优惠金额
  10104. type: number
  10105. orderid:
  10106. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10107. type: string
  10108. sellaccountid:
  10109. description: 资金账户ID(卖方)
  10110. type: integer
  10111. tradeamount:
  10112. description: 成交金额
  10113. type: number
  10114. tradeid:
  10115. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10116. type: string
  10117. usedqty:
  10118. description: 使用数量
  10119. type: integer
  10120. required:
  10121. - coupontypeid
  10122. - orderid
  10123. type: object
  10124. models.OperationPrimaryMenu:
  10125. properties:
  10126. Children:
  10127. description: 二级功能菜单
  10128. items:
  10129. $ref: '#/definitions/models.OperationSecondaryMenu'
  10130. type: array
  10131. Key:
  10132. description: 菜单KEY
  10133. type: string
  10134. Label:
  10135. description: 菜单标题
  10136. type: string
  10137. type: object
  10138. models.OperationSecondaryMenu:
  10139. properties:
  10140. Key:
  10141. description: 菜单KEY
  10142. type: string
  10143. Label:
  10144. description: 菜单标题
  10145. type: string
  10146. TabList:
  10147. description: 三级功能菜单
  10148. items:
  10149. $ref: '#/definitions/models.OperationTabMenu'
  10150. type: array
  10151. type: object
  10152. models.OperationTabMenu:
  10153. properties:
  10154. Key:
  10155. description: 菜单KEY
  10156. type: string
  10157. Label:
  10158. description: 菜单标题
  10159. type: string
  10160. type: object
  10161. models.QhjAccountOutInApply:
  10162. properties:
  10163. accountcode:
  10164. description: 资金账号
  10165. type: string
  10166. accountname:
  10167. description: 用户名称(名称)
  10168. type: string
  10169. accountpwd:
  10170. description: 资金密码
  10171. type: string
  10172. accountticket:
  10173. description: 最新账户服务流水号
  10174. type: string
  10175. amount:
  10176. description: 金额
  10177. type: number
  10178. applyremark:
  10179. description: 申请备注
  10180. type: string
  10181. applystatus:
  10182. 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: 复审通过,账户冻结金额检查中;'
  10183. type: integer
  10184. auditid:
  10185. description: 审核人
  10186. type: integer
  10187. audittime:
  10188. description: 审核时间
  10189. type: string
  10190. bank_apply_ticket:
  10191. description: 银行申请流水
  10192. type: string
  10193. bankaccountname:
  10194. description: 银行账户名
  10195. type: string
  10196. bankaccountno:
  10197. description: 银行卡号
  10198. type: string
  10199. bankid:
  10200. description: 银行编号
  10201. type: string
  10202. bankticket:
  10203. description: 银行流水
  10204. type: string
  10205. branchbankid:
  10206. description: 银行支行号
  10207. type: string
  10208. branchbankname:
  10209. description: 银行支行名称
  10210. type: string
  10211. capamountout:
  10212. description: 出金(劣后本金) - 外部子账户
  10213. type: number
  10214. certificatephotourl:
  10215. description: 凭证地址
  10216. type: string
  10217. charge:
  10218. description: 手续费
  10219. type: number
  10220. checkerrorflag:
  10221. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10222. type: integer
  10223. currency:
  10224. description: 币种
  10225. type: string
  10226. cusbankid:
  10227. description: 托管银行编号
  10228. type: string
  10229. exchticket:
  10230. description: 银行服务流水号
  10231. type: string
  10232. executetype:
  10233. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10234. type: integer
  10235. extendinfo:
  10236. description: 扩展信息
  10237. type: string
  10238. extoperateid:
  10239. description: 交易服务流水号
  10240. type: integer
  10241. infamount:
  10242. description: 劣后金额(自有)
  10243. type: number
  10244. logincode:
  10245. description: 登录账号(账号)
  10246. type: string
  10247. netaddr:
  10248. description: 调转网址
  10249. type: string
  10250. priamount:
  10251. description: 优先金额(授信)
  10252. type: number
  10253. reauditid:
  10254. description: 复审人
  10255. type: integer
  10256. reauditremark:
  10257. description: 复审备注
  10258. type: string
  10259. reaudittime:
  10260. description: 复审时间
  10261. type: string
  10262. relatedorderid:
  10263. description: 三方关联ID
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. remark2:
  10269. description: 备注(失败原因)
  10270. type: string
  10271. soucreamount:
  10272. description: 原始出入金金额
  10273. type: number
  10274. soucrecurrencyid:
  10275. description: 原始出入金币种
  10276. type: integer
  10277. tradedate:
  10278. description: 交易日(yyyyMMdd)
  10279. type: string
  10280. updatetime:
  10281. description: 更新时间(申请时间)
  10282. type: string
  10283. userid:
  10284. description: 用户id
  10285. type: integer
  10286. userinfotype:
  10287. description: 账户类型 1-个人 2-企业
  10288. type: integer
  10289. type: object
  10290. models.QhjAgreementChangeLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementfrequency:
  10296. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10297. type: integer
  10298. agreementid:
  10299. description: 协议ID
  10300. type: integer
  10301. agreementname:
  10302. description: 协议名称
  10303. type: string
  10304. agreementno:
  10305. description: 协议编号
  10306. type: string
  10307. agreementtype:
  10308. description: 协议类型 - 1:注册 2:登录 3:交易
  10309. type: integer
  10310. agreementversion:
  10311. description: 协议版本号
  10312. type: integer
  10313. logid:
  10314. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10315. type: integer
  10316. reviserid:
  10317. description: 修改人
  10318. type: integer
  10319. revisersrc:
  10320. description: 修改来源 - 1:管理端 2:终端
  10321. type: integer
  10322. updatetime:
  10323. description: 更新时间
  10324. type: string
  10325. type: object
  10326. models.QhjAgreementConfig:
  10327. properties:
  10328. agreementcontent:
  10329. description: 协议内容
  10330. type: string
  10331. agreementfrequency:
  10332. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10333. type: integer
  10334. agreementid:
  10335. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10336. type: integer
  10337. agreementname:
  10338. description: 协议名称
  10339. type: string
  10340. agreementno:
  10341. description: 协议编号
  10342. type: string
  10343. agreementtype:
  10344. description: 协议类型 - 1:注册 2:登录 3:交易
  10345. type: integer
  10346. agreementversion:
  10347. description: 协议版本号(从1开始每次修改加1)
  10348. type: integer
  10349. createtime:
  10350. description: 创建时间
  10351. type: string
  10352. creatorid:
  10353. description: 创建人
  10354. type: integer
  10355. creatorsrc:
  10356. description: 创建来源 - 1:管理端 2:终端
  10357. type: integer
  10358. isvalid:
  10359. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10360. type: integer
  10361. reviserid:
  10362. description: 修改人
  10363. type: integer
  10364. revisersrc:
  10365. description: 修改来源 - 1:管理端 2:终端
  10366. type: integer
  10367. updatetime:
  10368. description: 更新时间
  10369. type: string
  10370. type: object
  10371. models.QhjAreaFinanceConfig:
  10372. properties:
  10373. additionalratio:
  10374. description: 追加款比例
  10375. type: number
  10376. advanceratio:
  10377. description: 预付款比例
  10378. type: number
  10379. alarmratio:
  10380. description: 告警比例
  10381. type: number
  10382. consumptiondirectreward:
  10383. description: 消费直推奖励值
  10384. type: number
  10385. consumptionenabled:
  10386. description: 是否启用消费奖励 - 0:不启用 1:启用
  10387. type: integer
  10388. consumptionindirectreward:
  10389. description: 消费间推奖励值
  10390. type: number
  10391. consumptionmodel:
  10392. description: 消费奖励方式 - 1:比率 2:固定
  10393. type: integer
  10394. customerservicenum:
  10395. description: 客服电话
  10396. type: string
  10397. dayinterestrate:
  10398. description: 日利率
  10399. type: number
  10400. disableconsumptiontips:
  10401. description: 关闭消费奖励提示
  10402. type: string
  10403. modifierid:
  10404. description: 修改人ID
  10405. type: integer
  10406. modifysrc:
  10407. description: 审核来源 - 1:管理端 2:终端
  10408. type: integer
  10409. modifytime:
  10410. description: 修改时间
  10411. type: string
  10412. promotionvalue:
  10413. description: 推广奖励值(固定)
  10414. type: number
  10415. scoreconfigvalue1:
  10416. description: 提货积分配置1
  10417. type: integer
  10418. scoreconfigvalue2:
  10419. description: 提货积分配置2
  10420. type: integer
  10421. userid:
  10422. description: 机构用户ID其他做市关系,都设置为 1
  10423. type: integer
  10424. username:
  10425. description: 用户名称
  10426. type: string
  10427. type: object
  10428. models.QhjBankAccountSign:
  10429. properties:
  10430. accountcode:
  10431. description: 资金账号
  10432. type: string
  10433. accountname:
  10434. description: 资金账号对应的账号名(UserName)
  10435. type: string
  10436. accountname2:
  10437. description: 资金账号对应的账号名(UserName) - 密文
  10438. type: string
  10439. accounttype:
  10440. description: 账户类型(UserType)
  10441. type: integer
  10442. applicationtime:
  10443. description: 最后一次更新的时间
  10444. type: string
  10445. applyexchticket:
  10446. description: 申请流水
  10447. type: string
  10448. auditid:
  10449. description: 审核人
  10450. type: integer
  10451. audittime:
  10452. description: 审核时间
  10453. type: string
  10454. bankaccountname:
  10455. description: 签约银行卡账号名
  10456. type: string
  10457. bankaccountname2:
  10458. description: 签约银行卡账号名 - 密文
  10459. type: string
  10460. bankaccountno:
  10461. description: 银行卡号
  10462. type: string
  10463. bankaccountno2:
  10464. description: 银行卡号 - 密文
  10465. type: string
  10466. bankaccounttype:
  10467. description: 银行账户类型 - 1-对私; 2-对公
  10468. type: integer
  10469. bankcardtype:
  10470. description: 银行卡类型
  10471. type: integer
  10472. bankchildaccount:
  10473. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10474. type: string
  10475. bankcity:
  10476. description: 开户行城市
  10477. type: string
  10478. bankid:
  10479. description: 签约银行ID
  10480. type: string
  10481. bankname:
  10482. description: 签约银行名称
  10483. type: string
  10484. bankprovince:
  10485. description: 开户行省份
  10486. type: string
  10487. branchbankid:
  10488. description: 签约银行支行号
  10489. type: string
  10490. branchbankname:
  10491. description: 签约银行支行名称
  10492. type: string
  10493. cardno:
  10494. description: 证件号码
  10495. type: string
  10496. cardno2:
  10497. description: 证件号码 - 密文
  10498. type: string
  10499. cardtype:
  10500. description: 证件类型
  10501. type: string
  10502. currency:
  10503. description: 币种
  10504. type: string
  10505. cusbankid:
  10506. description: 托管银行编号
  10507. type: string
  10508. direct:
  10509. description: 方向(可以判断那方先发起的签约)
  10510. type: integer
  10511. exchticket:
  10512. description: 最后一次签约成功的流水号
  10513. type: string
  10514. extendinfo:
  10515. description: 扩展信息(JSON字符串)
  10516. type: string
  10517. mobilephone:
  10518. description: 手机号
  10519. type: string
  10520. mobilephone2:
  10521. description: 手机号 - 密文
  10522. type: string
  10523. netaddr:
  10524. description: 调转网址
  10525. type: string
  10526. relateduserid:
  10527. description: 关联使用者userid
  10528. type: integer
  10529. signstatus:
  10530. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10531. type: integer
  10532. updatetime:
  10533. description: 更新时间(签解约更新时间)
  10534. type: string
  10535. type: object
  10536. models.QhjBankInfo:
  10537. properties:
  10538. bankid:
  10539. description: 银行ID
  10540. type: string
  10541. bankname:
  10542. description: 银行名称
  10543. type: string
  10544. clearbankno:
  10545. description: 清算系统银行编号
  10546. type: string
  10547. orderindex:
  10548. description: 排序顺序
  10549. type: integer
  10550. status:
  10551. description: 状态 - 0:正常 1:注销
  10552. type: integer
  10553. type: object
  10554. models.QhjBrokerApply:
  10555. properties:
  10556. applicantid:
  10557. description: 申请人
  10558. type: integer
  10559. applysrc:
  10560. description: 申请来源 - 1:管理端 2:终端
  10561. type: integer
  10562. applystatus:
  10563. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10564. type: integer
  10565. applytime:
  10566. description: 申请时间
  10567. type: string
  10568. auditorid:
  10569. description: 审核人
  10570. type: integer
  10571. auditremark:
  10572. description: 审核备注
  10573. type: string
  10574. auditsrc:
  10575. description: 审核来源 - 1:管理端 2:终端
  10576. type: integer
  10577. audittime:
  10578. description: 审核时间
  10579. type: string
  10580. audittradedate:
  10581. description: 审核交易日(yyyyMMdd)
  10582. type: string
  10583. brokerapplyid:
  10584. description: 申请ID(SEQ_BROKERAPPLY)
  10585. type: integer
  10586. cardbackphotourl:
  10587. description: 证件背面图片地址
  10588. type: string
  10589. cardfrontphotourl:
  10590. description: 证件正面图片地址
  10591. type: string
  10592. cardnum:
  10593. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10594. type: string
  10595. customername:
  10596. description: 姓名
  10597. type: string
  10598. logincode:
  10599. description: 登录代码
  10600. type: string
  10601. mobile:
  10602. description: 手机号码
  10603. type: string
  10604. parentuserid:
  10605. description: 所属机构id
  10606. type: integer
  10607. parentusername:
  10608. description: 所属机构名称
  10609. type: string
  10610. refereeuserid:
  10611. description: 推荐人id(经纪人)
  10612. type: integer
  10613. refernum:
  10614. description: 推荐码
  10615. type: string
  10616. remark:
  10617. description: 备注
  10618. type: string
  10619. subarealevelpath:
  10620. description: 层级路径
  10621. type: string
  10622. tradedate:
  10623. description: 交易日(yyyyMMdd)
  10624. type: string
  10625. userid:
  10626. description: 申请人用户ID
  10627. type: integer
  10628. userinfotype:
  10629. description: 用户类型 1-个人 2-企业
  10630. type: integer
  10631. username:
  10632. description: 用户名称
  10633. type: string
  10634. type: object
  10635. models.QhjBrokerApplyEx:
  10636. properties:
  10637. applylist:
  10638. description: 经纪人申请记录(只返回最新一条)
  10639. items:
  10640. $ref: '#/definitions/models.QhjBrokerApply'
  10641. type: array
  10642. canrecommend:
  10643. description: 是否经纪人 0-不是 1-是
  10644. type: integer
  10645. refernum:
  10646. description: 推荐码
  10647. type: string
  10648. userid:
  10649. description: 用户id
  10650. type: integer
  10651. userinfotype:
  10652. description: 用户类型 1-个人 2-企业
  10653. type: integer
  10654. type: object
  10655. models.QhjBrokerRewardLog:
  10656. properties:
  10657. accountid:
  10658. description: 资金账号ID
  10659. type: integer
  10660. createtime:
  10661. description: 创建时间(时间)
  10662. type: string
  10663. handlestatus:
  10664. description: 处理状态
  10665. type: integer
  10666. logid:
  10667. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10668. type: string
  10669. marketid:
  10670. description: 市场ID
  10671. type: integer
  10672. mmaccountid:
  10673. description: 做市商资金账号ID
  10674. type: string
  10675. mmuserid:
  10676. description: 做市商用户ID
  10677. type: string
  10678. rewardamount:
  10679. description: 奖励金额
  10680. type: number
  10681. rewardmodel:
  10682. description: 消费奖励方式 - 1:比率 2:固定
  10683. type: integer
  10684. rewardtype:
  10685. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10686. type: integer
  10687. rewardvalue:
  10688. description: 配置奖励值
  10689. type: number
  10690. srcamount:
  10691. description: 成交金额 [消费奖励] (金额)
  10692. type: number
  10693. srcgoodsid:
  10694. description: 来源商品ID [消费奖励]
  10695. type: string
  10696. srctime:
  10697. description: 来源时间 (成交时间) [消费奖励]
  10698. type: string
  10699. srctradeid:
  10700. description: 来源成交单ID [消费奖励] - 排除提货成交
  10701. type: string
  10702. srcuserid:
  10703. description: 来源用户ID(推广账户)
  10704. type: string
  10705. srcusername:
  10706. description: 推广账户名称
  10707. type: string
  10708. tradedate:
  10709. description: 交易日(yyyyMMdd)
  10710. type: string
  10711. userid:
  10712. description: 经纪人用户ID
  10713. type: integer
  10714. type: object
  10715. models.QhjContract:
  10716. properties:
  10717. contractconfirmtime:
  10718. description: 合同确认时间(时间)
  10719. type: string
  10720. currisklevel:
  10721. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10722. type: integer
  10723. decimalplace:
  10724. description: 商品报价小数位
  10725. type: integer
  10726. enumdicname:
  10727. description: 单位名称
  10728. type: string
  10729. goodscode:
  10730. description: 商品代码
  10731. type: string
  10732. goodsid:
  10733. description: 商品ID [5:融资单]
  10734. type: integer
  10735. goodsname:
  10736. description: 商品名称
  10737. type: string
  10738. goodunitid:
  10739. description: 商品单位id
  10740. type: integer
  10741. initmargin:
  10742. description: 初始保证金(首付款)
  10743. type: number
  10744. lenderamount:
  10745. description: 贷款金额(总额|订单总额)
  10746. type: number
  10747. marginratio:
  10748. description: 保证金比率(首付比例)
  10749. type: number
  10750. payamount:
  10751. description: 已付(已付货款)
  10752. type: number
  10753. reckonrecovermargin:
  10754. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10755. type: number
  10756. recoveredmargin:
  10757. description: 已追缴保证金
  10758. type: number
  10759. remainamount:
  10760. description: 合同剩余金额(融资额)
  10761. type: number
  10762. scfcontractid:
  10763. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10764. type: string
  10765. scfcontractstatus:
  10766. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10767. type: integer
  10768. scfcontracttype:
  10769. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10770. type: integer
  10771. totalinterest:
  10772. description: 已计总利息(利息)
  10773. type: number
  10774. tradeprice:
  10775. description: 成交价格(成本价格)
  10776. type: number
  10777. userid:
  10778. description: 用户ID
  10779. type: integer
  10780. username:
  10781. description: 用户名称
  10782. type: string
  10783. wrqty:
  10784. description: 仓单数量(数量)
  10785. type: number
  10786. type: object
  10787. models.QhjContractLog:
  10788. properties:
  10789. amount:
  10790. description: 支付金额
  10791. type: number
  10792. amounttype:
  10793. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10794. type: integer
  10795. logid:
  10796. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10797. type: string
  10798. remainamount:
  10799. description: 剩余货款
  10800. type: number
  10801. scfcontractid:
  10802. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10803. type: integer
  10804. updatetime:
  10805. description: 更新时间
  10806. type: string
  10807. type: object
  10808. models.QhjCusBankSignBankEx:
  10809. properties:
  10810. banklst:
  10811. description: 银行列表
  10812. items:
  10813. $ref: '#/definitions/models.QhjBankInfo'
  10814. type: array
  10815. canallot:
  10816. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10817. type: integer
  10818. canallotquery:
  10819. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10820. type: integer
  10821. canbindcard:
  10822. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10823. type: integer
  10824. caninamount:
  10825. description: 是否可入金 - 0:不可 1:可以
  10826. type: integer
  10827. caninamount2:
  10828. description: 是否可入金(网银端) - 0:不可 1:可以
  10829. type: integer
  10830. canmodifybankcard:
  10831. description: 是否可修改银行卡号 - 0:不可 1:可以
  10832. type: integer
  10833. canmodifyphone:
  10834. description: 是否可修改手机号 - 0:不可 1:可以
  10835. type: integer
  10836. canmodifysigninfo:
  10837. description: 是否可修改签约信息 - 0:不可 1:可以
  10838. type: integer
  10839. canoutamount:
  10840. description: 是否可出金 - 0:不可 1:可以
  10841. type: integer
  10842. canoutamount2:
  10843. description: 是否可出金(网银端) - 0:不可 1:可以
  10844. type: integer
  10845. canrelease:
  10846. description: 是否可解约 - 0:不可 1:可以
  10847. type: integer
  10848. canrelease2:
  10849. description: 是否可解约(网银端) - 0:不可 1:可以
  10850. type: integer
  10851. cansign:
  10852. description: 是否可签约 - 0:不可 1:可以
  10853. type: integer
  10854. cansign2:
  10855. description: 是否可签约(网银端) - 0:不可 1:可以
  10856. type: integer
  10857. currency:
  10858. description: 币种
  10859. type: string
  10860. cusbankid:
  10861. description: 托管银行编号(对应清算中心TRAN_NO)
  10862. type: string
  10863. cusbankname:
  10864. description: 银行业务名称
  10865. type: string
  10866. cusbankshortname:
  10867. description: 银行业务简称
  10868. type: string
  10869. exchbankid:
  10870. description: 交易所开户银行ID
  10871. type: string
  10872. exchpaybankaccname:
  10873. description: 交易所支出结算账户户名
  10874. type: string
  10875. exchpaybankaccno:
  10876. description: 交易所支出结算账户
  10877. type: string
  10878. isneedcheck:
  10879. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10880. type: integer
  10881. isneedclear:
  10882. description: 是否需要清算 - 0:不需要 1:需要
  10883. type: integer
  10884. lastcheckstatus:
  10885. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10886. type: integer
  10887. lastchecktime:
  10888. description: 最后对账时间
  10889. type: string
  10890. lastclearstatus:
  10891. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10892. type: integer
  10893. lastcleartime:
  10894. description: 最后清算时间
  10895. type: string
  10896. lastsignintime:
  10897. description: 最后签到时间
  10898. type: string
  10899. lastsignouttime:
  10900. description: 最后签退时间
  10901. type: string
  10902. riskinfo:
  10903. description: 签约风险提示书
  10904. type: string
  10905. signstatus:
  10906. description: 当前签到/签退状态 - 1:签到 2:签退
  10907. type: integer
  10908. tradedate:
  10909. description: 交易日(yyyyMMdd)
  10910. type: string
  10911. updatetime:
  10912. description: 当前签到/签退更新时间
  10913. type: string
  10914. type: object
  10915. models.QhjCustomer:
  10916. properties:
  10917. address:
  10918. description: 通讯地址
  10919. type: string
  10920. attachment1:
  10921. description: 附件1
  10922. type: string
  10923. attachment2:
  10924. description: 附件2
  10925. type: string
  10926. audittime:
  10927. description: 审核时间
  10928. type: string
  10929. cardbackphotourl:
  10930. description: 证件反面图片地址
  10931. type: string
  10932. cardfrontphotourl:
  10933. description: 证件正面图片地址
  10934. type: string
  10935. cardnum:
  10936. description: 证件号码
  10937. type: string
  10938. cardtype:
  10939. description: 证件类型
  10940. type: integer
  10941. cardtypename:
  10942. description: 证件类型名称
  10943. type: string
  10944. cityid:
  10945. description: 市
  10946. type: integer
  10947. cityname:
  10948. description: 城市名称
  10949. type: string
  10950. contactname:
  10951. description: 联系人
  10952. type: string
  10953. countryid:
  10954. description: 国家
  10955. type: integer
  10956. countryname:
  10957. description: 国家名称
  10958. type: string
  10959. createtime:
  10960. description: 创建时间
  10961. type: string
  10962. customername:
  10963. description: 客户名称
  10964. type: string
  10965. districtid:
  10966. description: 区域
  10967. type: integer
  10968. districtname:
  10969. description: 地区名称
  10970. type: string
  10971. email:
  10972. description: 邮件
  10973. type: string
  10974. legalpersonname:
  10975. description: 法人姓名(企业)
  10976. type: string
  10977. logincode:
  10978. description: 登录账号(代码)
  10979. type: string
  10980. memberuserid:
  10981. description: 所属机构ID(所属会员)
  10982. type: integer
  10983. memberusername:
  10984. description: 所属会员名称
  10985. type: string
  10986. mobile:
  10987. description: 手机号码
  10988. type: string
  10989. modifytime:
  10990. description: 修改时间
  10991. type: string
  10992. nickname:
  10993. description: 昵称
  10994. type: string
  10995. parentuserid:
  10996. description: 上级机构(所属机构)
  10997. type: integer
  10998. parentusername:
  10999. description: 所属机构名称
  11000. type: string
  11001. provinceid:
  11002. description: 省
  11003. type: integer
  11004. provincename:
  11005. description: 省名称
  11006. type: string
  11007. proxystatementurl:
  11008. description: 授权委托书
  11009. type: string
  11010. remark:
  11011. description: 备注
  11012. type: string
  11013. status:
  11014. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11015. type: integer
  11016. statusdesc:
  11017. description: 账户状态中文描述
  11018. type: string
  11019. taxpayernum:
  11020. description: 纳税人识别号
  11021. type: string
  11022. telphone:
  11023. description: 联系电话
  11024. type: string
  11025. userid:
  11026. description: 用户ID
  11027. type: integer
  11028. userinfotype:
  11029. description: 客户类型 1-个人 2-企业
  11030. type: integer
  11031. username:
  11032. description: 用户名称
  11033. type: string
  11034. type: object
  11035. models.QhjCustomerSignLog:
  11036. properties:
  11037. agreementcontent:
  11038. description: 协议内容
  11039. type: string
  11040. agreementid:
  11041. description: 协议ID
  11042. type: integer
  11043. agreementname:
  11044. description: 协议名称
  11045. type: string
  11046. agreementno:
  11047. description: 协议编号
  11048. type: string
  11049. agreementtype:
  11050. description: 协议类型 - 1:注册 2:登录 3:交易
  11051. type: integer
  11052. agreementversion:
  11053. description: 协议版本号
  11054. type: integer
  11055. createtime:
  11056. description: 创建时间
  11057. type: string
  11058. goodscode:
  11059. description: 商品代码
  11060. type: string
  11061. goodsid:
  11062. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11063. type: integer
  11064. goodsname:
  11065. description: 商品名称
  11066. type: string
  11067. logid:
  11068. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11069. type: integer
  11070. nodetype:
  11071. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11072. type: integer
  11073. signadressurl:
  11074. description: 签约文件地址
  11075. type: string
  11076. signtimestamp:
  11077. description: 签约状态时间戳
  11078. type: string
  11079. userid:
  11080. description: 客户ID
  11081. type: integer
  11082. username:
  11083. description: 客户名称
  11084. type: string
  11085. type: object
  11086. models.QhjCustomerSignStatus:
  11087. properties:
  11088. createtime:
  11089. description: 创建时间
  11090. type: string
  11091. goodscode:
  11092. description: 商品代码
  11093. type: string
  11094. goodsid:
  11095. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11096. type: integer
  11097. goodsname:
  11098. description: 商品名称
  11099. type: string
  11100. nodetype:
  11101. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11102. type: integer
  11103. signtimestamp:
  11104. description: 签约状态时间戳
  11105. type: string
  11106. tradedate:
  11107. description: 创建交易日(yyyyMMdd)
  11108. type: string
  11109. updatetime:
  11110. description: 更新时间
  11111. type: string
  11112. userid:
  11113. description: 客户ID
  11114. type: integer
  11115. username:
  11116. description: 客户名称
  11117. type: string
  11118. type: object
  11119. models.QhjMgrAccountOutInApply:
  11120. properties:
  11121. accountcode:
  11122. description: 资金账号
  11123. type: string
  11124. accountname:
  11125. description: 用户名称(名称)
  11126. type: string
  11127. accountpwd:
  11128. description: 资金密码
  11129. type: string
  11130. accountticket:
  11131. description: 最新账户服务流水号
  11132. type: string
  11133. amount:
  11134. description: 金额
  11135. type: number
  11136. applyremark:
  11137. description: 申请备注
  11138. type: string
  11139. applystatus:
  11140. 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: 复审通过,账户冻结金额检查中;'
  11141. type: integer
  11142. auditid:
  11143. description: 审核人
  11144. type: integer
  11145. audittime:
  11146. description: 审核时间
  11147. type: string
  11148. bank_apply_ticket:
  11149. description: 银行申请流水
  11150. type: string
  11151. bankaccountname:
  11152. description: 银行账户名
  11153. type: string
  11154. bankaccountno:
  11155. description: 银行卡号
  11156. type: string
  11157. bankid:
  11158. description: 银行编号
  11159. type: string
  11160. bankname:
  11161. description: 银行名称
  11162. type: string
  11163. bankticket:
  11164. description: 银行流水
  11165. type: string
  11166. branchbankid:
  11167. description: 银行支行号
  11168. type: string
  11169. branchbankname:
  11170. description: 银行支行名称
  11171. type: string
  11172. capamountout:
  11173. description: 出金(劣后本金) - 外部子账户
  11174. type: number
  11175. certificatephotourl:
  11176. description: 凭证地址
  11177. type: string
  11178. charge:
  11179. description: 手续费
  11180. type: number
  11181. checkerrorflag:
  11182. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11183. type: integer
  11184. currency:
  11185. description: 币种
  11186. type: string
  11187. cusbankid:
  11188. description: 托管银行编号
  11189. type: string
  11190. exchticket:
  11191. description: 银行服务流水号
  11192. type: string
  11193. executetype:
  11194. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11195. type: integer
  11196. extendinfo:
  11197. description: 扩展信息
  11198. type: string
  11199. extoperateid:
  11200. description: 交易服务流水号
  11201. type: integer
  11202. infamount:
  11203. description: 劣后金额(自有)
  11204. type: number
  11205. logincode:
  11206. description: 登录账号(账号)
  11207. type: string
  11208. netaddr:
  11209. description: 调转网址
  11210. type: string
  11211. priamount:
  11212. description: 优先金额(授信)
  11213. type: number
  11214. reauditid:
  11215. description: 复审人
  11216. type: integer
  11217. reauditremark:
  11218. description: 复审备注
  11219. type: string
  11220. reaudittime:
  11221. description: 复审时间
  11222. type: string
  11223. relatedorderid:
  11224. description: 三方关联ID
  11225. type: string
  11226. remark:
  11227. description: 备注
  11228. type: string
  11229. remark2:
  11230. description: 备注(失败原因)
  11231. type: string
  11232. soucreamount:
  11233. description: 原始出入金金额
  11234. type: number
  11235. soucrecurrencyid:
  11236. description: 原始出入金币种
  11237. type: integer
  11238. tradedate:
  11239. description: 交易日(yyyyMMdd)
  11240. type: string
  11241. updatetime:
  11242. description: 更新时间(申请时间)
  11243. type: string
  11244. userid:
  11245. description: 用户id
  11246. type: integer
  11247. userinfotype:
  11248. description: 账户类型 1-个人 2-企业
  11249. type: integer
  11250. type: object
  11251. models.QhjMgrBrokerApply:
  11252. properties:
  11253. applicantid:
  11254. description: 申请人
  11255. type: integer
  11256. applysrc:
  11257. description: 申请来源 - 1:管理端 2:终端
  11258. type: integer
  11259. applystatus:
  11260. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11261. type: integer
  11262. applytime:
  11263. description: 申请时间
  11264. type: string
  11265. auditorid:
  11266. description: 审核人
  11267. type: integer
  11268. auditremark:
  11269. description: 审核备注
  11270. type: string
  11271. auditsrc:
  11272. description: 审核来源 - 1:管理端 2:终端
  11273. type: integer
  11274. audittime:
  11275. description: 审核时间
  11276. type: string
  11277. audittradedate:
  11278. description: 审核交易日(yyyyMMdd)
  11279. type: string
  11280. brokerapplyid:
  11281. description: 申请ID(SEQ_BROKERAPPLY)
  11282. type: integer
  11283. cardbackphotourl:
  11284. description: 证件背面图片地址
  11285. type: string
  11286. cardfrontphotourl:
  11287. description: 证件正面图片地址
  11288. type: string
  11289. cardnum:
  11290. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11291. type: string
  11292. customername:
  11293. description: 姓名
  11294. type: string
  11295. filterstatus:
  11296. description: 筛选条件
  11297. type: string
  11298. logincode:
  11299. description: 登录代码
  11300. type: string
  11301. mobile:
  11302. description: 手机号码
  11303. type: string
  11304. parentuserid:
  11305. description: 所属机构id
  11306. type: integer
  11307. parentusername:
  11308. description: 所属机构名称
  11309. type: string
  11310. refereeuserid:
  11311. description: 推荐人id(经纪人)
  11312. type: integer
  11313. refernum:
  11314. description: 推荐码
  11315. type: string
  11316. remark:
  11317. description: 备注
  11318. type: string
  11319. subarealevelpath:
  11320. description: 层级路径
  11321. type: string
  11322. tradedate:
  11323. description: 交易日(yyyyMMdd)
  11324. type: string
  11325. userid:
  11326. description: 申请人用户ID
  11327. type: integer
  11328. userinfotype:
  11329. description: 用户类型 1-个人 2-企业
  11330. type: integer
  11331. username:
  11332. description: 用户名称
  11333. type: string
  11334. type: object
  11335. models.QhjMgrBrokerRewardReport:
  11336. properties:
  11337. createtime:
  11338. description: 创建时间(注册时间)
  11339. type: string
  11340. cycletime:
  11341. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11342. type: string
  11343. cycletype:
  11344. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11345. type: integer
  11346. directtotalnum:
  11347. description: 直推总人数【期末】
  11348. type: integer
  11349. indirecttotalnum:
  11350. description: 间推总人数【期末】
  11351. type: integer
  11352. mobile:
  11353. description: 电话号码
  11354. type: string
  11355. refereeuserid:
  11356. description: 推荐人id(经纪人id)
  11357. type: integer
  11358. refereeusername:
  11359. description: 推荐人名称(经纪人) 上级经纪人名称
  11360. type: string
  11361. refernum:
  11362. description: 推荐码
  11363. type: string
  11364. subarealevelpath:
  11365. description: 用户层级路径
  11366. type: string
  11367. todayrewardamount:
  11368. description: 奖励总金额【汇总】
  11369. type: number
  11370. updatetime:
  11371. description: 更新时间
  11372. type: string
  11373. userid:
  11374. description: 经纪人用户ID
  11375. type: integer
  11376. userinfotype:
  11377. description: 用户类型 1-个人 2-企业
  11378. type: integer
  11379. username:
  11380. description: 用户名称
  11381. type: string
  11382. type: object
  11383. models.QhjMgrContract:
  11384. properties:
  11385. contractconfirmtime:
  11386. description: 合同确认时间(时间)
  11387. type: string
  11388. currisklevel:
  11389. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11390. type: integer
  11391. decimalplace:
  11392. description: 商品报价小数位
  11393. type: integer
  11394. enumdicname:
  11395. description: 单位名称
  11396. type: string
  11397. goodscode:
  11398. description: 商品代码
  11399. type: string
  11400. goodsid:
  11401. description: 商品ID [5:融资单]
  11402. type: integer
  11403. goodsname:
  11404. description: 商品名称
  11405. type: string
  11406. goodunitid:
  11407. description: 商品单位id
  11408. type: integer
  11409. initmargin:
  11410. description: 初始保证金(首付款)
  11411. type: number
  11412. lenderamount:
  11413. description: 贷款金额(总额|订单总额)
  11414. type: number
  11415. logincode:
  11416. description: 账号(登录代码)
  11417. type: string
  11418. marginratio:
  11419. description: 保证金比率(首付比例)
  11420. type: number
  11421. mobile:
  11422. description: 电话号码(用户资料里的电话)
  11423. type: string
  11424. payamount:
  11425. description: 已付(已付货款)
  11426. type: number
  11427. reckonrecovermargin:
  11428. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11429. type: number
  11430. recoveredmargin:
  11431. description: 已追缴保证金
  11432. type: number
  11433. remainamount:
  11434. description: 合同剩余金额(融资额)
  11435. type: number
  11436. scfcontractid:
  11437. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11438. type: string
  11439. scfcontractstatus:
  11440. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11441. type: integer
  11442. scfcontracttype:
  11443. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11444. type: integer
  11445. totalinterest:
  11446. description: 已计总利息(利息)
  11447. type: number
  11448. tradedate:
  11449. description: 交易日
  11450. type: string
  11451. tradeprice:
  11452. description: 成交价格(成本价格)
  11453. type: number
  11454. userid:
  11455. description: 用户ID
  11456. type: integer
  11457. userinfotype:
  11458. description: 用户类型 1-个人 2-企业
  11459. type: integer
  11460. username:
  11461. description: 用户名称
  11462. type: string
  11463. wrqty:
  11464. description: 仓单数量(数量)
  11465. type: number
  11466. type: object
  11467. models.QhjMgrCustomer:
  11468. properties:
  11469. address:
  11470. description: 通讯地址
  11471. type: string
  11472. attachment1:
  11473. description: 附件1
  11474. type: string
  11475. audittime:
  11476. description: 审核时间
  11477. type: string
  11478. birthday:
  11479. description: 生日
  11480. type: string
  11481. brokerid:
  11482. description: 所属客户经理id
  11483. type: integer
  11484. brokername:
  11485. description: 所属客户经理名称
  11486. type: string
  11487. cardbackphotourl:
  11488. description: 证件反面图片地址
  11489. type: string
  11490. cardfrontphotourl:
  11491. description: 证件正面图片地址
  11492. type: string
  11493. cardnum:
  11494. description: 证件号码
  11495. type: string
  11496. cardtype:
  11497. description: 证件类型
  11498. type: integer
  11499. cardtypename:
  11500. description: 证件类型名称
  11501. type: string
  11502. cityid:
  11503. description: 市
  11504. type: integer
  11505. cityname:
  11506. description: 城市名称
  11507. type: string
  11508. contactname:
  11509. description: 联系人
  11510. type: string
  11511. countryid:
  11512. description: 国家
  11513. type: integer
  11514. countryname:
  11515. description: 国家名称
  11516. type: string
  11517. createtime:
  11518. description: 创建时间
  11519. type: string
  11520. customername:
  11521. description: 客户名称
  11522. type: string
  11523. districtid:
  11524. description: 区域
  11525. type: integer
  11526. districtname:
  11527. description: 地区名称
  11528. type: string
  11529. email:
  11530. description: 邮件
  11531. type: string
  11532. legalpersonname:
  11533. description: 法人姓名(企业)
  11534. type: string
  11535. logincode:
  11536. description: 登录账号(代码)
  11537. type: string
  11538. memberuserid:
  11539. description: 所属机构ID(所属会员)
  11540. type: integer
  11541. memberusername:
  11542. description: 所属会员名称
  11543. type: string
  11544. mobile:
  11545. description: 手机号码
  11546. type: string
  11547. modifytime:
  11548. description: 修改时间
  11549. type: string
  11550. nickname:
  11551. description: 昵称
  11552. type: string
  11553. parentuserid:
  11554. description: 上级机构(所属机构)
  11555. type: integer
  11556. parentusername:
  11557. description: 所属机构名称
  11558. type: string
  11559. provinceid:
  11560. description: 省
  11561. type: integer
  11562. provincename:
  11563. description: 省名称
  11564. type: string
  11565. proxystatementurl:
  11566. description: 授权委托书
  11567. type: string
  11568. querytype:
  11569. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11570. type: integer
  11571. remark:
  11572. description: 备注
  11573. type: string
  11574. sex:
  11575. description: 性别 0-女 1-男
  11576. type: integer
  11577. status:
  11578. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11579. type: integer
  11580. statusdesc:
  11581. description: 账户状态中文描述
  11582. type: string
  11583. taxpayernum:
  11584. description: 纳税人识别号
  11585. type: string
  11586. telphone:
  11587. description: 联系电话
  11588. type: string
  11589. userid:
  11590. description: 用户ID
  11591. type: integer
  11592. userinfotype:
  11593. description: 客户类型 1-个人 2-企业
  11594. type: integer
  11595. username:
  11596. description: 用户名称
  11597. type: string
  11598. type: object
  11599. models.QhjMgrPickGoods:
  11600. properties:
  11601. enumdicname:
  11602. description: 单位名称(提货商品)
  11603. type: string
  11604. goodsid:
  11605. description: 商品id
  11606. type: integer
  11607. imageaddress:
  11608. description: 图片
  11609. type: string
  11610. modifierid:
  11611. description: 修改人
  11612. type: integer
  11613. modifiername:
  11614. description: 修改人名称
  11615. type: string
  11616. modifysrc:
  11617. description: 修改来源 - 1:管理端 2:终端
  11618. type: integer
  11619. pickupgoodsagreeunit:
  11620. description: 合约乘数
  11621. type: number
  11622. pickupgoodsdesc:
  11623. description: 描述
  11624. type: string
  11625. pickupgoodsid:
  11626. description: 提货商品ID
  11627. type: string
  11628. pickupgoodsname:
  11629. description: 提货商品名称
  11630. type: string
  11631. pickupgoodsstatus:
  11632. description: 状态 - 1:正常 2:停用 3:注销
  11633. type: integer
  11634. pickupgoodsunitid:
  11635. description: 单位ID
  11636. type: integer
  11637. pickupratio:
  11638. description: 提货系数
  11639. type: number
  11640. preparedays:
  11641. description: 备货期(天)
  11642. type: integer
  11643. remark:
  11644. description: 备注
  11645. type: string
  11646. updatetime:
  11647. description: 更新时间
  11648. type: string
  11649. type: object
  11650. models.QhjMgrPositionRsp:
  11651. properties:
  11652. accountid:
  11653. description: 账号Id
  11654. type: integer
  11655. accountname:
  11656. description: 用户名称
  11657. type: string
  11658. agreeunit:
  11659. description: 合约乘数
  11660. type: number
  11661. averageprice:
  11662. description: 均价
  11663. type: number
  11664. avialqty:
  11665. description: 可用数量
  11666. type: number
  11667. decimalplace:
  11668. description: 报价小数位
  11669. type: integer
  11670. enumdicname:
  11671. description: 单位名称(商品)
  11672. type: string
  11673. frozenqty:
  11674. description: 冻结数量
  11675. type: number
  11676. goodscode:
  11677. description: 商品代码(内部)
  11678. type: string
  11679. goodsid:
  11680. description: 商品Id
  11681. type: integer
  11682. goodsname:
  11683. description: 商品名称
  11684. type: string
  11685. goodunitid:
  11686. description: 报价单位ID
  11687. type: integer
  11688. holderamount:
  11689. description: 金额
  11690. type: number
  11691. holderqty:
  11692. description: 持有数量
  11693. type: number
  11694. holdertype:
  11695. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11696. type: integer
  11697. logincode:
  11698. description: 登录代码(账户)
  11699. type: string
  11700. marketid:
  11701. description: 市场id
  11702. type: integer
  11703. qtydecimalplace:
  11704. description: 成交量小数位
  11705. type: integer
  11706. trademode:
  11707. description: 交易模式
  11708. type: integer
  11709. userid:
  11710. description: 用户id
  11711. type: integer
  11712. userinfotype:
  11713. description: 账户类型 1-个人 2-企业
  11714. type: integer
  11715. type: object
  11716. models.QhjMgrSubArea:
  11717. properties:
  11718. accountname:
  11719. description: 账户名称(机构名称)
  11720. type: string
  11721. memberuserid:
  11722. description: 所属会员ID
  11723. type: integer
  11724. parenttopuser:
  11725. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11726. type: string
  11727. parentuserid:
  11728. description: 所属机构ID
  11729. type: integer
  11730. rootuserid:
  11731. description: 根用户ID
  11732. type: string
  11733. subaccountlevel:
  11734. description: 子账户层数
  11735. type: integer
  11736. subarealevelpath:
  11737. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11738. type: string
  11739. userid:
  11740. description: 用户ID
  11741. type: integer
  11742. usertype:
  11743. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11744. type: integer
  11745. type: object
  11746. models.QhjMgrTradeDetailRsp:
  11747. properties:
  11748. accountid:
  11749. description: 资金账号
  11750. type: integer
  11751. accountname:
  11752. description: 用户名称
  11753. type: string
  11754. agreeunit:
  11755. description: 合约乘数
  11756. type: number
  11757. buyorsell:
  11758. description: 成交类型(方向) 0:买 1:卖
  11759. type: integer
  11760. decimalplace:
  11761. description: 报价小数位
  11762. type: integer
  11763. enumdicname:
  11764. description: 单位名称(商品)
  11765. type: string
  11766. goodscode:
  11767. description: 商品代码(内部)
  11768. type: string
  11769. goodsid:
  11770. description: 商品id
  11771. type: integer
  11772. goodsname:
  11773. description: 商品名称
  11774. type: string
  11775. goodunitid:
  11776. description: 报价单位ID
  11777. type: integer
  11778. logincode:
  11779. description: 登录代码(账户)
  11780. type: string
  11781. marketid:
  11782. description: 市场id
  11783. type: integer
  11784. orderid:
  11785. description: 关联委托单号
  11786. type: string
  11787. qtydecimalplace:
  11788. description: 成交量小数位
  11789. type: integer
  11790. tradeamount:
  11791. description: 金额
  11792. type: number
  11793. tradedate:
  11794. description: 交易日
  11795. type: string
  11796. tradeid:
  11797. description: 成交单号
  11798. type: string
  11799. trademode:
  11800. description: 交易模式
  11801. type: integer
  11802. tradeprice:
  11803. description: 价格
  11804. type: number
  11805. tradeqty:
  11806. description: 数量
  11807. type: number
  11808. tradetime:
  11809. description: 成交时间
  11810. type: string
  11811. userid:
  11812. description: 用户id
  11813. type: integer
  11814. userinfotype:
  11815. description: 账户类型 1-个人 2-企业
  11816. type: integer
  11817. type: object
  11818. models.QhjMgrTradeOrderDetailRsp:
  11819. properties:
  11820. accountid:
  11821. description: 资金账号
  11822. type: integer
  11823. accountname:
  11824. description: 用户名称
  11825. type: string
  11826. agreeunit:
  11827. description: 合约乘数
  11828. type: number
  11829. amount:
  11830. description: 金额
  11831. type: number
  11832. decimalplace:
  11833. description: 报价小数位
  11834. type: integer
  11835. enumdicname:
  11836. description: 单位名称(商品)
  11837. type: string
  11838. goodscode:
  11839. description: 商品代码(内部)
  11840. type: string
  11841. goodsid:
  11842. description: 商品id
  11843. type: integer
  11844. goodsname:
  11845. description: 商品名称
  11846. type: string
  11847. goodunitid:
  11848. description: 报价单位ID
  11849. type: integer
  11850. logincode:
  11851. description: 登录代码(账户)
  11852. type: string
  11853. marketid:
  11854. description: 市场id
  11855. type: integer
  11856. orderid:
  11857. description: 关联委托单号
  11858. type: string
  11859. orderprice:
  11860. description: 价格
  11861. type: number
  11862. orderqty:
  11863. description: 数量
  11864. type: number
  11865. orderstatus:
  11866. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11867. type: integer
  11868. ordertime:
  11869. description: 委托时间
  11870. type: string
  11871. qtydecimalplace:
  11872. description: 成交量小数位
  11873. type: integer
  11874. tradedate:
  11875. description: 交易日
  11876. type: string
  11877. trademode:
  11878. description: 交易模式
  11879. type: integer
  11880. userid:
  11881. description: 用户id
  11882. type: integer
  11883. userinfotype:
  11884. description: 账户类型 1-个人 2-企业
  11885. type: integer
  11886. type: object
  11887. models.QhjMgrTradePayOrder:
  11888. properties:
  11889. accountname:
  11890. description: 用户名称
  11891. type: string
  11892. advanceratio:
  11893. description: 首付比率
  11894. type: number
  11895. agreeunit:
  11896. description: 合约乘数
  11897. type: number
  11898. buyaccountid:
  11899. description: 买方账号ID[报价币种]
  11900. type: integer
  11901. buyorderid:
  11902. description: 买方委托单号(关联单号)
  11903. type: string
  11904. createtime:
  11905. description: 创建时间
  11906. type: string
  11907. decimalplace:
  11908. description: 报价小数位
  11909. type: integer
  11910. enumdicname:
  11911. description: 单位名称(商品)
  11912. type: string
  11913. goodscode:
  11914. description: 商品代码(内部)
  11915. type: string
  11916. goodsid:
  11917. description: 商品ID
  11918. type: integer
  11919. goodsname:
  11920. description: 商品名称
  11921. type: string
  11922. goodunitid:
  11923. description: 报价单位ID
  11924. type: integer
  11925. logincode:
  11926. description: 登录代码(账户)
  11927. type: string
  11928. marketid:
  11929. description: 市场id
  11930. type: integer
  11931. offamount:
  11932. description: 优惠金额
  11933. type: number
  11934. operatetype:
  11935. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11936. type: integer
  11937. payamount:
  11938. description: 支付金额(金额)
  11939. type: number
  11940. payflag:
  11941. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11942. type: integer
  11943. paylimitedtime:
  11944. description: 支付期限
  11945. type: string
  11946. paytime:
  11947. description: 付款时间
  11948. type: string
  11949. qtydecimalplace:
  11950. description: 成交量小数位
  11951. type: integer
  11952. sellaccountid:
  11953. description: 卖方账号ID[报价币种]
  11954. type: integer
  11955. sellorderid:
  11956. description: 卖方委托单号
  11957. type: string
  11958. tradeamount:
  11959. description: 成交金额(优惠后金额)
  11960. type: number
  11961. tradecharge:
  11962. description: 成交手续费(买方)
  11963. type: number
  11964. tradedate:
  11965. description: 交易日(yyyyMMdd)
  11966. type: string
  11967. tradeid:
  11968. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11969. type: string
  11970. trademode:
  11971. description: 交易模式
  11972. type: integer
  11973. tradeprice:
  11974. description: 成交价格(价格)
  11975. type: number
  11976. tradeqty:
  11977. description: 成交数量(数量)
  11978. type: number
  11979. tradetime:
  11980. description: 成交时间
  11981. type: string
  11982. userid:
  11983. description: 用户id
  11984. type: integer
  11985. userinfotype:
  11986. description: 账户类型 1-个人 2-企业
  11987. type: integer
  11988. type: object
  11989. models.QhjMyTeamEx:
  11990. properties:
  11991. accountname:
  11992. description: 用户名称
  11993. type: string
  11994. accountstatus:
  11995. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11996. type: integer
  11997. createtime:
  11998. description: 创建时间
  11999. type: string
  12000. mobile:
  12001. description: 手机号码
  12002. type: string
  12003. refereeuserid:
  12004. description: 推荐人id
  12005. type: integer
  12006. refernum:
  12007. description: 推荐码
  12008. type: string
  12009. subList:
  12010. items:
  12011. $ref: '#/definitions/models.QhjMyTeamEx'
  12012. type: array
  12013. userid:
  12014. description: 用户id
  12015. type: integer
  12016. userinfotype:
  12017. description: 用户类型 1-个人 2-企业
  12018. type: integer
  12019. type: object
  12020. models.QhjNodeAgreementConfig:
  12021. properties:
  12022. agreementcontent:
  12023. description: 协议内容
  12024. type: string
  12025. agreementid:
  12026. description: 协议ID
  12027. type: integer
  12028. agreementname:
  12029. description: 协议名称
  12030. type: string
  12031. agreementno:
  12032. description: 协议编号
  12033. type: string
  12034. agreementtype:
  12035. description: 协议类型 - 1:注册 2:登录 3:交易
  12036. type: integer
  12037. agreementversion:
  12038. description: 协议版本号
  12039. type: integer
  12040. configid:
  12041. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12042. type: integer
  12043. createtime:
  12044. description: 创建时间
  12045. type: string
  12046. goodsid:
  12047. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12048. type: integer
  12049. nodetype:
  12050. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12051. type: integer
  12052. type: object
  12053. models.QhjParentAreaList:
  12054. properties:
  12055. accountname:
  12056. description: 账户名称(机构名称)
  12057. type: string
  12058. userid:
  12059. description: 用户ID
  12060. type: integer
  12061. usertype:
  12062. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12063. type: integer
  12064. type: object
  12065. models.QhjPayOrder:
  12066. properties:
  12067. advanceratio:
  12068. description: 首付比率
  12069. type: number
  12070. buyaccountid:
  12071. description: 买方账号ID[报价币种]
  12072. type: integer
  12073. buyorderid:
  12074. description: 买方委托单号
  12075. type: string
  12076. createtime:
  12077. description: 创建时间
  12078. type: string
  12079. decimalplace:
  12080. description: 商品报价小数位
  12081. type: integer
  12082. enumdicname:
  12083. description: 单位名称
  12084. type: string
  12085. goodscode:
  12086. description: 商品代码
  12087. type: string
  12088. goodsid:
  12089. description: 商品ID
  12090. type: integer
  12091. goodsname:
  12092. description: 商品名称
  12093. type: string
  12094. goodunitid:
  12095. description: 商品单位id
  12096. type: integer
  12097. marketid:
  12098. description: 市场ID
  12099. type: integer
  12100. offamount:
  12101. description: 优惠金额
  12102. type: number
  12103. operatetype:
  12104. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12105. type: integer
  12106. payamount:
  12107. description: 支付金额
  12108. type: number
  12109. payflag:
  12110. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12111. type: integer
  12112. paylimitedtime:
  12113. description: 支付期限
  12114. type: string
  12115. paytime:
  12116. description: 付款时间
  12117. type: string
  12118. qtydecimalplace:
  12119. description: 成交量小数位
  12120. type: integer
  12121. sellaccountid:
  12122. description: 卖方账号ID[报价币种]
  12123. type: integer
  12124. sellorderid:
  12125. description: 卖方委托单号
  12126. type: string
  12127. tradeamount:
  12128. description: 成交金额(优惠后金额)
  12129. type: number
  12130. tradecharge:
  12131. description: 成交手续费(买方)
  12132. type: number
  12133. tradedate:
  12134. description: 交易日(yyyyMMdd)
  12135. type: string
  12136. tradeid:
  12137. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12138. type: string
  12139. tradeprice:
  12140. description: 成交价格
  12141. type: number
  12142. tradeqty:
  12143. description: 成交数量
  12144. type: number
  12145. type: object
  12146. models.QhjPickArea:
  12147. properties:
  12148. address:
  12149. description: 详细地址
  12150. type: string
  12151. cityid:
  12152. description: 市
  12153. type: integer
  12154. cityname:
  12155. description: 城市名称
  12156. type: string
  12157. countryid:
  12158. description: 国家
  12159. type: integer
  12160. countryname:
  12161. description: 国家名称
  12162. type: string
  12163. districtid:
  12164. description: 地区
  12165. type: integer
  12166. districtname:
  12167. description: 地区名称
  12168. type: string
  12169. fromuserid:
  12170. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12171. type: integer
  12172. fromusername:
  12173. description: 所属机构名称
  12174. type: string
  12175. provinceid:
  12176. description: 省
  12177. type: integer
  12178. provincename:
  12179. description: 省名称
  12180. type: string
  12181. suborgtype:
  12182. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12183. type: integer
  12184. userid:
  12185. description: 机构用户ID 其他做市关系,都设置为 1
  12186. type: integer
  12187. username:
  12188. description: 机构用户名称(门店门称)
  12189. type: string
  12190. type: object
  12191. models.QhjPickGoods:
  12192. properties:
  12193. enumdicname:
  12194. description: 单位名称(提货商品)
  12195. type: string
  12196. goodsid:
  12197. description: 商品id
  12198. type: integer
  12199. imageaddress:
  12200. description: 图片
  12201. type: string
  12202. modifierid:
  12203. description: 修改人
  12204. type: integer
  12205. modifiername:
  12206. description: 修改人名称
  12207. type: string
  12208. modifysrc:
  12209. description: 修改来源 - 1:管理端 2:终端
  12210. type: integer
  12211. pickupgoodsagreeunit:
  12212. description: 合约乘数
  12213. type: number
  12214. pickupgoodsdesc:
  12215. description: 描述
  12216. type: string
  12217. pickupgoodsid:
  12218. description: 提货商品ID
  12219. type: string
  12220. pickupgoodsname:
  12221. description: 提货商品名称
  12222. type: string
  12223. pickupgoodsstatus:
  12224. description: 状态 - 1:正常 2:停用 3:注销
  12225. type: integer
  12226. pickupgoodsunitid:
  12227. description: 单位ID
  12228. type: integer
  12229. pickupratio:
  12230. description: 提货系数
  12231. type: number
  12232. preparedays:
  12233. description: 备货期(天)
  12234. type: integer
  12235. remark:
  12236. description: 备注
  12237. type: string
  12238. updatetime:
  12239. description: 更新时间
  12240. type: string
  12241. type: object
  12242. models.QhjRSTriggerLog:
  12243. properties:
  12244. accountid:
  12245. description: 用户资金账户
  12246. type: integer
  12247. accountname:
  12248. description: 账号名称(ACCOUNTID对应的名称)
  12249. type: string
  12250. currencyid:
  12251. description: 币种id
  12252. type: integer
  12253. currencyname:
  12254. description: 币种名称
  12255. type: string
  12256. decimalplace:
  12257. description: 商品报价小数位
  12258. type: integer
  12259. enumdicname:
  12260. description: 单位名称
  12261. type: string
  12262. goodscode:
  12263. description: 定投商品代码
  12264. type: string
  12265. goodsid:
  12266. description: 定投商品ID
  12267. type: integer
  12268. goodsname:
  12269. description: 定投商品名称
  12270. type: string
  12271. goodunitid:
  12272. description: 定投商品单位id
  12273. type: integer
  12274. logid:
  12275. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12276. type: string
  12277. logincode:
  12278. description: 账号(登录代码)
  12279. type: string
  12280. qtydecimalplace:
  12281. description: 成交量小数位
  12282. type: integer
  12283. regularlycycle:
  12284. description: 定投频率 - 1:每周 2:每月
  12285. type: integer
  12286. regularlycyclevalue:
  12287. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12288. type: string
  12289. regularlymode:
  12290. description: 定投方式 - 1:按数量 2:按金额
  12291. type: integer
  12292. regularlymodevalue:
  12293. description: 定投方式值 - 数量或金额
  12294. type: number
  12295. regularlystrategyid:
  12296. description: 定投策略ID
  12297. type: integer
  12298. retcode:
  12299. description: 错误码
  12300. type: string
  12301. tradeid:
  12302. description: 成交单ID
  12303. type: string
  12304. triggeramount:
  12305. description: 触发金额
  12306. type: number
  12307. triggerqty:
  12308. description: 触发数量
  12309. type: number
  12310. triggerstatus:
  12311. description: 触发状态 - 1:成功 2:失败
  12312. type: integer
  12313. triggertime:
  12314. description: 触发时间
  12315. type: string
  12316. triggertradedate:
  12317. description: 触发交易日
  12318. type: string
  12319. userid:
  12320. description: 所属用户ID
  12321. type: integer
  12322. userinfotype:
  12323. description: 用户类型 1-个人 2-企业
  12324. type: integer
  12325. username:
  12326. description: 用户名称(userid对应的名称)
  12327. type: string
  12328. type: object
  12329. models.QhjRStrategy:
  12330. properties:
  12331. accountid:
  12332. description: 用户资金账户
  12333. type: integer
  12334. accountname:
  12335. description: 账号名称(ACCOUNTID对应的名称)
  12336. type: string
  12337. currencyid:
  12338. description: 币种id
  12339. type: integer
  12340. currencyname:
  12341. description: 币种名称
  12342. type: string
  12343. decimalplace:
  12344. description: 商品报价小数位
  12345. type: integer
  12346. enumdicname:
  12347. description: 单位名称
  12348. type: string
  12349. goodscode:
  12350. description: 定投商品代码
  12351. type: string
  12352. goodsid:
  12353. description: 定投商品ID
  12354. type: integer
  12355. goodsname:
  12356. description: 定投商品名称
  12357. type: string
  12358. goodunitid:
  12359. description: 定投商品单位id
  12360. type: integer
  12361. lasteffecttradedate:
  12362. description: 最新生效交易日
  12363. type: string
  12364. laststoptradedate:
  12365. description: 最新暂停交易日
  12366. type: string
  12367. lasttriggertradedate:
  12368. description: 最新触发交易日
  12369. type: string
  12370. logincode:
  12371. description: 账号(登录代码)
  12372. type: string
  12373. nexttriggeramount:
  12374. description: 下次触发金额
  12375. type: number
  12376. nexttriggerdate:
  12377. description: 下次触发日期
  12378. type: string
  12379. nexttriggerqty:
  12380. description: 下次触发数量 [按小数位放大值]
  12381. type: number
  12382. qtydecimalplace:
  12383. description: 成交量小数位
  12384. type: integer
  12385. regularlycycle:
  12386. description: 定投频率 - 1:每周 2:每月
  12387. type: integer
  12388. regularlycyclevalue:
  12389. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12390. type: string
  12391. regularlymode:
  12392. description: 定投方式 - 1:按数量 2:按金额
  12393. type: integer
  12394. regularlymodevalue:
  12395. description: 定投方式值 - 数量或金额
  12396. type: number
  12397. regularlystrategyid:
  12398. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12399. type: integer
  12400. regularlystrategystatus:
  12401. description: 策略状态 - 1:正常 2:暂停 3:终止
  12402. type: integer
  12403. remark:
  12404. description: 备注
  12405. type: string
  12406. triggersuccesstimes:
  12407. description: 累计定投成功次数
  12408. type: string
  12409. triggertotalamount:
  12410. description: 累计定投金额(成功)
  12411. type: number
  12412. triggertotalqty:
  12413. description: 累计定投数量(成功) [按小数位放大值]
  12414. type: number
  12415. triggertotaltimes:
  12416. description: 累计定投总次数
  12417. type: string
  12418. updatesrc:
  12419. description: 更新来源 - 1:管理端 2:终端
  12420. type: integer
  12421. updatetime:
  12422. description: 更新时间
  12423. type: string
  12424. updatorid:
  12425. description: 更新人
  12426. type: string
  12427. userid:
  12428. description: 所属用户ID
  12429. type: integer
  12430. userinfotype:
  12431. description: 用户类型 1-个人 2-企业
  12432. type: integer
  12433. username:
  12434. description: 用户名称(userid对应的名称)
  12435. type: string
  12436. type: object
  12437. models.QhjReckonPriceLog:
  12438. properties:
  12439. decimalplace:
  12440. description: 商品报价小数位
  12441. type: integer
  12442. goodscode:
  12443. description: 商品代码
  12444. type: string
  12445. goodsid:
  12446. description: 商品ID
  12447. type: integer
  12448. goodsname:
  12449. description: 商品名称
  12450. type: string
  12451. lastreckonprice:
  12452. description: 上日结算价
  12453. type: number
  12454. nextdnlimitprice:
  12455. description: 下个交易日跌停价
  12456. type: number
  12457. nexttrade:
  12458. description: 下个交易日
  12459. type: string
  12460. nextuplimitprice:
  12461. description: 下个交易日涨停价
  12462. type: number
  12463. reckonprice:
  12464. description: 今日结算价(定投价)
  12465. type: number
  12466. reckontime:
  12467. description: 结算时间
  12468. type: string
  12469. totalholderqty:
  12470. description: 总持仓数
  12471. type: integer
  12472. totalstock:
  12473. description: 总库存
  12474. type: integer
  12475. tradedate:
  12476. description: 交易日
  12477. type: string
  12478. updowncount:
  12479. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12480. type: integer
  12481. updownflag:
  12482. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12483. type: integer
  12484. updownrate:
  12485. description: 今日涨跌幅
  12486. type: number
  12487. updownrate_2d:
  12488. description: 连续两日涨跌幅
  12489. type: number
  12490. updownrate_3d:
  12491. description: 连续三日涨跌幅
  12492. type: number
  12493. type: object
  12494. models.QhjScoreLog:
  12495. properties:
  12496. accountid:
  12497. description: 账户ID
  12498. type: integer
  12499. createtime:
  12500. description: 创建时间(时间)
  12501. type: string
  12502. goodsid:
  12503. description: 商品ID
  12504. type: integer
  12505. hasuploaded:
  12506. description: 是否已同步(千海金) 0:未同步 1;已同步
  12507. type: integer
  12508. logid:
  12509. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12510. type: string
  12511. marketid:
  12512. description: 市场ID
  12513. type: integer
  12514. relatedamount:
  12515. description: 关联金额
  12516. type: number
  12517. relatedorderid:
  12518. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12519. type: string
  12520. scoreconfigvalue1:
  12521. description: 积分配置1
  12522. type: integer
  12523. scoreconfigvalue2:
  12524. description: 积分配置1
  12525. type: integer
  12526. scoretype:
  12527. description: 积分类型 - 1:提货积分
  12528. type: integer
  12529. scorevalue:
  12530. description: 积分
  12531. type: number
  12532. tradedate:
  12533. description: 交易日(yyyyMMdd)
  12534. type: string
  12535. uploadedtime:
  12536. description: 同步时间
  12537. type: string
  12538. userid:
  12539. description: 用户ID
  12540. type: integer
  12541. type: object
  12542. models.QhjSiteColumnDetail:
  12543. properties:
  12544. author:
  12545. description: 作者
  12546. type: string
  12547. brief:
  12548. description: 简介
  12549. type: string
  12550. columnid:
  12551. description: 所属栏目
  12552. type: integer
  12553. context:
  12554. description: 内容
  12555. type: string
  12556. coverimage:
  12557. description: 封面图片
  12558. type: string
  12559. creaedate:
  12560. description: 创建时间
  12561. type: string
  12562. creatorid:
  12563. description: 创建人
  12564. type: integer
  12565. hits:
  12566. description: 点击数
  12567. type: integer
  12568. id:
  12569. description: ID(SEQ_SITE_COLUMNDETAIL)
  12570. type: integer
  12571. isshow:
  12572. description: 是否展示 - 0:不展示 1:展示
  12573. type: integer
  12574. istop:
  12575. description: 是否置顶 - 0:不置 1:置顶
  12576. type: integer
  12577. modifierid:
  12578. description: 操作人
  12579. type: integer
  12580. publishdate:
  12581. description: 发布日期
  12582. type: string
  12583. status:
  12584. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12585. type: integer
  12586. title:
  12587. description: 标题
  12588. type: string
  12589. updatedate:
  12590. description: 修改时间
  12591. type: string
  12592. userid:
  12593. description: 用户ID(默认为0, 核心为为机构用户ID)
  12594. type: integer
  12595. username:
  12596. description: 用户名称
  12597. type: string
  12598. type: object
  12599. models.QhjTeamOrder:
  12600. properties:
  12601. accountid:
  12602. description: 账户ID[报价币种]
  12603. type: integer
  12604. accountname:
  12605. description: 账户名称
  12606. type: string
  12607. agreeunit:
  12608. description: 合约乘数
  12609. type: number
  12610. buyorsell:
  12611. description: 方向 - 0:买 1:卖
  12612. type: integer
  12613. decimalplace:
  12614. description: 报价小数位
  12615. type: integer
  12616. enumdicname:
  12617. description: 单位名称
  12618. type: string
  12619. goodscode:
  12620. description: 商品代码(内部)
  12621. type: string
  12622. goodsid:
  12623. description: 商品ID
  12624. type: integer
  12625. goodsname:
  12626. description: 商品名称
  12627. type: string
  12628. goodunitid:
  12629. description: 报价单位ID
  12630. type: integer
  12631. marketid:
  12632. description: 市场ID
  12633. type: integer
  12634. marketname:
  12635. description: 市场名称
  12636. type: string
  12637. qtydecimalplace:
  12638. description: 成交量小数位
  12639. type: integer
  12640. refereeuserid:
  12641. description: 推荐人ID
  12642. type: integer
  12643. tradeamount:
  12644. description: 成交金额[账户币种,用于所有权]
  12645. type: number
  12646. tradedate:
  12647. description: 交易日(yyyyMMdd)
  12648. type: string
  12649. trademode:
  12650. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12651. type: integer
  12652. tradeprice:
  12653. description: 成交价格
  12654. type: number
  12655. tradeqty:
  12656. description: 成交数量
  12657. type: number
  12658. tradetime:
  12659. description: 成交时间
  12660. type: string
  12661. userid:
  12662. description: 用户ID
  12663. type: integer
  12664. type: object
  12665. models.QhjTradeGoodsPickup:
  12666. properties:
  12667. accountid:
  12668. description: 账户ID
  12669. type: integer
  12670. address:
  12671. description: 提货人详细地址
  12672. type: string
  12673. amount:
  12674. description: 提货金额
  12675. type: number
  12676. artradedate:
  12677. description: 自动收货交易日(yyyyMMdd)
  12678. type: string
  12679. auditer:
  12680. description: 审核人
  12681. type: integer
  12682. auditsrc:
  12683. description: 更新来源 - 1:管理端 2:终端
  12684. type: integer
  12685. audittime:
  12686. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12687. type: string
  12688. audittradedate:
  12689. description: 审核交易日(yyyyMMdd)
  12690. type: string
  12691. cardnum:
  12692. description: 提货人证件号码
  12693. type: string
  12694. cardtypeid:
  12695. description: 提货人证件类型
  12696. type: integer
  12697. checkremark:
  12698. description: 审核备注
  12699. type: string
  12700. cityid:
  12701. description: 市
  12702. type: integer
  12703. cityname:
  12704. description: 城市名称
  12705. type: string
  12706. confirmtime:
  12707. description: 取货时间 或 收货时间
  12708. type: string
  12709. countryid:
  12710. description: 国家
  12711. type: integer
  12712. countryname:
  12713. description: 国家名称
  12714. type: string
  12715. decimalplace:
  12716. description: 商品报价小数位
  12717. type: integer
  12718. districtid:
  12719. description: 地区
  12720. type: integer
  12721. districtname:
  12722. description: 地区名称
  12723. type: string
  12724. enumdicname:
  12725. description: 单位名称(提货商品)
  12726. type: string
  12727. expresscompany:
  12728. description: 物流公司
  12729. type: string
  12730. expressnum:
  12731. description: 物流单号
  12732. type: string
  12733. goodsagreeunit:
  12734. description: 交易商品乘数
  12735. type: number
  12736. goodscode:
  12737. description: 商品代码
  12738. type: string
  12739. goodsid:
  12740. description: 商品ID
  12741. type: integer
  12742. goodsname:
  12743. description: 商品名称
  12744. type: string
  12745. goodsqty:
  12746. description: 交易商品手数(69模式按成交量小数位放大取整)
  12747. type: number
  12748. handlestatus:
  12749. description: 处理状态
  12750. type: integer
  12751. logincode:
  12752. description: 账号(登录代码, 有可能为空)
  12753. type: string
  12754. marketid:
  12755. description: 市场ID
  12756. type: integer
  12757. phonenum:
  12758. description: 提货人联系方式
  12759. type: string
  12760. pickupgoodsagreeunit:
  12761. description: 提货商品合约乘数
  12762. type: number
  12763. pickupgoodsid:
  12764. description: 提货商品ID
  12765. type: string
  12766. pickupgoodsname:
  12767. description: 提货商品名称
  12768. type: string
  12769. pickupgoodsqty:
  12770. description: 提货商品手数(数量)
  12771. type: number
  12772. pickupgoodsunitid:
  12773. description: 单位ID(提货商品)
  12774. type: integer
  12775. pickupratio:
  12776. description: 提货系数
  12777. type: number
  12778. preparedays:
  12779. description: 备货期(天)-提货单明细表
  12780. type: integer
  12781. provinceid:
  12782. description: 省
  12783. type: integer
  12784. provincename:
  12785. description: 省名称
  12786. type: string
  12787. qty:
  12788. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12789. type: number
  12790. qtydecimalplace:
  12791. description: 商品数量小数位
  12792. type: integer
  12793. recivername:
  12794. description: 提货人姓名
  12795. type: string
  12796. reqtime:
  12797. description: 提货申请时间
  12798. type: string
  12799. storeuserid:
  12800. description: 门店用户ID (千海金)
  12801. type: integer
  12802. storeusername:
  12803. description: 门店用户名称
  12804. type: string
  12805. takemode:
  12806. description: 提货方式 - 2:自提 3:配送(邮寄)
  12807. type: integer
  12808. takeorderid:
  12809. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12810. type: string
  12811. takeorderstatus:
  12812. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12813. type: integer
  12814. takeremark:
  12815. description: 提货备注
  12816. type: string
  12817. tradedate:
  12818. description: 交易日(yyyyMMdd)
  12819. type: string
  12820. updatetime:
  12821. description: 更新时间
  12822. type: string
  12823. userid:
  12824. description: 用户ID
  12825. type: integer
  12826. userinfotype:
  12827. description: 客户类型 1-个人 2-企业
  12828. type: integer
  12829. username:
  12830. description: 用户名称
  12831. type: string
  12832. type: object
  12833. models.QhjUserNodeCfgAndStatus:
  12834. properties:
  12835. agreementcontent:
  12836. description: 协议内容
  12837. type: string
  12838. agreementid:
  12839. description: 协议ID
  12840. type: integer
  12841. agreementname:
  12842. description: 协议名称
  12843. type: string
  12844. agreementno:
  12845. description: 协议编号
  12846. type: string
  12847. agreementtype:
  12848. description: 协议类型 - 1:注册 2:登录 3:交易
  12849. type: integer
  12850. agreementversion:
  12851. description: 协议版本号
  12852. type: integer
  12853. configid:
  12854. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12855. type: integer
  12856. createtime:
  12857. description: 创建时间
  12858. type: string
  12859. goodsid:
  12860. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12861. type: integer
  12862. nodetype:
  12863. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12864. type: integer
  12865. signtimestamp:
  12866. description: 签约状态时间戳(最近一次)
  12867. type: string
  12868. tradedate:
  12869. description: 签约交易日(yyyyMMdd)
  12870. type: string
  12871. userid:
  12872. description: 客户ID
  12873. type: integer
  12874. type: object
  12875. models.Qhjgoodsex:
  12876. properties:
  12877. canfinance:
  12878. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12879. type: integer
  12880. canregularlybuy:
  12881. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12882. type: integer
  12883. defaulttradeuserid:
  12884. description: 默认交易用户ID
  12885. type: integer
  12886. deliverygoodsid:
  12887. description: 现货品种ID
  12888. type: integer
  12889. goodsid:
  12890. description: 商品ID(自增ID SEQ_GOODS)
  12891. type: integer
  12892. minamount:
  12893. description: 最小购买金额
  12894. type: number
  12895. regularlybuyminamount:
  12896. description: 定投最小金额
  12897. type: number
  12898. regularlybuyminqty:
  12899. description: 定投最小数量
  12900. type: number
  12901. spotgoodsbrandid:
  12902. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12903. type: integer
  12904. visibilityforenterprise:
  12905. description: 企业客户是否可见 - 0:不可见 1:可见
  12906. type: integer
  12907. visibilityforpersonal:
  12908. description: 个人客户是否可见 - 0:不可见 1:可见
  12909. type: integer
  12910. wrstandardid:
  12911. description: 现货商品ID
  12912. type: integer
  12913. type: object
  12914. models.QueryErrorInfosRsp:
  12915. properties:
  12916. description:
  12917. description: 异常描述
  12918. type: string
  12919. errorcode:
  12920. description: 异常代码
  12921. type: string
  12922. errorid:
  12923. description: 异常ID
  12924. type: integer
  12925. modulecode:
  12926. description: 所属模块
  12927. type: string
  12928. operatecode:
  12929. description: 所属操作
  12930. type: string
  12931. rownumber:
  12932. description: 行号
  12933. type: string
  12934. required:
  12935. - errorid
  12936. type: object
  12937. models.QueryHedgeOrderDetailRsp:
  12938. properties:
  12939. accountid:
  12940. description: 账户ID
  12941. type: integer
  12942. buyorsell:
  12943. description: 买卖 - 0:买 1:卖
  12944. type: integer
  12945. cancellogincode:
  12946. description: 撤单人
  12947. type: string
  12948. channelbuildtype:
  12949. description: 开平标志 - 0:无 1:建仓 2:平仓
  12950. type: integer
  12951. channelinnerorderstatus:
  12952. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12953. type: integer
  12954. channeloperatetype:
  12955. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12956. type: integer
  12957. closetype:
  12958. description: 平仓方式 - 0:无 1:平今 2:平昨
  12959. type: integer
  12960. curexchangerate:
  12961. description: 当前汇率
  12962. type: number
  12963. exchangefullname:
  12964. description: 外部交易所全称
  12965. type: string
  12966. goodscode:
  12967. description: 商品代码(内部)
  12968. type: string
  12969. goodsid:
  12970. description: 商品ID
  12971. type: integer
  12972. goodsname:
  12973. description: 商品名称
  12974. type: string
  12975. marketid:
  12976. description: 市场ID
  12977. type: integer
  12978. openfreezemargin:
  12979. description: 冻结保证金(冻结交易金额)
  12980. type: number
  12981. orderid:
  12982. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12983. type: string
  12984. orderlogincode:
  12985. description: 委托人
  12986. type: string
  12987. orderprice:
  12988. description: 委托价格(账户)
  12989. type: number
  12990. orderqty:
  12991. description: 委托数量
  12992. type: integer
  12993. ordertime:
  12994. description: 委托时间
  12995. type: string
  12996. pricemode:
  12997. description: '取价方式 - 1:市价 2: 限价'
  12998. type: integer
  12999. tradedate:
  13000. description: 交易日(yyyyMMdd)
  13001. type: string
  13002. tradeqty:
  13003. description: 成交数量
  13004. type: integer
  13005. type: object
  13006. models.QueryHedgeTradeDetailRsp:
  13007. properties:
  13008. accountid:
  13009. description: 账号ID
  13010. type: integer
  13011. buyorsell:
  13012. description: 方向 - 0:买 1:卖
  13013. type: integer
  13014. channelbuildtype:
  13015. description: 委托单据类型 0:无 1:建仓 2:平仓
  13016. type: integer
  13017. closecharge:
  13018. description: 平仓手续费(账户)
  13019. type: number
  13020. closecharge2:
  13021. description: 平仓手续费(商品)
  13022. type: number
  13023. closepl:
  13024. description: 平仓盈亏(账户)
  13025. type: number
  13026. closepl2:
  13027. description: 平仓盈亏(商品)
  13028. type: number
  13029. closepl3:
  13030. description: 平仓盈亏(账户)(逐笔)
  13031. type: number
  13032. closepl4:
  13033. description: 平仓盈亏(商品)(逐笔)
  13034. type: number
  13035. closetype:
  13036. description: 平仓方式 - 0:无 1:平今 2:平昨
  13037. type: integer
  13038. curexchangerate:
  13039. description: 当前汇率
  13040. type: number
  13041. exchangefullname:
  13042. description: 外部交易所全称
  13043. type: string
  13044. goodscode:
  13045. description: 商品代码(内部)
  13046. type: string
  13047. goodsid:
  13048. description: 商品ID
  13049. type: integer
  13050. goodsname:
  13051. description: 商品名称
  13052. type: string
  13053. marketid:
  13054. description: 市场ID
  13055. type: integer
  13056. opencharge:
  13057. description: 建仓手续费(账户)
  13058. type: number
  13059. opencharge2:
  13060. description: 建仓手续费(商品)
  13061. type: number
  13062. orderid:
  13063. description: 委托单号
  13064. type: string
  13065. orderlogincode:
  13066. description: 委托人
  13067. type: string
  13068. tradeamount:
  13069. description: 成交金额(账户)
  13070. type: number
  13071. tradedate:
  13072. description: 交易日(yyyyMMdd)
  13073. type: string
  13074. tradeid:
  13075. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13076. type: string
  13077. tradeprice:
  13078. description: 成交价格
  13079. type: number
  13080. tradeqty:
  13081. description: 成交数量
  13082. type: integer
  13083. tradetime:
  13084. description: 成交时间
  13085. type: string
  13086. tradetype:
  13087. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13088. type: integer
  13089. type: object
  13090. models.QuotePrimaryMenu:
  13091. properties:
  13092. Index:
  13093. description: 序号
  13094. type: integer
  13095. Key:
  13096. description: 键名
  13097. type: string
  13098. Name:
  13099. description: 菜单名称
  13100. type: string
  13101. SubMenus:
  13102. description: 子菜单
  13103. items:
  13104. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13105. type: array
  13106. SubTitleType:
  13107. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13108. type: integer
  13109. TradeModes:
  13110. description: 包含市场交易类型
  13111. type: string
  13112. type: object
  13113. models.QuoteSecondaryMenu:
  13114. properties:
  13115. ExExchangeCode:
  13116. description: 外部交易所代码
  13117. type: string
  13118. ExExchangeID:
  13119. description: 外部交易所ID
  13120. type: integer
  13121. GoodsGroupIDs:
  13122. description: 商品组ID列表
  13123. items:
  13124. type: integer
  13125. type: array
  13126. Index:
  13127. description: 序号
  13128. type: integer
  13129. MarketID:
  13130. description: 市场ID
  13131. type: integer
  13132. MenuTitle:
  13133. description: 菜单标题(市场名称或外部交易所名称)
  13134. type: string
  13135. TradeMode:
  13136. description: 交易模式
  13137. type: integer
  13138. type: object
  13139. models.RoleMenu:
  13140. properties:
  13141. hasright:
  13142. description: 是否有权限 0-没有权限 1-有权限
  13143. type: integer
  13144. iconame:
  13145. description: 菜单图标
  13146. type: string
  13147. menutype:
  13148. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13149. type: integer
  13150. parentcode:
  13151. description: 上级资源代码
  13152. type: string
  13153. remark:
  13154. description: 菜单备注
  13155. type: string
  13156. resourcecode:
  13157. description: 菜单代码
  13158. type: string
  13159. resourcelevel:
  13160. description: 级别
  13161. type: integer
  13162. resourcename:
  13163. description: 菜单名称
  13164. type: string
  13165. roleid:
  13166. description: 角色id
  13167. type: integer
  13168. sort:
  13169. description: 排序
  13170. type: integer
  13171. subMenu:
  13172. description: 子级菜单(结构同上层一样, swag解析不出来)
  13173. items:
  13174. $ref: '#/definitions/models.RoleMenu'
  13175. type: array
  13176. url:
  13177. description: URL
  13178. type: string
  13179. userid:
  13180. description: 用户id
  13181. type: integer
  13182. type: object
  13183. models.SearchGoods:
  13184. properties:
  13185. goodscode:
  13186. description: 商品代码(内部)
  13187. type: string
  13188. goodsid:
  13189. description: 商品ID(自增ID SEQ_GOODS)
  13190. type: integer
  13191. goodsname:
  13192. description: 商品名称
  13193. type: string
  13194. marketid:
  13195. description: 所属市场ID
  13196. type: integer
  13197. marketname:
  13198. description: 市场名称
  13199. type: string
  13200. trademode:
  13201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13202. type: integer
  13203. required:
  13204. - goodscode
  13205. - goodsid
  13206. - goodsname
  13207. - marketid
  13208. - trademode
  13209. type: object
  13210. models.Systemparam:
  13211. properties:
  13212. loginid:
  13213. description: 更新用户账号,登录账号
  13214. type: string
  13215. modifyflag:
  13216. description: 修改标志0 不允许修改 1 允许修改
  13217. type: integer
  13218. paramcode:
  13219. description: 参数代码
  13220. type: string
  13221. paramname:
  13222. description: 参数名
  13223. type: string
  13224. paramtype:
  13225. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13226. type: integer
  13227. paramvalue:
  13228. description: 参数值
  13229. type: string
  13230. paramvalue2:
  13231. description: 参数值(CLOB)
  13232. type: string
  13233. regexpress:
  13234. description: 正则表达式
  13235. type: string
  13236. remark:
  13237. description: 备注
  13238. type: string
  13239. serverip:
  13240. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13241. type: string
  13242. showflag:
  13243. description: 是否显示0 不显示 1 显示
  13244. type: integer
  13245. updatetime:
  13246. description: 更新时间
  13247. type: string
  13248. userid:
  13249. description: 更新用户ID
  13250. type: integer
  13251. required:
  13252. - paramcode
  13253. type: object
  13254. models.Szdz3convertconfig:
  13255. properties:
  13256. canin:
  13257. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13258. type: integer
  13259. canout:
  13260. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13261. type: integer
  13262. converttype:
  13263. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13264. type: integer
  13265. createtime:
  13266. description: 创建时间
  13267. type: string
  13268. creatorid:
  13269. description: 创建人
  13270. type: integer
  13271. daymaxvalue:
  13272. description: 当日最大转入限制
  13273. type: number
  13274. freezedays:
  13275. description: 冻结天数 [5:花生米转交易]
  13276. type: integer
  13277. innergoodsid:
  13278. description: 内部商品ID[交易]
  13279. type: integer
  13280. inratio:
  13281. description: 目标值
  13282. type: integer
  13283. modifierid:
  13284. description: 修改人
  13285. type: integer
  13286. modifytime:
  13287. description: 修改时间
  13288. type: string
  13289. outergoodscode:
  13290. description: 外部商品代码[JD\PD]
  13291. type: string
  13292. outratio:
  13293. description: 源值
  13294. type: integer
  13295. pddecimalplace:
  13296. description: PD小数位
  13297. type: integer
  13298. timemaxvalue:
  13299. description: 单次最大转入限制
  13300. type: number
  13301. timeminvalue:
  13302. description: 单次最小转入限制
  13303. type: number
  13304. required:
  13305. - converttype
  13306. - innergoodsid
  13307. - outergoodscode
  13308. type: object
  13309. models.Szdz3searchwhitelist:
  13310. properties:
  13311. createtime:
  13312. description: 创建时间
  13313. type: string
  13314. creatorid:
  13315. description: 创建人
  13316. type: integer
  13317. modifierid:
  13318. description: 修改人
  13319. type: integer
  13320. modifytime:
  13321. description: 修改时间
  13322. type: string
  13323. userid:
  13324. description: 用户ID
  13325. type: integer
  13326. required:
  13327. - userid
  13328. type: object
  13329. models.TBGoods:
  13330. properties:
  13331. agreeunit:
  13332. description: 合约乘数
  13333. type: number
  13334. enumdicname:
  13335. description: 单位名称
  13336. type: string
  13337. goodscode:
  13338. description: 商品代码(内部)
  13339. type: string
  13340. goodsid:
  13341. description: 商品ID(自增ID SEQ_GOODS)
  13342. type: integer
  13343. goodsname:
  13344. description: 商品名称
  13345. type: string
  13346. type: object
  13347. models.TBGoodsGroup:
  13348. properties:
  13349. GDLST:
  13350. description: 商品列表
  13351. items:
  13352. $ref: '#/definitions/models.TBGoods'
  13353. type: array
  13354. convertratio:
  13355. description: 折算系数
  13356. type: number
  13357. enumdicname:
  13358. description: 单位名称
  13359. type: string
  13360. exexchangecode:
  13361. description: 交易所代码
  13362. type: string
  13363. exexchangename:
  13364. description: 交易所名称
  13365. type: string
  13366. goodsgroupid:
  13367. description: 商品组ID(自增ID)
  13368. type: integer
  13369. goodsgroupname:
  13370. description: 商品组名称
  13371. type: string
  13372. goodunitid:
  13373. description: 报价单位ID
  13374. type: integer
  13375. type: object
  13376. models.TBMiddleGoods:
  13377. properties:
  13378. GPLST:
  13379. description: 期货品种列表
  13380. items:
  13381. $ref: '#/definitions/models.TBGoodsGroup'
  13382. type: array
  13383. WDLST:
  13384. description: 商品信息列表(现货品类)
  13385. items:
  13386. $ref: '#/definitions/models.TBWrstandard'
  13387. type: array
  13388. areauserid:
  13389. description: 机构用户ID
  13390. type: integer
  13391. enumdicname:
  13392. description: 单位名称
  13393. type: string
  13394. goodsunitid:
  13395. description: 套保品种单位id
  13396. type: integer
  13397. middlegoodscode:
  13398. description: 套保品种代码
  13399. type: string
  13400. middlegoodsid:
  13401. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13402. type: integer
  13403. middlegoodsname:
  13404. description: 套保品种名称
  13405. type: string
  13406. needarbitrageratio:
  13407. description: 套利比率
  13408. type: number
  13409. needhedgeratio:
  13410. description: 套保比率
  13411. type: number
  13412. type: object
  13413. models.TBWrstandard:
  13414. properties:
  13415. convertratio:
  13416. description: 折算系数
  13417. type: number
  13418. deliverygoodsname:
  13419. description: 品种名称
  13420. type: string
  13421. enumdicname:
  13422. description: 单位名称
  13423. type: string
  13424. vatrate:
  13425. description: 增值税率
  13426. type: number
  13427. wrstandardcode:
  13428. description: 现货商品代码
  13429. type: string
  13430. wrstandardid:
  13431. description: 现货商品ID(SEQ_WRSTANDARD)
  13432. type: integer
  13433. wrstandardname:
  13434. description: 现货商品名称
  13435. type: string
  13436. type: object
  13437. models.Taaccount:
  13438. properties:
  13439. accountflag:
  13440. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13441. type: integer
  13442. accountid:
  13443. description: 资金账户ID
  13444. type: integer
  13445. accountname:
  13446. description: 账户名称
  13447. type: string
  13448. balance:
  13449. description: 期初余额
  13450. type: number
  13451. capitalbalance:
  13452. description: 本金余额[外部子账户实际出入金余额]
  13453. type: number
  13454. changeflag:
  13455. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13456. type: integer
  13457. changetime:
  13458. description: 账户状态变更时间
  13459. type: string
  13460. closepl:
  13461. description: 今日平仓盈亏
  13462. type: number
  13463. creditdecrease:
  13464. description: 今日授信减少
  13465. type: number
  13466. creditincrease:
  13467. description: 今日授信增加
  13468. type: number
  13469. curamount:
  13470. description: 总市值(从持仓中统计)
  13471. type: number
  13472. currencyid:
  13473. description: 货币ID
  13474. type: integer
  13475. currentbalance:
  13476. description: 期末余额
  13477. type: number
  13478. freezecharge:
  13479. description: 手续费冻结
  13480. type: number
  13481. freezemargin:
  13482. description: 冻结保证金
  13483. type: number
  13484. fromaccountid:
  13485. description: 所属上级账户
  13486. type: integer
  13487. inamount:
  13488. description: 今日入金金额(包括三方入金)
  13489. type: number
  13490. ismain:
  13491. description: 是否母账号 0:不是母账户 1:是母账户
  13492. type: integer
  13493. ismarketaccount:
  13494. description: 是否机构接单账号 0:不是 1:是
  13495. type: integer
  13496. isreckonaccount:
  13497. description: 是否机构分润账号 0:不是 1:是
  13498. type: integer
  13499. mortgagecredit:
  13500. description: 授信金额
  13501. type: number
  13502. orifreezecharge:
  13503. description: 期初手续费冻结
  13504. type: number
  13505. orifreezemargin:
  13506. description: 期初冻结保证金
  13507. type: number
  13508. orimortgagecredit:
  13509. description: 期初授信金额
  13510. type: number
  13511. oriothercredit:
  13512. description: 期初其它授信金额
  13513. type: number
  13514. oriotherfreezemargin:
  13515. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13516. type: number
  13517. orioutamountfreeze:
  13518. description: 期初出金冻结
  13519. type: number
  13520. oriusedmargin:
  13521. description: 期初占用保证金
  13522. type: number
  13523. othercredit:
  13524. description: 其它授信金额
  13525. type: number
  13526. othercreditdecrease:
  13527. description: 今日其它授信减少
  13528. type: number
  13529. othercreditincrease:
  13530. description: 今日其它授信增加
  13531. type: number
  13532. otherfreezemargin:
  13533. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13534. type: number
  13535. otherincome:
  13536. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13537. type: number
  13538. otherpay:
  13539. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13540. type: number
  13541. outamount:
  13542. description: 今日出金金额(包括三方出金)
  13543. type: number
  13544. outamountfreeze:
  13545. description: 出金冻结
  13546. type: number
  13547. outthreshold:
  13548. description: 出金阈值
  13549. type: number
  13550. parentaccountid:
  13551. description: 所属根账号
  13552. type: integer
  13553. paycharge:
  13554. description: 今日手续费支出
  13555. type: number
  13556. relatedaccountstatus:
  13557. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13558. type: integer
  13559. relateduserid:
  13560. description: 关联用户
  13561. type: integer
  13562. remainamount:
  13563. description: 融资额(从融资合同中统计)
  13564. type: number
  13565. serivcegroup:
  13566. description: 服务分组
  13567. type: integer
  13568. signstatus:
  13569. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13570. type: integer
  13571. sublevelpath:
  13572. description: 账号层级路径(逗号分隔,首尾加逗号)
  13573. type: string
  13574. taaccounttype:
  13575. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13576. type: integer
  13577. thirdinamount:
  13578. description: 今日三方入金
  13579. type: number
  13580. thirdoutamount:
  13581. description: 今日三方出金
  13582. type: number
  13583. tradestatus:
  13584. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13585. type: integer
  13586. tradestatuschangetime:
  13587. description: 激活时间
  13588. type: string
  13589. transferamount:
  13590. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13591. type: number
  13592. usedmargin:
  13593. description: 占用保证金
  13594. type: number
  13595. userid:
  13596. description: 用户ID
  13597. type: integer
  13598. required:
  13599. - accountid
  13600. - userid
  13601. type: object
  13602. models.Tablecolumnconfig:
  13603. properties:
  13604. aligntype:
  13605. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13606. type: integer
  13607. autoid:
  13608. description: AutoID
  13609. type: integer
  13610. columnfield:
  13611. description: 列字段
  13612. type: string
  13613. columntitle:
  13614. description: 列Title
  13615. type: string
  13616. columnwidth:
  13617. description: 列宽
  13618. type: string
  13619. formatterstring:
  13620. description: 格式化字符
  13621. type: string
  13622. formattertype:
  13623. description: 格式化类型
  13624. type: string
  13625. groupname:
  13626. description: 表头分组名称
  13627. type: string
  13628. isshow:
  13629. description: 是否显示 - 0:不显示 1:显示
  13630. type: integer
  13631. needsummary:
  13632. description: 是否需要汇总 - 0:不需要 1:需要
  13633. type: integer
  13634. orderindex:
  13635. description: 顺序
  13636. type: integer
  13637. remark:
  13638. description: 备注
  13639. type: string
  13640. summarytype:
  13641. description: 汇总类型 - 1:加总 2:最后一个
  13642. type: integer
  13643. tablekey:
  13644. description: 列表Key
  13645. type: string
  13646. required:
  13647. - autoid
  13648. type: object
  13649. models.TjmdMarketSection:
  13650. properties:
  13651. marketsectionid:
  13652. description: 市场版块ID(SEQ_MARKETSECTION)
  13653. type: integer
  13654. marketsectionname:
  13655. description: 市场版块名称
  13656. type: string
  13657. mlist:
  13658. description: 市场列表(板块下面有多少个市场)
  13659. items:
  13660. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13661. type: array
  13662. orderindex:
  13663. description: 排序
  13664. type: integer
  13665. pictureurl:
  13666. description: 图片url, 规格(90*90)
  13667. type: string
  13668. remark:
  13669. description: 备注
  13670. type: string
  13671. type: object
  13672. models.TjmdMarketSectionConfig:
  13673. properties:
  13674. auctionwrtype:
  13675. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13676. type: integer
  13677. canacceptquote:
  13678. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13679. type: integer
  13680. cangoodsexercise:
  13681. description: '[期权]是否可现货行权- 0:否 1:是'
  13682. type: integer
  13683. cangoodsexercisetype:
  13684. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13685. type: integer
  13686. canmanualquotestrike:
  13687. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13688. type: integer
  13689. canmutistage:
  13690. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13691. type: integer
  13692. canpreexercise:
  13693. description: '[期权]是否可预申报- 0:否 1:是'
  13694. type: integer
  13695. clearinterval:
  13696. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13697. type: integer
  13698. contracttmp:
  13699. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13700. type: string
  13701. exchareaid:
  13702. description: 所属交易所,可以没有
  13703. type: integer
  13704. financemarketid:
  13705. description: 融资回购市场ID [仓单贸易]
  13706. type: integer
  13707. goodstype:
  13708. description: 商品类型 - 1:交易商品 2:仓单商品
  13709. type: integer
  13710. hasrebate:
  13711. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13712. type: integer
  13713. hastradecredit:
  13714. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13715. type: integer
  13716. haswr:
  13717. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13718. type: integer
  13719. isdeductmargin:
  13720. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13721. type: integer
  13722. isrecordsource:
  13723. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13724. type: integer
  13725. isreleasemargin:
  13726. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13727. type: integer
  13728. isupdatereckonprice:
  13729. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13730. type: integer
  13731. listingmode:
  13732. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13733. type: integer
  13734. marginformula:
  13735. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13736. type: integer
  13737. marginformula2:
  13738. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13739. type: integer
  13740. marketid:
  13741. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13742. type: integer
  13743. marketname:
  13744. description: 市场名称
  13745. type: string
  13746. marketsectionid:
  13747. description: 市场版块ID(SEQ_MARKETSECTION)
  13748. type: integer
  13749. marketserviceid:
  13750. description: 市场服务ID
  13751. type: integer
  13752. marketstatus:
  13753. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13754. type: integer
  13755. markettype:
  13756. description: 市场类型- 1:非交易服务 2:交易服务
  13757. type: integer
  13758. matchermode:
  13759. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13760. type: integer
  13761. nowrquotaflag:
  13762. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13763. type: integer
  13764. openmethod:
  13765. description: 开盘模式 - 0 自动 1手动
  13766. type: integer
  13767. orderindex:
  13768. description: 排序
  13769. type: integer
  13770. otcuserid:
  13771. description: 场外期权做市商[场外期权]
  13772. type: integer
  13773. outersynctime:
  13774. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13775. type: string
  13776. paylaterflag:
  13777. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13778. type: integer
  13779. pendingflag:
  13780. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13781. type: integer
  13782. pendingtime:
  13783. description: 待开市时间[通道交易-对冲](HH:mm)
  13784. type: string
  13785. performancetempid:
  13786. description: 履约计划模板ID - 作废
  13787. type: integer
  13788. premiumquotemode:
  13789. description: 权利金报价方式 - 1:自动 2:手动
  13790. type: integer
  13791. rebateratio:
  13792. description: 返利比率[竞价式]
  13793. type: number
  13794. reckonorder:
  13795. description: 结算顺序
  13796. type: integer
  13797. reckonpricealgorithm:
  13798. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13799. type: integer
  13800. reckonpriceparam:
  13801. description: 结算价参数
  13802. type: integer
  13803. reckontime:
  13804. description: 结算时间[通道交易-对冲](HH:mm)
  13805. type: string
  13806. roleprioritytype:
  13807. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13808. type: integer
  13809. selllistingauditflag:
  13810. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13811. type: integer
  13812. trademarkettype:
  13813. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13814. type: integer
  13815. trademode:
  13816. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13817. type: integer
  13818. tradeproperty:
  13819. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13820. type: integer
  13821. tradetype:
  13822. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13823. type: integer
  13824. updatereckonpriceinterval:
  13825. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13826. type: integer
  13827. type: object
  13828. models.TjmdQuoteGoods:
  13829. properties:
  13830. buyqty:
  13831. description: 买量(暂不做, 无值, 保留字段)
  13832. type: number
  13833. goodscode:
  13834. description: 合约代码
  13835. type: string
  13836. goodsgroupid:
  13837. description: 商品组ID(自增ID)
  13838. type: integer
  13839. goodsgroupname:
  13840. description: 商品组名称
  13841. type: string
  13842. goodsid:
  13843. description: 合约id
  13844. type: integer
  13845. goodsname:
  13846. description: 合约名称
  13847. type: string
  13848. refgoodscode:
  13849. description: 标的合约代码
  13850. type: string
  13851. refgoodsid:
  13852. description: 标的合约id
  13853. type: integer
  13854. refgoodsname:
  13855. description: 标的合约名称
  13856. type: string
  13857. sellqty:
  13858. description: 卖量(暂不做, 无值, 保留字段)
  13859. type: number
  13860. type: object
  13861. models.TjmdTodayAccountMargin:
  13862. properties:
  13863. accountid:
  13864. description: 账号ID
  13865. type: integer
  13866. goodsid:
  13867. description: 商品ID
  13868. type: integer
  13869. infoc:
  13870. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13871. description: 配置参数
  13872. marketid:
  13873. description: 市场ID
  13874. type: integer
  13875. type: object
  13876. models.TjmdTradeOrderDetail:
  13877. properties:
  13878. buyorsell:
  13879. description: 买卖方向 0-买 1-卖
  13880. type: integer
  13881. goodsid:
  13882. description: 商品id
  13883. type: integer
  13884. marketmaxsub:
  13885. description: 市价最大偏移范围 [浮动价 - 点差]
  13886. type: number
  13887. orderid:
  13888. description: 委托单号
  13889. type: string
  13890. orderprice:
  13891. description: 委托价格
  13892. type: number
  13893. orderqty:
  13894. description: 委托数量
  13895. type: integer
  13896. pricemode:
  13897. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13898. type: integer
  13899. userid:
  13900. description: 用户id
  13901. type: integer
  13902. username:
  13903. description: 用户名称(已脱敏)
  13904. type: string
  13905. type: object
  13906. models.TjmdTransferApply:
  13907. properties:
  13908. applyid:
  13909. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13910. type: integer
  13911. applystatus:
  13912. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13913. type: integer
  13914. applytime:
  13915. description: 申请时间(时间)
  13916. type: string
  13917. auditremark:
  13918. description: 审核备注(拒绝原因?)
  13919. type: string
  13920. begindate:
  13921. description: 开始交易日(yyyymmdd)
  13922. type: string
  13923. buyorsell:
  13924. description: 买卖 - 0:买 1:卖
  13925. type: integer
  13926. enddate:
  13927. description: 结束交易日(yyyymmdd)
  13928. type: string
  13929. goodscode:
  13930. description: 商品代码
  13931. type: string
  13932. goodsid:
  13933. description: 商品ID
  13934. type: integer
  13935. goodsname:
  13936. description: 商品名称
  13937. type: string
  13938. marketid:
  13939. description: 市场ID
  13940. type: integer
  13941. qty:
  13942. description: 转让数量(数量)
  13943. type: number
  13944. tradeid:
  13945. description: 成交单号(关联持仓)
  13946. type: string
  13947. transferamount:
  13948. description: 转让总金额(金额)
  13949. type: number
  13950. transferprice:
  13951. description: 转让价格(协议价格)
  13952. type: number
  13953. type: object
  13954. models.TradeHolderDetail:
  13955. properties:
  13956. accountid:
  13957. description: 账号ID
  13958. type: integer
  13959. agreeunit:
  13960. description: 合约乘数
  13961. type: number
  13962. buyorsell:
  13963. description: 方向 - 0:买 1:卖
  13964. type: integer
  13965. currencyid:
  13966. description: 商品币种id
  13967. type: integer
  13968. currencyname:
  13969. description: 币种名称
  13970. type: string
  13971. decimalplace:
  13972. description: 商品价格小数位
  13973. type: integer
  13974. enumdicname:
  13975. description: 商品单位名称
  13976. type: string
  13977. expirecycle:
  13978. description: 行权周期(天) - 1:滚动行权时填写
  13979. type: integer
  13980. expiredate:
  13981. description: 行权日(yyyyMMdd) - 到期日
  13982. type: string
  13983. expiretype:
  13984. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13985. type: integer
  13986. freezeqty:
  13987. description: 冻结数量
  13988. type: number
  13989. goodscode:
  13990. description: 商品代码
  13991. type: string
  13992. goodsid:
  13993. description: 商品ID
  13994. type: integer
  13995. goodsname:
  13996. description: 商品名称
  13997. type: string
  13998. goodunitid:
  13999. description: 商品单位id
  14000. type: integer
  14001. holderamount:
  14002. description: 持仓金额
  14003. type: number
  14004. holdercredit:
  14005. description: 持仓授信金额
  14006. type: number
  14007. holderdays:
  14008. description: 剩余冻结天数
  14009. type: integer
  14010. holderprice:
  14011. description: 持仓价格
  14012. type: number
  14013. holderqty:
  14014. description: 持仓数量
  14015. type: number
  14016. isconfirmexercise:
  14017. description: 是否确认行权- 0:否 1:是
  14018. type: integer
  14019. ispreexercise:
  14020. description: 是否预申报- 0:否 1:是 2:不可行权
  14021. type: integer
  14022. marketid:
  14023. description: 市场id
  14024. type: integer
  14025. marketname:
  14026. description: 市场名称
  14027. type: string
  14028. openprice:
  14029. description: 建仓价格
  14030. type: number
  14031. openqty:
  14032. description: 建仓数量
  14033. type: number
  14034. optiontype:
  14035. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14036. type: integer
  14037. preexerciseprice:
  14038. description: 预申报价格
  14039. type: number
  14040. premium:
  14041. description: 权利金
  14042. type: number
  14043. qtydecimalplace:
  14044. description: 商品成交量小数位
  14045. type: integer
  14046. refgoodscode:
  14047. description: 标的合约代码
  14048. type: string
  14049. refgoodsid:
  14050. description: 标的合约id
  14051. type: integer
  14052. releaseamount:
  14053. description: 释放持仓金额
  14054. type: number
  14055. releaseholdercredit:
  14056. description: 释放持仓授信金额
  14057. type: number
  14058. taname:
  14059. description: 资金账号名称
  14060. type: string
  14061. tradeamount:
  14062. description: 成交金额
  14063. type: number
  14064. tradedate:
  14065. description: 交易日(yyyyMMdd)
  14066. type: string
  14067. tradeid:
  14068. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14069. type: string
  14070. trademode:
  14071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14072. type: integer
  14073. tradeproperty:
  14074. description: 交易属性
  14075. type: integer
  14076. tradetime:
  14077. description: 交易时间
  14078. type: string
  14079. userid:
  14080. description: 用户id
  14081. type: integer
  14082. username:
  14083. description: 用户名称
  14084. type: string
  14085. type: object
  14086. models.UserCollectConfig:
  14087. properties:
  14088. accountstatus:
  14089. description: 账户状态 - 1:正常 2:停用 3:注销
  14090. type: integer
  14091. collectaccountname:
  14092. description: 收款人账户名称
  14093. type: string
  14094. collectaccountno:
  14095. description: 收款人账户
  14096. type: string
  14097. collectbankname:
  14098. description: 收款人开户行
  14099. type: string
  14100. collectbranchbankname:
  14101. description: 收款人开户支行
  14102. type: string
  14103. collectconfigid:
  14104. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14105. type: string
  14106. remark:
  14107. description: 备注
  14108. type: string
  14109. userid:
  14110. description: 收款人用户ID
  14111. type: integer
  14112. type: object
  14113. models.UserReceiveInfo:
  14114. properties:
  14115. address:
  14116. description: 提货人详细地址
  14117. type: string
  14118. autoid:
  14119. description: AutoID
  14120. type: integer
  14121. cardnum:
  14122. description: 证件号码(加密存储)
  14123. type: string
  14124. cardtypeid:
  14125. description: 证件类型
  14126. type: integer
  14127. cityid:
  14128. description: 市
  14129. type: integer
  14130. cityname:
  14131. description: 城市名称
  14132. type: string
  14133. countryid:
  14134. description: 国家
  14135. type: integer
  14136. countryname:
  14137. description: 国家名称
  14138. type: string
  14139. districtid:
  14140. description: 地区
  14141. type: integer
  14142. districtname:
  14143. description: 地区名称
  14144. type: string
  14145. hasencrypt:
  14146. description: 数据是否已加密 - 0:未加密 1:已加密
  14147. type: integer
  14148. isdefault:
  14149. description: 是否默认地址 - 0:否 1:是
  14150. type: integer
  14151. phonenum:
  14152. description: 提货人联系方式(加密存储)
  14153. type: string
  14154. provinceid:
  14155. description: 省
  14156. type: integer
  14157. provincename:
  14158. description: 省名称
  14159. type: string
  14160. receivername:
  14161. description: 提货人姓名
  14162. type: string
  14163. takeremark:
  14164. description: 提货备注
  14165. type: string
  14166. userid:
  14167. description: 用户ID
  14168. type: integer
  14169. type: object
  14170. models.Useraccount:
  14171. properties:
  14172. accountname:
  14173. description: 账户名称(机构名称)
  14174. type: string
  14175. accountstatus:
  14176. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14177. type: integer
  14178. applysrc:
  14179. description: 申请来源 - 1:管理端 2:终端
  14180. type: integer
  14181. auditremark:
  14182. description: 审核备注
  14183. type: string
  14184. auditsrc:
  14185. description: 审核来源 - 1:管理端 2:终端
  14186. type: integer
  14187. audittime:
  14188. description: 审核时间
  14189. type: string
  14190. audituserid:
  14191. description: 审核人
  14192. type: integer
  14193. broker:
  14194. description: 所属经纪人ID
  14195. type: integer
  14196. canceltime:
  14197. description: 销户时间
  14198. type: string
  14199. canceluserid:
  14200. description: 销户人
  14201. type: integer
  14202. canrecommend:
  14203. description: 是否可推荐 - 0:不可 1;可
  14204. type: integer
  14205. createtime:
  14206. description: 创建时间
  14207. type: string
  14208. creatorid:
  14209. description: 创建人
  14210. type: integer
  14211. hasauth:
  14212. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14213. type: integer
  14214. isanonymous:
  14215. description: 是否匿名下单 - 0:否 1:是
  14216. type: integer
  14217. maxinvestornum:
  14218. description: 最大用户数(经纪会员下投资者个数)
  14219. type: integer
  14220. memberuserid:
  14221. description: 所属会员ID
  14222. type: integer
  14223. modifierid:
  14224. description: 修改人
  14225. type: integer
  14226. modifyremark:
  14227. description: 变更备注
  14228. type: string
  14229. modifystatus:
  14230. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14231. type: integer
  14232. modifytime:
  14233. description: 修改时间
  14234. type: string
  14235. parenttopuser:
  14236. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14237. type: string
  14238. parentuserid:
  14239. description: 所属机构ID
  14240. type: integer
  14241. reckonaccountid:
  14242. description: 默认结算资金账号ID(机构分润使用) 作废
  14243. type: integer
  14244. refercount:
  14245. description: 推荐总人数
  14246. type: integer
  14247. refereeuserid:
  14248. description: 推荐人ID
  14249. type: integer
  14250. refernum:
  14251. description: 推荐码
  14252. type: string
  14253. rootuserid:
  14254. description: 根用户ID
  14255. type: integer
  14256. subaccountlevel:
  14257. description: 子账户层数
  14258. type: integer
  14259. subarealevelpath:
  14260. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14261. type: string
  14262. userid:
  14263. description: 用户ID
  14264. type: integer
  14265. usertype:
  14266. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14267. type: integer
  14268. required:
  14269. - userid
  14270. type: object
  14271. models.Userfavoritegoods:
  14272. properties:
  14273. goodsid:
  14274. description: 商品ID
  14275. type: integer
  14276. required:
  14277. - goodsid
  14278. type: object
  14279. models.Userinfo:
  14280. properties:
  14281. address:
  14282. description: 地址
  14283. type: string
  14284. attachment1:
  14285. description: 附件1
  14286. type: string
  14287. attachment2:
  14288. description: 附件2
  14289. type: string
  14290. bankaccount:
  14291. description: 银行帐号 (加密存储)
  14292. type: string
  14293. bankaccountname:
  14294. description: 收款人名称
  14295. type: string
  14296. bankcardfrontphotourl:
  14297. description: 银行卡正面照地址
  14298. type: string
  14299. bankid:
  14300. description: 银行编码
  14301. type: string
  14302. bankname:
  14303. description: 银行名称
  14304. type: string
  14305. biznature:
  14306. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14307. type: integer
  14308. bizscope:
  14309. description: 企业经营范围(企业)
  14310. type: string
  14311. cardbackphotourl:
  14312. description: 证件背面图片地址
  14313. type: string
  14314. cardfrontphotourl:
  14315. description: 证件正面图片地址
  14316. type: string
  14317. cardnum:
  14318. description: 证件号码(加密存储)
  14319. type: string
  14320. cardtypeid:
  14321. description: 证件类型ID
  14322. type: integer
  14323. cityid:
  14324. description: 市
  14325. type: integer
  14326. company:
  14327. description: 公司(个人)
  14328. type: string
  14329. contactname:
  14330. description: 联系人
  14331. type: string
  14332. countryid:
  14333. description: 国家
  14334. type: integer
  14335. createtime:
  14336. description: 创建时间
  14337. type: string
  14338. creatorid:
  14339. description: 创建人
  14340. type: integer
  14341. customername:
  14342. description: 客户名称(企业名称)
  14343. type: string
  14344. districtid:
  14345. description: 地区
  14346. type: integer
  14347. email:
  14348. description: 邮件(加密存储)
  14349. type: string
  14350. fax:
  14351. description: 传真(加密存储)
  14352. type: string
  14353. halfbodyphotourl:
  14354. description: 半身照地址
  14355. type: string
  14356. hasencrypt:
  14357. description: 数据是否已加密 - 0:未加密 1:已加密
  14358. type: integer
  14359. headurl:
  14360. description: 头像地址
  14361. type: string
  14362. legalcardbackphotourl:
  14363. description: 法人身份证背面照地址
  14364. type: string
  14365. legalcardfrontphotourl:
  14366. description: 法人身份证正面照地址
  14367. type: string
  14368. legalpersonname:
  14369. description: 法人姓名(企业)
  14370. type: string
  14371. mobile:
  14372. description: 手机号码(加密存储)
  14373. type: string
  14374. mobile2:
  14375. description: 手机号码[明文-尚志]
  14376. type: string
  14377. modifierid:
  14378. description: 修改人
  14379. type: integer
  14380. modifiertime:
  14381. description: 修改时间
  14382. type: string
  14383. needinvoice:
  14384. description: 是否需要发票 - 0:不需要 1:需要
  14385. type: integer
  14386. nickname:
  14387. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14388. type: string
  14389. openmode:
  14390. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14391. type: integer
  14392. otherurl:
  14393. description: 其它图片地址[使用分号分隔]
  14394. type: string
  14395. postalcode:
  14396. description: 邮政编码
  14397. type: string
  14398. provinceid:
  14399. description: 省
  14400. type: integer
  14401. qq:
  14402. description: QQ(加密存储
  14403. type: string
  14404. remark:
  14405. description: 备注
  14406. type: string
  14407. sex:
  14408. description: '用户性别 0: 女 1: 男'
  14409. type: integer
  14410. signpdfurl:
  14411. description: 签约pdf文件
  14412. type: string
  14413. telphone:
  14414. description: 联系电话(加密存储)
  14415. type: string
  14416. userid:
  14417. description: 用户ID
  14418. type: integer
  14419. userinfotype:
  14420. description: 用户信息类型 - 1:个人 2:企业
  14421. type: integer
  14422. userstatus:
  14423. description: 用户状态 - 1:正常 2:注销
  14424. type: integer
  14425. usertype:
  14426. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14427. type: integer
  14428. wechat:
  14429. description: 微信(加密存储)
  14430. type: string
  14431. wskhinfo:
  14432. description: 开户申请信息(JSON)
  14433. type: string
  14434. required:
  14435. - userid
  14436. type: object
  14437. models.WRSConverTDetail:
  14438. properties:
  14439. convertratio:
  14440. description: 套保系数
  14441. type: number
  14442. deliverygoodscode:
  14443. description: 现货商品代码
  14444. type: string
  14445. deliverygoodsid:
  14446. description: 现货品种ID
  14447. type: integer
  14448. deliverygoodsname:
  14449. description: 现货商品名称
  14450. type: string
  14451. enumdicname:
  14452. description: 单位名称
  14453. type: string
  14454. goodsunitid:
  14455. description: 套保品种单位id
  14456. type: integer
  14457. middlegoodscode:
  14458. description: 套保品种代码
  14459. type: string
  14460. middlegoodsid:
  14461. description: 套保品种ID
  14462. type: integer
  14463. middlegoodsname:
  14464. description: 套保品种名称
  14465. type: string
  14466. modifytime:
  14467. description: 修改时间
  14468. type: string
  14469. wrstandardid:
  14470. description: 品类ID
  14471. type: integer
  14472. type: object
  14473. models.WRStandardInfo:
  14474. properties:
  14475. areauserid:
  14476. description: 所属机构
  14477. type: integer
  14478. convertfactor:
  14479. description: 标仓系数
  14480. type: number
  14481. createtime:
  14482. description: 创建时间
  14483. type: string
  14484. creatorid:
  14485. description: 创建人
  14486. type: integer
  14487. deliverygoodsid:
  14488. description: 品种ID
  14489. type: integer
  14490. deliverygoodsname:
  14491. description: 交割商品名称
  14492. type: string
  14493. factoryitemjson:
  14494. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14495. type: string
  14496. isvalid:
  14497. description: 是否有效 - 0:无效 1:有效
  14498. type: integer
  14499. minivalue:
  14500. description: 最小变动值
  14501. type: integer
  14502. minivaluedp:
  14503. description: 最小变动值小数位
  14504. type: integer
  14505. realminivalue:
  14506. description: 实际最小变动值
  14507. type: integer
  14508. realminivaluedp:
  14509. description: 实际最小变动值小数位
  14510. type: integer
  14511. remark:
  14512. description: 备注
  14513. type: string
  14514. unitid:
  14515. description: 单位ID
  14516. type: integer
  14517. unitname:
  14518. description: 单位
  14519. type: string
  14520. updatetime:
  14521. description: 更新时间
  14522. type: string
  14523. updatorid:
  14524. description: 更新人
  14525. type: integer
  14526. wrsstatus:
  14527. description: 状态 - 作废 - 0:未激活 1:正常
  14528. type: integer
  14529. wrstandardcode:
  14530. description: 现货品类代码
  14531. type: string
  14532. wrstandardid:
  14533. description: 现货品类ID(SEQ_WRSTANDARD)
  14534. type: integer
  14535. wrstandardname:
  14536. description: 现货品类名称
  14537. type: string
  14538. required:
  14539. - wrstandardid
  14540. type: object
  14541. models.WRTradeBargainApply:
  14542. properties:
  14543. accountid:
  14544. description: 摘牌资金账号
  14545. type: integer
  14546. applyprice:
  14547. description: 申请价格(议价价格)
  14548. type: string
  14549. applyqty:
  14550. description: 摘牌数量(议价数量)
  14551. type: number
  14552. applyremark:
  14553. description: 申请备注
  14554. type: string
  14555. applystatus:
  14556. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14557. type: integer
  14558. applytime:
  14559. description: 申请时间(议价时间)
  14560. type: string
  14561. begindate:
  14562. description: 开始交易日(yyyymmdd)
  14563. type: string
  14564. buyorsell:
  14565. description: 买卖(挂牌类型) - 0:买 1:卖
  14566. type: integer
  14567. confirmremark:
  14568. description: 确认备注
  14569. type: string
  14570. confirmtime:
  14571. description: 确认时间
  14572. type: string
  14573. confirmuserid:
  14574. description: 确认人
  14575. type: integer
  14576. deliverygoodscode:
  14577. description: 品种代码
  14578. type: string
  14579. deliverygoodsid:
  14580. description: 品种ID
  14581. type: integer
  14582. deliverygoodsname:
  14583. description: 品种名称
  14584. type: string
  14585. deliverymonth:
  14586. description: 交收月
  14587. type: string
  14588. enddate:
  14589. description: 结束交易日(yyyymmdd)
  14590. type: string
  14591. enumdicname:
  14592. description: 单位名称
  14593. type: string
  14594. fixedprice:
  14595. description: 挂牌价格
  14596. type: number
  14597. handlestatus:
  14598. description: 处理状态
  14599. type: integer
  14600. marginvalue:
  14601. description: 履约保证金比例
  14602. type: number
  14603. marketid:
  14604. description: 市场ID
  14605. type: integer
  14606. matchaccountid:
  14607. description: 挂牌方资金账号
  14608. type: integer
  14609. matchuserid:
  14610. description: 挂牌方用户id
  14611. type: integer
  14612. matchusername:
  14613. description: 挂牌方用户名称(已脱敏)
  14614. type: string
  14615. minivalue:
  14616. description: 现货商品最小变动值
  14617. type: integer
  14618. optioncompare:
  14619. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14620. type: string
  14621. orderqty:
  14622. description: 挂牌数量
  14623. type: integer
  14624. refprice:
  14625. description: 参考价格
  14626. type: string
  14627. retcode:
  14628. description: 委托返回代码
  14629. type: integer
  14630. templatename:
  14631. description: 履约方式(履约模板名称)
  14632. type: string
  14633. tradedate:
  14634. description: 交易日(yyyyMMdd)
  14635. type: string
  14636. userid:
  14637. description: 摘牌人用户ID(议价人ID)
  14638. type: integer
  14639. username:
  14640. description: 议价人名字(已脱敏)
  14641. type: string
  14642. validtime:
  14643. description: 有效期限
  14644. type: string
  14645. warehouseid:
  14646. description: 仓库ID
  14647. type: integer
  14648. warehousename:
  14649. description: 仓库名称
  14650. type: string
  14651. wrbargainid:
  14652. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14653. type: string
  14654. wrfactortypeid:
  14655. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14656. type: string
  14657. wrfactortypename:
  14658. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14659. type: string
  14660. wrstandardcode:
  14661. description: 现货商品代码
  14662. type: string
  14663. wrstandardid:
  14664. description: 现货商品ID
  14665. type: integer
  14666. wrstandardname:
  14667. description: 商品名称
  14668. type: string
  14669. wrtradeorderid:
  14670. description: 关联委托单ID
  14671. type: string
  14672. wrtypename:
  14673. description: 商品
  14674. type: string
  14675. type: object
  14676. models.Warehouseinfo:
  14677. properties:
  14678. address:
  14679. description: 详细地址
  14680. type: string
  14681. areauserid:
  14682. description: 所属机构
  14683. type: integer
  14684. autoid:
  14685. description: 自增ID
  14686. type: integer
  14687. cityid:
  14688. description: 市
  14689. type: integer
  14690. contactname:
  14691. description: 联系人
  14692. type: string
  14693. contactnum:
  14694. description: 联系电话
  14695. type: string
  14696. countryid:
  14697. description: 国家
  14698. type: integer
  14699. createtime:
  14700. description: 创建时间
  14701. type: string
  14702. districtid:
  14703. description: 区
  14704. type: integer
  14705. hasvideo:
  14706. description: 是否有视频 - 0:无 1:有
  14707. type: integer
  14708. provinceid:
  14709. description: 省
  14710. type: integer
  14711. remark:
  14712. description: 审核备注
  14713. type: string
  14714. videourl:
  14715. description: 视频地址
  14716. type: string
  14717. warehousecode:
  14718. description: 仓库代码
  14719. type: string
  14720. warehousename:
  14721. description: 仓库名称
  14722. type: string
  14723. warehousestatus:
  14724. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14725. type: integer
  14726. warehousetype:
  14727. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14728. type: integer
  14729. required:
  14730. - autoid
  14731. - warehousecode
  14732. type: object
  14733. models.WrAverageTradePrice:
  14734. properties:
  14735. averageprice:
  14736. description: 成交均价
  14737. type: number
  14738. tradedate:
  14739. description: 交易日yyyymm
  14740. type: string
  14741. type: object
  14742. models.WrBsGoodsInfo:
  14743. properties:
  14744. buyorsell:
  14745. description: 买卖方向 0-买 1-卖
  14746. type: integer
  14747. goodsid:
  14748. description: 交易合约ID
  14749. type: integer
  14750. lstitem:
  14751. description: 商品信息项
  14752. items:
  14753. $ref: '#/definitions/models.WrTypeItem'
  14754. type: array
  14755. lststep:
  14756. description: 履约规则
  14757. items:
  14758. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14759. type: array
  14760. type: object
  14761. models.WrBuybackDetail:
  14762. properties:
  14763. buybackamount:
  14764. description: 回购金额
  14765. type: number
  14766. buybackqty:
  14767. description: 回购数量
  14768. type: number
  14769. buybackreleasemargin:
  14770. description: 回购释放保证金
  14771. type: number
  14772. buybacktime:
  14773. description: 回购时间
  14774. type: string
  14775. errordesc:
  14776. description: 错误描述
  14777. type: string
  14778. handlestatus:
  14779. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14780. type: integer
  14781. relatedwrid:
  14782. description: 关联仓单ID
  14783. type: integer
  14784. scfcontractid:
  14785. description: SCF合同ID
  14786. type: string
  14787. scfwrbuybackid:
  14788. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14789. type: integer
  14790. tradedate:
  14791. description: 交易日(yyyyMMdd)
  14792. type: string
  14793. type: object
  14794. models.WrDeliveryAvalidHoldLB:
  14795. properties:
  14796. accountid:
  14797. description: 资金账号
  14798. type: integer
  14799. avalidqty:
  14800. description: 数量(可点选数量)
  14801. type: number
  14802. deliverygoodsid:
  14803. description: 品种id
  14804. type: integer
  14805. enumdicname:
  14806. description: 单位名称
  14807. type: string
  14808. goodsid:
  14809. description: x合约商品id
  14810. type: integer
  14811. ladingbillid:
  14812. description: 提单id
  14813. type: string
  14814. pgoodscode:
  14815. description: p商品代码(点价合约)
  14816. type: string
  14817. pgoodsid:
  14818. description: p商品id(点价合约)
  14819. type: integer
  14820. pgoodsname:
  14821. description: p商品名称(点价合约)
  14822. type: string
  14823. pricemove:
  14824. description: 升贴水
  14825. type: number
  14826. subnum:
  14827. description: 提单子id
  14828. type: integer
  14829. userid:
  14830. description: 用户id
  14831. type: integer
  14832. username:
  14833. description: 仓单持有人
  14834. type: string
  14835. warehousecode:
  14836. description: 仓库代码
  14837. type: string
  14838. warehouseid:
  14839. description: 仓库id
  14840. type: integer
  14841. warehousename:
  14842. description: 仓库名称
  14843. type: string
  14844. wrfactortypeid:
  14845. description: 仓单要素id
  14846. type: string
  14847. wrstandardcode:
  14848. description: 品代码
  14849. type: string
  14850. wrstandardid:
  14851. description: 品类d
  14852. type: integer
  14853. wrstandardname:
  14854. description: 品类名称
  14855. type: string
  14856. wrtypename:
  14857. description: 商品
  14858. type: string
  14859. xgoodscode:
  14860. description: x合约代码
  14861. type: string
  14862. xgoodsname:
  14863. description: x合约名称
  14864. type: string
  14865. type: object
  14866. models.WrDeliveryDetail:
  14867. properties:
  14868. accountid:
  14869. description: 账号ID
  14870. type: integer
  14871. averageprice:
  14872. description: 交割均价 = 交割金额 / 交割数量
  14873. type: number
  14874. begindate:
  14875. description: 开始交易日(yyyymmdd)
  14876. type: string
  14877. buyorsell:
  14878. description: 方向 - 0:买 1:卖
  14879. type: integer
  14880. deliveryamount:
  14881. description: 货款金额(X总货款+P总货款)
  14882. type: number
  14883. deliveryid:
  14884. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14885. type: string
  14886. deliveryorderid:
  14887. description: 申报单号
  14888. type: string
  14889. deliverypricemove:
  14890. description: 升贴水(升贴水总额)
  14891. type: number
  14892. deliveryqty:
  14893. description: 交收数量(点选数量)
  14894. type: number
  14895. deliverystatus:
  14896. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14897. type: integer
  14898. deliverytime:
  14899. description: 交割时间
  14900. type: string
  14901. deliverytotalamount:
  14902. description: 交收金额
  14903. type: number
  14904. enddate:
  14905. description: 结束交易日(yyyymmdd)
  14906. type: string
  14907. enumdicname:
  14908. description: 单位名称
  14909. type: string
  14910. matchaccountid:
  14911. description: 对手账号ID
  14912. type: integer
  14913. matchusername:
  14914. description: 对手方名称(仓单持有人)
  14915. type: string
  14916. p1goodsremainamount:
  14917. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14918. type: number
  14919. pdeliverycloseqty:
  14920. description: p合约平仓数量
  14921. type: number
  14922. pdeliveryprice:
  14923. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14924. type: number
  14925. pgoodscode:
  14926. description: 商品代码
  14927. type: string
  14928. pgoodsid:
  14929. description: p点选合约id
  14930. type: integer
  14931. pgoodsname:
  14932. description: 商品名称
  14933. type: string
  14934. ppricemode:
  14935. description: 点价价格方式 - 1:商品价 2:固定值
  14936. type: integer
  14937. tradedate:
  14938. description: 交易日(yyyymmdd)
  14939. type: string
  14940. userid:
  14941. description: 用户id
  14942. type: integer
  14943. username:
  14944. description: 用户名称
  14945. type: string
  14946. warehousename:
  14947. description: 仓库名称
  14948. type: string
  14949. wrfactortypeid:
  14950. description: 仓单要素类型ID
  14951. type: string
  14952. wrtypename:
  14953. description: 商品
  14954. type: string
  14955. xdeliverycloseqty:
  14956. description: 合约数量
  14957. type: number
  14958. xgoodsamount:
  14959. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14960. type: number
  14961. xgoodscode:
  14962. description: 商品代码
  14963. type: string
  14964. xgoodsid:
  14965. description: x交易合约ID
  14966. type: integer
  14967. xgoodsname:
  14968. description: 商品名称
  14969. type: string
  14970. type: object
  14971. models.WrDeliveryGoodsSection:
  14972. properties:
  14973. dglst:
  14974. description: 板块商品列表
  14975. items:
  14976. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14977. type: array
  14978. imagepath:
  14979. description: 图片地址
  14980. type: string
  14981. orderindex:
  14982. description: 排序
  14983. type: integer
  14984. sectionid:
  14985. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14986. type: integer
  14987. sectionname:
  14988. description: 版块名称
  14989. type: string
  14990. sectiontype:
  14991. description: 版块类型 - 1:指数版块 2:普通版块
  14992. type: integer
  14993. type: object
  14994. models.WrDeliveryGoodsSectionConfig:
  14995. properties:
  14996. deliverygoodscode:
  14997. description: 现货商品代码
  14998. type: string
  14999. deliverygoodsid:
  15000. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15001. type: integer
  15002. deliverygoodsname:
  15003. description: 现货商品名称
  15004. type: string
  15005. orderindex:
  15006. description: 排序
  15007. type: integer
  15008. type: object
  15009. models.WrFAProductDetail:
  15010. properties:
  15011. accountid:
  15012. description: 资金账号
  15013. type: integer
  15014. areauserid:
  15015. description: 金融机构ID
  15016. type: integer
  15017. financingdays:
  15018. description: 天数(天)
  15019. type: integer
  15020. interestminlen:
  15021. description: 最小起息天数
  15022. type: integer
  15023. interestrate:
  15024. description: 利率
  15025. type: number
  15026. interestratemode:
  15027. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15028. type: integer
  15029. interestsettlemode:
  15030. description: 结息方式 - 1:按日结息 3:按月结息
  15031. type: integer
  15032. interestsettlevalue:
  15033. description: 结息方式值
  15034. type: integer
  15035. isautoloan:
  15036. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15037. type: integer
  15038. loantag:
  15039. description: '放款标识: "放款快" 或者为空'
  15040. type: string
  15041. marginratio:
  15042. description: 保证金比率质押率 - [仓单质押]
  15043. type: number
  15044. productdetailid:
  15045. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15046. type: integer
  15047. productid:
  15048. description: 金融产品ID
  15049. type: integer
  15050. productname:
  15051. description: 产品名称
  15052. type: string
  15053. updatetime:
  15054. description: 更新时间
  15055. type: string
  15056. username:
  15057. description: 融出方
  15058. type: string
  15059. type: object
  15060. models.WrFactorTypeInfo:
  15061. properties:
  15062. deliverygoodscode:
  15063. description: 品种代码
  15064. type: string
  15065. deliverygoodsname:
  15066. description: 品种名称
  15067. type: string
  15068. dgfactoryitemid:
  15069. description: 选择项id
  15070. type: integer
  15071. dgfactoryitemtypeid:
  15072. description: 要素选择项ID (1-仓库 2-品牌)
  15073. type: integer
  15074. dgfactoryitemvalue:
  15075. description: 要素项值
  15076. type: string
  15077. itemtypename:
  15078. description: 要素项名称
  15079. type: string
  15080. optioncompare:
  15081. description: 选择比较串
  15082. type: string
  15083. warehouseid:
  15084. description: 仓库id
  15085. type: integer
  15086. wrfactortypeid:
  15087. description: 仓单要素ID
  15088. type: string
  15089. wrfactortypename:
  15090. description: 要素名称
  15091. type: string
  15092. wrfactortypename2:
  15093. description: 要素名称(不含仓库)
  15094. type: string
  15095. wrstandardcode:
  15096. description: 品类代码
  15097. type: string
  15098. wrstandardid:
  15099. description: 品类id
  15100. type: integer
  15101. wrstandardname:
  15102. description: 品类名称
  15103. type: string
  15104. type: object
  15105. models.WrFilterItem:
  15106. properties:
  15107. itemcode:
  15108. description: 代码
  15109. type: string
  15110. itemid:
  15111. description: 项id
  15112. type: integer
  15113. itemname:
  15114. description: 名称
  15115. type: string
  15116. itemtype:
  15117. description: 类型 1-品种 2-品类(商品) 3-仓库
  15118. type: integer
  15119. type: object
  15120. models.WrFinanceBuyApply:
  15121. properties:
  15122. applydate:
  15123. description: 申请时间
  15124. type: string
  15125. applystatus:
  15126. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15127. type: integer
  15128. applyuserid:
  15129. description: 申请人
  15130. type: integer
  15131. auditdate:
  15132. description: 审核时间
  15133. type: string
  15134. auditremark:
  15135. description: 审核备注
  15136. type: string
  15137. audituserid:
  15138. description: 审核人
  15139. type: integer
  15140. buyaccountid:
  15141. description: 买方资金账号
  15142. type: integer
  15143. buyorsell:
  15144. description: 买卖 - 0:买 1:卖
  15145. type: integer
  15146. buyuserid:
  15147. description: 买方用户ID
  15148. type: integer
  15149. buyusername:
  15150. description: 买方名称
  15151. type: string
  15152. buywrtradeorderid:
  15153. description: 融资方买委托单ID
  15154. type: string
  15155. deliverygoodscode:
  15156. description: 品种代码
  15157. type: string
  15158. deliverygoodsid:
  15159. description: 品种ID
  15160. type: integer
  15161. deliverygoodsname:
  15162. description: 品种名称
  15163. type: string
  15164. deliverymonth:
  15165. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15166. type: string
  15167. enumdicname:
  15168. description: 单位名称
  15169. type: string
  15170. financeaccountid:
  15171. description: 融资方资金帐户ID
  15172. type: integer
  15173. financeapplyid:
  15174. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15175. type: string
  15176. financeareauserid:
  15177. description: 融资方用户ID
  15178. type: string
  15179. financename:
  15180. description: 融出方名称
  15181. type: string
  15182. financetype:
  15183. description: 融资类型 1-融资回购
  15184. type: integer
  15185. financingdays:
  15186. description: 天数(天)
  15187. type: integer
  15188. freezebuymargin:
  15189. description: 冻结融资保证金(买方)
  15190. type: number
  15191. handleremark:
  15192. description: 处理备注
  15193. type: string
  15194. handlestatus:
  15195. description: 处理状态
  15196. type: integer
  15197. interestminlen:
  15198. description: 最小起息天数
  15199. type: integer
  15200. interestrate:
  15201. description: 利率
  15202. type: number
  15203. interestratemode:
  15204. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15205. type: integer
  15206. interestsettlemode:
  15207. description: 结息方式 - 1:按日结息 3:按月结息
  15208. type: integer
  15209. interestsettlevalue:
  15210. description: 结息方式值
  15211. type: integer
  15212. isautoloan:
  15213. description: 是否自动放款 - 0:手动 1:自动
  15214. type: integer
  15215. marginratio:
  15216. description: 保证金比率质押率 - [仓单质押]
  15217. type: number
  15218. marketid:
  15219. description: 市场ID
  15220. type: integer
  15221. minivalue:
  15222. description: 现货商品最小变动值
  15223. type: integer
  15224. optioncompare:
  15225. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15226. type: string
  15227. orderqty:
  15228. description: 委托数量(商品数量)
  15229. type: number
  15230. productdetailid:
  15231. description: 产品组合ID
  15232. type: integer
  15233. productid:
  15234. description: 金融产品ID
  15235. type: integer
  15236. productname:
  15237. description: 产品名称
  15238. type: string
  15239. remark:
  15240. description: 备注
  15241. type: string
  15242. scfcontractid:
  15243. description: 仓单回购合同ID
  15244. type: string
  15245. sellaccountid:
  15246. description: 卖方资金账号
  15247. type: integer
  15248. selluserid:
  15249. description: 卖方用户ID
  15250. type: integer
  15251. sellwrtradeorderid:
  15252. description: 卖方委托单ID
  15253. type: string
  15254. tradeamount:
  15255. description: 成交金额(借款金额)
  15256. type: number
  15257. tradedate:
  15258. description: 交易日(yyyyMMdd)
  15259. type: string
  15260. tradeprice:
  15261. description: 成交价格
  15262. type: number
  15263. warehouseid:
  15264. description: 仓库ID
  15265. type: integer
  15266. warehousename:
  15267. description: 仓库名称
  15268. type: string
  15269. wrfactortypeid:
  15270. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15271. type: string
  15272. wrfactortypename:
  15273. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15274. type: string
  15275. wrpricetype:
  15276. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15277. type: integer
  15278. wrstandardcode:
  15279. description: 现货商品代码
  15280. type: string
  15281. wrstandardid:
  15282. description: 现货商品ID
  15283. type: integer
  15284. wrstandardname:
  15285. description: 商品名称
  15286. type: string
  15287. wrtypename:
  15288. description: 商品
  15289. type: string
  15290. type: object
  15291. models.WrFriendApply:
  15292. properties:
  15293. applicantid:
  15294. description: 申请人
  15295. type: integer
  15296. applyname:
  15297. description: 申请人名称
  15298. type: string
  15299. applysrc:
  15300. description: 申请来源 - 1:管理端 2:终端
  15301. type: integer
  15302. applystatus:
  15303. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15304. type: integer
  15305. applytime:
  15306. description: 申请时间
  15307. type: string
  15308. auditname:
  15309. description: 审核人名称
  15310. type: string
  15311. auditorid:
  15312. description: 审核人
  15313. type: integer
  15314. auditremark:
  15315. description: 审核备注
  15316. type: string
  15317. auditsrc:
  15318. description: 审核来源 - 1:管理端 2:终端
  15319. type: integer
  15320. audittime:
  15321. description: 审核时间
  15322. type: string
  15323. friendapplyid:
  15324. description: 申请ID(SEQ_FRIENDAPPLY)
  15325. type: string
  15326. friendname:
  15327. description: 好友名字(已脱敏)
  15328. type: string
  15329. frienduserid:
  15330. description: 好友用户ID
  15331. type: string
  15332. remark:
  15333. description: 备注
  15334. type: string
  15335. userid:
  15336. description: 申请人用户ID
  15337. type: integer
  15338. type: object
  15339. models.WrFtDeliveryGoods:
  15340. properties:
  15341. deliverygoodscode:
  15342. description: 品种代码
  15343. type: string
  15344. deliverygoodsid:
  15345. description: 品种ID
  15346. type: integer
  15347. deliverygoodsname:
  15348. description: 品种名称
  15349. type: string
  15350. wdlst:
  15351. description: 商品列表
  15352. items:
  15353. $ref: '#/definitions/models.WrFtWrstandard'
  15354. type: array
  15355. type: object
  15356. models.WrFtWrstandard:
  15357. properties:
  15358. enumdicname:
  15359. description: 单位名称
  15360. type: string
  15361. minivalue:
  15362. description: 最小变动值
  15363. type: integer
  15364. wrstandardcode:
  15365. description: 现货商品代码
  15366. type: string
  15367. wrstandardid:
  15368. description: 现货商品ID
  15369. type: integer
  15370. wrstandardname:
  15371. description: 商品名称
  15372. type: string
  15373. type: object
  15374. models.WrGoodsInfo:
  15375. properties:
  15376. haswr:
  15377. description: 0:仓单预售 1:仓单贸易
  15378. type: integer
  15379. lstitem:
  15380. description: 商品信息项
  15381. items:
  15382. $ref: '#/definitions/models.WrTypeItem'
  15383. type: array
  15384. lststep:
  15385. description: 履约规则
  15386. items:
  15387. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15388. type: array
  15389. marketid:
  15390. description: 市场id
  15391. type: integer
  15392. type: object
  15393. models.WrGoodsPerformanceStep:
  15394. properties:
  15395. autoid:
  15396. description: AutoID
  15397. type: integer
  15398. isauto:
  15399. description: 是否自动 - 0:不自动 1:自动
  15400. type: integer
  15401. remark:
  15402. description: 备注
  15403. type: string
  15404. stepdate:
  15405. description: 天数信息(T+N)
  15406. type: string
  15407. stepdays:
  15408. description: 距离上一步天数
  15409. type: integer
  15410. stepindex:
  15411. description: 步骤序号
  15412. type: integer
  15413. stepinfo:
  15414. description: 步骤信息(步骤名称+步骤值)
  15415. type: string
  15416. steptypeid:
  15417. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15418. type: integer
  15419. steptypename:
  15420. description: 步骤名称
  15421. type: string
  15422. stepvalue:
  15423. description: 步骤值
  15424. type: number
  15425. templateid:
  15426. description: 履约计划模板ID
  15427. type: integer
  15428. type: object
  15429. models.WrHoldLB:
  15430. properties:
  15431. accountid:
  15432. description: 持有人帐户ID
  15433. type: integer
  15434. createtime:
  15435. description: 创建时间(过户时间)
  15436. type: string
  15437. deliverygoodscode:
  15438. description: 品种代码
  15439. type: string
  15440. deliverygoodsid:
  15441. description: 品种ID
  15442. type: integer
  15443. deliverygoodsname:
  15444. description: 品种名称
  15445. type: string
  15446. enableqty:
  15447. description: 可用数量
  15448. type: number
  15449. enumdicname:
  15450. description: 单位名称
  15451. type: string
  15452. freezerqty:
  15453. description: 冻结数量
  15454. type: number
  15455. ladingbillid:
  15456. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15457. type: string
  15458. minivalue:
  15459. description: 现货商品最小变动值
  15460. type: integer
  15461. optioncompare:
  15462. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15463. type: string
  15464. parentsubnum:
  15465. description: 拆分父子单号
  15466. type: integer
  15467. pledgeqty:
  15468. description: 质押数量
  15469. type: number
  15470. qty:
  15471. description: 数量
  15472. type: number
  15473. subnum:
  15474. description: 提单子单号
  15475. type: integer
  15476. tradedate:
  15477. description: 交易日(yyyyMMdd)
  15478. type: string
  15479. userid:
  15480. description: 持有人ID
  15481. type: integer
  15482. warehouseid:
  15483. description: 仓库ID
  15484. type: integer
  15485. warehousename:
  15486. description: 仓库名称
  15487. type: string
  15488. wrfactortypeid:
  15489. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15490. type: string
  15491. wrfactortypename:
  15492. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15493. type: string
  15494. wrholdeno:
  15495. description: 仓单编号
  15496. type: string
  15497. wrid:
  15498. description: 仓单变更ID
  15499. type: string
  15500. wrstandardcode:
  15501. description: 现货商品代码
  15502. type: string
  15503. wrstandardid:
  15504. description: 现货商品ID
  15505. type: integer
  15506. wrstandardname:
  15507. description: 商品名称
  15508. type: string
  15509. wrtypename:
  15510. description: 商品
  15511. type: string
  15512. type: object
  15513. models.WrMarketTradeConfig:
  15514. properties:
  15515. basisdownratio:
  15516. description: 浮动价基差下限比例(仓单贸易)
  15517. type: number
  15518. basisupratio:
  15519. description: 浮动价基差上限比例(仓单贸易)
  15520. type: number
  15521. buychargealgorithm:
  15522. description: 买方手续费收取方式 1:比率 2:固定
  15523. type: integer
  15524. buychargealgorithm2:
  15525. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15526. type: integer
  15527. buychargealgorithmvalue:
  15528. description: 买方手续费设置值(交易所部分)
  15529. type: number
  15530. buychargealgorithmvalue2:
  15531. description: 买方手续费设置值(会员部分)
  15532. type: number
  15533. buychargealgorithmvalue3:
  15534. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15535. type: number
  15536. buychargealgorithmvalue4:
  15537. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15538. type: number
  15539. buyfirstmarginalgorithm:
  15540. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15541. type: integer
  15542. buyfirstmarginvalue:
  15543. description: 买方出价保证金设置值 - [竞拍]
  15544. type: number
  15545. buymarginalgorithm:
  15546. description: 买方保证金方式 - 1:比率 2:固定
  15547. type: integer
  15548. buymarginvalue:
  15549. description: 买方保证金设置值
  15550. type: number
  15551. buyreleaseratio:
  15552. description: 买方释放比率[2:分步履约]
  15553. type: number
  15554. executemode:
  15555. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15556. type: integer
  15557. executeside:
  15558. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15559. type: integer
  15560. failedchargealgorithm:
  15561. description: 流拍手续费收取方式 1:比率 2:固定
  15562. type: integer
  15563. failedchargevalue:
  15564. description: 流拍手续费设置值
  15565. type: number
  15566. failedchargevalue2:
  15567. description: 流拍卖方手续费设置值
  15568. type: number
  15569. holddays:
  15570. description: 合同期限[2:分步履约]
  15571. type: integer
  15572. marketid:
  15573. description: 市场ID-仓单贸易、竞拍、预售
  15574. type: integer
  15575. minqty:
  15576. description: 最小执行量[2:分步履约]
  15577. type: number
  15578. modifierid:
  15579. description: 修改人
  15580. type: integer
  15581. performancetempid:
  15582. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15583. type: integer
  15584. performancetempid2:
  15585. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15586. type: integer
  15587. performancetempid2s:
  15588. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15589. type: string
  15590. performancetempids:
  15591. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15592. type: string
  15593. performanceway:
  15594. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15595. type: integer
  15596. sellchargealgorithm:
  15597. description: 卖方手续费收取方式 1:比率 2:固定
  15598. type: integer
  15599. sellchargealgorithm2:
  15600. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15601. type: integer
  15602. sellchargealgorithmvalue:
  15603. description: 卖方手续费设置值(交易所部分)
  15604. type: number
  15605. sellchargealgorithmvalue2:
  15606. description: 卖方手续费设置值(会员部分)
  15607. type: number
  15608. sellchargealgorithmvalue3:
  15609. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15610. type: number
  15611. sellchargealgorithmvalue4:
  15612. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15613. type: number
  15614. sellmarginalgorithm:
  15615. description: 卖方保证金方式 - 1:比率 2:固定
  15616. type: integer
  15617. sellmarginvalue:
  15618. description: 卖方保证金设置值
  15619. type: number
  15620. sellmarginvalue2:
  15621. description: 卖方保证金设置值(无仓单)
  15622. type: number
  15623. sellreleaseratio:
  15624. description: 卖方释放比率[2:分步履约]
  15625. type: number
  15626. updatetime:
  15627. description: 更新时间
  15628. type: string
  15629. type: object
  15630. models.WrOrderDetail:
  15631. properties:
  15632. accountid:
  15633. description: 交易账号(资金账号)
  15634. type: integer
  15635. allfriendsflag:
  15636. description: 是否全好友可见 - 0:否 1:是
  15637. type: integer
  15638. amount:
  15639. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15640. type: number
  15641. begindate:
  15642. description: 开始交易日(yyyymmdd)
  15643. type: string
  15644. buyorsell:
  15645. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15646. type: integer
  15647. canbargain:
  15648. description: 是否可议价 - 0:不可 1:可
  15649. type: integer
  15650. cancelqty:
  15651. description: 撤销数量
  15652. type: number
  15653. canpart:
  15654. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15655. type: integer
  15656. delistminqty:
  15657. description: 起摘数量
  15658. type: integer
  15659. deliverygoodscode:
  15660. description: 品种代码
  15661. type: string
  15662. deliverygoodsid:
  15663. description: 品种ID
  15664. type: integer
  15665. deliverygoodsname:
  15666. description: 品种名称
  15667. type: string
  15668. deliverymonth:
  15669. description: 交收月
  15670. type: string
  15671. enddate:
  15672. description: 结束交易日(yyyymmdd)
  15673. type: string
  15674. enumdicname:
  15675. description: 单位名称
  15676. type: string
  15677. fixedprice:
  15678. description: 固定价格 - [挂牌]
  15679. type: number
  15680. freezecharge:
  15681. description: 冻结手续费
  15682. type: number
  15683. freezemargin:
  15684. description: 冻结保证金(保证金)
  15685. type: number
  15686. futupricemove:
  15687. description: 期货升贴水
  15688. type: number
  15689. futushow:
  15690. description: 期货合约/升贴水
  15691. type: string
  15692. goodscode:
  15693. description: 期货合约
  15694. type: string
  15695. goodsid:
  15696. description: 期货商品id
  15697. type: integer
  15698. goodsname:
  15699. description: 商品名称
  15700. type: string
  15701. haswr:
  15702. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15703. type: integer
  15704. isspecified:
  15705. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15706. type: integer
  15707. ladingbillid:
  15708. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15709. type: string
  15710. marginvalue:
  15711. description: 保证金设置值(履约保证金)
  15712. type: number
  15713. marketid:
  15714. description: 市场ID
  15715. type: integer
  15716. matchusername:
  15717. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15718. type: string
  15719. minivalue:
  15720. description: 现货商品最小变动值
  15721. type: integer
  15722. optioncompare:
  15723. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15724. type: string
  15725. orderqty:
  15726. description: 委托数量
  15727. type: number
  15728. ordertime:
  15729. description: 委托时间(挂牌时间)
  15730. type: string
  15731. performancetemplateid:
  15732. description: 履约模板id
  15733. type: integer
  15734. pricemove:
  15735. description: 升贴水(浮动价时填写) - [挂牌]
  15736. type: number
  15737. taname:
  15738. description: 交易用户名称(资金账号名称)
  15739. type: string
  15740. tradedate:
  15741. description: 交易日(yyyyMMdd)
  15742. type: string
  15743. tradeprice:
  15744. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15745. type: number
  15746. tradeqty:
  15747. description: 成交数量
  15748. type: number
  15749. userid:
  15750. description: 用户ID
  15751. type: integer
  15752. validtime:
  15753. description: 挂牌有效期
  15754. type: string
  15755. validtype:
  15756. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15757. type: integer
  15758. warehouseid:
  15759. description: 仓库ID
  15760. type: integer
  15761. warehousename:
  15762. description: 仓库名称
  15763. type: string
  15764. wrfactortypeid:
  15765. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15766. type: string
  15767. wrfactortypename:
  15768. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15769. type: string
  15770. wrpricetype:
  15771. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15772. type: integer
  15773. wrstandardcode:
  15774. description: 现货商品代码
  15775. type: string
  15776. wrstandardid:
  15777. description: 现货商品ID
  15778. type: integer
  15779. wrstandardname:
  15780. description: 商品名称
  15781. type: string
  15782. wrtradeorderid:
  15783. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15784. type: string
  15785. wrtradeorderstatus:
  15786. 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:撤单解冻贷款失败
  15787. type: integer
  15788. wrtradetype:
  15789. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15790. type: integer
  15791. wrtypename:
  15792. description: 商品
  15793. type: string
  15794. type: object
  15795. models.WrOrderQuote:
  15796. properties:
  15797. buyprice:
  15798. description: 买价
  15799. type: number
  15800. buypricemove:
  15801. description: 买升贴水(基差)
  15802. type: number
  15803. buyqty:
  15804. description: 买量
  15805. type: number
  15806. deliverygoodscode:
  15807. description: 品种代码
  15808. type: string
  15809. deliverygoodsid:
  15810. description: 品种id
  15811. type: integer
  15812. deliverygoodsname:
  15813. description: 品种名称
  15814. type: string
  15815. deliverymonth:
  15816. description: 交收月
  15817. type: string
  15818. enumdicname:
  15819. description: 单位名称
  15820. type: string
  15821. goodscode:
  15822. description: 商品合约(浮动价列表才有)
  15823. type: string
  15824. goodsid:
  15825. description: 商品id(浮动价列表才有)
  15826. type: integer
  15827. minivalue:
  15828. description: 现货商品最小变动值
  15829. type: integer
  15830. sellprice:
  15831. description: 卖价
  15832. type: number
  15833. sellpricemove:
  15834. description: 卖升贴水(基差)
  15835. type: number
  15836. sellqty:
  15837. description: 卖量
  15838. type: number
  15839. warehousecode:
  15840. description: 仓库代码
  15841. type: string
  15842. warehouseid:
  15843. description: 仓库id
  15844. type: integer
  15845. warehousename:
  15846. description: 仓库名称
  15847. type: string
  15848. wrfactortypeid:
  15849. description: 仓单要素id
  15850. type: string
  15851. wrfactortypename:
  15852. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15853. type: string
  15854. wrgoodsname:
  15855. description: 商品(商品名称+仓库要素名称 拼接)
  15856. type: string
  15857. wrstandardcode:
  15858. description: 商品代码
  15859. type: string
  15860. wrstandardid:
  15861. description: 商品id
  15862. type: integer
  15863. wrstandardname:
  15864. description: 商品名称
  15865. type: string
  15866. type: object
  15867. models.WrOrderQuoteDetail:
  15868. properties:
  15869. buyorsell:
  15870. description: 买卖 - 0:买 1:卖
  15871. type: integer
  15872. delistminqty:
  15873. description: 起摘数量
  15874. type: number
  15875. deliverymonth:
  15876. description: 交收月
  15877. type: string
  15878. enumdicname:
  15879. description: 单位名称
  15880. type: string
  15881. fixedprice:
  15882. description: 买(卖)价
  15883. type: number
  15884. minivalue:
  15885. description: 现货商品最小变动值
  15886. type: integer
  15887. orderqty:
  15888. description: 买(卖)量(=委托量-成交量)
  15889. type: number
  15890. ordertime:
  15891. description: 委托时间
  15892. type: string
  15893. pricemove:
  15894. description: 买(卖)升贴水- 基差
  15895. type: number
  15896. userid:
  15897. description: 购买方(销售方)用户ID
  15898. type: integer
  15899. username:
  15900. description: 购买方(销售方)
  15901. type: string
  15902. wrtradeorderid:
  15903. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15904. type: string
  15905. type: object
  15906. models.WrOutInApply:
  15907. properties:
  15908. applyid:
  15909. description: 申请单id
  15910. type: string
  15911. applystatus:
  15912. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15913. type: integer
  15914. applytime:
  15915. description: 申请时间
  15916. type: string
  15917. applytype:
  15918. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15919. type: integer
  15920. begindate:
  15921. description: 开始交易日(yyyymmdd)
  15922. type: string
  15923. deliverygoodscode:
  15924. description: 品种代码
  15925. type: string
  15926. deliverygoodsid:
  15927. description: 品种ID
  15928. type: integer
  15929. deliverygoodsname:
  15930. description: 品种名称
  15931. type: string
  15932. enddate:
  15933. description: 结束交易日(yyyymmdd)
  15934. type: string
  15935. enumdicname:
  15936. description: 单位名称
  15937. type: string
  15938. expresscompany:
  15939. description: 物流公司
  15940. type: string
  15941. expressnum:
  15942. description: 物流单号
  15943. type: string
  15944. minivalue:
  15945. description: 现货商品最小变动值
  15946. type: integer
  15947. optioncompare:
  15948. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15949. type: string
  15950. qty:
  15951. description: 数量
  15952. type: integer
  15953. userid:
  15954. description: 用户id
  15955. type: integer
  15956. warehouseid:
  15957. description: 仓库ID
  15958. type: integer
  15959. warehousename:
  15960. description: 仓库名称
  15961. type: string
  15962. wrfactortypeid:
  15963. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15964. type: string
  15965. wrfactortypename:
  15966. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15967. type: string
  15968. wrstandardcode:
  15969. description: 现货商品代码
  15970. type: string
  15971. wrstandardid:
  15972. description: 现货商品ID
  15973. type: integer
  15974. wrstandardname:
  15975. description: 商品名称
  15976. type: string
  15977. wrtypename:
  15978. description: 商品
  15979. type: string
  15980. type: object
  15981. models.WrPerformancePlan:
  15982. properties:
  15983. activatemonth:
  15984. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15985. type: string
  15986. amount:
  15987. description: 履约金额(总金额)
  15988. type: number
  15989. buyaccountid:
  15990. description: 买方账号
  15991. type: integer
  15992. buyerfreezeamount:
  15993. description: 履约冻结(买履约)
  15994. type: number
  15995. buyerfreezeamountremain:
  15996. description: 履约冻结剩余(买履约)
  15997. type: number
  15998. buyorsell:
  15999. description: 买卖方向 0-买 1-卖
  16000. type: integer
  16001. buypaidamount:
  16002. description: 买方已冻/已扣金额 (已付金额)
  16003. type: number
  16004. buyusername:
  16005. description: 买方名字
  16006. type: string
  16007. contractid:
  16008. description: 合同ID
  16009. type: integer
  16010. createtime:
  16011. description: 创建时间
  16012. type: string
  16013. creatorid:
  16014. description: 创建人
  16015. type: integer
  16016. curstepdeadline:
  16017. description: 当前步骤到期时间
  16018. type: string
  16019. curstepid:
  16020. description: 当前步骤ID
  16021. type: string
  16022. curstepname:
  16023. description: 当前步骤名称
  16024. type: string
  16025. deliverygoodscode:
  16026. description: 品种代码
  16027. type: string
  16028. deliverygoodsid:
  16029. description: 品种ID
  16030. type: integer
  16031. deliverygoodsname:
  16032. description: 品种名称
  16033. type: string
  16034. enumdicname:
  16035. description: 单位名称
  16036. type: string
  16037. expressfee:
  16038. description: 运费
  16039. type: number
  16040. expressfeeconfirmed:
  16041. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16042. type: integer
  16043. hasovershort:
  16044. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16045. type: integer
  16046. haswr:
  16047. description: 类型 0-仓单预售 1-仓单贸易
  16048. type: integer
  16049. marketid:
  16050. description: 市场ID
  16051. type: integer
  16052. middleaccountid:
  16053. description: 中间商资金账号ID
  16054. type: integer
  16055. middleuserid:
  16056. description: 中间商用户ID
  16057. type: integer
  16058. minivalue:
  16059. description: 现货商品最小变动值
  16060. type: integer
  16061. optioncompare:
  16062. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16063. type: string
  16064. overshortamount:
  16065. description: 溢短金额
  16066. type: number
  16067. overshortqty:
  16068. description: 溢短数量
  16069. type: number
  16070. paymenttype:
  16071. description: 付款方式 - 1:冻结 2:扣款
  16072. type: integer
  16073. performanceplanid:
  16074. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16075. type: string
  16076. performancestatus:
  16077. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16078. type: integer
  16079. performancetype:
  16080. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16081. type: integer
  16082. qty:
  16083. description: 履约数量
  16084. type: number
  16085. relatedorderid:
  16086. description: 关联单号(履约类型的关联单号)
  16087. type: string
  16088. remark:
  16089. description: 备注
  16090. type: string
  16091. sellaccountid:
  16092. description: 卖方账号
  16093. type: integer
  16094. sellerfreezeamount:
  16095. description: 履约冻结(卖履约)
  16096. type: number
  16097. sellerfreezeamountremain:
  16098. description: 履约冻结剩余(卖履约)
  16099. type: number
  16100. sellreceivedamount:
  16101. description: 卖方已收金额
  16102. type: number
  16103. sellusername:
  16104. description: 卖方名字
  16105. type: string
  16106. shipremark:
  16107. description: 发货备注[物流单号]
  16108. type: string
  16109. starttime:
  16110. description: 开始时间
  16111. type: string
  16112. steptypeid:
  16113. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16114. type: integer
  16115. typename:
  16116. description: 履约类型 名称
  16117. type: string
  16118. unpaidamount:
  16119. description: 剩余款(待支付金额)
  16120. type: number
  16121. userid:
  16122. description: 用户id
  16123. type: integer
  16124. warehouseid:
  16125. description: 仓库ID
  16126. type: integer
  16127. warehousename:
  16128. description: 仓库名称
  16129. type: string
  16130. wrfactortypeid:
  16131. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16132. type: string
  16133. wrfactortypename:
  16134. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16135. type: string
  16136. wrstandardcode:
  16137. description: 现货商品代码
  16138. type: string
  16139. wrstandardid:
  16140. description: 现货商品ID
  16141. type: integer
  16142. wrstandardname:
  16143. description: 商品名称
  16144. type: string
  16145. wrtransferuserid:
  16146. description: 仓单受让用户
  16147. type: integer
  16148. wrtypename:
  16149. description: 商品
  16150. type: string
  16151. required:
  16152. - userid
  16153. type: object
  16154. models.WrPerformancePlanStep:
  16155. properties:
  16156. delaydays:
  16157. description: 延期申请天数
  16158. type: integer
  16159. deliverygoodscode:
  16160. description: 品种代码
  16161. type: string
  16162. deliverygoodsid:
  16163. description: 品种ID
  16164. type: integer
  16165. deliverygoodsname:
  16166. description: 品种名称
  16167. type: string
  16168. endtime:
  16169. description: 结束日期
  16170. type: string
  16171. enumdicname:
  16172. description: 单位名称
  16173. type: string
  16174. executeside:
  16175. description: 步骤执行方 - 1:买方 2:卖方
  16176. type: integer
  16177. handlestatus:
  16178. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16179. type: integer
  16180. isauto:
  16181. description: 是否自动 - 0:不自动 1:自动
  16182. type: integer
  16183. islastreceivestep:
  16184. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16185. type: integer
  16186. minivalue:
  16187. description: 现货商品最小变动值
  16188. type: integer
  16189. optioncompare:
  16190. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16191. type: string
  16192. overdays:
  16193. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16194. type: integer
  16195. performancestepid:
  16196. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16197. type: string
  16198. planid:
  16199. description: 所属履约计划ID
  16200. type: string
  16201. realamount:
  16202. description: 实际完成金额
  16203. type: number
  16204. relatedorderid:
  16205. description: 关联单号
  16206. type: string
  16207. remaindays:
  16208. description: 剩余天数
  16209. type: integer
  16210. remark:
  16211. description: 错误备注
  16212. type: string
  16213. starttime:
  16214. description: 开始日期
  16215. type: string
  16216. stepamount:
  16217. description: 步骤金额
  16218. type: number
  16219. stepdays:
  16220. description: 距离上一步天数(分钟)
  16221. type: integer
  16222. stepindex:
  16223. description: 步骤序号
  16224. type: integer
  16225. steplanchtype:
  16226. description: 步骤启动类型 - 1:系统自动 2:手动
  16227. type: integer
  16228. stepremark:
  16229. description: 步骤备注
  16230. type: string
  16231. stepstatus:
  16232. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16233. type: integer
  16234. steptypeid:
  16235. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16236. type: integer
  16237. steptypename:
  16238. description: 步骤名称
  16239. type: string
  16240. stepvalue:
  16241. description: 步骤值
  16242. type: number
  16243. warehouseid:
  16244. description: 仓库ID
  16245. type: integer
  16246. warehousename:
  16247. description: 仓库名称
  16248. type: string
  16249. wrfactortypeid:
  16250. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16251. type: string
  16252. wrfactortypename:
  16253. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16254. type: string
  16255. wrstandardcode:
  16256. description: 现货商品代码
  16257. type: string
  16258. wrstandardid:
  16259. description: 现货商品ID
  16260. type: integer
  16261. wrstandardname:
  16262. description: 商品名称
  16263. type: string
  16264. wrtypename:
  16265. description: 商品
  16266. type: string
  16267. type: object
  16268. models.WrPerformanceStepType:
  16269. properties:
  16270. canauto:
  16271. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16272. type: integer
  16273. steptypeid:
  16274. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16275. type: integer
  16276. steptypename:
  16277. description: 步骤类型名称
  16278. type: string
  16279. type: object
  16280. models.WrPerformanceTemplateEx:
  16281. properties:
  16282. autoid:
  16283. description: AutoID 模板id
  16284. type: integer
  16285. createtime:
  16286. description: 创建时间
  16287. type: string
  16288. creatorid:
  16289. description: 创建人
  16290. type: integer
  16291. lstStep:
  16292. description: 步骤信息列表
  16293. items:
  16294. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16295. type: array
  16296. paymenttype:
  16297. description: 支付方式 - 1:冻结 2:扣款
  16298. type: integer
  16299. takemode:
  16300. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16301. type: integer
  16302. templatename:
  16303. description: 模板名称
  16304. type: string
  16305. templatetype:
  16306. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16307. type: integer
  16308. userid:
  16309. description: 所属用户
  16310. type: integer
  16311. type: object
  16312. models.WrPosition:
  16313. properties:
  16314. accountid:
  16315. description: 帐户ID
  16316. type: integer
  16317. buyexcuteqty:
  16318. description: 采购履约中数量
  16319. type: number
  16320. creditcurqty:
  16321. description: 授信当前数量(预售仓单:预售当前量)
  16322. type: number
  16323. creditenableqty:
  16324. description: '授信可用数量(预售仓单: 可用数量)'
  16325. type: number
  16326. creditfreezeqty:
  16327. description: '授信冻结数量(预售仓单: 当前数量)'
  16328. type: number
  16329. credittotalqty:
  16330. description: 授信总数量(预售仓单:预售总量)
  16331. type: number
  16332. credittradeqty:
  16333. description: 授信成交数量(预售仓单:成交总量)
  16334. type: number
  16335. deliverygoodscode:
  16336. description: 品种代码
  16337. type: string
  16338. deliverygoodsid:
  16339. description: 品种ID
  16340. type: integer
  16341. deliverygoodsname:
  16342. description: 品种名称
  16343. type: string
  16344. enalbeqty:
  16345. description: 可用数量
  16346. type: number
  16347. enumdicname:
  16348. description: 单位名称
  16349. type: string
  16350. freezeqty:
  16351. description: 总冻结数量
  16352. type: number
  16353. haswr:
  16354. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16355. type: integer
  16356. minivalue:
  16357. description: 现货商品最小变动值
  16358. type: integer
  16359. modifytime:
  16360. description: 修改时间(过户时间)
  16361. type: string
  16362. optioncompare:
  16363. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16364. type: string
  16365. pledgeqty:
  16366. description: 质押数量
  16367. type: number
  16368. querytype:
  16369. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16370. type: integer
  16371. sellexcuteqty:
  16372. description: 销售履约中数量
  16373. type: number
  16374. totalqty:
  16375. description: 总数量(库存数量)
  16376. type: number
  16377. warehouseid:
  16378. description: 仓库ID
  16379. type: integer
  16380. warehousename:
  16381. description: 仓库名称
  16382. type: string
  16383. wrfactortypeid:
  16384. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16385. type: string
  16386. wrfactortypename:
  16387. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16388. type: string
  16389. wrpositionid:
  16390. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16391. type: string
  16392. wrpositionno:
  16393. description: 仓单编号
  16394. type: string
  16395. wrstandardcode:
  16396. description: 现货商品代码
  16397. type: string
  16398. wrstandardid:
  16399. description: 现货商品ID
  16400. type: integer
  16401. wrstandardname:
  16402. description: 商品名称
  16403. type: string
  16404. wrtypename:
  16405. description: 商品
  16406. type: string
  16407. wruserid:
  16408. description: 持有人ID
  16409. type: integer
  16410. type: object
  16411. models.WrQuoteOrderMyq:
  16412. properties:
  16413. buyorsell:
  16414. description: 买卖 - 0:买 1:卖
  16415. type: integer
  16416. canbargain:
  16417. description: 是否可议价 - 0:不可 1:可
  16418. type: integer
  16419. canpart:
  16420. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16421. type: integer
  16422. delistminqty:
  16423. description: 起摘数量
  16424. type: number
  16425. deliverygoodscode:
  16426. description: 品种代码
  16427. type: string
  16428. deliverygoodsid:
  16429. description: 品种ID
  16430. type: integer
  16431. deliverygoodsname:
  16432. description: 品种名称
  16433. type: string
  16434. deliverymonth:
  16435. description: 交收月
  16436. type: string
  16437. enumdicname:
  16438. description: 单位名称
  16439. type: string
  16440. fixedprice:
  16441. description: 买(卖)价
  16442. type: number
  16443. goodscode:
  16444. description: 商品合约代码
  16445. type: string
  16446. marginflag:
  16447. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16448. type: integer
  16449. marginvalue:
  16450. description: 保证金设置值
  16451. type: number
  16452. minivalue:
  16453. description: 现货商品最小变动值
  16454. type: integer
  16455. orderqty:
  16456. description: 买(卖)量(=委托量-成交量)
  16457. type: number
  16458. ordertime:
  16459. description: 委托时间
  16460. type: string
  16461. performancetemplateid:
  16462. description: 履约模板id
  16463. type: integer
  16464. pricemove:
  16465. description: 买(卖)升贴水- 基差
  16466. type: number
  16467. templatename:
  16468. description: 履约模板名称
  16469. type: string
  16470. userid:
  16471. description: 购买方(销售方)用户ID
  16472. type: integer
  16473. username:
  16474. description: 购买方(销售方)
  16475. type: string
  16476. validtime:
  16477. description: 有效期限
  16478. type: string
  16479. validtype:
  16480. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16481. type: integer
  16482. warehousename:
  16483. description: 仓库名称
  16484. type: string
  16485. wrfactortypeid:
  16486. description: 仓单要素id
  16487. type: string
  16488. wrstandardcode:
  16489. description: 现货商品代码
  16490. type: string
  16491. wrstandardid:
  16492. description: 现货商品ID
  16493. type: integer
  16494. wrstandardname:
  16495. description: 商品名称
  16496. type: string
  16497. wrtradeorderid:
  16498. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16499. type: string
  16500. wrtypename:
  16501. description: 商品
  16502. type: string
  16503. type: object
  16504. models.WrScfContract:
  16505. properties:
  16506. borroweruserid:
  16507. description: 借款用户ID
  16508. type: integer
  16509. buybackwrpositionqty:
  16510. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16511. type: number
  16512. closeinterest:
  16513. description: 已结利息 -> 已结费用
  16514. type: number
  16515. currisklevel:
  16516. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16517. type: integer
  16518. deadline:
  16519. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16520. type: string
  16521. deliverygoodscode:
  16522. description: 品种代码
  16523. type: string
  16524. deliverygoodsid:
  16525. description: 品种ID
  16526. type: integer
  16527. deliverygoodsname:
  16528. description: 品种名称
  16529. type: string
  16530. enumdicname:
  16531. description: 单位名称
  16532. type: string
  16533. financingdays:
  16534. description: 天数(天)
  16535. type: integer
  16536. initmargin:
  16537. description: 保证金 - [仓单回购]
  16538. type: number
  16539. interestamount:
  16540. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16541. type: number
  16542. interestdebt:
  16543. description: 利息欠款(记录负数) -> 费用欠款
  16544. type: number
  16545. interestminlen:
  16546. description: 最小起息天数
  16547. type: integer
  16548. interestrate:
  16549. description: 利率
  16550. type: number
  16551. interestratemode:
  16552. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16553. type: integer
  16554. interestsettlemode:
  16555. description: 结息方式 - 1:按日结息 3:按月结息
  16556. type: integer
  16557. interestsettlevalue:
  16558. description: 结息方式值
  16559. type: integer
  16560. isautoloan:
  16561. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16562. type: integer
  16563. lastcloseinterestday:
  16564. description: 最近结息日(yyyyMMdd)
  16565. type: string
  16566. lenderamount:
  16567. description: 贷款金额 -> 借款金额
  16568. type: number
  16569. lenderuserid:
  16570. description: 贷款方用户ID -> 融出方用户ID
  16571. type: integer
  16572. lenderusername:
  16573. description: 融出方
  16574. type: string
  16575. marginratio:
  16576. description: 保证金比率质押率 - [仓单质押]
  16577. type: number
  16578. marketid:
  16579. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16580. type: integer
  16581. minivalue:
  16582. description: 现货商品最小变动值
  16583. type: integer
  16584. optioncompare:
  16585. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16586. type: string
  16587. pricemove:
  16588. description: 估值升贴水值
  16589. type: number
  16590. productdetailid:
  16591. description: 产品组合ID
  16592. type: integer
  16593. productid:
  16594. description: 金融产品ID
  16595. type: integer
  16596. productname:
  16597. description: 产品名称
  16598. type: string
  16599. remainamount:
  16600. description: 合同剩余金额 -> 剩余金额
  16601. type: number
  16602. remainwrpositionqty:
  16603. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16604. type: number
  16605. remark:
  16606. description: 备注
  16607. type: string
  16608. scfcontractid:
  16609. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16610. type: string
  16611. scfcontractstatus:
  16612. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16613. type: integer
  16614. scfcontracttype:
  16615. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16616. type: integer
  16617. startinterestday:
  16618. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16619. type: string
  16620. totalinterest:
  16621. description: 已计利息 -> 已计费用
  16622. type: number
  16623. unpaidinterest:
  16624. description: 未结费用
  16625. type: number
  16626. updatetime:
  16627. description: 更新时间
  16628. type: string
  16629. warehouseid:
  16630. description: 仓库ID
  16631. type: integer
  16632. warehousename:
  16633. description: 仓库名称
  16634. type: string
  16635. wrfactortypeid:
  16636. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16637. type: string
  16638. wrfactortypename:
  16639. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16640. type: string
  16641. wrqty:
  16642. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16643. type: number
  16644. wrstandardcode:
  16645. description: 现货商品代码
  16646. type: string
  16647. wrstandardid:
  16648. description: 现货商品ID
  16649. type: integer
  16650. wrstandardname:
  16651. description: 商品名称
  16652. type: string
  16653. wrtypename:
  16654. description: 商品
  16655. type: string
  16656. type: object
  16657. models.WrScfContractInterest:
  16658. properties:
  16659. closeinterest:
  16660. description: 已结利息
  16661. type: number
  16662. closeintereststatus:
  16663. description: 结息状态 - 1:未结 2:已结
  16664. type: integer
  16665. closetime:
  16666. description: 结息时间
  16667. type: string
  16668. closetradedate:
  16669. description: 结息交易日
  16670. type: string
  16671. creatorid:
  16672. description: 操作人ID
  16673. type: integer
  16674. dayrate:
  16675. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16676. type: number
  16677. interest:
  16678. description: 利息
  16679. type: number
  16680. interestamount:
  16681. description: 计息金额
  16682. type: number
  16683. interestday:
  16684. description: 计息日(yyyyMMdd)
  16685. type: string
  16686. scfcontractid:
  16687. description: SCF合同ID
  16688. type: string
  16689. scfcontractinterestid:
  16690. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16691. type: integer
  16692. updatetime:
  16693. description: 更新时间
  16694. type: string
  16695. type: object
  16696. models.WrSiteColumnDetail:
  16697. properties:
  16698. brief:
  16699. description: 简介
  16700. type: string
  16701. context:
  16702. description: 内容
  16703. type: string
  16704. coverimage:
  16705. description: 封面图片
  16706. type: string
  16707. creaedate:
  16708. description: 创建时间
  16709. type: string
  16710. id:
  16711. description: ID(SEQ_SITE_COLUMNDETAIL)
  16712. type: integer
  16713. istop:
  16714. description: 是否置顶 - 0:不置 1:置顶
  16715. type: integer
  16716. publishdate:
  16717. description: 发布日期
  16718. type: string
  16719. title:
  16720. description: 标题
  16721. type: string
  16722. updatedate:
  16723. description: 修改时间
  16724. type: string
  16725. type: object
  16726. models.WrSpecialMatchOrder:
  16727. properties:
  16728. amount:
  16729. description: 金额 = 数量 * 价格
  16730. type: number
  16731. buyorsell:
  16732. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16733. type: integer
  16734. cancelqty:
  16735. description: 撤销数量
  16736. type: number
  16737. deliverygoodscode:
  16738. description: 品种代码
  16739. type: string
  16740. deliverygoodsid:
  16741. description: 品种ID
  16742. type: integer
  16743. deliverygoodsname:
  16744. description: 品种名称
  16745. type: string
  16746. enumdicname:
  16747. description: 单位名称
  16748. type: string
  16749. fixedprice:
  16750. description: 固定价格(价格)
  16751. type: number
  16752. haswr:
  16753. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16754. type: integer
  16755. isspecified:
  16756. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16757. type: integer
  16758. marketid:
  16759. description: 市场ID
  16760. type: integer
  16761. matchuserid:
  16762. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16763. type: integer
  16764. matchusername:
  16765. description: 指定方
  16766. type: string
  16767. minivalue:
  16768. description: 现货商品最小变动值
  16769. type: integer
  16770. optioncompare:
  16771. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16772. type: string
  16773. orderqty:
  16774. description: 委托数量
  16775. type: number
  16776. ordertime:
  16777. description: 委托时间
  16778. type: string
  16779. pricemove:
  16780. description: 升贴水(浮动价时填写) - [挂牌]
  16781. type: number
  16782. tradedate:
  16783. description: 交易日(yyyyMMdd)
  16784. type: string
  16785. tradeprice:
  16786. description: 成交价格
  16787. type: number
  16788. tradeqty:
  16789. description: 成交数量
  16790. type: number
  16791. userid:
  16792. description: 用户ID
  16793. type: integer
  16794. username:
  16795. description: 发起方
  16796. type: string
  16797. warehouseid:
  16798. description: 仓库ID
  16799. type: integer
  16800. warehousename:
  16801. description: 仓库名称
  16802. type: string
  16803. wrfactortypeid:
  16804. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16805. type: string
  16806. wrfactortypename:
  16807. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16808. type: string
  16809. wrpricetype:
  16810. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16811. type: integer
  16812. wrstandardcode:
  16813. description: 现货商品代码
  16814. type: string
  16815. wrstandardid:
  16816. description: 现货商品ID
  16817. type: integer
  16818. wrstandardname:
  16819. description: 商品名称
  16820. type: string
  16821. wrtradeorderid:
  16822. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16823. type: string
  16824. wrtradeorderstatus:
  16825. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16826. type: integer
  16827. wrtradetype:
  16828. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16829. type: integer
  16830. wrtypename:
  16831. description: 商品
  16832. type: string
  16833. type: object
  16834. models.WrSpotGroupTradeSum:
  16835. properties:
  16836. deliverygoodscode:
  16837. description: 现货品种代码
  16838. type: string
  16839. deliverygoodsid:
  16840. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16841. type: integer
  16842. deliverygoodsname:
  16843. description: 现货品种名称
  16844. type: string
  16845. lastavgprice:
  16846. description: 上上个交易日价格(前2天价格)
  16847. type: string
  16848. lastreckondate:
  16849. description: 上上个交易日(前2天交易日)
  16850. type: string
  16851. reckondate:
  16852. description: 上个交易日(前1天交易日)
  16853. type: string
  16854. todayavgprice:
  16855. description: 上个交易日价格(前1天价格)
  16856. type: string
  16857. updown:
  16858. description: 涨跌
  16859. type: string
  16860. updownratio:
  16861. description: 涨幅(已格式化, 直接显示即可)
  16862. type: string
  16863. type: object
  16864. models.WrSpotGroupTradeSumDetail:
  16865. properties:
  16866. deliverygoodsid:
  16867. description: 现货商品id
  16868. type: integer
  16869. price:
  16870. description: 价格
  16871. type: number
  16872. reckondate:
  16873. description: 日期(yyymmdd, 如:20211031)
  16874. type: string
  16875. type: object
  16876. models.WrSpotGroupTradeSumEx:
  16877. properties:
  16878. lst:
  16879. description: 指数列表
  16880. items:
  16881. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16882. type: array
  16883. prereckondate:
  16884. description: 上上个交易日(yyymmdd)
  16885. type: string
  16886. reckondate:
  16887. description: 上个交易日(yyyymmdd)
  16888. type: string
  16889. type: object
  16890. models.WrStandardFactoryItem:
  16891. properties:
  16892. dgfactoryitemid:
  16893. description: 选择项id
  16894. type: integer
  16895. dgfactoryitemvalue:
  16896. description: 要素项值
  16897. type: string
  16898. warehouseid:
  16899. description: 仓库id
  16900. type: integer
  16901. type: object
  16902. models.WrStandardFactoryItemEx:
  16903. properties:
  16904. dgfactoryitemtypeid:
  16905. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16906. type: integer
  16907. itemlst:
  16908. description: 要素项列表
  16909. items:
  16910. $ref: '#/definitions/models.WrStandardFactoryItem'
  16911. type: array
  16912. itemtypename:
  16913. description: 要素项类型名称
  16914. type: string
  16915. wrstandardid:
  16916. description: 品类
  16917. type: integer
  16918. type: object
  16919. models.WrTradeDetail:
  16920. properties:
  16921. accountid:
  16922. description: 资金账号
  16923. type: integer
  16924. begindate:
  16925. description: 开始交易日(yyyymmdd)
  16926. type: string
  16927. buyorsell:
  16928. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16929. type: integer
  16930. chargevalue:
  16931. description: 手续费
  16932. type: number
  16933. deliverygoodscode:
  16934. description: 品种代码
  16935. type: string
  16936. deliverygoodsid:
  16937. description: 品种ID
  16938. type: integer
  16939. deliverygoodsname:
  16940. description: 品种名称
  16941. type: string
  16942. deliverymonth:
  16943. description: 交收月
  16944. type: string
  16945. enddate:
  16946. description: 结束交易日(yyyymmdd)
  16947. type: string
  16948. enumdicname:
  16949. description: 单位名称
  16950. type: string
  16951. haswr:
  16952. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16953. type: integer
  16954. marketid:
  16955. description: 市场ID
  16956. type: integer
  16957. matchaccountid:
  16958. description: 对手账号
  16959. type: integer
  16960. matchusername:
  16961. description: 对手方
  16962. type: string
  16963. minivalue:
  16964. description: 现货商品最小变动值
  16965. type: integer
  16966. optioncompare:
  16967. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16968. type: string
  16969. tradedate:
  16970. description: 交易日(yyyyMMdd)
  16971. type: string
  16972. tradeprice:
  16973. description: 成交价格
  16974. type: number
  16975. tradeqty:
  16976. description: 成交数量
  16977. type: number
  16978. tradetime:
  16979. description: 成交时间
  16980. type: string
  16981. userid:
  16982. description: 用户ID
  16983. type: integer
  16984. warehouseid:
  16985. description: 仓库ID
  16986. type: integer
  16987. warehousename:
  16988. description: 仓库名称
  16989. type: string
  16990. wrfactortypeid:
  16991. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16992. type: string
  16993. wrfactortypename:
  16994. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16995. type: string
  16996. wrstandardcode:
  16997. description: 现货商品代码
  16998. type: string
  16999. wrstandardid:
  17000. description: 现货商品ID
  17001. type: integer
  17002. wrstandardname:
  17003. description: 商品名称
  17004. type: string
  17005. wrtradedetailid:
  17006. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17007. type: string
  17008. wrtradetype:
  17009. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17010. type: integer
  17011. wrtypename:
  17012. description: 商品
  17013. type: string
  17014. type: object
  17015. models.WrTradeOrderDetail:
  17016. properties:
  17017. buyorsell:
  17018. description: 买卖方向 0-买 1-卖
  17019. type: integer
  17020. goodsid:
  17021. description: 商品id
  17022. type: integer
  17023. orderid:
  17024. description: 委托单号
  17025. type: string
  17026. orderprice:
  17027. description: 委托价格
  17028. type: number
  17029. orderqty:
  17030. description: 委托数量
  17031. type: integer
  17032. userid:
  17033. description: 用户id
  17034. type: integer
  17035. username:
  17036. description: 用户名称(已脱敏)
  17037. type: string
  17038. type: object
  17039. models.WrTypeItem:
  17040. properties:
  17041. name:
  17042. description: 名称
  17043. type: string
  17044. value:
  17045. description: 值
  17046. type: string
  17047. type: object
  17048. models.WrUserFriend:
  17049. properties:
  17050. friendname:
  17051. description: 朋友名称(已脱敏)
  17052. type: string
  17053. frienduserid:
  17054. description: 朋友id
  17055. type: integer
  17056. isfriend:
  17057. description: 是否好友 0-不是 1-是
  17058. type: integer
  17059. userid:
  17060. description: 用户id
  17061. type: integer
  17062. type: object
  17063. models.WrUserReceiptInfo:
  17064. properties:
  17065. address:
  17066. description: 地址[发票类型:企业]
  17067. type: string
  17068. autoid:
  17069. description: AutoID
  17070. type: integer
  17071. contactinfo:
  17072. description: 联系方式
  17073. type: string
  17074. idnum:
  17075. description: 身份证号码[发票类型:个人]
  17076. type: string
  17077. isdefault:
  17078. description: 是否默认地址 - 0:否 1:是
  17079. type: integer
  17080. receiptaccount:
  17081. description: 发票帐号[发票类型:企业]
  17082. type: string
  17083. receiptbank:
  17084. description: 发票开户行[发票类型:企业]
  17085. type: string
  17086. receipttype:
  17087. description: 发票类型 - 1:个人 2:企业
  17088. type: integer
  17089. taxpayerid:
  17090. description: 纳税人识别号
  17091. type: string
  17092. userid:
  17093. description: 用户ID
  17094. type: integer
  17095. username:
  17096. description: 户名(个人姓名或企业名称)
  17097. type: string
  17098. type: object
  17099. models.XHBRAND:
  17100. properties:
  17101. brandid:
  17102. description: 品牌id
  17103. type: integer
  17104. brandname:
  17105. description: 品牌名称
  17106. type: string
  17107. isvalid:
  17108. description: 是否有效 0-无效 1-有效
  17109. type: integer
  17110. type: object
  17111. models.XHDeliveryGoods:
  17112. properties:
  17113. areauserid:
  17114. description: 所属机构
  17115. type: integer
  17116. bdlst:
  17117. description: 品牌列表
  17118. items:
  17119. $ref: '#/definitions/models.XHBRAND'
  17120. type: array
  17121. deliverygoodscode:
  17122. description: 现货品种代码
  17123. type: string
  17124. deliverygoodsid:
  17125. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17126. type: integer
  17127. deliverygoodsname:
  17128. description: 现货品种名称
  17129. type: string
  17130. dgstatus:
  17131. description: 品种状态 - 作废 - 0:未激活 1:正常
  17132. type: integer
  17133. isvalid:
  17134. description: 是否有效 - 0:无效 1:有效
  17135. type: integer
  17136. remark:
  17137. description: 备注
  17138. type: string
  17139. unitid:
  17140. description: 单位id(目前看,数据库中是空值)
  17141. type: integer
  17142. wdlst:
  17143. description: 品类(现货商品)列表
  17144. items:
  17145. $ref: '#/definitions/models.XHWrstandard'
  17146. type: array
  17147. type: object
  17148. models.XHMiddleGoods:
  17149. properties:
  17150. GPLST:
  17151. description: 期货品种列表
  17152. items:
  17153. $ref: '#/definitions/models.TBGoodsGroup'
  17154. type: array
  17155. convertratio:
  17156. description: 拆算系数
  17157. type: number
  17158. costratio:
  17159. description: 成本权重
  17160. type: number
  17161. deliverygoodsid:
  17162. description: 现货商品id
  17163. type: integer
  17164. enumdicname:
  17165. description: 单位名称
  17166. type: string
  17167. middlegoodscode:
  17168. description: 套保品种代码
  17169. type: string
  17170. middlegoodsid:
  17171. description: 套保品种id
  17172. type: integer
  17173. middlegoodsname:
  17174. description: 套保品种名称
  17175. type: string
  17176. unitid:
  17177. description: 单位id
  17178. type: integer
  17179. type: object
  17180. models.XHWrstandard:
  17181. properties:
  17182. deliverygoodsid:
  17183. description: 品种ID
  17184. type: integer
  17185. enumdicname:
  17186. description: 单位名称
  17187. type: string
  17188. mglst:
  17189. description: 套保品列表
  17190. items:
  17191. $ref: '#/definitions/models.XHMiddleGoods'
  17192. type: array
  17193. unitid:
  17194. description: 单位id
  17195. type: integer
  17196. vatrate:
  17197. description: 增值税率
  17198. type: number
  17199. wrstandardcode:
  17200. description: 现货商品代码
  17201. type: string
  17202. wrstandardid:
  17203. description: 现货商品ID(SEQ_WRSTANDARD)
  17204. type: integer
  17205. wrstandardname:
  17206. description: 现货商品名称
  17207. type: string
  17208. type: object
  17209. order.QueryHisTradeDetailRsp:
  17210. properties:
  17211. accountid:
  17212. description: 账户ID[报价币种]
  17213. type: integer
  17214. advanceratio:
  17215. description: 首付比率
  17216. type: number
  17217. buildtype:
  17218. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17219. type: integer
  17220. buyorsell:
  17221. description: 方向 - 0:买 1:卖
  17222. type: integer
  17223. charge:
  17224. description: 手续费
  17225. type: number
  17226. closecharge:
  17227. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17228. type: number
  17229. closeexchagechargevalue:
  17230. description: 平仓交易所手续费设置值
  17231. type: number
  17232. closefeealgorithm:
  17233. description: 平仓手续费收取方式 1:比率 2:固定
  17234. type: integer
  17235. closememberchargevalue:
  17236. description: 平仓会员手续费设置值
  17237. type: number
  17238. closepl:
  17239. description: 平仓盈亏
  17240. type: number
  17241. closepl2:
  17242. description: 平仓盈亏[逐笔]
  17243. type: number
  17244. closeqty:
  17245. description: 平仓数量(先建后平操作 需要记录)
  17246. type: number
  17247. creditamount:
  17248. description: 授信金额
  17249. type: number
  17250. decimalplace:
  17251. description: 商品报价小数位
  17252. type: integer
  17253. enumdicname:
  17254. description: 单位名称
  17255. type: string
  17256. gcaccountid:
  17257. description: 账户ID[合约币种]
  17258. type: integer
  17259. goodscode:
  17260. description: 商品代码
  17261. type: string
  17262. goodsid:
  17263. description: 商品ID
  17264. type: integer
  17265. goodsname:
  17266. description: 商品名称
  17267. type: string
  17268. goodunitid:
  17269. description: 商品单位id
  17270. type: integer
  17271. histradedate:
  17272. description: 历史交易日
  17273. type: string
  17274. intclosepl:
  17275. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17276. type: integer
  17277. isconfirmexercise:
  17278. description: 是否确认行权- 0:否 1:是
  17279. type: integer
  17280. ismain:
  17281. description: 是否主单 - 0:不是 1:是
  17282. type: integer
  17283. ispreexercise:
  17284. description: 是否预申报- 0:否 1:是
  17285. type: integer
  17286. isreckoned:
  17287. description: 是否结算 - 0:未结算 1:已结算
  17288. type: integer
  17289. isvaliddata:
  17290. description: 是否有效 - 0:无效 1:有效
  17291. type: integer
  17292. listingselecttype:
  17293. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17294. type: integer
  17295. marketid:
  17296. description: 市场ID
  17297. type: integer
  17298. marketname:
  17299. description: 市场名称
  17300. type: string
  17301. matchaccountid:
  17302. description: 对手账号id
  17303. type: integer
  17304. memberuserid:
  17305. description: 会员id 个人投资者 需要填写
  17306. type: integer
  17307. opencharge:
  17308. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17309. type: number
  17310. openexchagechargevalue:
  17311. description: 建仓交易所手续费设置值
  17312. type: number
  17313. openfeealgorithm:
  17314. description: 建仓手续费收取方式 1:比率 2:固定
  17315. type: integer
  17316. openmemberchargevalue:
  17317. description: 建仓会员手续费设置值
  17318. type: number
  17319. openqty:
  17320. description: 开仓数量(先建后平操作 需要记录)
  17321. type: number
  17322. optiontype:
  17323. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17324. type: integer
  17325. orderid:
  17326. description: 委托单号
  17327. type: string
  17328. payamount:
  17329. description: 支付金额(付款金额)
  17330. type: number
  17331. performanceplanid:
  17332. description: 履约计划ID[期权]
  17333. type: integer
  17334. performancestatus:
  17335. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17336. type: integer
  17337. preexerciseprice:
  17338. description: 预申报价格
  17339. type: number
  17340. premium:
  17341. description: 权利金 - [持仓单的权利金]
  17342. type: number
  17343. qtydecimalplace:
  17344. description: 商品报价小数位
  17345. type: integer
  17346. recvamount:
  17347. description: 到账金额 = 成交金额 - 手续费
  17348. type: number
  17349. relatedouttradeid:
  17350. description: 关联外部成交单ID
  17351. type: integer
  17352. status:
  17353. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17354. type: integer
  17355. totalamount:
  17356. description: 订单总额 = 成交金额 + 手续费
  17357. type: number
  17358. tradeamount:
  17359. description: 成交金额[账户币种,用于所有权]
  17360. type: number
  17361. tradedate:
  17362. description: 交易日(yyyyMMdd)
  17363. type: string
  17364. tradeid:
  17365. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17366. type: string
  17367. trademode:
  17368. description: 交易模式
  17369. type: integer
  17370. tradeprice:
  17371. description: 成交价格
  17372. type: number
  17373. tradeproperty:
  17374. description: 交易属性
  17375. type: integer
  17376. tradeqty:
  17377. description: 成交数量
  17378. type: number
  17379. tradetime:
  17380. description: 成交时间
  17381. type: string
  17382. tradetype:
  17383. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17384. type: integer
  17385. required:
  17386. - accountid
  17387. - buyorsell
  17388. - goodsid
  17389. - histradedate
  17390. - marketid
  17391. - memberuserid
  17392. - orderid
  17393. - tradeamount
  17394. - tradedate
  17395. - tradeid
  17396. - tradeprice
  17397. - tradeqty
  17398. - tradetime
  17399. type: object
  17400. order.QueryHisTradeOrderDetailRsp:
  17401. properties:
  17402. accountid:
  17403. description: 账户ID[报价币种]
  17404. type: integer
  17405. buildtype:
  17406. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17407. type: integer
  17408. buyorsell:
  17409. description: 买卖 - 0:买 1:卖
  17410. type: integer
  17411. cancelorderid:
  17412. description: 撤单单号(撤单时填写)
  17413. type: string
  17414. cancelqty:
  17415. description: 撤单数量
  17416. type: number
  17417. clientordertime:
  17418. description: 客户端委托时间
  17419. type: string
  17420. clientticket:
  17421. description: 客户端流水号
  17422. type: string
  17423. clienttype:
  17424. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17425. type: integer
  17426. closeexchagechargevalue:
  17427. description: 平仓交易所手续费设置值
  17428. type: number
  17429. closefeealgorithm:
  17430. description: 平仓手续费收取方式 1:比率 2:固定
  17431. type: integer
  17432. closefreezecharge:
  17433. description: 平仓冻结手续费(先建后平操作,需要记录)
  17434. type: number
  17435. closememberchargevalue:
  17436. description: 平仓会员手续费设置值
  17437. type: number
  17438. closeqty:
  17439. description: 平仓数量(先建后平操作 需要记录)
  17440. type: number
  17441. closetradeqty:
  17442. description: 平仓成交数量(先建后平操作,需要记录)
  17443. type: number
  17444. closeunfreezecharge:
  17445. description: 平仓解冻手续费(先建后平操作,需要记录)
  17446. type: number
  17447. decimalplace:
  17448. description: 商品报价小数位
  17449. type: integer
  17450. delistingtype:
  17451. description: 摘牌类型 - 1:价格最优 2:点选成交
  17452. type: integer
  17453. enumdicname:
  17454. description: 单位名称
  17455. type: string
  17456. freezecharge:
  17457. description: 冻结手续费
  17458. type: number
  17459. freezemargin:
  17460. description: 冻结保证金(冻结交易金额)
  17461. type: number
  17462. gcaccountid:
  17463. description: 账户ID[合约币种]
  17464. type: integer
  17465. goodscode:
  17466. description: 商品代码
  17467. type: string
  17468. goodsid:
  17469. description: 商品ID
  17470. type: integer
  17471. goodsname:
  17472. description: 商品名称
  17473. type: string
  17474. goodunitid:
  17475. description: 商品单位id
  17476. type: integer
  17477. histradedate:
  17478. description: 历史交易日
  17479. type: string
  17480. isconfirmexercise:
  17481. description: 是否确认行权- 0:否 1:是
  17482. type: integer
  17483. ispreexercise:
  17484. description: 是否预申报- 0:否 1:是
  17485. type: integer
  17486. isvaliddata:
  17487. description: 是否有效 - 0:无效 1:有效
  17488. type: integer
  17489. listingselecttype:
  17490. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17491. type: integer
  17492. marginalgorithm:
  17493. description: 保证金收取方式 1:比率 2:固定
  17494. type: integer
  17495. marginvalue:
  17496. description: 即市保证金设置值
  17497. type: number
  17498. marketid:
  17499. description: 市场ID
  17500. type: integer
  17501. marketmaxsub:
  17502. description: 市价最大偏移范围
  17503. type: number
  17504. marketname:
  17505. description: 市场名称
  17506. type: string
  17507. memberuserid:
  17508. description: 所属会员UserID
  17509. type: integer
  17510. openexchagechargevalue:
  17511. description: 建仓交易所手续费设置值
  17512. type: number
  17513. openfeealgorithm:
  17514. description: 建仓手续费收取方式 1:比率 2:固定
  17515. type: integer
  17516. openfreezecharge:
  17517. description: 开仓冻结手续费(先建后平操作,需要记录)
  17518. type: number
  17519. openmemberchargevalue:
  17520. description: 建仓会员手续费设置值
  17521. type: number
  17522. openqty:
  17523. description: 开仓数量(先建后平操作,需要记录)
  17524. type: number
  17525. opentradeqty:
  17526. description: 开仓成交数量(先建后平操作,需要记录)
  17527. type: number
  17528. openunfreezecharge:
  17529. description: 开仓解冻手续费(先建后平操作,需要记录)
  17530. type: number
  17531. operatetype:
  17532. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17533. type: integer
  17534. operatorid:
  17535. description: 登录账号(LoginID)
  17536. type: integer
  17537. optiontype:
  17538. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17539. type: integer
  17540. orderid:
  17541. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17542. type: string
  17543. orderprice:
  17544. description: 委托价格
  17545. type: number
  17546. orderqty:
  17547. description: 委托数量
  17548. type: number
  17549. ordersrc:
  17550. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17551. type: integer
  17552. orderstatus:
  17553. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17554. type: integer
  17555. ordertime:
  17556. description: 委托时间
  17557. type: string
  17558. preexerciseprice:
  17559. description: 预申报价格
  17560. type: number
  17561. premium:
  17562. description: 权利金
  17563. type: number
  17564. preorderid:
  17565. description: 关联预埋单号(止盈止损单时填写)
  17566. type: string
  17567. pricemode:
  17568. description: '取价方式 - 1:市价 2: 限价'
  17569. type: integer
  17570. qtydecimalplace:
  17571. description: 成交量小数位
  17572. type: integer
  17573. quoteid:
  17574. description: 报价单ID
  17575. type: integer
  17576. relatedid:
  17577. description: 关联单号(交割单)
  17578. type: string
  17579. retcode:
  17580. description: 错误代码
  17581. type: integer
  17582. sessionid:
  17583. description: 会话ID
  17584. type: integer
  17585. tradedate:
  17586. description: 交易日(yyyyMMdd)
  17587. type: string
  17588. trademode:
  17589. description: 交易模式
  17590. type: integer
  17591. tradeproperty:
  17592. description: 交易属性
  17593. type: integer
  17594. tradeqty:
  17595. description: 成交数量
  17596. type: number
  17597. unfreezecharge:
  17598. description: 解冻手续费
  17599. type: number
  17600. unfreezemargin:
  17601. description: 解冻保证金
  17602. type: number
  17603. updatetime:
  17604. description: 更新时间
  17605. type: string
  17606. uuid:
  17607. description: 发起端唯一id
  17608. type: string
  17609. validtime:
  17610. description: 有效期限
  17611. type: string
  17612. validtype:
  17613. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17614. type: integer
  17615. volumetype:
  17616. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17617. type: integer
  17618. required:
  17619. - accountid
  17620. - buildtype
  17621. - buyorsell
  17622. - goodsid
  17623. - histradedate
  17624. - marketid
  17625. - memberuserid
  17626. - operatetype
  17627. - orderid
  17628. - orderqty
  17629. - ordertime
  17630. - pricemode
  17631. - tradedate
  17632. - validtype
  17633. type: object
  17634. order.QueryTradeDetailRsp:
  17635. properties:
  17636. accountid:
  17637. description: 账户ID[报价币种]
  17638. type: integer
  17639. advanceratio:
  17640. description: 首付比率
  17641. type: number
  17642. buildtype:
  17643. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17644. type: integer
  17645. buyorsell:
  17646. description: 方向 - 0:买 1:卖
  17647. type: integer
  17648. charge:
  17649. description: 手续费
  17650. type: number
  17651. closecharge:
  17652. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17653. type: number
  17654. closeexchagechargevalue:
  17655. description: 平仓交易所手续费设置值
  17656. type: number
  17657. closefeealgorithm:
  17658. description: 平仓手续费收取方式 1:比率 2:固定
  17659. type: integer
  17660. closememberchargevalue:
  17661. description: 平仓会员手续费设置值
  17662. type: number
  17663. closepl:
  17664. description: 平仓盈亏
  17665. type: number
  17666. closepl2:
  17667. description: 平仓盈亏[逐笔]
  17668. type: number
  17669. closeqty:
  17670. description: 平仓数量(先建后平操作 需要记录)
  17671. type: number
  17672. creditamount:
  17673. description: 授信金额
  17674. type: number
  17675. decimalplace:
  17676. description: 商品报价小数位
  17677. type: integer
  17678. enumdicname:
  17679. description: 单位名称
  17680. type: string
  17681. gcaccountid:
  17682. description: 账户ID[合约币种]
  17683. type: integer
  17684. goodscode:
  17685. description: 商品代码
  17686. type: string
  17687. goodsid:
  17688. description: 商品ID
  17689. type: integer
  17690. goodsname:
  17691. description: 商品名称
  17692. type: string
  17693. goodunitid:
  17694. description: 商品单位id
  17695. type: integer
  17696. intclosepl:
  17697. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17698. type: integer
  17699. isconfirmexercise:
  17700. description: 是否确认行权- 0:否 1:是
  17701. type: integer
  17702. ismain:
  17703. description: 是否主单 - 0:不是 1:是
  17704. type: integer
  17705. ispreexercise:
  17706. description: 是否预申报- 0:否 1:是
  17707. type: integer
  17708. isreckoned:
  17709. description: 是否结算 - 0:未结算 1:已结算
  17710. type: integer
  17711. listingselecttype:
  17712. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17713. type: integer
  17714. marketid:
  17715. description: 市场ID
  17716. type: integer
  17717. marketname:
  17718. description: 市场名称
  17719. type: string
  17720. matchaccountid:
  17721. description: 对手账号id
  17722. type: integer
  17723. memberuserid:
  17724. description: 会员id 个人投资者 需要填写
  17725. type: integer
  17726. opencharge:
  17727. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17728. type: number
  17729. openexchagechargevalue:
  17730. description: 建仓交易所手续费设置值
  17731. type: number
  17732. openfeealgorithm:
  17733. description: 建仓手续费收取方式 1:比率 2:固定
  17734. type: integer
  17735. openmemberchargevalue:
  17736. description: 建仓会员手续费设置值
  17737. type: number
  17738. openqty:
  17739. description: 开仓数量(先建后平操作 需要记录)
  17740. type: number
  17741. optiontype:
  17742. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17743. type: integer
  17744. orderid:
  17745. description: 委托单号
  17746. type: string
  17747. payamount:
  17748. description: 支付金额(付款金额)
  17749. type: number
  17750. performanceplanid:
  17751. description: 履约计划ID[期权]
  17752. type: integer
  17753. performancestatus:
  17754. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17755. type: integer
  17756. preexerciseprice:
  17757. description: 预申报价格
  17758. type: number
  17759. premium:
  17760. description: 权利金 - [持仓单的权利金]
  17761. type: number
  17762. qtydecimalplace:
  17763. description: 商品报价小数位
  17764. type: integer
  17765. recvamount:
  17766. description: 到账金额 = 成交金额 - 手续费
  17767. type: number
  17768. relatedouttradeid:
  17769. description: 关联外部成交单ID
  17770. type: integer
  17771. status:
  17772. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17773. type: integer
  17774. totalamount:
  17775. description: 订单总额 = 成交金额 + 手续费
  17776. type: number
  17777. tradeamount:
  17778. description: 成交金额[账户币种,用于所有权]
  17779. type: number
  17780. tradedate:
  17781. description: 交易日(yyyyMMdd)
  17782. type: string
  17783. tradeid:
  17784. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17785. type: string
  17786. trademode:
  17787. description: 交易模式
  17788. type: integer
  17789. tradeprice:
  17790. description: 成交价格
  17791. type: number
  17792. tradeproperty:
  17793. description: 交易属性
  17794. type: integer
  17795. tradeqty:
  17796. description: 成交数量
  17797. type: number
  17798. tradetime:
  17799. description: 成交时间
  17800. type: string
  17801. tradetype:
  17802. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17803. type: integer
  17804. required:
  17805. - accountid
  17806. - buyorsell
  17807. - goodsid
  17808. - marketid
  17809. - memberuserid
  17810. - orderid
  17811. - tradeamount
  17812. - tradedate
  17813. - tradeid
  17814. - tradeprice
  17815. - tradeqty
  17816. - tradetime
  17817. type: object
  17818. order.QueryTradeOrderDetailRsp:
  17819. properties:
  17820. accountid:
  17821. description: 账户ID[报价币种]
  17822. type: integer
  17823. buildtype:
  17824. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17825. type: integer
  17826. buyorsell:
  17827. description: 买卖 - 0:买 1:卖
  17828. type: integer
  17829. cancelorderid:
  17830. description: 撤单单号(撤单时填写)
  17831. type: string
  17832. cancelqty:
  17833. description: 撤单数量
  17834. type: number
  17835. clienttype:
  17836. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17837. type: integer
  17838. closefreezecharge:
  17839. description: 平仓冻结手续费(先建后平操作,需要记录)
  17840. type: number
  17841. closeqty:
  17842. description: 平仓数量(先建后平操作 需要记录)
  17843. type: number
  17844. closetradeqty:
  17845. description: 平仓成交数量(先建后平操作,需要记录)
  17846. type: number
  17847. closeunfreezecharge:
  17848. description: 平仓解冻手续费(先建后平操作,需要记录)
  17849. type: number
  17850. decimalplace:
  17851. description: 商品报价小数位
  17852. type: integer
  17853. delistingtype:
  17854. description: 摘牌类型 - 1:价格最优 2:点选成交
  17855. type: integer
  17856. enableqty:
  17857. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17858. type: number
  17859. enumdicname:
  17860. description: 单位名称
  17861. type: string
  17862. freezecharge:
  17863. description: 冻结手续费
  17864. type: number
  17865. freezemargin:
  17866. description: 冻结保证金(冻结交易金额)
  17867. type: number
  17868. goodscode:
  17869. description: 商品代码
  17870. type: string
  17871. goodsid:
  17872. description: 商品ID
  17873. type: integer
  17874. goodsname:
  17875. description: 商品名称
  17876. type: string
  17877. goodunitid:
  17878. description: 商品单位id
  17879. type: integer
  17880. listingselecttype:
  17881. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17882. type: integer
  17883. marketid:
  17884. description: 市场ID
  17885. type: integer
  17886. marketname:
  17887. description: 市场名称
  17888. type: string
  17889. openfreezecharge:
  17890. description: 开仓冻结手续费(先建后平操作,需要记录)
  17891. type: number
  17892. openqty:
  17893. description: 开仓数量(先建后平操作,需要记录)
  17894. type: number
  17895. opentradeqty:
  17896. description: 开仓成交数量(先建后平操作,需要记录)
  17897. type: number
  17898. openunfreezecharge:
  17899. description: 开仓解冻手续费(先建后平操作,需要记录)
  17900. type: number
  17901. operatetype:
  17902. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17903. type: integer
  17904. operatorid:
  17905. description: 登录账号(LoginID)
  17906. type: integer
  17907. orderid:
  17908. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17909. type: string
  17910. orderprice:
  17911. description: 委托价格
  17912. type: number
  17913. orderqty:
  17914. description: 委托数量
  17915. type: number
  17916. ordersrc:
  17917. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17918. type: integer
  17919. orderstatus:
  17920. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17921. type: integer
  17922. ordertime:
  17923. description: 委托时间
  17924. type: string
  17925. preorderid:
  17926. description: 关联预埋单号(止盈止损单时填写)
  17927. type: string
  17928. pricemode:
  17929. description: '取价方式 - 1:市价 2: 限价'
  17930. type: integer
  17931. qtydecimalplace:
  17932. description: 商品报价小数位
  17933. type: integer
  17934. relatedid:
  17935. description: 关联单号(交割单)
  17936. type: string
  17937. tradedate:
  17938. description: 交易日(yyyyMMdd)
  17939. type: string
  17940. trademode:
  17941. description: 交易模式
  17942. type: integer
  17943. tradeqty:
  17944. description: 成交数量
  17945. type: number
  17946. unfreezecharge:
  17947. description: 解冻手续费
  17948. type: number
  17949. unfreezemargin:
  17950. description: 解冻保证金
  17951. type: number
  17952. validtime:
  17953. description: 有效期限
  17954. type: string
  17955. validtype:
  17956. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17957. type: integer
  17958. volumetype:
  17959. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17960. type: integer
  17961. required:
  17962. - accountid
  17963. - buildtype
  17964. - buyorsell
  17965. - goodsid
  17966. - marketid
  17967. - operatetype
  17968. - orderqty
  17969. - ordertime
  17970. - pricemode
  17971. - tradedate
  17972. - validtype
  17973. type: object
  17974. order.QueryTradePositionRsp:
  17975. properties:
  17976. accountid:
  17977. description: 资金账户
  17978. type: integer
  17979. agreeunit:
  17980. description: 合约单位
  17981. type: number
  17982. averageprice:
  17983. description: 持仓均价
  17984. type: number
  17985. buyorsell:
  17986. description: 方向 - 0:买 1:卖
  17987. type: integer
  17988. closetotalqty:
  17989. description: 平仓总数量
  17990. type: number
  17991. curholderamount:
  17992. description: 当前持仓总金额[商品币种]
  17993. type: number
  17994. curpositionqty:
  17995. description: 当前持仓总数量
  17996. type: number
  17997. currencyid:
  17998. description: 报价货币ID
  17999. type: integer
  18000. curtdposition:
  18001. description: 期末今日头寸
  18002. type: number
  18003. decimalplace:
  18004. description: 报价小数位
  18005. type: integer
  18006. enableqty:
  18007. description: 可用量
  18008. type: number
  18009. fretdposition:
  18010. description: 冻结今日头寸
  18011. type: number
  18012. frozenqty:
  18013. description: 持仓冻结数量
  18014. type: number
  18015. goodscode:
  18016. description: 商品代码
  18017. type: string
  18018. goodsid:
  18019. description: 商品Id
  18020. type: integer
  18021. goodsname:
  18022. description: 商品名称
  18023. type: string
  18024. goodunit:
  18025. description: 报价单位
  18026. type: string
  18027. goodunitid:
  18028. description: 报价单位ID
  18029. type: integer
  18030. holderamount:
  18031. description: 期初持仓总金额[商品币种]
  18032. type: number
  18033. lastprice:
  18034. description: 最新价
  18035. type: number
  18036. marketamount:
  18037. description: 市值
  18038. type: number
  18039. marketid:
  18040. description: 所属市场ID
  18041. type: integer
  18042. openreqqty:
  18043. description: 开仓申请数量(用于比较最大持仓数量)
  18044. type: number
  18045. opentotalqty:
  18046. description: 开仓总数量
  18047. type: number
  18048. otherfrozenqty:
  18049. description: 持仓其他冻结数量(交割冻结)
  18050. type: number
  18051. positionpl:
  18052. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18053. type: number
  18054. positionplrate:
  18055. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18056. type: number
  18057. positionqty:
  18058. description: 期初持仓数量
  18059. type: number
  18060. qtydecimalplace:
  18061. description: 成交量小数位
  18062. type: integer
  18063. refgoodscode:
  18064. description: 参考商品代码
  18065. type: string
  18066. refgoodsid:
  18067. description: 参考商品ID
  18068. type: integer
  18069. tnqty:
  18070. description: T+N冻结总量
  18071. type: number
  18072. tnusedqty:
  18073. description: T+N使用量(可以使用T+N的冻结数量)
  18074. type: number
  18075. trademode:
  18076. description: 交易模式
  18077. type: integer
  18078. tradeproperty:
  18079. description: 交易属性
  18080. type: integer
  18081. usedmargin:
  18082. description: 占用保证金[商品币种]
  18083. type: number
  18084. required:
  18085. - goodsid
  18086. type: object
  18087. pb.GoodsMarginCfgStruct:
  18088. properties:
  18089. CustomerTypeID:
  18090. description: 投资者客户类型
  18091. type: integer
  18092. GoodsID:
  18093. description: 商品ID
  18094. type: integer
  18095. IsDefault:
  18096. description: 是否默认标志位
  18097. type: integer
  18098. LockMarginValue:
  18099. description: 锁仓保证金
  18100. type: number
  18101. MarginAlgorithm:
  18102. description: 保证金计算方式
  18103. type: integer
  18104. MarketMarginValue:
  18105. description: 即市保证金值
  18106. type: number
  18107. RealMarginAlgorithm:
  18108. description: 实付保证金计算方式
  18109. type: integer
  18110. RealMarginValue:
  18111. description: 实付比例
  18112. type: number
  18113. ReckonMarginValue:
  18114. description: 结算保证金值
  18115. type: number
  18116. type: object
  18117. quote.HistoryData:
  18118. properties:
  18119. c:
  18120. description: 收盘价
  18121. type: number
  18122. f:
  18123. description: 是否补充数据
  18124. type: boolean
  18125. h:
  18126. description: 最高价
  18127. type: number
  18128. hv:
  18129. description: 持仓量
  18130. type: integer
  18131. l:
  18132. description: 最低价
  18133. type: number
  18134. o:
  18135. description: 开盘价
  18136. type: number
  18137. s:
  18138. description: 结算价,日线周期(包括)以上才有
  18139. type: number
  18140. ts:
  18141. description: 时间
  18142. type: string
  18143. tt:
  18144. description: 总金额
  18145. type: number
  18146. tv:
  18147. description: 总量(成交量)
  18148. type: integer
  18149. type: object
  18150. quote.HistoryTikData:
  18151. properties:
  18152. AV:
  18153. description: 卖量
  18154. type: integer
  18155. Ask:
  18156. description: 卖价
  18157. type: number
  18158. BV:
  18159. description: 买量
  18160. type: integer
  18161. Bid:
  18162. description: 买价
  18163. type: number
  18164. HI:
  18165. description: 单笔持仓
  18166. type: integer
  18167. HV:
  18168. description: 持仓量
  18169. type: integer
  18170. PE:
  18171. description: 现价
  18172. type: number
  18173. TDR:
  18174. description: 交易方向,0:买 1:卖
  18175. type: integer
  18176. TK:
  18177. description: 交易类型
  18178. type: integer
  18179. TS:
  18180. description: 行情时间文本
  18181. type: string
  18182. TT:
  18183. description: 现金额
  18184. type: number
  18185. Vol:
  18186. description: 现量
  18187. type: integer
  18188. type: object
  18189. quote.QueryQuoteDayRsp:
  18190. properties:
  18191. ask:
  18192. description: 卖1
  18193. type: number
  18194. ask2:
  18195. description: 卖2
  18196. type: number
  18197. ask3:
  18198. description: 卖3
  18199. type: number
  18200. ask4:
  18201. description: 卖4
  18202. type: number
  18203. ask5:
  18204. description: 卖5
  18205. type: number
  18206. ask6:
  18207. description: 卖6
  18208. type: number
  18209. ask7:
  18210. description: 卖7
  18211. type: number
  18212. ask8:
  18213. description: 卖8
  18214. type: number
  18215. ask9:
  18216. description: 卖9
  18217. type: number
  18218. ask10:
  18219. description: 卖10
  18220. type: number
  18221. askorderid:
  18222. description: 卖单号1
  18223. type: integer
  18224. askorderid2:
  18225. description: 卖单号2
  18226. type: integer
  18227. askorderid3:
  18228. description: 卖单号3
  18229. type: integer
  18230. askorderid4:
  18231. description: 卖单号4
  18232. type: integer
  18233. askorderid5:
  18234. description: 卖单号5
  18235. type: integer
  18236. askordervolume:
  18237. description: 卖单量1
  18238. type: integer
  18239. askordervolume2:
  18240. description: 卖单量2
  18241. type: integer
  18242. askordervolume3:
  18243. description: 卖单量3
  18244. type: integer
  18245. askordervolume4:
  18246. description: 卖单量4
  18247. type: integer
  18248. askordervolume5:
  18249. description: 卖单量5
  18250. type: integer
  18251. askordervolume6:
  18252. description: 卖单量6
  18253. type: integer
  18254. askordervolume7:
  18255. description: 卖单量7
  18256. type: integer
  18257. askordervolume8:
  18258. description: 卖单量8
  18259. type: integer
  18260. askordervolume9:
  18261. description: 卖单量9
  18262. type: integer
  18263. askordervolume10:
  18264. description: 卖单量10
  18265. type: integer
  18266. askqueueinfo:
  18267. description: 大利市卖港股用
  18268. type: string
  18269. askvolume:
  18270. description: 卖量1
  18271. type: integer
  18272. askvolume2:
  18273. description: 卖量2
  18274. type: integer
  18275. askvolume3:
  18276. description: 卖量3
  18277. type: integer
  18278. askvolume4:
  18279. description: 卖量4
  18280. type: integer
  18281. askvolume5:
  18282. description: 卖量5
  18283. type: integer
  18284. askvolume6:
  18285. description: 卖量6
  18286. type: integer
  18287. askvolume7:
  18288. description: 卖量7
  18289. type: integer
  18290. askvolume8:
  18291. description: 卖量8
  18292. type: integer
  18293. askvolume9:
  18294. description: 卖量9
  18295. type: integer
  18296. askvolume10:
  18297. description: 卖量10
  18298. type: integer
  18299. averageprice:
  18300. description: 均价
  18301. type: number
  18302. bid:
  18303. description: 买1
  18304. type: number
  18305. bid2:
  18306. description: 买2
  18307. type: number
  18308. bid3:
  18309. description: 买3
  18310. type: number
  18311. bid4:
  18312. description: 买4
  18313. type: number
  18314. bid5:
  18315. description: 买5
  18316. type: number
  18317. bid6:
  18318. description: 买6
  18319. type: number
  18320. bid7:
  18321. description: 买7
  18322. type: number
  18323. bid8:
  18324. description: 买8
  18325. type: number
  18326. bid9:
  18327. description: 买9
  18328. type: number
  18329. bid10:
  18330. description: 买10
  18331. type: number
  18332. bidorderid:
  18333. description: 买单号1
  18334. type: integer
  18335. bidorderid2:
  18336. description: 买单号2
  18337. type: integer
  18338. bidorderid3:
  18339. description: 买单号3
  18340. type: integer
  18341. bidorderid4:
  18342. description: 买单号4
  18343. type: integer
  18344. bidorderid5:
  18345. description: 买单号5
  18346. type: integer
  18347. bidordervolume:
  18348. description: 买单量1
  18349. type: integer
  18350. bidordervolume2:
  18351. description: 买单量2
  18352. type: integer
  18353. bidordervolume3:
  18354. description: 买单量3
  18355. type: integer
  18356. bidordervolume4:
  18357. description: 买单量4
  18358. type: integer
  18359. bidordervolume5:
  18360. description: 买单量5
  18361. type: integer
  18362. bidordervolume6:
  18363. description: 买单量6
  18364. type: integer
  18365. bidordervolume7:
  18366. description: 买单量7
  18367. type: integer
  18368. bidordervolume8:
  18369. description: 买单量8
  18370. type: integer
  18371. bidordervolume9:
  18372. description: 买单量9
  18373. type: integer
  18374. bidordervolume10:
  18375. description: 买单量10
  18376. type: integer
  18377. bidqueueinfo:
  18378. description: 大利市买港股用
  18379. type: string
  18380. bidvolume:
  18381. description: 买量1
  18382. type: integer
  18383. bidvolume2:
  18384. description: 买量2
  18385. type: integer
  18386. bidvolume3:
  18387. description: 买量3
  18388. type: integer
  18389. bidvolume4:
  18390. description: 买量4
  18391. type: integer
  18392. bidvolume5:
  18393. description: 买量5
  18394. type: integer
  18395. bidvolume6:
  18396. description: 买量6
  18397. type: integer
  18398. bidvolume7:
  18399. description: 买量7
  18400. type: integer
  18401. bidvolume8:
  18402. description: 买量8
  18403. type: integer
  18404. bidvolume9:
  18405. description: 买量9
  18406. type: integer
  18407. bidvolume10:
  18408. description: 买量10
  18409. type: integer
  18410. calloptionpremiums:
  18411. description: 认购期权1
  18412. type: integer
  18413. calloptionpremiums2:
  18414. description: 认购期权2
  18415. type: integer
  18416. calloptionpremiums3:
  18417. description: 认购期权3
  18418. type: integer
  18419. calloptionpremiums4:
  18420. description: 认购期权4
  18421. type: integer
  18422. calloptionpremiums5:
  18423. description: 认购期权5
  18424. type: integer
  18425. cleartime:
  18426. description: 清盘时间
  18427. type: integer
  18428. exchangecode:
  18429. description: 交易所代码
  18430. type: integer
  18431. exchangedate:
  18432. description: 交易日
  18433. type: integer
  18434. goodscode:
  18435. description: 商品代码
  18436. type: string
  18437. grepmarketprice:
  18438. description: 暗盘价 港股专用
  18439. type: number
  18440. highest:
  18441. description: 最高价
  18442. type: number
  18443. holdincrement:
  18444. description: 单笔持仓
  18445. type: integer
  18446. holdvolume:
  18447. description: 持仓
  18448. type: integer
  18449. iep:
  18450. description: 平衡价 港股专用
  18451. type: number
  18452. iev:
  18453. description: 平衡量 港股专用
  18454. type: number
  18455. inventory:
  18456. description: 库存
  18457. type: integer
  18458. iscleared:
  18459. description: 是否清盘标志
  18460. type: integer
  18461. issettled:
  18462. description: 是否结算标志
  18463. type: integer
  18464. last:
  18465. description: 最新价
  18466. type: number
  18467. lastlot:
  18468. description: 最新成交手数
  18469. type: integer
  18470. lasttime:
  18471. description: 行情时间(只有现价变化行情时间才变化)
  18472. type: string
  18473. lastturnover:
  18474. description: 最新成交金额
  18475. type: number
  18476. lastvolume:
  18477. description: 最新成交量
  18478. type: integer
  18479. limitdown:
  18480. description: 跌停价
  18481. type: number
  18482. limitup:
  18483. description: 涨停价
  18484. type: number
  18485. lowest:
  18486. description: 最低价
  18487. type: number
  18488. nontotalholdervolume:
  18489. description: 非交易持仓量
  18490. type: integer
  18491. nontotallot:
  18492. description: 非交易总手数
  18493. type: integer
  18494. nontotalturnover:
  18495. description: 非交易总金额
  18496. type: integer
  18497. nontotalvolume:
  18498. description: 非交易总量
  18499. type: integer
  18500. opened:
  18501. description: 开盘价
  18502. type: number
  18503. opentime:
  18504. description: 开盘时间
  18505. type: string
  18506. orderid:
  18507. description: 序号
  18508. type: integer
  18509. preclose:
  18510. description: 昨收
  18511. type: number
  18512. preholdvolume:
  18513. description: 昨持仓
  18514. type: integer
  18515. presettle:
  18516. description: 昨结价
  18517. type: number
  18518. publictradetype:
  18519. description: 公共交易标志类型 港股专用
  18520. type: string
  18521. putoptionpremiums:
  18522. description: 认沽期权1
  18523. type: integer
  18524. putoptionpremiums2:
  18525. description: 认沽期权2
  18526. type: integer
  18527. putoptionpremiums3:
  18528. description: 认沽期权3
  18529. type: integer
  18530. putoptionpremiums4:
  18531. description: 认沽期权4
  18532. type: integer
  18533. putoptionpremiums5:
  18534. description: 认沽期权5
  18535. type: integer
  18536. settle:
  18537. description: 结算价
  18538. type: number
  18539. strikeprice:
  18540. description: 发行价
  18541. type: number
  18542. totalaskvolume:
  18543. description: 内盘
  18544. type: integer
  18545. totalbidvolume:
  18546. description: 外盘
  18547. type: integer
  18548. totallot:
  18549. description: 总手数
  18550. type: integer
  18551. totalturnover:
  18552. description: 总金额
  18553. type: number
  18554. totalvolume:
  18555. description: 总量
  18556. type: integer
  18557. utclasttime:
  18558. description: utc的行情时间
  18559. type: string
  18560. type: object
  18561. quote.QueryTSDataRsp:
  18562. properties:
  18563. Count:
  18564. description: 交易日应有数据个数
  18565. type: integer
  18566. decimalPlace:
  18567. description: 小数位
  18568. type: integer
  18569. endTime:
  18570. description: 结束时间
  18571. type: string
  18572. goodsCode:
  18573. description: 商品代码
  18574. type: string
  18575. historyDatas:
  18576. description: 历史数据
  18577. items:
  18578. $ref: '#/definitions/quote.HistoryData'
  18579. type: array
  18580. outGoodsCode:
  18581. description: 外部商品代码
  18582. type: string
  18583. preSettle:
  18584. description: 昨结价
  18585. type: number
  18586. runSteps:
  18587. description: 交易日开休市计划
  18588. items:
  18589. $ref: '#/definitions/quote.TSDataRunStep'
  18590. type: array
  18591. startTime:
  18592. description: 开始时间
  18593. type: string
  18594. tradeDate:
  18595. description: 交易日
  18596. type: string
  18597. type: object
  18598. quote.TSDataRunStep:
  18599. properties:
  18600. end:
  18601. description: 真实结束时间
  18602. type: string
  18603. endflag:
  18604. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18605. type: integer
  18606. endtime:
  18607. description: 结束时间(HH:mm)
  18608. type: string
  18609. endweekday:
  18610. description: 结束周几
  18611. type: integer
  18612. groupid:
  18613. description: 分组ID
  18614. type: integer
  18615. runstep:
  18616. description: 运行阶段 - 2:连续交易
  18617. type: integer
  18618. sectionid:
  18619. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18620. type: integer
  18621. start:
  18622. description: 真实开始时间
  18623. type: string
  18624. startflag:
  18625. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18626. type: integer
  18627. starttime:
  18628. description: 起始时间(HH:mm)
  18629. type: string
  18630. startweekday:
  18631. description: 起始周几
  18632. type: integer
  18633. tradeweekday:
  18634. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18635. type: integer
  18636. type: object
  18637. szdz.QueryConvertLogRsp:
  18638. properties:
  18639. accountid:
  18640. description: 资金账户ID
  18641. type: integer
  18642. clientticket:
  18643. description: 客户端流水号
  18644. type: string
  18645. converttype:
  18646. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18647. type: integer
  18648. createtime:
  18649. description: 记账时间
  18650. type: string
  18651. daymaxvalue:
  18652. description: 配置当日最大转入限制
  18653. type: number
  18654. daymaxvalue2:
  18655. description: 配置当日最大转入限制(转入)
  18656. type: number
  18657. goodscode:
  18658. description: 商品代码
  18659. type: string
  18660. goodsname:
  18661. description: 商品名称
  18662. type: string
  18663. handlestatus:
  18664. description: 处理状态
  18665. type: integer
  18666. innergoodsid:
  18667. description: 内部商品ID
  18668. type: integer
  18669. inratio:
  18670. description: 配置转入比值
  18671. type: integer
  18672. invalue:
  18673. description: 目标值
  18674. type: number
  18675. logid:
  18676. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18677. type: integer
  18678. mobile:
  18679. description: 手机号码(加密存储)
  18680. type: string
  18681. outergoodscode:
  18682. description: 外部商品代码[JD\PD]
  18683. type: string
  18684. outratio:
  18685. description: 配置转出比值
  18686. type: integer
  18687. outvalue:
  18688. description: 源值
  18689. type: number
  18690. pddecimalplace:
  18691. description: PD小数位
  18692. type: integer
  18693. qty:
  18694. description: 数量
  18695. type: string
  18696. remark:
  18697. description: 备注
  18698. type: string
  18699. sessionid:
  18700. description: 会话ID
  18701. type: integer
  18702. timemaxvalue:
  18703. description: 配置单次最大转入限制
  18704. type: number
  18705. timemaxvalue2:
  18706. description: 配置单次最大转入限制(转入)
  18707. type: number
  18708. timeminvalue:
  18709. description: 配置单次最小数量限制
  18710. type: number
  18711. timeminvalue2:
  18712. description: 配置单次最小数量限制(转入)
  18713. type: number
  18714. tradedate:
  18715. description: 交易日(yyyyMMdd)
  18716. type: string
  18717. userid:
  18718. description: 用户ID
  18719. type: integer
  18720. required:
  18721. - logid
  18722. type: object
  18723. szdz.QueryGoodsPickupRsp:
  18724. properties:
  18725. accountid:
  18726. description: 账户ID
  18727. type: integer
  18728. address:
  18729. description: 提货人详细地址
  18730. type: string
  18731. auditer:
  18732. description: 审核人
  18733. type: integer
  18734. audittime:
  18735. description: 审核时间
  18736. type: string
  18737. cardnum:
  18738. description: 提货人证件号码
  18739. type: string
  18740. cardtypeid:
  18741. description: 提货人证件类型
  18742. type: integer
  18743. checkremark:
  18744. description: 审核备注
  18745. type: string
  18746. goodscode:
  18747. description: 商品代码
  18748. type: string
  18749. goodsid:
  18750. description: 商品ID
  18751. type: integer
  18752. goodsname:
  18753. description: 商品名称
  18754. type: string
  18755. handlestatus:
  18756. description: 处理状态
  18757. type: integer
  18758. marketid:
  18759. description: 市场ID
  18760. type: integer
  18761. phonenum:
  18762. description: 提货人联系方式
  18763. type: string
  18764. qty:
  18765. description: 提货数量
  18766. type: number
  18767. recivername:
  18768. description: 提货人姓名
  18769. type: string
  18770. reqtime:
  18771. description: 更新时间
  18772. type: string
  18773. takemode:
  18774. description: 提货方式 - 2:自提 3:配送
  18775. type: integer
  18776. takeorderid:
  18777. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18778. type: string
  18779. takeorderstatus:
  18780. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18781. type: integer
  18782. takeremark:
  18783. description: 提货备注
  18784. type: string
  18785. tradedate:
  18786. description: 交易日(yyyyMMdd)
  18787. type: string
  18788. userid:
  18789. description: 用户ID
  18790. type: integer
  18791. required:
  18792. - takeorderid
  18793. type: object
  18794. szdz.QueryRecieptOrderRsp:
  18795. properties:
  18796. accountName:
  18797. description: 所属账号名称(已脱敏)
  18798. type: string
  18799. accountid:
  18800. description: 资金账号
  18801. type: integer
  18802. buyorsell:
  18803. description: 方向 - 0:买 1:卖
  18804. type: integer
  18805. enableqty:
  18806. description: 可摘数量
  18807. type: integer
  18808. goodscode:
  18809. description: 商品代码
  18810. type: string
  18811. goodsid:
  18812. description: 商品ID
  18813. type: integer
  18814. goodsname:
  18815. description: 商品名称
  18816. type: string
  18817. orderid:
  18818. description: 委托单号
  18819. type: string
  18820. orderprice:
  18821. description: 委托价格
  18822. type: number
  18823. ordertime:
  18824. description: 委托时间
  18825. type: string
  18826. tradedate:
  18827. description: 交易日(yyyyMMdd)
  18828. type: string
  18829. required:
  18830. - ordertime
  18831. type: object
  18832. szdz.QuerySZDZTradePositionRsp:
  18833. properties:
  18834. accountid:
  18835. description: 账号Id
  18836. type: integer
  18837. agreeunit:
  18838. description: 合约单位
  18839. type: number
  18840. averageprice:
  18841. description: 持仓均价
  18842. type: number
  18843. buyorsell:
  18844. description: 方向 - 0:买 1:卖
  18845. type: integer
  18846. closetotalqty:
  18847. description: 平仓总数量
  18848. type: integer
  18849. curholderamount:
  18850. description: 当前持仓总金额
  18851. type: number
  18852. curpositionqty:
  18853. description: 当前持仓总数量
  18854. type: integer
  18855. currencyid:
  18856. description: 报价货币ID
  18857. type: integer
  18858. curtdposition:
  18859. description: 期末今日头寸
  18860. type: integer
  18861. decimalplace:
  18862. description: 报价小数位
  18863. type: integer
  18864. enableqty:
  18865. description: 可用量
  18866. type: integer
  18867. fretdposition:
  18868. description: 冻结今日头寸
  18869. type: integer
  18870. frozenqty:
  18871. description: 持仓冻结数量
  18872. type: integer
  18873. goodscode:
  18874. description: 商品代码(内部)
  18875. type: string
  18876. goodsid:
  18877. description: 商品Id
  18878. type: integer
  18879. goodsname:
  18880. description: 商品名称
  18881. type: string
  18882. goodunit:
  18883. description: 报价单位
  18884. type: string
  18885. goodunitid:
  18886. description: 报价单位ID
  18887. type: integer
  18888. holderamount:
  18889. description: 期初持仓总金额
  18890. type: number
  18891. marketid:
  18892. description: 市场ID
  18893. type: integer
  18894. openreqqty:
  18895. description: 开仓申请数量
  18896. type: integer
  18897. opentotalqty:
  18898. description: 开仓总数量
  18899. type: integer
  18900. otherfrozenqty:
  18901. description: 持仓其他冻结数量(交割冻结)
  18902. type: integer
  18903. positionqty:
  18904. description: 期初持仓数量
  18905. type: integer
  18906. szdz3freezqty:
  18907. description: 尚志大宗转换冻结总数量
  18908. type: integer
  18909. tnqty:
  18910. description: T+N冻结总量
  18911. type: integer
  18912. tnusedqty:
  18913. description: T+N使用量
  18914. type: integer
  18915. trademode:
  18916. description: 交易模式
  18917. type: integer
  18918. usedmargin:
  18919. description: 占用保证金
  18920. type: number
  18921. type: object
  18922. taaccount.QueryAmountLogRsp:
  18923. properties:
  18924. OPERATETYPENAME:
  18925. description: 资金操作类型名称
  18926. type: string
  18927. accountid:
  18928. description: 资金账户ID
  18929. type: integer
  18930. agoodscode:
  18931. description: 竞拍商品代码
  18932. type: string
  18933. agoodsname:
  18934. description: 竞拍商品名称
  18935. type: string
  18936. amount:
  18937. description: 资金金额
  18938. type: number
  18939. amountadjusttype:
  18940. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18941. type: integer
  18942. autoid:
  18943. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18944. type: integer
  18945. balance:
  18946. description: 期初余额
  18947. type: number
  18948. businesscode:
  18949. description: 业务编号
  18950. type: integer
  18951. createtime:
  18952. description: 发生时间
  18953. type: string
  18954. currencyid:
  18955. description: 币种ID
  18956. type: integer
  18957. currentbalance:
  18958. description: 期末余额(变动后金额)
  18959. type: number
  18960. dgoodscode:
  18961. description: 交割商品代码
  18962. type: string
  18963. dgoodsname:
  18964. description: 交割商品名称
  18965. type: string
  18966. goodscode:
  18967. description: 商品代码
  18968. type: string
  18969. goodsid:
  18970. description: 商品ID
  18971. type: integer
  18972. goodsname:
  18973. description: 商品名称
  18974. type: string
  18975. marketid:
  18976. description: 市场ID
  18977. type: integer
  18978. marketname:
  18979. description: 市场名称
  18980. type: string
  18981. moneyticket:
  18982. description: 资金流水号:银行端流水号
  18983. type: integer
  18984. operatetype:
  18985. 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:营销收款
  18986. type: integer
  18987. relationorderid:
  18988. description: 关联单号
  18989. type: string
  18990. remark:
  18991. description: 备注
  18992. type: string
  18993. trademode:
  18994. description: 交易模式
  18995. type: integer
  18996. required:
  18997. - accountid
  18998. - amount
  18999. - amountadjusttype
  19000. - autoid
  19001. - balance
  19002. - createtime
  19003. - currentbalance
  19004. - operatetype
  19005. type: object
  19006. taaccount.QueryHisAmountLogRsp:
  19007. properties:
  19008. OPERATETYPENAME:
  19009. description: 资金操作类型名称
  19010. type: string
  19011. accountid:
  19012. description: 资金账户ID
  19013. type: integer
  19014. agoodscode:
  19015. description: 竞拍商品代码
  19016. type: string
  19017. agoodsname:
  19018. description: 竞拍商品名称
  19019. type: string
  19020. amount:
  19021. description: 资金金额
  19022. type: number
  19023. amountadjusttype:
  19024. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19025. type: integer
  19026. autoid:
  19027. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19028. type: integer
  19029. balance:
  19030. description: 期初余额
  19031. type: number
  19032. businesscode:
  19033. description: 业务编号
  19034. type: integer
  19035. createtime:
  19036. description: 发生时间
  19037. type: string
  19038. currencyid:
  19039. description: 币种ID
  19040. type: integer
  19041. currentbalance:
  19042. description: 期末余额(变动后金额)
  19043. type: number
  19044. dgoodscode:
  19045. description: 交割商品代码
  19046. type: string
  19047. dgoodsname:
  19048. description: 交割商品名称
  19049. type: string
  19050. goodscode:
  19051. description: 商品代码
  19052. type: string
  19053. goodsid:
  19054. description: 商品ID
  19055. type: integer
  19056. goodsname:
  19057. description: 商品名称
  19058. type: string
  19059. histradedate:
  19060. description: 历史交易日
  19061. type: string
  19062. isvaliddata:
  19063. description: 是否有效 - 0:无效 1:有效
  19064. type: integer
  19065. marketid:
  19066. description: 市场ID
  19067. type: integer
  19068. marketname:
  19069. description: 市场名称
  19070. type: string
  19071. moneyticket:
  19072. description: 资金流水号:银行端流水号
  19073. type: integer
  19074. operatetype:
  19075. 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:营销收款
  19076. type: integer
  19077. relationorderid:
  19078. description: 关联单号
  19079. type: string
  19080. remark:
  19081. description: 备注
  19082. type: string
  19083. trademode:
  19084. description: 交易模式
  19085. type: integer
  19086. required:
  19087. - accountid
  19088. - amount
  19089. - amountadjusttype
  19090. - autoid
  19091. - balance
  19092. - createtime
  19093. - currentbalance
  19094. - histradedate
  19095. - operatetype
  19096. type: object
  19097. trade.QueryRecieptOrderRsp:
  19098. properties:
  19099. accountName:
  19100. description: 所属账号名称(已脱敏)
  19101. type: string
  19102. accountid:
  19103. description: 资金账号
  19104. type: integer
  19105. buyorsell:
  19106. description: 方向 - 0:买 1:卖
  19107. type: integer
  19108. enableqty:
  19109. description: 可摘数量
  19110. type: integer
  19111. goodscode:
  19112. description: 商品代码
  19113. type: string
  19114. goodsid:
  19115. description: 商品ID
  19116. type: integer
  19117. goodsname:
  19118. description: 商品名称
  19119. type: string
  19120. orderid:
  19121. description: 委托单号
  19122. type: string
  19123. orderprice:
  19124. description: 委托价格
  19125. type: number
  19126. ordertime:
  19127. description: 委托时间
  19128. type: string
  19129. tradedate:
  19130. description: 交易日(yyyyMMdd)
  19131. type: string
  19132. required:
  19133. - ordertime
  19134. type: object
  19135. user.LoginQueryRsp:
  19136. properties:
  19137. areaRoles:
  19138. description: 所属角色信息
  19139. items:
  19140. $ref: '#/definitions/models.Arearole'
  19141. type: array
  19142. externalExchanges:
  19143. description: 外部交易所
  19144. items:
  19145. $ref: '#/definitions/models.Externalexchange'
  19146. type: array
  19147. goodsgroups:
  19148. description: 商品组
  19149. items:
  19150. $ref: '#/definitions/models.Goodsgroup'
  19151. type: array
  19152. loginAccount:
  19153. $ref: '#/definitions/models.Loginaccount'
  19154. description: 登录账号
  19155. markets:
  19156. description: 市场
  19157. items:
  19158. $ref: '#/definitions/models.Market'
  19159. type: array
  19160. systemParams:
  19161. description: 系统参数
  19162. items:
  19163. $ref: '#/definitions/models.Systemparam'
  19164. type: array
  19165. userAccount:
  19166. $ref: '#/definitions/models.Useraccount'
  19167. description: 用户账号
  19168. userInfo:
  19169. $ref: '#/definitions/models.Userinfo'
  19170. description: 用户信息
  19171. username:
  19172. description: 用户姓名
  19173. type: string
  19174. type: object
  19175. info:
  19176. contact: {}
  19177. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19178. termsOfService: http://www.muchinfo.cn
  19179. title: MTP2.0 查询服务 API
  19180. version: "1.0"
  19181. paths:
  19182. /CPTrade/QueryCPTradeMyBidInfos:
  19183. get:
  19184. parameters:
  19185. - description: 资金账户
  19186. in: query
  19187. name: accountid
  19188. required: true
  19189. type: integer
  19190. - description: 预售市场ID
  19191. in: query
  19192. name: marketid
  19193. type: integer
  19194. - description: 预售商品ID
  19195. in: query
  19196. name: goodsid
  19197. type: integer
  19198. produces:
  19199. - application/json
  19200. responses:
  19201. "200":
  19202. description: OK
  19203. schema:
  19204. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19205. "500":
  19206. description: Internal Server Error
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. security:
  19210. - ApiKeyAuth: []
  19211. summary: 查询产能预售我的出价信息
  19212. tags:
  19213. - 产能预售
  19214. /CPTrade/QueryCPTradeOrderDetail:
  19215. get:
  19216. parameters:
  19217. - description: 预售商品ID
  19218. in: query
  19219. name: goodsid
  19220. type: integer
  19221. - description: 预售市场ID
  19222. in: query
  19223. name: marketid
  19224. type: integer
  19225. - description: 预售商品ID列表 - 格式:1,2,3
  19226. in: query
  19227. name: goodsids
  19228. type: string
  19229. produces:
  19230. - application/json
  19231. responses:
  19232. "200":
  19233. description: OK
  19234. schema:
  19235. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19236. "500":
  19237. description: Internal Server Error
  19238. schema:
  19239. $ref: '#/definitions/app.Response'
  19240. security:
  19241. - ApiKeyAuth: []
  19242. summary: 查询产能预售委托单信息
  19243. tags:
  19244. - 产能预售
  19245. /CPTrade/QueryMyCPTradeGoods:
  19246. get:
  19247. parameters:
  19248. - description: 资金账户
  19249. in: query
  19250. name: accountid
  19251. required: true
  19252. type: integer
  19253. produces:
  19254. - application/json
  19255. responses:
  19256. "200":
  19257. description: OK
  19258. schema:
  19259. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19260. "500":
  19261. description: Internal Server Error
  19262. schema:
  19263. $ref: '#/definitions/app.Response'
  19264. security:
  19265. - ApiKeyAuth: []
  19266. summary: 查询我的预售信息
  19267. tags:
  19268. - 产能预售
  19269. /CPTrade/QueryPositionCancel:
  19270. get:
  19271. parameters:
  19272. - description: 账户ID
  19273. in: query
  19274. name: userid
  19275. required: true
  19276. type: integer
  19277. - description: 注销ID
  19278. in: query
  19279. name: cancelid
  19280. type: integer
  19281. - description: 资金账户ID
  19282. in: query
  19283. name: accountid
  19284. type: integer
  19285. produces:
  19286. - application/json
  19287. responses:
  19288. "200":
  19289. description: OK
  19290. schema:
  19291. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19292. "500":
  19293. description: Internal Server Error
  19294. schema:
  19295. $ref: '#/definitions/app.Response'
  19296. security:
  19297. - ApiKeyAuth: []
  19298. summary: 查询远期订单注销申请信息
  19299. tags:
  19300. - 产能预售
  19301. /CPTrade/QueryPreasleApply:
  19302. get:
  19303. parameters:
  19304. - description: 账户ID
  19305. in: query
  19306. name: userid
  19307. required: true
  19308. type: integer
  19309. - description: 申请ID
  19310. in: query
  19311. name: applyid
  19312. type: integer
  19313. - description: 资金账户ID
  19314. in: query
  19315. name: accountid
  19316. type: integer
  19317. produces:
  19318. - application/json
  19319. responses:
  19320. "200":
  19321. description: OK
  19322. schema:
  19323. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19324. "500":
  19325. description: Internal Server Error
  19326. schema:
  19327. $ref: '#/definitions/app.Response'
  19328. security:
  19329. - ApiKeyAuth: []
  19330. summary: 查询产能预售申请信息
  19331. tags:
  19332. - 产能预售
  19333. /CPTrade/QueryPresaleGoodsEx:
  19334. get:
  19335. parameters:
  19336. - description: 预售商品ID
  19337. in: query
  19338. name: goodsid
  19339. type: integer
  19340. - description: 预售市场ID
  19341. in: query
  19342. name: marketid
  19343. type: integer
  19344. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19345. in: query
  19346. name: presalemode
  19347. type: integer
  19348. - description: 预售商品ID列表 - 格式:1,2,3
  19349. in: query
  19350. name: goodsids
  19351. type: string
  19352. - description: 预售商品代码
  19353. in: query
  19354. name: goodscode
  19355. type: string
  19356. produces:
  19357. - application/json
  19358. responses:
  19359. "200":
  19360. description: OK
  19361. schema:
  19362. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19363. "500":
  19364. description: Internal Server Error
  19365. schema:
  19366. $ref: '#/definitions/app.Response'
  19367. security:
  19368. - ApiKeyAuth: []
  19369. summary: 查询产能预售商品扩展信息
  19370. tags:
  19371. - 产能预售
  19372. /CPTrade/QueryUserGoodsData:
  19373. get:
  19374. parameters:
  19375. - description: 资金账户ID
  19376. in: query
  19377. name: accountid
  19378. required: true
  19379. type: integer
  19380. produces:
  19381. - application/json
  19382. responses:
  19383. "200":
  19384. description: OK
  19385. schema:
  19386. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19387. "500":
  19388. description: Internal Server Error
  19389. schema:
  19390. $ref: '#/definitions/app.Response'
  19391. security:
  19392. - ApiKeyAuth: []
  19393. summary: 查询远期订单信息
  19394. tags:
  19395. - 产能预售
  19396. /Common/GetAllEnums:
  19397. get:
  19398. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19399. parameters:
  19400. - description: 起始自增ID
  19401. in: query
  19402. name: autoid
  19403. type: integer
  19404. produces:
  19405. - application/json
  19406. responses:
  19407. "200":
  19408. description: OK
  19409. schema:
  19410. $ref: '#/definitions/models.Enumdicitem'
  19411. "500":
  19412. description: Internal Server Error
  19413. schema:
  19414. $ref: '#/definitions/app.Response'
  19415. summary: 获取所有枚举信息
  19416. tags:
  19417. - 通用服务
  19418. /Common/GetClientMenus:
  19419. get:
  19420. parameters:
  19421. - description: 登录账号
  19422. in: query
  19423. name: loginID
  19424. required: true
  19425. type: integer
  19426. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19427. in: query
  19428. name: clientType
  19429. type: integer
  19430. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19431. in: query
  19432. name: name
  19433. type: string
  19434. produces:
  19435. - application/json
  19436. responses:
  19437. "200":
  19438. description: OK
  19439. schema:
  19440. items:
  19441. $ref: '#/definitions/common.ClientMenu'
  19442. type: array
  19443. "500":
  19444. description: Internal Server Error
  19445. schema:
  19446. $ref: '#/definitions/app.Response'
  19447. security:
  19448. - ApiKeyAuth: []
  19449. summary: 获取交易端菜单
  19450. tags:
  19451. - 通用服务
  19452. /Common/GetDivisions:
  19453. get:
  19454. produces:
  19455. - application/json
  19456. responses:
  19457. "200":
  19458. description: OK
  19459. schema:
  19460. $ref: '#/definitions/models.Division'
  19461. "500":
  19462. description: Internal Server Error
  19463. schema:
  19464. $ref: '#/definitions/app.Response'
  19465. summary: 查询区域信息
  19466. tags:
  19467. - 通用服务
  19468. /Common/GetPCWebMenus:
  19469. get:
  19470. parameters:
  19471. - description: 登录账号
  19472. in: query
  19473. name: loginID
  19474. required: true
  19475. type: integer
  19476. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19477. in: query
  19478. name: name
  19479. type: string
  19480. produces:
  19481. - application/json
  19482. responses:
  19483. "200":
  19484. description: OK
  19485. schema:
  19486. items:
  19487. $ref: '#/definitions/common.PCWebMenu'
  19488. type: array
  19489. "500":
  19490. description: Internal Server Error
  19491. schema:
  19492. $ref: '#/definitions/app.Response'
  19493. security:
  19494. - ApiKeyAuth: []
  19495. summary: 获取PCWeb交易端菜单
  19496. tags:
  19497. - 通用服务
  19498. /Common/GetServerTime:
  19499. get:
  19500. produces:
  19501. - application/json
  19502. responses:
  19503. "200":
  19504. description: OK
  19505. schema:
  19506. $ref: '#/definitions/app.Response'
  19507. "500":
  19508. description: Internal Server Error
  19509. schema:
  19510. $ref: '#/definitions/app.Response'
  19511. summary: 获取服务器时间
  19512. tags:
  19513. - 通用服务
  19514. /Common/NoticeReaded:
  19515. post:
  19516. parameters:
  19517. - description: 登录账号
  19518. in: query
  19519. name: loginID
  19520. required: true
  19521. type: integer
  19522. - description: 通知公告ID
  19523. in: query
  19524. name: noticeID
  19525. required: true
  19526. type: integer
  19527. produces:
  19528. - application/json
  19529. responses:
  19530. "200":
  19531. description: OK
  19532. schema:
  19533. $ref: '#/definitions/app.Response'
  19534. "500":
  19535. description: Internal Server Error
  19536. schema:
  19537. $ref: '#/definitions/app.Response'
  19538. security:
  19539. - ApiKeyAuth: []
  19540. summary: 通知公告设置已读请求
  19541. tags:
  19542. - 通用服务
  19543. /Common/QueryErrorInfos:
  19544. get:
  19545. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19546. parameters:
  19547. - description: 起始行号前索引
  19548. in: query
  19549. name: rowNumber
  19550. type: string
  19551. produces:
  19552. - application/json
  19553. responses:
  19554. "200":
  19555. description: OK
  19556. schema:
  19557. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19558. "500":
  19559. description: Internal Server Error
  19560. schema:
  19561. $ref: '#/definitions/app.Response'
  19562. summary: 获取数据库错误信息
  19563. tags:
  19564. - 通用服务
  19565. /Common/QueryImageConfigs:
  19566. get:
  19567. parameters:
  19568. - description: 用户id
  19569. in: query
  19570. name: userId
  19571. type: integer
  19572. - description: 类型 - 1:App首页轮播 2:我的
  19573. in: query
  19574. name: imageType
  19575. type: integer
  19576. produces:
  19577. - application/json
  19578. responses:
  19579. "200":
  19580. description: OK
  19581. schema:
  19582. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19583. "500":
  19584. description: Internal Server Error
  19585. schema:
  19586. $ref: '#/definitions/app.Response'
  19587. summary: 查询轮播图配置信息
  19588. tags:
  19589. - 通用服务
  19590. /Common/QueryNotice:
  19591. get:
  19592. parameters:
  19593. - description: 页码
  19594. in: query
  19595. name: page
  19596. type: integer
  19597. - description: 每页条数
  19598. in: query
  19599. name: pagesize
  19600. type: integer
  19601. - description: 登录账号
  19602. in: query
  19603. name: loginID
  19604. required: true
  19605. type: integer
  19606. - description: 消息类型 - 1:公告通知 2:系统消息
  19607. in: query
  19608. name: msgType
  19609. type: integer
  19610. - description: 是否只获取未读信息
  19611. in: query
  19612. name: onlyUnRead
  19613. type: boolean
  19614. - description: 自增ID,传入后会返回这个ID后面的记录
  19615. in: query
  19616. name: lastID
  19617. type: integer
  19618. produces:
  19619. - application/json
  19620. responses:
  19621. "200":
  19622. description: OK
  19623. schema:
  19624. $ref: '#/definitions/common.QueryNoticeRsp'
  19625. "500":
  19626. description: Internal Server Error
  19627. schema:
  19628. $ref: '#/definitions/app.Response'
  19629. security:
  19630. - ApiKeyAuth: []
  19631. summary: 通知公告系统消息查询
  19632. tags:
  19633. - 通用服务
  19634. /Common/QueryProvincesAndCities:
  19635. get:
  19636. parameters:
  19637. - description: 省ID
  19638. in: query
  19639. name: provinceID
  19640. type: integer
  19641. produces:
  19642. - application/json
  19643. responses:
  19644. "200":
  19645. description: OK
  19646. schema:
  19647. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19648. "500":
  19649. description: Internal Server Error
  19650. schema:
  19651. $ref: '#/definitions/app.Response'
  19652. summary: 查询省市信息(不包括区)
  19653. tags:
  19654. - 通用服务
  19655. /Common/QueryTableDefine:
  19656. get:
  19657. parameters:
  19658. - description: 表key
  19659. in: query
  19660. name: tableKey
  19661. type: string
  19662. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19663. in: query
  19664. name: tableType
  19665. type: integer
  19666. produces:
  19667. - application/json
  19668. responses:
  19669. "200":
  19670. description: OK
  19671. schema:
  19672. $ref: '#/definitions/common.QueryTableDefineRsp'
  19673. "500":
  19674. description: Internal Server Error
  19675. schema:
  19676. $ref: '#/definitions/app.Response'
  19677. summary: 查询交易端列表头信息
  19678. tags:
  19679. - 通用服务
  19680. /Common/QueryTraderMenu:
  19681. get:
  19682. parameters:
  19683. - description: 登录账号
  19684. in: query
  19685. name: loginid
  19686. required: true
  19687. type: integer
  19688. produces:
  19689. - application/json
  19690. responses:
  19691. "200":
  19692. description: OK
  19693. schema:
  19694. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19695. "500":
  19696. description: Internal Server Error
  19697. schema:
  19698. $ref: '#/definitions/app.Response'
  19699. summary: 查询交易端菜单
  19700. tags:
  19701. - 通用服务
  19702. /Delivery/QueryDeliveryRelation:
  19703. get:
  19704. parameters:
  19705. - description: 商品ID
  19706. in: query
  19707. name: goodsid
  19708. type: integer
  19709. - description: 品种ID
  19710. in: query
  19711. name: deliverygoodsid
  19712. type: integer
  19713. - description: 市场ID
  19714. in: query
  19715. name: marketid
  19716. type: integer
  19717. produces:
  19718. - application/json
  19719. responses:
  19720. "200":
  19721. description: OK
  19722. schema:
  19723. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19724. "500":
  19725. description: Internal Server Error
  19726. schema:
  19727. $ref: '#/definitions/app.Response'
  19728. security:
  19729. - ApiKeyAuth: []
  19730. summary: 查询商品交割关系表
  19731. tags:
  19732. - 交割服务
  19733. /Ermcp/GetErmcpGoods:
  19734. get:
  19735. parameters:
  19736. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19737. in: query
  19738. name: lastUpdateTime
  19739. type: string
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. $ref: '#/definitions/models.ErmcpGoods'
  19747. "500":
  19748. description: Internal Server Error
  19749. schema:
  19750. $ref: '#/definitions/app.Response'
  19751. security:
  19752. - ApiKeyAuth: []
  19753. summary: 查询企业风管期货商品信息
  19754. tags:
  19755. - 企业风险管理(app)
  19756. /Ermcp/GetErmcpGoodsSortByPosition:
  19757. get:
  19758. parameters:
  19759. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19760. in: query
  19761. name: sortIndex
  19762. type: string
  19763. produces:
  19764. - application/json
  19765. responses:
  19766. "200":
  19767. description: OK
  19768. schema:
  19769. $ref: '#/definitions/models.Goodssortbypreposition'
  19770. "500":
  19771. description: Internal Server Error
  19772. schema:
  19773. $ref: '#/definitions/app.Response'
  19774. security:
  19775. - ApiKeyAuth: []
  19776. summary: 查询企业风管期货主力、次主力商品信息
  19777. tags:
  19778. - 企业风险管理(app)
  19779. /Ermcp/GetErmcpOutAccountStatus:
  19780. get:
  19781. parameters:
  19782. - description: 登录账号
  19783. in: query
  19784. name: loginID
  19785. required: true
  19786. type: integer
  19787. produces:
  19788. - application/json
  19789. responses:
  19790. "200":
  19791. description: OK
  19792. schema:
  19793. $ref: '#/definitions/models.Hedgemarketopenlog'
  19794. "500":
  19795. description: Internal Server Error
  19796. schema:
  19797. $ref: '#/definitions/app.Response'
  19798. security:
  19799. - ApiKeyAuth: []
  19800. summary: 获取目标登录账号当前对冲账号在线状态
  19801. tags:
  19802. - 企业风险管理(app)
  19803. /Ermcp/GetErmcpRoleFuncMenuLists:
  19804. get:
  19805. parameters:
  19806. - description: 登录账号
  19807. in: query
  19808. name: loginID
  19809. required: true
  19810. type: integer
  19811. produces:
  19812. - application/json
  19813. responses:
  19814. "200":
  19815. description: OK
  19816. schema:
  19817. $ref: '#/definitions/models.Funcmenulist'
  19818. "500":
  19819. description: Internal Server Error
  19820. schema:
  19821. $ref: '#/definitions/app.Response'
  19822. security:
  19823. - ApiKeyAuth: []
  19824. summary: 获取企业风管终端权限
  19825. tags:
  19826. - 企业风险管理(app)
  19827. /Ermcp/QueryAccMgrBizGroupSet:
  19828. get:
  19829. parameters:
  19830. - description: 用户ID
  19831. in: query
  19832. name: userid
  19833. required: true
  19834. type: integer
  19835. - description: 现货商品id
  19836. in: query
  19837. name: deliverygoodsid
  19838. type: integer
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. items:
  19846. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19847. type: array
  19848. "500":
  19849. description: Internal Server Error
  19850. schema:
  19851. $ref: '#/definitions/app.Response'
  19852. security:
  19853. - ApiKeyAuth: []
  19854. summary: 查询业务类型分组(账户管理/账户设置)
  19855. tags:
  19856. - 企业风险管理(app)
  19857. /Ermcp/QueryAccMgrLoginUser:
  19858. get:
  19859. parameters:
  19860. - description: 用户ID
  19861. in: query
  19862. name: userid
  19863. required: true
  19864. type: integer
  19865. - description: 用户类型 2-机构 7-企业成员
  19866. in: query
  19867. name: usertype
  19868. type: integer
  19869. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19870. in: query
  19871. name: querytype
  19872. required: true
  19873. type: integer
  19874. produces:
  19875. - application/json
  19876. responses:
  19877. "200":
  19878. description: OK
  19879. schema:
  19880. items:
  19881. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19882. type: array
  19883. "500":
  19884. description: Internal Server Error
  19885. schema:
  19886. $ref: '#/definitions/app.Response'
  19887. security:
  19888. - ApiKeyAuth: []
  19889. summary: 查询账户管理登录账号(账户管理/登录账号)
  19890. tags:
  19891. - 企业风险管理(app)
  19892. /Ermcp/QueryAccMgrMainAccountInfo:
  19893. get:
  19894. parameters:
  19895. - description: 用户ID
  19896. in: query
  19897. name: userid
  19898. type: integer
  19899. - description: 主账号id
  19900. in: query
  19901. name: accountid
  19902. type: integer
  19903. produces:
  19904. - application/json
  19905. responses:
  19906. "200":
  19907. description: OK
  19908. schema:
  19909. items:
  19910. $ref: '#/definitions/models.MainAccountInfo'
  19911. type: array
  19912. "500":
  19913. description: Internal Server Error
  19914. schema:
  19915. $ref: '#/definitions/app.Response'
  19916. security:
  19917. - ApiKeyAuth: []
  19918. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19919. tags:
  19920. - 企业风险管理(app)
  19921. /Ermcp/QueryAccMgrRole:
  19922. get:
  19923. parameters:
  19924. - description: 用户ID
  19925. in: query
  19926. name: userid
  19927. required: true
  19928. type: integer
  19929. produces:
  19930. - application/json
  19931. responses:
  19932. "200":
  19933. description: OK
  19934. schema:
  19935. items:
  19936. $ref: '#/definitions/models.ErmcpRole'
  19937. type: array
  19938. "500":
  19939. description: Internal Server Error
  19940. schema:
  19941. $ref: '#/definitions/app.Response'
  19942. security:
  19943. - ApiKeyAuth: []
  19944. summary: 查询账户管理角色设置(账户管理/角色设置)
  19945. tags:
  19946. - 企业风险管理(app)
  19947. /Ermcp/QueryAccMgrRoleMenu:
  19948. get:
  19949. parameters:
  19950. - description: 用户ID
  19951. in: query
  19952. name: userid
  19953. required: true
  19954. type: integer
  19955. - description: 角色id(可多个,逗号隔开)
  19956. in: query
  19957. name: roleid
  19958. type: string
  19959. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19960. in: query
  19961. name: menutype
  19962. type: integer
  19963. produces:
  19964. - application/json
  19965. responses:
  19966. "200":
  19967. description: OK
  19968. schema:
  19969. items:
  19970. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19971. type: array
  19972. "500":
  19973. description: Internal Server Error
  19974. schema:
  19975. $ref: '#/definitions/app.Response'
  19976. security:
  19977. - ApiKeyAuth: []
  19978. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19979. tags:
  19980. - 企业风险管理(app)
  19981. /Ermcp/QueryAccMgrTaAccountInfo:
  19982. get:
  19983. parameters:
  19984. - description: 用户ID
  19985. in: query
  19986. name: userid
  19987. required: true
  19988. type: integer
  19989. - description: 账号id
  19990. in: query
  19991. name: accountid
  19992. type: integer
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. items:
  20000. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20001. type: array
  20002. "500":
  20003. description: Internal Server Error
  20004. schema:
  20005. $ref: '#/definitions/app.Response'
  20006. security:
  20007. - ApiKeyAuth: []
  20008. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20009. tags:
  20010. - 企业风险管理(app)
  20011. /Ermcp/QueryAccMgrTaaccount:
  20012. get:
  20013. parameters:
  20014. - description: 用户ID
  20015. in: query
  20016. name: userid
  20017. required: true
  20018. type: integer
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. items:
  20026. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20027. type: array
  20028. "500":
  20029. description: Internal Server Error
  20030. schema:
  20031. $ref: '#/definitions/app.Response'
  20032. security:
  20033. - ApiKeyAuth: []
  20034. summary: 查询账户管理期货账号(账户管理/期货账号)
  20035. tags:
  20036. - 企业风险管理(app)
  20037. /Ermcp/QueryAvaildGoodsGroup:
  20038. get:
  20039. parameters:
  20040. - description: 所属机构ID
  20041. in: query
  20042. name: userid
  20043. required: true
  20044. type: integer
  20045. produces:
  20046. - application/json
  20047. responses:
  20048. "200":
  20049. description: OK
  20050. schema:
  20051. items:
  20052. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20053. type: array
  20054. "500":
  20055. description: Internal Server Error
  20056. schema:
  20057. $ref: '#/definitions/app.Response'
  20058. security:
  20059. - ApiKeyAuth: []
  20060. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20061. tags:
  20062. - 企业风险管理(app)
  20063. /Ermcp/QueryBusinessDj:
  20064. get:
  20065. parameters:
  20066. - description: 用户ID
  20067. in: query
  20068. name: UserId
  20069. required: true
  20070. type: integer
  20071. - description: 用户类型 2-机构 7-企业成员
  20072. in: query
  20073. name: usertype
  20074. type: integer
  20075. - description: 现货合同ID, 不填则查所有
  20076. in: query
  20077. name: relatedid
  20078. type: string
  20079. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20080. in: query
  20081. name: applystatus
  20082. type: string
  20083. produces:
  20084. - application/json
  20085. responses:
  20086. "200":
  20087. description: OK
  20088. schema:
  20089. items:
  20090. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20091. type: array
  20092. "500":
  20093. description: Internal Server Error
  20094. schema:
  20095. $ref: '#/definitions/app.Response'
  20096. security:
  20097. - ApiKeyAuth: []
  20098. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20099. tags:
  20100. - 企业风险管理(app)
  20101. /Ermcp/QueryBusinessFp:
  20102. get:
  20103. parameters:
  20104. - description: 用户ID
  20105. in: query
  20106. name: UserId
  20107. required: true
  20108. type: integer
  20109. - description: 用户类型 2-机构 7-企业成员
  20110. in: query
  20111. name: usertype
  20112. type: integer
  20113. - description: 现货合同ID, 不填则查所有
  20114. in: query
  20115. name: relatedid
  20116. type: string
  20117. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20118. in: query
  20119. name: applystatus
  20120. type: string
  20121. produces:
  20122. - application/json
  20123. responses:
  20124. "200":
  20125. description: OK
  20126. schema:
  20127. items:
  20128. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20129. type: array
  20130. "500":
  20131. description: Internal Server Error
  20132. schema:
  20133. $ref: '#/definitions/app.Response'
  20134. security:
  20135. - ApiKeyAuth: []
  20136. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20137. tags:
  20138. - 企业风险管理(app)
  20139. /Ermcp/QueryBusinessJs:
  20140. get:
  20141. parameters:
  20142. - description: 用户ID
  20143. in: query
  20144. name: UserId
  20145. required: true
  20146. type: integer
  20147. - description: 用户类型 2-机构 7-企业成员
  20148. in: query
  20149. name: usertype
  20150. type: integer
  20151. - description: 现货合同ID, 不填则查所有
  20152. in: query
  20153. name: relatedid
  20154. type: string
  20155. - description: 操作申请id
  20156. in: query
  20157. name: operateapplyid
  20158. type: string
  20159. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20160. in: query
  20161. name: applystatus
  20162. type: string
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. items:
  20170. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20171. type: array
  20172. "500":
  20173. description: Internal Server Error
  20174. schema:
  20175. $ref: '#/definitions/app.Response'
  20176. security:
  20177. - ApiKeyAuth: []
  20178. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20179. tags:
  20180. - 企业风险管理(app)
  20181. /Ermcp/QueryBusinessJsEx:
  20182. get:
  20183. parameters:
  20184. - description: 用户ID
  20185. in: query
  20186. name: UserId
  20187. required: true
  20188. type: integer
  20189. - description: 用户类型 2-机构 7-企业成员
  20190. in: query
  20191. name: usertype
  20192. type: integer
  20193. - description: 现货合同ID, 不填则查所有
  20194. in: query
  20195. name: relatedid
  20196. type: string
  20197. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20198. in: query
  20199. name: applystatus
  20200. type: string
  20201. produces:
  20202. - application/json
  20203. responses:
  20204. "200":
  20205. description: OK
  20206. schema:
  20207. items:
  20208. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20209. type: array
  20210. "500":
  20211. description: Internal Server Error
  20212. schema:
  20213. $ref: '#/definitions/app.Response'
  20214. security:
  20215. - ApiKeyAuth: []
  20216. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20217. tags:
  20218. - 企业风险管理(app)
  20219. /Ermcp/QueryBusinessKx:
  20220. get:
  20221. parameters:
  20222. - description: 用户ID
  20223. in: query
  20224. name: UserId
  20225. required: true
  20226. type: integer
  20227. - description: 用户类型 2-机构 7-企业成员
  20228. in: query
  20229. name: usertype
  20230. type: integer
  20231. - description: 现货合同ID, 不填则查所有
  20232. in: query
  20233. name: relatedid
  20234. type: string
  20235. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20236. in: query
  20237. name: applystatus
  20238. type: string
  20239. produces:
  20240. - application/json
  20241. responses:
  20242. "200":
  20243. description: OK
  20244. schema:
  20245. items:
  20246. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20247. type: array
  20248. "500":
  20249. description: Internal Server Error
  20250. schema:
  20251. $ref: '#/definitions/app.Response'
  20252. security:
  20253. - ApiKeyAuth: []
  20254. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20255. tags:
  20256. - 企业风险管理(app)
  20257. /Ermcp/QueryChangeLog:
  20258. get:
  20259. parameters:
  20260. - description: 合同ID
  20261. in: query
  20262. name: RelatedId
  20263. required: true
  20264. type: string
  20265. produces:
  20266. - application/json
  20267. responses:
  20268. "200":
  20269. description: OK
  20270. schema:
  20271. items:
  20272. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20273. type: array
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. security:
  20279. - ApiKeyAuth: []
  20280. summary: 查询变更记录
  20281. tags:
  20282. - 企业风险管理(app)
  20283. /Ermcp/QueryErmcpHisOrderDetails:
  20284. get:
  20285. parameters:
  20286. - description: 资金账户ID
  20287. in: query
  20288. name: accountID
  20289. required: true
  20290. type: integer
  20291. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20292. in: query
  20293. name: startDate
  20294. type: string
  20295. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20296. in: query
  20297. name: endDate
  20298. type: string
  20299. produces:
  20300. - application/json
  20301. responses:
  20302. "200":
  20303. description: OK
  20304. schema:
  20305. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20306. "500":
  20307. description: Internal Server Error
  20308. schema:
  20309. $ref: '#/definitions/app.Response'
  20310. security:
  20311. - ApiKeyAuth: []
  20312. summary: 获取企业风管期货历史委托单信息
  20313. tags:
  20314. - 企业风险管理(app)
  20315. /Ermcp/QueryErmcpHisTradeDetails:
  20316. get:
  20317. parameters:
  20318. - description: 资金账户ID
  20319. in: query
  20320. name: accountID
  20321. required: true
  20322. type: integer
  20323. - description: 商品ID
  20324. in: query
  20325. name: goodsID
  20326. type: integer
  20327. - description: 买卖方向,0:买 1:卖
  20328. in: query
  20329. name: buyOrSell
  20330. type: integer
  20331. - description: 关联委托单号
  20332. in: query
  20333. name: orderID
  20334. type: integer
  20335. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20336. in: query
  20337. name: startDate
  20338. type: string
  20339. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20340. in: query
  20341. name: endDate
  20342. type: string
  20343. produces:
  20344. - application/json
  20345. responses:
  20346. "200":
  20347. description: OK
  20348. schema:
  20349. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20350. "500":
  20351. description: Internal Server Error
  20352. schema:
  20353. $ref: '#/definitions/app.Response'
  20354. security:
  20355. - ApiKeyAuth: []
  20356. summary: 获取企业风管期货历史成交单信息
  20357. tags:
  20358. - 企业风险管理(app)
  20359. /Ermcp/QueryErmcpInnerHolderDetails:
  20360. get:
  20361. parameters:
  20362. - description: 资金账户ID
  20363. in: query
  20364. name: accountID
  20365. required: true
  20366. type: integer
  20367. - description: 商品ID
  20368. in: query
  20369. name: goodsID
  20370. type: integer
  20371. - description: 买卖方向,0:买 1:卖
  20372. in: query
  20373. name: buyOrSell
  20374. type: integer
  20375. produces:
  20376. - application/json
  20377. responses:
  20378. "200":
  20379. description: OK
  20380. schema:
  20381. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20382. "500":
  20383. description: Internal Server Error
  20384. schema:
  20385. $ref: '#/definitions/app.Response'
  20386. security:
  20387. - ApiKeyAuth: []
  20388. summary: 获取企业风管期货内部持仓单信息
  20389. tags:
  20390. - 企业风险管理(app)
  20391. /Ermcp/QueryErmcpOrderDetails:
  20392. get:
  20393. parameters:
  20394. - description: 资金账户ID
  20395. in: query
  20396. name: accountID
  20397. required: true
  20398. type: integer
  20399. produces:
  20400. - application/json
  20401. responses:
  20402. "200":
  20403. description: OK
  20404. schema:
  20405. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20406. "500":
  20407. description: Internal Server Error
  20408. schema:
  20409. $ref: '#/definitions/app.Response'
  20410. security:
  20411. - ApiKeyAuth: []
  20412. summary: 获取企业风管期货委托单信息
  20413. tags:
  20414. - 企业风险管理(app)
  20415. /Ermcp/QueryErmcpTradeDetails:
  20416. get:
  20417. parameters:
  20418. - description: 资金账户ID
  20419. in: query
  20420. name: accountID
  20421. required: true
  20422. type: integer
  20423. - description: 商品ID
  20424. in: query
  20425. name: goodsID
  20426. type: integer
  20427. - description: 买卖方向,0:买 1:卖
  20428. in: query
  20429. name: buyOrSell
  20430. type: integer
  20431. - description: 关联委托单号
  20432. in: query
  20433. name: orderID
  20434. type: integer
  20435. produces:
  20436. - application/json
  20437. responses:
  20438. "200":
  20439. description: OK
  20440. schema:
  20441. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20442. "500":
  20443. description: Internal Server Error
  20444. schema:
  20445. $ref: '#/definitions/app.Response'
  20446. security:
  20447. - ApiKeyAuth: []
  20448. summary: 获取企业风管期货成交单信息
  20449. tags:
  20450. - 企业风险管理(app)
  20451. /Ermcp/QueryErmcpTradePosition:
  20452. get:
  20453. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20454. parameters:
  20455. - description: 资金账户ID
  20456. in: query
  20457. name: accountID
  20458. required: true
  20459. type: integer
  20460. - description: 所属市场ID
  20461. in: query
  20462. name: marketID
  20463. type: integer
  20464. produces:
  20465. - application/json
  20466. responses:
  20467. "200":
  20468. description: OK
  20469. schema:
  20470. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20471. "500":
  20472. description: Internal Server Error
  20473. schema:
  20474. $ref: '#/definitions/app.Response'
  20475. security:
  20476. - ApiKeyAuth: []
  20477. summary: 获取企业风管期货持仓头寸信息
  20478. tags:
  20479. - 企业风险管理(app)
  20480. /Ermcp/QueryExposureDetail:
  20481. get:
  20482. parameters:
  20483. - description: 所属机构ID
  20484. in: query
  20485. name: areaUserId
  20486. required: true
  20487. type: integer
  20488. - description: 套保商品
  20489. in: query
  20490. name: middleGoodsId
  20491. required: true
  20492. type: integer
  20493. produces:
  20494. - application/json
  20495. responses:
  20496. "200":
  20497. description: OK
  20498. schema:
  20499. items:
  20500. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20501. type: array
  20502. "500":
  20503. description: Internal Server Error
  20504. schema:
  20505. $ref: '#/definitions/app.Response'
  20506. security:
  20507. - ApiKeyAuth: []
  20508. summary: 查询敞口现货明细
  20509. tags:
  20510. - 企业风险管理(app)
  20511. /Ermcp/QueryExposureGoods:
  20512. get:
  20513. parameters:
  20514. - description: 套保商品id
  20515. in: query
  20516. name: middlegoodsid
  20517. required: true
  20518. type: integer
  20519. produces:
  20520. - application/json
  20521. responses:
  20522. "200":
  20523. description: OK
  20524. schema:
  20525. items:
  20526. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20527. type: array
  20528. "500":
  20529. description: Internal Server Error
  20530. schema:
  20531. $ref: '#/definitions/app.Response'
  20532. security:
  20533. - ApiKeyAuth: []
  20534. summary: 查询敞口主力合约
  20535. tags:
  20536. - 企业风险管理(app)
  20537. /Ermcp/QueryExposureHedgePosition:
  20538. get:
  20539. parameters:
  20540. - description: 用户id
  20541. in: query
  20542. name: userid
  20543. required: true
  20544. type: integer
  20545. produces:
  20546. - application/json
  20547. responses:
  20548. "200":
  20549. description: OK
  20550. schema:
  20551. items:
  20552. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20553. type: array
  20554. "500":
  20555. description: Internal Server Error
  20556. schema:
  20557. $ref: '#/definitions/app.Response'
  20558. security:
  20559. - ApiKeyAuth: []
  20560. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20561. tags:
  20562. - 企业风险管理(app)
  20563. /Ermcp/QueryExposureHedgePositionDetail:
  20564. get:
  20565. parameters:
  20566. - description: 所属机构ID
  20567. in: query
  20568. name: userid
  20569. required: true
  20570. type: integer
  20571. - description: 商品id
  20572. in: query
  20573. name: goodsId
  20574. required: true
  20575. type: integer
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. items:
  20583. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20584. type: array
  20585. "500":
  20586. description: Internal Server Error
  20587. schema:
  20588. $ref: '#/definitions/app.Response'
  20589. security:
  20590. - ApiKeyAuth: []
  20591. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20592. tags:
  20593. - 企业风险管理(app)
  20594. /Ermcp/QueryExposureSpot:
  20595. get:
  20596. parameters:
  20597. - description: 所属机构ID
  20598. in: query
  20599. name: areaUserId
  20600. required: true
  20601. type: integer
  20602. produces:
  20603. - application/json
  20604. responses:
  20605. "200":
  20606. description: OK
  20607. schema:
  20608. items:
  20609. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20610. type: array
  20611. "500":
  20612. description: Internal Server Error
  20613. schema:
  20614. $ref: '#/definitions/app.Response'
  20615. security:
  20616. - ApiKeyAuth: []
  20617. summary: 查询敞口现货头寸(敞口/现货头寸)
  20618. tags:
  20619. - 企业风险管理(app)
  20620. /Ermcp/QueryExposureSpotDetail:
  20621. get:
  20622. parameters:
  20623. - description: 所属机构ID
  20624. in: query
  20625. name: areaUserId
  20626. required: true
  20627. type: integer
  20628. - description: 现货品种ID
  20629. in: query
  20630. name: wrstandardId
  20631. required: true
  20632. type: integer
  20633. produces:
  20634. - application/json
  20635. responses:
  20636. "200":
  20637. description: OK
  20638. schema:
  20639. items:
  20640. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20641. type: array
  20642. "500":
  20643. description: Internal Server Error
  20644. schema:
  20645. $ref: '#/definitions/app.Response'
  20646. security:
  20647. - ApiKeyAuth: []
  20648. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20649. tags:
  20650. - 企业风险管理(app)
  20651. /Ermcp/QueryFuturesCompany:
  20652. get:
  20653. produces:
  20654. - application/json
  20655. responses:
  20656. "200":
  20657. description: OK
  20658. schema:
  20659. items:
  20660. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20661. type: array
  20662. "500":
  20663. description: Internal Server Error
  20664. schema:
  20665. $ref: '#/definitions/app.Response'
  20666. security:
  20667. - ApiKeyAuth: []
  20668. summary: 查询期货公司
  20669. tags:
  20670. - 企业风险管理(app)
  20671. /Ermcp/QueryGGConvertConfig:
  20672. get:
  20673. parameters:
  20674. - description: 品种id(不填则查所有)
  20675. in: query
  20676. name: goodsgroupid
  20677. type: integer
  20678. produces:
  20679. - application/json
  20680. responses:
  20681. "200":
  20682. description: OK
  20683. schema:
  20684. items:
  20685. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20686. type: array
  20687. "500":
  20688. description: Internal Server Error
  20689. schema:
  20690. $ref: '#/definitions/app.Response'
  20691. security:
  20692. - ApiKeyAuth: []
  20693. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20694. tags:
  20695. - 企业风险管理(app)
  20696. /Ermcp/QueryGoodsBrand:
  20697. get:
  20698. parameters:
  20699. - description: 用户ID
  20700. in: query
  20701. name: userid
  20702. required: true
  20703. type: integer
  20704. - description: 现货商品ID
  20705. in: query
  20706. name: wrstandardid
  20707. type: integer
  20708. produces:
  20709. - application/json
  20710. responses:
  20711. "200":
  20712. description: OK
  20713. schema:
  20714. items:
  20715. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20716. type: array
  20717. "500":
  20718. description: Internal Server Error
  20719. schema:
  20720. $ref: '#/definitions/app.Response'
  20721. security:
  20722. - ApiKeyAuth: []
  20723. summary: 查询商品品牌
  20724. tags:
  20725. - 企业风险管理(app)
  20726. /Ermcp/QueryGoodsModel:
  20727. get:
  20728. parameters:
  20729. - description: 用户ID
  20730. in: query
  20731. name: userid
  20732. required: true
  20733. type: integer
  20734. produces:
  20735. - application/json
  20736. responses:
  20737. "200":
  20738. description: OK
  20739. schema:
  20740. items:
  20741. $ref: '#/definitions/models.ErmcpGoodsModel'
  20742. type: array
  20743. "500":
  20744. description: Internal Server Error
  20745. schema:
  20746. $ref: '#/definitions/app.Response'
  20747. security:
  20748. - ApiKeyAuth: []
  20749. summary: 查询商品型号
  20750. tags:
  20751. - 企业风险管理(app)
  20752. /Ermcp/QueryHisExposure:
  20753. get:
  20754. parameters:
  20755. - description: 用户id
  20756. in: query
  20757. name: userid
  20758. required: true
  20759. type: integer
  20760. - description: 每个品种记录数
  20761. in: query
  20762. name: lastNum
  20763. required: true
  20764. type: integer
  20765. produces:
  20766. - application/json
  20767. responses:
  20768. "200":
  20769. description: OK
  20770. schema:
  20771. items:
  20772. $ref: '#/definitions/ermcp.HisExposureRsp'
  20773. type: array
  20774. "500":
  20775. description: Internal Server Error
  20776. schema:
  20777. $ref: '#/definitions/app.Response'
  20778. security:
  20779. - ApiKeyAuth: []
  20780. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20781. tags:
  20782. - 企业风险管理(app)
  20783. /Ermcp/QueryMiddleGoods:
  20784. get:
  20785. parameters:
  20786. - description: 所属机构ID
  20787. in: query
  20788. name: userid
  20789. required: true
  20790. type: integer
  20791. - description: 状态 0-停用 1-正常
  20792. in: query
  20793. name: status
  20794. required: true
  20795. type: integer
  20796. produces:
  20797. - application/json
  20798. responses:
  20799. "200":
  20800. description: OK
  20801. schema:
  20802. items:
  20803. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20804. type: array
  20805. "500":
  20806. description: Internal Server Error
  20807. schema:
  20808. $ref: '#/definitions/app.Response'
  20809. security:
  20810. - ApiKeyAuth: []
  20811. summary: 查询套保品种(菜单:套保品种)
  20812. tags:
  20813. - 企业风险管理(app)
  20814. /Ermcp/QueryMiddleGoodsChangeLog:
  20815. get:
  20816. parameters:
  20817. - description: 所属机构ID
  20818. in: query
  20819. name: userid
  20820. required: true
  20821. type: integer
  20822. - description: 套保品种id
  20823. in: query
  20824. name: middlegoodsid
  20825. required: true
  20826. type: integer
  20827. produces:
  20828. - application/json
  20829. responses:
  20830. "200":
  20831. description: OK
  20832. schema:
  20833. items:
  20834. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20835. type: array
  20836. "500":
  20837. description: Internal Server Error
  20838. schema:
  20839. $ref: '#/definitions/app.Response'
  20840. security:
  20841. - ApiKeyAuth: []
  20842. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20843. tags:
  20844. - 企业风险管理(app)
  20845. /Ermcp/QueryMiddleGoodsDetail:
  20846. get:
  20847. parameters:
  20848. - description: 所属机构ID
  20849. in: query
  20850. name: userid
  20851. required: true
  20852. type: integer
  20853. - description: 套保品种id
  20854. in: query
  20855. name: middlegoodsid
  20856. type: integer
  20857. produces:
  20858. - application/json
  20859. responses:
  20860. "200":
  20861. description: OK
  20862. schema:
  20863. items:
  20864. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20865. type: array
  20866. "500":
  20867. description: Internal Server Error
  20868. schema:
  20869. $ref: '#/definitions/app.Response'
  20870. security:
  20871. - ApiKeyAuth: []
  20872. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20873. tags:
  20874. - 企业风险管理(app)
  20875. /Ermcp/QueryPendingAuditInfo:
  20876. get:
  20877. parameters:
  20878. - description: 用户ID
  20879. in: query
  20880. name: UserId
  20881. required: true
  20882. type: integer
  20883. produces:
  20884. - application/json
  20885. responses:
  20886. "200":
  20887. description: OK
  20888. schema:
  20889. items:
  20890. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20891. type: array
  20892. "500":
  20893. description: Internal Server Error
  20894. schema:
  20895. $ref: '#/definitions/app.Response'
  20896. security:
  20897. - ApiKeyAuth: []
  20898. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20899. tags:
  20900. - 企业风险管理(app)
  20901. /Ermcp/QueryRealtimeExposure:
  20902. get:
  20903. parameters:
  20904. - description: 所属机构ID
  20905. in: query
  20906. name: userid
  20907. required: true
  20908. type: integer
  20909. produces:
  20910. - application/json
  20911. responses:
  20912. "200":
  20913. description: OK
  20914. schema:
  20915. items:
  20916. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20917. type: array
  20918. "500":
  20919. description: Internal Server Error
  20920. schema:
  20921. $ref: '#/definitions/app.Response'
  20922. security:
  20923. - ApiKeyAuth: []
  20924. summary: 查询实时敞口
  20925. tags:
  20926. - 企业风险管理(app)
  20927. /Ermcp/QueryRealtimeExposurePosition:
  20928. get:
  20929. parameters:
  20930. - description: 用户id
  20931. in: query
  20932. name: userid
  20933. required: true
  20934. type: integer
  20935. - description: 套保商品ID
  20936. in: query
  20937. name: middleGoodsId
  20938. required: true
  20939. type: integer
  20940. produces:
  20941. - application/json
  20942. responses:
  20943. "200":
  20944. description: OK
  20945. schema:
  20946. items:
  20947. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20948. type: array
  20949. "500":
  20950. description: Internal Server Error
  20951. schema:
  20952. $ref: '#/definitions/app.Response'
  20953. security:
  20954. - ApiKeyAuth: []
  20955. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20956. tags:
  20957. - 企业风险管理(app)
  20958. /Ermcp/QueryRoleMenu:
  20959. get:
  20960. parameters:
  20961. - description: 登录ID
  20962. in: query
  20963. name: loginid
  20964. required: true
  20965. type: integer
  20966. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20967. in: query
  20968. name: menutype
  20969. type: integer
  20970. produces:
  20971. - application/json
  20972. responses:
  20973. "200":
  20974. description: OK
  20975. schema:
  20976. items:
  20977. $ref: '#/definitions/models.RoleMenu'
  20978. type: array
  20979. "500":
  20980. description: Internal Server Error
  20981. schema:
  20982. $ref: '#/definitions/app.Response'
  20983. security:
  20984. - ApiKeyAuth: []
  20985. summary: 查询角色菜单和权限
  20986. tags:
  20987. - 企业风险管理(app)
  20988. /Ermcp/QueryTradeConfigTMP:
  20989. get:
  20990. parameters:
  20991. - description: 所属机构id
  20992. in: query
  20993. name: areauserid
  20994. type: integer
  20995. produces:
  20996. - application/json
  20997. responses:
  20998. "200":
  20999. description: OK
  21000. schema:
  21001. items:
  21002. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21003. type: array
  21004. "500":
  21005. description: Internal Server Error
  21006. schema:
  21007. $ref: '#/definitions/app.Response'
  21008. security:
  21009. - ApiKeyAuth: []
  21010. summary: 查询交易模板配置
  21011. tags:
  21012. - 企业风险管理(app)
  21013. /Ermcp/QueryUserInfo:
  21014. get:
  21015. parameters:
  21016. - description: 所属机构用户ID
  21017. in: query
  21018. name: MemberUserID
  21019. required: true
  21020. type: integer
  21021. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21022. in: query
  21023. name: queryType
  21024. required: true
  21025. type: integer
  21026. produces:
  21027. - application/json
  21028. responses:
  21029. "200":
  21030. description: OK
  21031. schema:
  21032. items:
  21033. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21034. type: array
  21035. "500":
  21036. description: Internal Server Error
  21037. schema:
  21038. $ref: '#/definitions/app.Response'
  21039. security:
  21040. - ApiKeyAuth: []
  21041. summary: 查询客户资料
  21042. tags:
  21043. - 企业风险管理(app)
  21044. /Ermcp/QueryWarehouseInfo:
  21045. get:
  21046. parameters:
  21047. - description: 用户ID
  21048. in: query
  21049. name: userid
  21050. required: true
  21051. type: integer
  21052. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21053. in: query
  21054. name: status
  21055. type: string
  21056. produces:
  21057. - application/json
  21058. responses:
  21059. "200":
  21060. description: OK
  21061. schema:
  21062. items:
  21063. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21064. type: array
  21065. "500":
  21066. description: Internal Server Error
  21067. schema:
  21068. $ref: '#/definitions/app.Response'
  21069. security:
  21070. - ApiKeyAuth: []
  21071. summary: 查询仓库信息
  21072. tags:
  21073. - 企业风险管理(app)
  21074. /Ermcp3/QryAreaExpourseContractDetail:
  21075. get:
  21076. parameters:
  21077. - description: 用户ID
  21078. in: query
  21079. name: userid
  21080. required: true
  21081. type: integer
  21082. - description: 套保商品id
  21083. in: query
  21084. name: middlegoodsid
  21085. required: true
  21086. type: integer
  21087. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21088. in: query
  21089. name: cycletype
  21090. required: true
  21091. type: integer
  21092. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21093. in: query
  21094. name: cycletime
  21095. required: true
  21096. type: string
  21097. produces:
  21098. - application/json
  21099. responses:
  21100. "200":
  21101. description: OK
  21102. schema:
  21103. items:
  21104. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21105. type: array
  21106. "500":
  21107. description: Internal Server Error
  21108. schema:
  21109. $ref: '#/definitions/app.Response'
  21110. security:
  21111. - ApiKeyAuth: []
  21112. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21113. tags:
  21114. - 企业风险管理v3(app)
  21115. /Ermcp3/QryAreaExpourseFutuDetail:
  21116. get:
  21117. parameters:
  21118. - description: 用户ID
  21119. in: query
  21120. name: userid
  21121. required: true
  21122. type: integer
  21123. - description: 套保商品id
  21124. in: query
  21125. name: middlegoodsid
  21126. required: true
  21127. type: integer
  21128. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21129. in: query
  21130. name: cycletype
  21131. required: true
  21132. type: integer
  21133. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21134. in: query
  21135. name: cycletime
  21136. required: true
  21137. type: string
  21138. produces:
  21139. - application/json
  21140. responses:
  21141. "200":
  21142. description: OK
  21143. schema:
  21144. items:
  21145. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21146. type: array
  21147. "500":
  21148. description: Internal Server Error
  21149. schema:
  21150. $ref: '#/definitions/app.Response'
  21151. security:
  21152. - ApiKeyAuth: []
  21153. summary: 查询敞口期货明细(敞口报表/期货明细)
  21154. tags:
  21155. - 企业风险管理v3(app)
  21156. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21157. get:
  21158. parameters:
  21159. - description: 用户ID
  21160. in: query
  21161. name: userid
  21162. required: true
  21163. type: integer
  21164. - description: 套保商品id
  21165. in: query
  21166. name: middlegoodsid
  21167. required: true
  21168. type: integer
  21169. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21170. in: query
  21171. name: cycletype
  21172. required: true
  21173. type: integer
  21174. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21175. in: query
  21176. name: cycletime
  21177. required: true
  21178. type: string
  21179. produces:
  21180. - application/json
  21181. responses:
  21182. "200":
  21183. description: OK
  21184. schema:
  21185. items:
  21186. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21187. type: array
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21195. tags:
  21196. - 企业风险管理v3(app)
  21197. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21198. get:
  21199. parameters:
  21200. - description: 用户ID
  21201. in: query
  21202. name: userid
  21203. required: true
  21204. type: integer
  21205. - description: 套保商品id
  21206. in: query
  21207. name: middlegoodsid
  21208. required: true
  21209. type: integer
  21210. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21211. in: query
  21212. name: cycletype
  21213. required: true
  21214. type: integer
  21215. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21216. in: query
  21217. name: cycletime
  21218. required: true
  21219. type: string
  21220. produces:
  21221. - application/json
  21222. responses:
  21223. "200":
  21224. description: OK
  21225. schema:
  21226. items:
  21227. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21228. type: array
  21229. "500":
  21230. description: Internal Server Error
  21231. schema:
  21232. $ref: '#/definitions/app.Response'
  21233. security:
  21234. - ApiKeyAuth: []
  21235. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21236. tags:
  21237. - 企业风险管理v3(app)
  21238. /Ermcp3/QryAreaExpourseReport:
  21239. get:
  21240. parameters:
  21241. - description: 用户ID
  21242. in: query
  21243. name: userid
  21244. required: true
  21245. type: integer
  21246. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21247. in: query
  21248. name: querytype
  21249. required: true
  21250. type: integer
  21251. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21252. in: query
  21253. name: cycletype
  21254. required: true
  21255. type: integer
  21256. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21257. in: query
  21258. name: cycletime
  21259. required: true
  21260. type: string
  21261. produces:
  21262. - application/json
  21263. responses:
  21264. "200":
  21265. description: OK
  21266. schema:
  21267. items:
  21268. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21269. type: array
  21270. "500":
  21271. description: Internal Server Error
  21272. schema:
  21273. $ref: '#/definitions/app.Response'
  21274. security:
  21275. - ApiKeyAuth: []
  21276. summary: 查询敞口报表
  21277. tags:
  21278. - 企业风险管理v3(app)
  21279. /Ermcp3/QryAreaSpotplReport:
  21280. get:
  21281. parameters:
  21282. - description: 用户ID
  21283. in: query
  21284. name: userid
  21285. required: true
  21286. type: integer
  21287. - description: 查询类型 1-报表 2-报表明细
  21288. in: query
  21289. name: querytype
  21290. required: true
  21291. type: integer
  21292. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21293. in: query
  21294. name: cycletype
  21295. required: true
  21296. type: integer
  21297. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21298. in: query
  21299. name: cycletime
  21300. required: true
  21301. type: string
  21302. - description: 现货品种id(明细必填)
  21303. in: query
  21304. name: deliverygoodsid
  21305. type: integer
  21306. - description: 币种id(明细必填)
  21307. in: query
  21308. name: currencyid
  21309. type: integer
  21310. produces:
  21311. - application/json
  21312. responses:
  21313. "200":
  21314. description: OK
  21315. schema:
  21316. items:
  21317. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21318. type: array
  21319. "500":
  21320. description: Internal Server Error
  21321. schema:
  21322. $ref: '#/definitions/app.Response'
  21323. security:
  21324. - ApiKeyAuth: []
  21325. summary: 查询现货报表
  21326. tags:
  21327. - 企业风险管理v3(app)
  21328. /Ermcp3/QryAreaStockReport:
  21329. get:
  21330. parameters:
  21331. - description: 用户ID
  21332. in: query
  21333. name: userid
  21334. required: true
  21335. type: integer
  21336. - description: 查询类型 1-报表 2-报表明细
  21337. in: query
  21338. name: querytype
  21339. required: true
  21340. type: integer
  21341. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21342. in: query
  21343. name: cycletype
  21344. required: true
  21345. type: integer
  21346. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21347. in: query
  21348. name: cycletime
  21349. required: true
  21350. type: string
  21351. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21352. in: query
  21353. name: sumfields
  21354. type: string
  21355. - description: 品种ID
  21356. in: query
  21357. name: deliverygoodsid
  21358. type: integer
  21359. - description: 品类ID
  21360. in: query
  21361. name: wrstandardid
  21362. type: integer
  21363. - description: 品牌ID
  21364. in: query
  21365. name: spotgoodsbrandid
  21366. type: integer
  21367. - description: 仓库ID
  21368. in: query
  21369. name: warehouseinfoid
  21370. type: integer
  21371. produces:
  21372. - application/json
  21373. responses:
  21374. "200":
  21375. description: OK
  21376. schema:
  21377. items:
  21378. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21379. type: array
  21380. "500":
  21381. description: Internal Server Error
  21382. schema:
  21383. $ref: '#/definitions/app.Response'
  21384. security:
  21385. - ApiKeyAuth: []
  21386. summary: 查询库存报表
  21387. tags:
  21388. - 企业风险管理v3(app)
  21389. /Ermcp3/QryAreaSumPL:
  21390. get:
  21391. parameters:
  21392. - description: 用户ID
  21393. in: query
  21394. name: userid
  21395. required: true
  21396. type: integer
  21397. - description: 查询类型 1-报表 2-报表明细
  21398. in: query
  21399. name: querytype
  21400. required: true
  21401. type: integer
  21402. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21403. in: query
  21404. name: cycletype
  21405. required: true
  21406. type: integer
  21407. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21408. in: query
  21409. name: cycletime
  21410. required: true
  21411. type: string
  21412. - description: 币种id(明细必填)
  21413. in: query
  21414. name: currencyid
  21415. type: integer
  21416. produces:
  21417. - application/json
  21418. responses:
  21419. "200":
  21420. description: OK
  21421. schema:
  21422. items:
  21423. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21424. type: array
  21425. "500":
  21426. description: Internal Server Error
  21427. schema:
  21428. $ref: '#/definitions/app.Response'
  21429. security:
  21430. - ApiKeyAuth: []
  21431. summary: 查询汇总损益表
  21432. tags:
  21433. - 企业风险管理v3(app)
  21434. /Ermcp3/QryFinanceReport:
  21435. get:
  21436. parameters:
  21437. - description: 用户ID
  21438. in: query
  21439. name: userid
  21440. required: true
  21441. type: integer
  21442. - description: 查询类型 1-报表 2-报表明细
  21443. in: query
  21444. name: querytype
  21445. required: true
  21446. type: integer
  21447. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21448. in: query
  21449. name: cycletype
  21450. required: true
  21451. type: integer
  21452. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21453. in: query
  21454. name: cycletime
  21455. required: true
  21456. type: string
  21457. - description: 币种id(报表明细必填)
  21458. in: query
  21459. name: currencyid
  21460. type: integer
  21461. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21462. in: query
  21463. name: sumfields
  21464. type: string
  21465. produces:
  21466. - application/json
  21467. responses:
  21468. "200":
  21469. description: OK
  21470. schema:
  21471. items:
  21472. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21473. type: array
  21474. "500":
  21475. description: Internal Server Error
  21476. schema:
  21477. $ref: '#/definitions/app.Response'
  21478. security:
  21479. - ApiKeyAuth: []
  21480. summary: 查询财务报表
  21481. tags:
  21482. - 企业风险管理v3(app)
  21483. /Ermcp3/QrySCMiddleGoodsReport:
  21484. get:
  21485. parameters:
  21486. - description: 用户ID
  21487. in: query
  21488. name: userid
  21489. required: true
  21490. type: integer
  21491. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21492. in: query
  21493. name: cycletype
  21494. required: true
  21495. type: integer
  21496. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21497. in: query
  21498. name: cycletime
  21499. required: true
  21500. type: string
  21501. - description: 合同id
  21502. in: query
  21503. name: spotcontractid
  21504. type: integer
  21505. - description: 套保品种id
  21506. in: query
  21507. name: middlegoodsid
  21508. type: integer
  21509. - description: 现货品种id
  21510. in: query
  21511. name: deliverygoodsid
  21512. type: integer
  21513. - description: 现货商品id
  21514. in: query
  21515. name: wrstandardid
  21516. type: integer
  21517. - description: 合同编号(模糊匹配)
  21518. in: query
  21519. name: contractno
  21520. type: string
  21521. produces:
  21522. - application/json
  21523. responses:
  21524. "200":
  21525. description: OK
  21526. schema:
  21527. items:
  21528. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21529. type: array
  21530. "500":
  21531. description: Internal Server Error
  21532. schema:
  21533. $ref: '#/definitions/app.Response'
  21534. security:
  21535. - ApiKeyAuth: []
  21536. summary: 查询定价报表
  21537. tags:
  21538. - 企业风险管理v3(app)
  21539. /Ermcp3/QryTaFutureDataReport:
  21540. get:
  21541. parameters:
  21542. - description: 用户ID
  21543. in: query
  21544. name: userid
  21545. required: true
  21546. type: integer
  21547. - description: 查询类型 1-报表 2-报表明细
  21548. in: query
  21549. name: querytype
  21550. required: true
  21551. type: integer
  21552. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21553. in: query
  21554. name: cycletype
  21555. required: true
  21556. type: integer
  21557. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21558. in: query
  21559. name: cycletime
  21560. required: true
  21561. type: string
  21562. - description: 币种id(查明细必填)
  21563. in: query
  21564. name: currencyid
  21565. type: integer
  21566. - description: 品种id(查明细必填)
  21567. in: query
  21568. name: goodsgroupid
  21569. type: integer
  21570. - description: 商品id(查明细必填)
  21571. in: query
  21572. name: goodsid
  21573. type: integer
  21574. - description: 买卖方向(查明细必填)
  21575. in: query
  21576. name: buyorsell
  21577. type: integer
  21578. produces:
  21579. - application/json
  21580. responses:
  21581. "200":
  21582. description: OK
  21583. schema:
  21584. items:
  21585. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21586. type: array
  21587. "500":
  21588. description: Internal Server Error
  21589. schema:
  21590. $ref: '#/definitions/app.Response'
  21591. security:
  21592. - ApiKeyAuth: []
  21593. summary: 查询期货报表
  21594. tags:
  21595. - 企业风险管理v3(app)
  21596. /Ermcp3/QueryAreaStock:
  21597. get:
  21598. parameters:
  21599. - description: 用户ID
  21600. in: query
  21601. name: userid
  21602. required: true
  21603. type: integer
  21604. produces:
  21605. - application/json
  21606. responses:
  21607. "200":
  21608. description: OK
  21609. schema:
  21610. items:
  21611. $ref: '#/definitions/models.Ermcp3AreaStock'
  21612. type: array
  21613. "500":
  21614. description: Internal Server Error
  21615. schema:
  21616. $ref: '#/definitions/app.Response'
  21617. security:
  21618. - ApiKeyAuth: []
  21619. summary: 查询机构库存(库存管理/当前库存)
  21620. tags:
  21621. - 企业风险管理v3(app)
  21622. /Ermcp3/QueryAreaStockApply:
  21623. get:
  21624. parameters:
  21625. - description: 用户ID
  21626. in: query
  21627. name: userid
  21628. required: true
  21629. type: integer
  21630. - description: 用户类型 2-机构 7-企业成员
  21631. in: query
  21632. name: usertype
  21633. type: integer
  21634. - description: 现货商品ID
  21635. in: query
  21636. name: deliverygoodsid
  21637. type: integer
  21638. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21639. in: query
  21640. name: inouttype
  21641. type: string
  21642. - description: 合同ID
  21643. in: query
  21644. name: spotcontractid
  21645. type: integer
  21646. - description: 品类ID
  21647. in: query
  21648. name: wrstandardid
  21649. type: integer
  21650. - description: 品牌ID
  21651. in: query
  21652. name: spotgoodsbrandid
  21653. type: integer
  21654. - description: 仓库ID
  21655. in: query
  21656. name: warehouseinfoid
  21657. type: integer
  21658. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21659. in: query
  21660. name: applystatus
  21661. type: string
  21662. produces:
  21663. - application/json
  21664. responses:
  21665. "200":
  21666. description: OK
  21667. schema:
  21668. items:
  21669. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21670. type: array
  21671. "500":
  21672. description: Internal Server Error
  21673. schema:
  21674. $ref: '#/definitions/app.Response'
  21675. security:
  21676. - ApiKeyAuth: []
  21677. summary: 查询库存申请(出入库记录|库存审核)
  21678. tags:
  21679. - 企业风险管理v3(app)
  21680. /Ermcp3/QueryAreaStockApplySum:
  21681. get:
  21682. parameters:
  21683. - description: 合同ID
  21684. in: query
  21685. name: spotcontractid
  21686. required: true
  21687. type: integer
  21688. produces:
  21689. - application/json
  21690. responses:
  21691. "200":
  21692. description: OK
  21693. schema:
  21694. items:
  21695. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21696. type: array
  21697. "500":
  21698. description: Internal Server Error
  21699. schema:
  21700. $ref: '#/definitions/app.Response'
  21701. security:
  21702. - ApiKeyAuth: []
  21703. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21704. tags:
  21705. - 企业风险管理v3(app)
  21706. /Ermcp3/QueryDGFactoryItem:
  21707. get:
  21708. parameters:
  21709. - description: 用户id
  21710. in: query
  21711. name: userid
  21712. type: integer
  21713. - description: 用户类型 2-机构 7-企业成员
  21714. in: query
  21715. name: usertype
  21716. type: integer
  21717. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21718. in: query
  21719. name: dgfactoryitemid
  21720. type: integer
  21721. - description: 现货品种ID
  21722. in: query
  21723. name: deliverygoodsid
  21724. type: integer
  21725. - description: 要素项类型
  21726. in: query
  21727. name: dgfactoryitemtypeid
  21728. type: integer
  21729. - description: 顺序
  21730. in: query
  21731. name: orderindex
  21732. type: integer
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询品种要素定义项
  21749. tags:
  21750. - 企业风险管理v3(app)
  21751. /Ermcp3/QueryDeliveryGoods:
  21752. get:
  21753. parameters:
  21754. - description: 用户id
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 用户类型 2-机构 7-企业成员
  21760. in: query
  21761. name: usertype
  21762. type: integer
  21763. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21764. in: query
  21765. name: excludecfg
  21766. type: integer
  21767. produces:
  21768. - application/json
  21769. responses:
  21770. "200":
  21771. description: OK
  21772. schema:
  21773. items:
  21774. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21775. type: array
  21776. "500":
  21777. description: Internal Server Error
  21778. schema:
  21779. $ref: '#/definitions/app.Response'
  21780. security:
  21781. - ApiKeyAuth: []
  21782. summary: 查询现货商品
  21783. tags:
  21784. - 企业风险管理v3(app)
  21785. /Ermcp3/QueryDeliveryGoodsDetail:
  21786. get:
  21787. parameters:
  21788. - description: 用户id
  21789. in: query
  21790. name: userid
  21791. required: true
  21792. type: integer
  21793. - description: 用户类型 2-机构 7-企业成员
  21794. in: query
  21795. name: usertype
  21796. type: integer
  21797. - description: 现货商品id
  21798. in: query
  21799. name: deliverygoodsid
  21800. type: integer
  21801. produces:
  21802. - application/json
  21803. responses:
  21804. "200":
  21805. description: OK
  21806. schema:
  21807. items:
  21808. $ref: '#/definitions/models.XHDeliveryGoods'
  21809. type: array
  21810. "500":
  21811. description: Internal Server Error
  21812. schema:
  21813. $ref: '#/definitions/app.Response'
  21814. security:
  21815. - ApiKeyAuth: []
  21816. summary: 查询现货商品详情
  21817. tags:
  21818. - 企业风险管理v3(app)
  21819. /Ermcp3/QueryExposureDetail:
  21820. get:
  21821. parameters:
  21822. - description: 用户id
  21823. in: query
  21824. name: userid
  21825. required: true
  21826. type: integer
  21827. - description: 用户类型 2-机构 7-企业成员
  21828. in: query
  21829. name: usertype
  21830. type: integer
  21831. - description: 套保商品
  21832. in: query
  21833. name: middlegoodsid
  21834. required: true
  21835. type: integer
  21836. produces:
  21837. - application/json
  21838. responses:
  21839. "200":
  21840. description: OK
  21841. schema:
  21842. items:
  21843. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21844. type: array
  21845. "500":
  21846. description: Internal Server Error
  21847. schema:
  21848. $ref: '#/definitions/app.Response'
  21849. security:
  21850. - ApiKeyAuth: []
  21851. summary: 查询敞口现货明细
  21852. tags:
  21853. - 企业风险管理v3(app)
  21854. /Ermcp3/QueryExposureSpot:
  21855. get:
  21856. parameters:
  21857. - description: 用户id
  21858. in: query
  21859. name: userid
  21860. required: true
  21861. type: integer
  21862. - description: 用户类型 2-机构 7-企业成员
  21863. in: query
  21864. name: usertype
  21865. type: integer
  21866. produces:
  21867. - application/json
  21868. responses:
  21869. "200":
  21870. description: OK
  21871. schema:
  21872. items:
  21873. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21874. type: array
  21875. "500":
  21876. description: Internal Server Error
  21877. schema:
  21878. $ref: '#/definitions/app.Response'
  21879. security:
  21880. - ApiKeyAuth: []
  21881. summary: 查询敞口现货头寸(敞口/现货头寸)
  21882. tags:
  21883. - 企业风险管理v3(app)
  21884. /Ermcp3/QueryExposureSpotDetail:
  21885. get:
  21886. parameters:
  21887. - description: 用户id
  21888. in: query
  21889. name: userid
  21890. required: true
  21891. type: integer
  21892. - description: 用户类型 2-机构 7-企业成员
  21893. in: query
  21894. name: usertype
  21895. type: integer
  21896. - description: 现货商品ID
  21897. in: query
  21898. name: wrstandardid
  21899. required: true
  21900. type: integer
  21901. produces:
  21902. - application/json
  21903. responses:
  21904. "200":
  21905. description: OK
  21906. schema:
  21907. items:
  21908. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21909. type: array
  21910. "500":
  21911. description: Internal Server Error
  21912. schema:
  21913. $ref: '#/definitions/app.Response'
  21914. security:
  21915. - ApiKeyAuth: []
  21916. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21917. tags:
  21918. - 企业风险管理v3(app)
  21919. /Ermcp3/QueryGoodsGroup:
  21920. get:
  21921. parameters:
  21922. - description: 用户id
  21923. in: query
  21924. name: userid
  21925. required: true
  21926. type: integer
  21927. - description: 用户类型 2-机构 7-企业成员
  21928. in: query
  21929. name: usertype
  21930. type: integer
  21931. - description: 排除套保品中已关联的商品组 1-排除
  21932. in: query
  21933. name: excludecfg
  21934. type: integer
  21935. produces:
  21936. - application/json
  21937. responses:
  21938. "200":
  21939. description: OK
  21940. schema:
  21941. items:
  21942. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21943. type: array
  21944. "500":
  21945. description: Internal Server Error
  21946. schema:
  21947. $ref: '#/definitions/app.Response'
  21948. security:
  21949. - ApiKeyAuth: []
  21950. summary: 查询期货商品组
  21951. tags:
  21952. - 企业风险管理v3(app)
  21953. /Ermcp3/QueryGoodsWrstandard:
  21954. get:
  21955. parameters:
  21956. - description: 用户id
  21957. in: query
  21958. name: userid
  21959. required: true
  21960. type: integer
  21961. - description: 用户类型 2-机构 7-企业成员
  21962. in: query
  21963. name: usertype
  21964. type: integer
  21965. - description: 现货商品id
  21966. in: query
  21967. name: deliverygoodsid
  21968. type: integer
  21969. produces:
  21970. - application/json
  21971. responses:
  21972. "200":
  21973. description: OK
  21974. schema:
  21975. items:
  21976. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21977. type: array
  21978. "500":
  21979. description: Internal Server Error
  21980. schema:
  21981. $ref: '#/definitions/app.Response'
  21982. security:
  21983. - ApiKeyAuth: []
  21984. summary: 查询商品品类
  21985. tags:
  21986. - 企业风险管理v3(app)
  21987. /Ermcp3/QueryGoodsbrand:
  21988. get:
  21989. parameters:
  21990. - description: 用户id
  21991. in: query
  21992. name: userid
  21993. required: true
  21994. type: integer
  21995. - description: 用户类型 2-机构 7-企业成员
  21996. in: query
  21997. name: usertype
  21998. type: integer
  21999. produces:
  22000. - application/json
  22001. responses:
  22002. "200":
  22003. description: OK
  22004. schema:
  22005. items:
  22006. $ref: '#/definitions/models.Ermcp3Brand'
  22007. type: array
  22008. "500":
  22009. description: Internal Server Error
  22010. schema:
  22011. $ref: '#/definitions/app.Response'
  22012. security:
  22013. - ApiKeyAuth: []
  22014. summary: 查询商品品牌
  22015. tags:
  22016. - 企业风险管理v3(app)
  22017. /Ermcp3/QueryHedgePlan:
  22018. get:
  22019. parameters:
  22020. - description: 用户ID
  22021. in: query
  22022. name: userid
  22023. required: true
  22024. type: integer
  22025. - description: 用户类型 2-机构 7-企业成员
  22026. in: query
  22027. name: usertype
  22028. type: integer
  22029. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22030. in: query
  22031. name: hedgeplanstatus
  22032. required: true
  22033. type: string
  22034. produces:
  22035. - application/json
  22036. responses:
  22037. "200":
  22038. description: OK
  22039. schema:
  22040. items:
  22041. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22042. type: array
  22043. "500":
  22044. description: Internal Server Error
  22045. schema:
  22046. $ref: '#/definitions/app.Response'
  22047. security:
  22048. - ApiKeyAuth: []
  22049. summary: 查询套保计划
  22050. tags:
  22051. - 企业风险管理v3(app)
  22052. /Ermcp3/QueryInnerTradeLink:
  22053. get:
  22054. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22055. parameters:
  22056. - description: 外部成交单号
  22057. in: query
  22058. name: outtradeid
  22059. required: true
  22060. type: integer
  22061. produces:
  22062. - application/json
  22063. responses:
  22064. "200":
  22065. description: OK
  22066. schema:
  22067. items:
  22068. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22069. type: array
  22070. "500":
  22071. description: Internal Server Error
  22072. schema:
  22073. $ref: '#/definitions/app.Response'
  22074. security:
  22075. - ApiKeyAuth: []
  22076. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22077. tags:
  22078. - 企业风险管理v3(app)
  22079. /Ermcp3/QueryMiddleGoodsDetail:
  22080. get:
  22081. parameters:
  22082. - description: 用户id
  22083. in: query
  22084. name: userid
  22085. required: true
  22086. type: integer
  22087. - description: 用户类型 2-机构 7-企业成员
  22088. in: query
  22089. name: usertype
  22090. type: integer
  22091. - description: 套保品种id
  22092. in: query
  22093. name: middlegoodsid
  22094. type: integer
  22095. produces:
  22096. - application/json
  22097. responses:
  22098. "200":
  22099. description: OK
  22100. schema:
  22101. items:
  22102. $ref: '#/definitions/models.TBMiddleGoods'
  22103. type: array
  22104. "500":
  22105. description: Internal Server Error
  22106. schema:
  22107. $ref: '#/definitions/app.Response'
  22108. security:
  22109. - ApiKeyAuth: []
  22110. summary: 查询套保品种详情(套保品种/商品详情)
  22111. tags:
  22112. - 企业风险管理v3(app)
  22113. /Ermcp3/QueryOutTradeLink:
  22114. get:
  22115. description: 页面 app 现货->期现关联->外部成交单关联
  22116. parameters:
  22117. - description: 用户ID(填登录用户的userid)
  22118. in: query
  22119. name: userid
  22120. required: true
  22121. type: integer
  22122. - description: 外部订单号(模糊匹配)
  22123. in: query
  22124. name: outtradeid
  22125. type: string
  22126. - description: 合约名称/代码(模糊匹配)
  22127. in: query
  22128. name: goodsname
  22129. type: string
  22130. - description: 关联状态 0-未关联 1-已关联
  22131. in: query
  22132. name: hasinnerorder
  22133. type: integer
  22134. produces:
  22135. - application/json
  22136. responses:
  22137. "200":
  22138. description: OK
  22139. schema:
  22140. items:
  22141. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22142. type: array
  22143. "500":
  22144. description: Internal Server Error
  22145. schema:
  22146. $ref: '#/definitions/app.Response'
  22147. security:
  22148. - ApiKeyAuth: []
  22149. summary: 查询外部成交单关联
  22150. tags:
  22151. - 企业风险管理v3(app)
  22152. /Ermcp3/QueryPaAreaAuditCfg:
  22153. get:
  22154. parameters:
  22155. - description: 用户id
  22156. in: query
  22157. name: userid
  22158. required: true
  22159. type: integer
  22160. produces:
  22161. - application/json
  22162. responses:
  22163. "200":
  22164. description: OK
  22165. schema:
  22166. items:
  22167. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22168. type: array
  22169. "500":
  22170. description: Internal Server Error
  22171. schema:
  22172. $ref: '#/definitions/app.Response'
  22173. security:
  22174. - ApiKeyAuth: []
  22175. summary: 查询审核设置
  22176. tags:
  22177. - 企业风险管理v3(app)
  22178. /Ermcp3/QueryPaAreaSubject:
  22179. get:
  22180. parameters:
  22181. - description: 用户id
  22182. in: query
  22183. name: userid
  22184. required: true
  22185. type: integer
  22186. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22187. in: query
  22188. name: subjectid
  22189. type: integer
  22190. - description: 主体类型 - 1:交易主体 2:业务部门
  22191. in: query
  22192. name: subjecttype
  22193. type: integer
  22194. - description: '主体状态 - 1:正常 2: 停用'
  22195. in: query
  22196. name: subjectstatus
  22197. type: integer
  22198. produces:
  22199. - application/json
  22200. responses:
  22201. "200":
  22202. description: OK
  22203. schema:
  22204. items:
  22205. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22206. type: array
  22207. "500":
  22208. description: Internal Server Error
  22209. schema:
  22210. $ref: '#/definitions/app.Response'
  22211. security:
  22212. - ApiKeyAuth: []
  22213. summary: 查询交易主体
  22214. tags:
  22215. - 企业风险管理v3(app)
  22216. /Ermcp3/QueryPaTradeLink:
  22217. get:
  22218. description: 页面 app 现货->期现关联->期现单据关联
  22219. parameters:
  22220. - description: 用户ID
  22221. in: query
  22222. name: userid
  22223. required: true
  22224. type: integer
  22225. produces:
  22226. - application/json
  22227. responses:
  22228. "200":
  22229. description: OK
  22230. schema:
  22231. items:
  22232. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22233. type: array
  22234. "500":
  22235. description: Internal Server Error
  22236. schema:
  22237. $ref: '#/definitions/app.Response'
  22238. security:
  22239. - ApiKeyAuth: []
  22240. summary: 查询期现单据关联
  22241. tags:
  22242. - 企业风险管理v3(app)
  22243. /Ermcp3/QueryPaTradeLinkDetail:
  22244. get:
  22245. description: 页面 app 现货->期现关联->关联记录
  22246. parameters:
  22247. - description: 用户ID(填登录用户的userid)
  22248. in: query
  22249. name: userid
  22250. required: true
  22251. type: integer
  22252. - description: 关联状态 1:成功 2:失败 3:解绑
  22253. in: query
  22254. name: linkstatus
  22255. type: integer
  22256. - description: 期货订单号(模糊匹配)
  22257. in: query
  22258. name: tradeid
  22259. type: string
  22260. - description: 现货编号(模糊匹配)
  22261. in: query
  22262. name: contractno
  22263. type: string
  22264. - description: 期货账户(模糊匹配)
  22265. in: query
  22266. name: taname
  22267. type: string
  22268. produces:
  22269. - application/json
  22270. responses:
  22271. "200":
  22272. description: OK
  22273. schema:
  22274. items:
  22275. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22276. type: array
  22277. "500":
  22278. description: Internal Server Error
  22279. schema:
  22280. $ref: '#/definitions/app.Response'
  22281. security:
  22282. - ApiKeyAuth: []
  22283. summary: 查询期现关联记录
  22284. tags:
  22285. - 企业风险管理v3(app)
  22286. /Ermcp3/QueryParamChangeApp:
  22287. get:
  22288. description: |-
  22289. 原型页面:
  22290. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22291. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22292. parameters:
  22293. - description: 用户ID
  22294. in: query
  22295. name: userid
  22296. required: true
  22297. type: integer
  22298. - description: 现货品种id
  22299. in: query
  22300. name: deliverygoodsid
  22301. type: integer
  22302. - description: 现货商品id
  22303. in: query
  22304. name: wrstandardid
  22305. type: integer
  22306. - description: 套保商品id
  22307. in: query
  22308. name: middlegoodsid
  22309. type: integer
  22310. - description: 操作类型 1:新增 2:修改
  22311. in: query
  22312. name: operatetype
  22313. type: integer
  22314. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22315. in: query
  22316. name: paramchangetype
  22317. type: integer
  22318. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22319. in: query
  22320. name: ftstatus
  22321. type: string
  22322. produces:
  22323. - application/json
  22324. responses:
  22325. "200":
  22326. description: OK
  22327. schema:
  22328. items:
  22329. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22330. type: array
  22331. "500":
  22332. description: Internal Server Error
  22333. schema:
  22334. $ref: '#/definitions/app.Response'
  22335. security:
  22336. - ApiKeyAuth: []
  22337. summary: 查询现货商品参数变更申请(流水)
  22338. tags:
  22339. - 企业风险管理v3(app)
  22340. /Ermcp3/QueryRootUserAccount:
  22341. get:
  22342. parameters:
  22343. - description: 用户ID
  22344. in: query
  22345. name: userid
  22346. required: true
  22347. type: integer
  22348. produces:
  22349. - application/json
  22350. responses:
  22351. "200":
  22352. description: OK
  22353. schema:
  22354. items:
  22355. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22356. type: array
  22357. "500":
  22358. description: Internal Server Error
  22359. schema:
  22360. $ref: '#/definitions/app.Response'
  22361. security:
  22362. - ApiKeyAuth: []
  22363. summary: 查询顶级用户信息
  22364. tags:
  22365. - 企业风险管理v3(app)
  22366. /Ermcp3/QuerySCMiddleGoods:
  22367. get:
  22368. description: |-
  22369. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22370. 现货编号 即 合同编号
  22371. parameters:
  22372. - description: 用户ID(填登录用户的userid)
  22373. in: query
  22374. name: userid
  22375. required: true
  22376. type: integer
  22377. - description: 买卖方向 0-买 1-卖
  22378. in: query
  22379. name: buyorsell
  22380. required: true
  22381. type: integer
  22382. - description: 商品组id
  22383. in: query
  22384. name: goodsgroupid
  22385. required: true
  22386. type: integer
  22387. - description: 业务类型 1:套保 2:套利
  22388. in: query
  22389. name: biztype
  22390. type: integer
  22391. - description: 现货编号(模糊匹配)
  22392. in: query
  22393. name: contractno
  22394. type: string
  22395. - description: 对手方(模糊匹配)
  22396. in: query
  22397. name: customername
  22398. type: string
  22399. - description: 现货商品名称(模糊匹配)
  22400. in: query
  22401. name: wrstandardname
  22402. type: string
  22403. produces:
  22404. - application/json
  22405. responses:
  22406. "200":
  22407. description: OK
  22408. schema:
  22409. items:
  22410. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22411. type: array
  22412. "500":
  22413. description: Internal Server Error
  22414. schema:
  22415. $ref: '#/definitions/app.Response'
  22416. security:
  22417. - ApiKeyAuth: []
  22418. summary: 查询现货订单
  22419. tags:
  22420. - 企业风险管理v3(app)
  22421. /Ermcp3/QuerySpotContract:
  22422. get:
  22423. parameters:
  22424. - description: 用户id(当指定contractid, userid可不填)
  22425. in: query
  22426. name: userid
  22427. required: true
  22428. type: integer
  22429. - description: 用户类型 2-机构 7-企业成员
  22430. in: query
  22431. name: usertype
  22432. type: integer
  22433. - description: 合同类型 1-采购, -1-销售
  22434. in: query
  22435. name: contracttype
  22436. type: integer
  22437. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22438. in: query
  22439. name: querytype
  22440. type: string
  22441. - description: 合同ID(SpotContractId)
  22442. in: query
  22443. name: contractid
  22444. type: string
  22445. - description: 合同编号(模糊匹配)
  22446. in: query
  22447. name: contractno
  22448. type: string
  22449. - description: 商品名称(模糊匹配)
  22450. in: query
  22451. name: wrstandardname
  22452. type: string
  22453. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22454. in: query
  22455. name: status
  22456. type: string
  22457. - description: 是否只查今日的合同 1-查今日合同
  22458. in: query
  22459. name: istoday
  22460. type: integer
  22461. produces:
  22462. - application/json
  22463. responses:
  22464. "200":
  22465. description: OK
  22466. schema:
  22467. items:
  22468. $ref: '#/definitions/models.Ermcp3Contract'
  22469. type: array
  22470. "500":
  22471. description: Internal Server Error
  22472. schema:
  22473. $ref: '#/definitions/app.Response'
  22474. security:
  22475. - ApiKeyAuth: []
  22476. summary: 查询现货合同
  22477. tags:
  22478. - 企业风险管理v3(app)
  22479. /Ermcp3/QuerySpotContractBS:
  22480. get:
  22481. parameters:
  22482. - description: 用户id
  22483. in: query
  22484. name: userid
  22485. required: true
  22486. type: integer
  22487. - description: 用户类型 2-机构 7-企业成员
  22488. in: query
  22489. name: usertype
  22490. type: integer
  22491. - description: 合同类型 1-采购, -1-销售
  22492. in: query
  22493. name: contracttype
  22494. required: true
  22495. type: integer
  22496. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22497. in: query
  22498. name: querytype
  22499. type: integer
  22500. - description: 合同ID(SpotContractId)
  22501. in: query
  22502. name: contractid
  22503. type: string
  22504. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22505. in: query
  22506. name: status
  22507. type: string
  22508. - description: 是否只查今日的合同 1-查今日合同
  22509. in: query
  22510. name: istoday
  22511. type: integer
  22512. produces:
  22513. - application/json
  22514. responses:
  22515. "200":
  22516. description: OK
  22517. schema:
  22518. items:
  22519. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22520. type: array
  22521. "500":
  22522. description: Internal Server Error
  22523. schema:
  22524. $ref: '#/definitions/app.Response'
  22525. security:
  22526. - ApiKeyAuth: []
  22527. summary: 查询合同(采购/销售)
  22528. tags:
  22529. - 企业风险管理v3(app)
  22530. /Ermcp3/QuerySpotGoodsPrice:
  22531. get:
  22532. parameters:
  22533. - description: 用户ID
  22534. in: query
  22535. name: userid
  22536. required: true
  22537. type: integer
  22538. produces:
  22539. - application/json
  22540. responses:
  22541. "200":
  22542. description: OK
  22543. schema:
  22544. items:
  22545. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22546. type: array
  22547. "500":
  22548. description: Internal Server Error
  22549. schema:
  22550. $ref: '#/definitions/app.Response'
  22551. security:
  22552. - ApiKeyAuth: []
  22553. summary: 查询现货市价(现货市价)
  22554. tags:
  22555. - 企业风险管理v3(app)
  22556. /Ermcp3/QuerySpotGoodsPriceLog:
  22557. get:
  22558. parameters:
  22559. - description: 用户ID
  22560. in: query
  22561. name: userid
  22562. required: true
  22563. type: integer
  22564. - description: 现货商品ID
  22565. in: query
  22566. name: deliverygoodsid
  22567. required: true
  22568. type: integer
  22569. - description: 品牌ID
  22570. in: query
  22571. name: brandid
  22572. type: integer
  22573. - description: 品类ID
  22574. in: query
  22575. name: wrstandardid
  22576. type: integer
  22577. produces:
  22578. - application/json
  22579. responses:
  22580. "200":
  22581. description: OK
  22582. schema:
  22583. items:
  22584. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22585. type: array
  22586. "500":
  22587. description: Internal Server Error
  22588. schema:
  22589. $ref: '#/definitions/app.Response'
  22590. security:
  22591. - ApiKeyAuth: []
  22592. summary: 查询现货市价详情(现货市价/详情)
  22593. tags:
  22594. - 企业风险管理v3(app)
  22595. /Ermcp3/QuerySubTaaccount:
  22596. get:
  22597. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22598. parameters:
  22599. - description: 母账号id
  22600. in: query
  22601. name: parentaccountid
  22602. type: integer
  22603. - description: 母账号代码
  22604. in: query
  22605. name: parentaccountcode
  22606. type: string
  22607. produces:
  22608. - application/json
  22609. responses:
  22610. "200":
  22611. description: OK
  22612. schema:
  22613. items:
  22614. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22615. type: array
  22616. "500":
  22617. description: Internal Server Error
  22618. schema:
  22619. $ref: '#/definitions/app.Response'
  22620. security:
  22621. - ApiKeyAuth: []
  22622. summary: 查询期货子账户
  22623. tags:
  22624. - 企业风险管理v3(app)
  22625. /Erms2/QueryArbitrageStrategy:
  22626. get:
  22627. parameters:
  22628. - description: 账户ID
  22629. in: query
  22630. name: userid
  22631. required: true
  22632. type: integer
  22633. - description: 商品组ID(品种ID)
  22634. in: query
  22635. name: goodsgroupid
  22636. type: string
  22637. produces:
  22638. - application/json
  22639. responses:
  22640. "200":
  22641. description: OK
  22642. schema:
  22643. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22644. "500":
  22645. description: Internal Server Error
  22646. schema:
  22647. $ref: '#/definitions/app.Response'
  22648. security:
  22649. - ApiKeyAuth: []
  22650. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22651. tags:
  22652. - 风险管理
  22653. /Erms2/QueryInnerTradeDetail:
  22654. get:
  22655. parameters:
  22656. - description: 资金账户
  22657. in: query
  22658. name: accountid
  22659. required: true
  22660. type: integer
  22661. produces:
  22662. - application/json
  22663. responses:
  22664. "200":
  22665. description: OK
  22666. schema:
  22667. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22668. "500":
  22669. description: Internal Server Error
  22670. schema:
  22671. $ref: '#/definitions/app.Response'
  22672. security:
  22673. - ApiKeyAuth: []
  22674. summary: 查询内部成交单信息
  22675. tags:
  22676. - 风险管理
  22677. /Erms2/QuerySpotContract:
  22678. get:
  22679. parameters:
  22680. - description: 策略申请ID
  22681. in: query
  22682. name: asapplyid
  22683. required: true
  22684. type: integer
  22685. - description: 现货合同ID
  22686. in: query
  22687. name: spotcontractid
  22688. type: integer
  22689. produces:
  22690. - application/json
  22691. responses:
  22692. "200":
  22693. description: OK
  22694. schema:
  22695. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22696. "500":
  22697. description: Internal Server Error
  22698. schema:
  22699. $ref: '#/definitions/app.Response'
  22700. security:
  22701. - ApiKeyAuth: []
  22702. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22703. tags:
  22704. - 风险管理
  22705. /Erms3/AddErms2ASApply:
  22706. post:
  22707. parameters:
  22708. - description: 申请参数
  22709. in: body
  22710. name: jsonBody
  22711. required: true
  22712. schema:
  22713. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22714. produces:
  22715. - application/json
  22716. responses:
  22717. "200":
  22718. description: OK
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. "500":
  22722. description: Internal Server Error
  22723. schema:
  22724. $ref: '#/definitions/app.Response'
  22725. security:
  22726. - ApiKeyAuth: []
  22727. summary: 新增期现套利业务申请
  22728. tags:
  22729. - 风险管理v3
  22730. /Erms3/AddErms2SpotTradeApply:
  22731. post:
  22732. parameters:
  22733. - description: 申请参数
  22734. in: body
  22735. name: jsonBody
  22736. required: true
  22737. schema:
  22738. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22739. produces:
  22740. - application/json
  22741. responses:
  22742. "200":
  22743. description: OK
  22744. schema:
  22745. $ref: '#/definitions/app.Response'
  22746. "500":
  22747. description: Internal Server Error
  22748. schema:
  22749. $ref: '#/definitions/app.Response'
  22750. security:
  22751. - ApiKeyAuth: []
  22752. summary: 新增现货贸易业务申请
  22753. tags:
  22754. - 风险管理v3
  22755. /Erms3/AddSpotContractApply:
  22756. post:
  22757. parameters:
  22758. - description: 申请参数
  22759. in: body
  22760. name: jsonBody
  22761. required: true
  22762. schema:
  22763. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22764. produces:
  22765. - application/json
  22766. responses:
  22767. "200":
  22768. description: OK
  22769. schema:
  22770. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22771. "500":
  22772. description: Internal Server Error
  22773. schema:
  22774. $ref: '#/definitions/app.Response'
  22775. security:
  22776. - ApiKeyAuth: []
  22777. summary: 新增现货合同申请
  22778. tags:
  22779. - 风险管理v3
  22780. /Erms3/AddUserInfoApply:
  22781. post:
  22782. parameters:
  22783. - description: 用户信息
  22784. in: body
  22785. name: jsonBody
  22786. required: true
  22787. schema:
  22788. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22789. produces:
  22790. - application/json
  22791. responses:
  22792. "200":
  22793. description: OK
  22794. schema:
  22795. $ref: '#/definitions/app.Response'
  22796. "500":
  22797. description: Internal Server Error
  22798. schema:
  22799. $ref: '#/definitions/app.Response'
  22800. security:
  22801. - ApiKeyAuth: []
  22802. summary: 新增客户申请
  22803. tags:
  22804. - 风险管理v3
  22805. /Erms3/DeleteUserInfoApply:
  22806. get:
  22807. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22808. parameters:
  22809. - description: 用户ID
  22810. in: query
  22811. name: userID
  22812. required: true
  22813. type: integer
  22814. produces:
  22815. - application/json
  22816. responses:
  22817. "200":
  22818. description: OK
  22819. schema:
  22820. $ref: '#/definitions/app.Response'
  22821. "500":
  22822. description: Internal Server Error
  22823. schema:
  22824. $ref: '#/definitions/app.Response'
  22825. security:
  22826. - ApiKeyAuth: []
  22827. summary: 删除客户申请
  22828. tags:
  22829. - 风险管理v3
  22830. /Erms3/ModifyUserInfoApply:
  22831. post:
  22832. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22833. parameters:
  22834. - description: 用户信息
  22835. in: body
  22836. name: jsonBody
  22837. required: true
  22838. schema:
  22839. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22840. produces:
  22841. - application/json
  22842. responses:
  22843. "200":
  22844. description: OK
  22845. schema:
  22846. $ref: '#/definitions/app.Response'
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 修改客户申请
  22854. tags:
  22855. - 风险管理v3
  22856. /Erms3/QueryBusinessInfo:
  22857. get:
  22858. parameters:
  22859. - description: 资金账号ID列表,用逗号分隔
  22860. in: query
  22861. name: accountids
  22862. required: true
  22863. type: string
  22864. - description: 状态,0为未结束 1为已结束
  22865. in: query
  22866. name: status
  22867. required: true
  22868. type: integer
  22869. produces:
  22870. - application/json
  22871. responses:
  22872. "200":
  22873. description: OK
  22874. schema:
  22875. items:
  22876. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22877. type: array
  22878. "500":
  22879. description: Internal Server Error
  22880. schema:
  22881. $ref: '#/definitions/app.Response'
  22882. security:
  22883. - ApiKeyAuth: []
  22884. summary: 查询业务表单数据
  22885. tags:
  22886. - 风险管理v3
  22887. /Erms3/QueryPendingAuditContract:
  22888. get:
  22889. parameters:
  22890. - description: 资金账号ID列表,逗号隔开
  22891. in: query
  22892. name: accountids
  22893. required: true
  22894. type: string
  22895. - description: 合同类型 1-采购 -1-销售
  22896. in: query
  22897. name: contracttype
  22898. required: true
  22899. type: integer
  22900. - description: 合同模式 1-普通 2-回购
  22901. in: query
  22902. name: contractmode
  22903. required: true
  22904. type: integer
  22905. produces:
  22906. - application/json
  22907. responses:
  22908. "200":
  22909. description: OK
  22910. schema:
  22911. items:
  22912. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22913. type: array
  22914. "500":
  22915. description: Internal Server Error
  22916. schema:
  22917. $ref: '#/definitions/app.Response'
  22918. security:
  22919. - ApiKeyAuth: []
  22920. summary: 查询待审核合同
  22921. tags:
  22922. - 风险管理v3
  22923. /Erms3/QueryPendingBusiness:
  22924. get:
  22925. parameters:
  22926. - description: 资金账号ID列表,逗号隔开
  22927. in: query
  22928. name: accountids
  22929. required: true
  22930. type: string
  22931. produces:
  22932. - application/json
  22933. responses:
  22934. "200":
  22935. description: OK
  22936. schema:
  22937. items:
  22938. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22939. type: array
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. summary: 查询待审核基差贸易业务
  22947. tags:
  22948. - 风险管理v3
  22949. /Erms3/QuerySpotContractAppleForm:
  22950. get:
  22951. parameters:
  22952. - description: 登录账号
  22953. in: query
  22954. name: loginID
  22955. required: true
  22956. type: integer
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22964. "500":
  22965. description: Internal Server Error
  22966. schema:
  22967. $ref: '#/definitions/app.Response'
  22968. security:
  22969. - ApiKeyAuth: []
  22970. summary: 查询合同申请表单数据
  22971. tags:
  22972. - 风险管理v3
  22973. /Erms3/QuerySpotContractDetail:
  22974. get:
  22975. parameters:
  22976. - description: 资金账号ID列表,用逗号分隔
  22977. in: query
  22978. name: accountids
  22979. required: true
  22980. type: string
  22981. - description: 合同类型,1为采购合同 -1为销售合同
  22982. in: query
  22983. name: contracttype
  22984. required: true
  22985. type: integer
  22986. - description: 合同模式,1为普通合同 2为回购销售合同
  22987. in: query
  22988. name: contractmode
  22989. required: true
  22990. type: integer
  22991. - description: 状态,0为履约中 1为已完成
  22992. in: query
  22993. name: status
  22994. required: true
  22995. type: integer
  22996. produces:
  22997. - application/json
  22998. responses:
  22999. "200":
  23000. description: OK
  23001. schema:
  23002. items:
  23003. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23004. type: array
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 查询合同详细信息
  23012. tags:
  23013. - 风险管理v3
  23014. /Erms3/QueryUserInfoApplies:
  23015. get:
  23016. parameters:
  23017. - description: 页码
  23018. in: query
  23019. name: page
  23020. type: integer
  23021. - description: 每页条数
  23022. in: query
  23023. name: pagesize
  23024. type: integer
  23025. - description: 客户名称,支持模糊查询
  23026. in: query
  23027. name: userName
  23028. type: string
  23029. produces:
  23030. - application/json
  23031. responses:
  23032. "200":
  23033. description: OK
  23034. schema:
  23035. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23036. "500":
  23037. description: Internal Server Error
  23038. schema:
  23039. $ref: '#/definitions/app.Response'
  23040. security:
  23041. - ApiKeyAuth: []
  23042. summary: 客户申请信息查询
  23043. tags:
  23044. - 风险管理v3
  23045. /Erms3/QueryUserInfos:
  23046. get:
  23047. parameters:
  23048. - description: 页码
  23049. in: query
  23050. name: page
  23051. type: integer
  23052. - description: 每页条数
  23053. in: query
  23054. name: pagesize
  23055. type: integer
  23056. - description: 客户名称,支持模糊查询
  23057. in: query
  23058. name: userName
  23059. type: string
  23060. produces:
  23061. - application/json
  23062. responses:
  23063. "200":
  23064. description: OK
  23065. schema:
  23066. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23067. "500":
  23068. description: Internal Server Error
  23069. schema:
  23070. $ref: '#/definitions/app.Response'
  23071. security:
  23072. - ApiKeyAuth: []
  23073. summary: 客户信息查询
  23074. tags:
  23075. - 风险管理v3
  23076. /HSBY/GetHsbyMyCount:
  23077. get:
  23078. description: 说明: 不包括已完成的数量。
  23079. parameters:
  23080. - description: 资金账户列表,格式:1,2,3
  23081. in: query
  23082. name: accountIDs
  23083. required: true
  23084. type: string
  23085. produces:
  23086. - application/json
  23087. responses:
  23088. "200":
  23089. description: OK
  23090. schema:
  23091. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23092. "500":
  23093. description: Internal Server Error
  23094. schema:
  23095. $ref: '#/definitions/app.Response'
  23096. security:
  23097. - ApiKeyAuth: []
  23098. summary: 获取我的订单与包裹数量
  23099. tags:
  23100. - 定制【海商报业】
  23101. /HSBY/QueryClientFixedADConfigs:
  23102. get:
  23103. produces:
  23104. - application/json
  23105. responses:
  23106. "200":
  23107. description: OK
  23108. schema:
  23109. $ref: '#/definitions/models.Clientfixedadconfig'
  23110. "500":
  23111. description: Internal Server Error
  23112. schema:
  23113. $ref: '#/definitions/app.Response'
  23114. security:
  23115. - ApiKeyAuth: []
  23116. summary: 获取终端固定广告配置
  23117. tags:
  23118. - 定制【海商报业】
  23119. /HSBY/QueryHsbyBuyMyTradeDetail:
  23120. get:
  23121. parameters:
  23122. - description: 页码
  23123. in: query
  23124. name: page
  23125. type: integer
  23126. - description: 每页条数
  23127. in: query
  23128. name: pagesize
  23129. type: integer
  23130. - description: 资金账户列表,格式:1,2,3
  23131. in: query
  23132. name: accountIDs
  23133. required: true
  23134. type: string
  23135. produces:
  23136. - application/json
  23137. responses:
  23138. "200":
  23139. description: OK
  23140. schema:
  23141. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23142. "500":
  23143. description: Internal Server Error
  23144. schema:
  23145. $ref: '#/definitions/app.Response'
  23146. security:
  23147. - ApiKeyAuth: []
  23148. summary: 查询"我的订单 - 已完成"单据信息
  23149. tags:
  23150. - 定制【海商报业】
  23151. /HSBY/QueryHsbyGoodsOrderDetails:
  23152. get:
  23153. description: 说明:查询结果已按委托价格和委托时间排序
  23154. parameters:
  23155. - description: 商品ID
  23156. in: query
  23157. name: goodsID
  23158. required: true
  23159. type: integer
  23160. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23161. in: query
  23162. name: accountIDs
  23163. type: string
  23164. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23165. in: query
  23166. name: buyOrSell
  23167. type: integer
  23168. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23169. in: query
  23170. name: price
  23171. type: number
  23172. - description: 档位,不传则默认为3档
  23173. in: query
  23174. name: speed
  23175. type: integer
  23176. produces:
  23177. - application/json
  23178. responses:
  23179. "200":
  23180. description: OK
  23181. schema:
  23182. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23183. "500":
  23184. description: Internal Server Error
  23185. schema:
  23186. $ref: '#/definitions/app.Response'
  23187. security:
  23188. - ApiKeyAuth: []
  23189. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23190. tags:
  23191. - 定制【海商报业】
  23192. /HSBY/QueryHsbyListingGoodsDetail:
  23193. get:
  23194. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23195. parameters:
  23196. - description: 商品ID
  23197. in: query
  23198. name: goodsID
  23199. required: true
  23200. type: integer
  23201. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23202. in: query
  23203. name: accountID
  23204. type: integer
  23205. produces:
  23206. - application/json
  23207. responses:
  23208. "200":
  23209. description: OK
  23210. schema:
  23211. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23212. "500":
  23213. description: Internal Server Error
  23214. schema:
  23215. $ref: '#/definitions/app.Response'
  23216. security:
  23217. - ApiKeyAuth: []
  23218. summary: 查询二级市场(挂牌点选)商品信息详情
  23219. tags:
  23220. - 定制【海商报业】
  23221. /HSBY/QueryHsbyMarketGoodsDetail:
  23222. get:
  23223. parameters:
  23224. - description: 委托单号
  23225. in: query
  23226. name: orderID
  23227. required: true
  23228. type: integer
  23229. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23230. in: query
  23231. name: accountID
  23232. type: integer
  23233. produces:
  23234. - application/json
  23235. responses:
  23236. "200":
  23237. description: OK
  23238. schema:
  23239. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23240. "500":
  23241. description: Internal Server Error
  23242. schema:
  23243. $ref: '#/definitions/app.Response'
  23244. security:
  23245. - ApiKeyAuth: []
  23246. summary: 查询三级市场(商城)商品信息详情
  23247. tags:
  23248. - 定制【海商报业】
  23249. /HSBY/QueryHsbyMarketGoodses:
  23250. get:
  23251. parameters:
  23252. - description: 页码
  23253. in: query
  23254. name: page
  23255. type: integer
  23256. - description: 每页条数
  23257. in: query
  23258. name: pagesize
  23259. type: integer
  23260. - description: 市场ID列表,格式:1,2,3
  23261. in: query
  23262. name: marketIDs
  23263. required: true
  23264. type: string
  23265. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23266. in: query
  23267. name: accountID
  23268. required: true
  23269. type: integer
  23270. - description: 类别ID
  23271. in: query
  23272. name: categoryID
  23273. type: integer
  23274. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23275. in: query
  23276. name: goodsIDs
  23277. type: string
  23278. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23279. in: query
  23280. name: couponTypeID
  23281. type: integer
  23282. produces:
  23283. - application/json
  23284. responses:
  23285. "200":
  23286. description: OK
  23287. schema:
  23288. $ref: '#/definitions/models.HsbyMarketGoods'
  23289. "500":
  23290. description: Internal Server Error
  23291. schema:
  23292. $ref: '#/definitions/app.Response'
  23293. security:
  23294. - ApiKeyAuth: []
  23295. summary: 查询特卖商品列表(三级商城)
  23296. tags:
  23297. - 定制【海商报业】
  23298. /HSBY/QueryHsbyMarkets:
  23299. get:
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. $ref: '#/definitions/models.HsbyMarketInfo'
  23307. "500":
  23308. description: Internal Server Error
  23309. schema:
  23310. $ref: '#/definitions/app.Response'
  23311. security:
  23312. - ApiKeyAuth: []
  23313. summary: 查询海商报业相关市场信息
  23314. tags:
  23315. - 定制【海商报业】
  23316. /HSBY/QueryHsbyMyBuyOrderDetails:
  23317. get:
  23318. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23319. parameters:
  23320. - description: 资金账户列表,格式:1,2,3
  23321. in: query
  23322. name: accountIDs
  23323. required: true
  23324. type: string
  23325. produces:
  23326. - application/json
  23327. responses:
  23328. "200":
  23329. description: OK
  23330. schema:
  23331. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23332. "500":
  23333. description: Internal Server Error
  23334. schema:
  23335. $ref: '#/definitions/app.Response'
  23336. security:
  23337. - ApiKeyAuth: []
  23338. summary: 查询“我的订单”信息
  23339. tags:
  23340. - 定制【海商报业】
  23341. /HSBY/QueryHsbyMyGoods:
  23342. get:
  23343. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23344. parameters:
  23345. - description: 资金账户列表,格式:1,2,3
  23346. in: query
  23347. name: accountIDs
  23348. required: true
  23349. type: string
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. $ref: '#/definitions/models.HsbyMyGoods'
  23357. "500":
  23358. description: Internal Server Error
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. security:
  23362. - ApiKeyAuth: []
  23363. summary: 查询“我的商品”信息
  23364. tags:
  23365. - 定制【海商报业】
  23366. /HSBY/QueryHsbyMyPackages:
  23367. get:
  23368. parameters:
  23369. - description: 资金账户列表,格式:1,2,3
  23370. in: query
  23371. name: accountIDs
  23372. required: true
  23373. type: string
  23374. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23375. in: query
  23376. name: takeOrderStatus
  23377. type: integer
  23378. produces:
  23379. - application/json
  23380. responses:
  23381. "200":
  23382. description: OK
  23383. schema:
  23384. $ref: '#/definitions/models.HsbyMyPackage'
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询我的包裹信息
  23392. tags:
  23393. - 定制【海商报业】
  23394. /HSBY/QueryHsbyPreGoodsDetail:
  23395. get:
  23396. parameters:
  23397. - description: 商品ID
  23398. in: query
  23399. name: goodsID
  23400. required: true
  23401. type: integer
  23402. - description: 资金账户,主要用于获取预售商品购买上限
  23403. in: query
  23404. name: accountID
  23405. type: integer
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 查询一级市场(预售)商品信息详情
  23420. tags:
  23421. - 定制【海商报业】
  23422. /HSBY/QueryHsbyPreGoodses:
  23423. get:
  23424. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23425. parameters:
  23426. - description: 页码
  23427. in: query
  23428. name: page
  23429. type: integer
  23430. - description: 每页条数
  23431. in: query
  23432. name: pagesize
  23433. type: integer
  23434. - description: 市场ID列表,格式:1,2,3
  23435. in: query
  23436. name: marketIDs
  23437. required: true
  23438. type: string
  23439. - description: 目的地(省)ID
  23440. in: query
  23441. name: descProvinceID
  23442. type: integer
  23443. - description: 目的地(市)ID
  23444. in: query
  23445. name: descCityID
  23446. type: integer
  23447. produces:
  23448. - application/json
  23449. responses:
  23450. "200":
  23451. description: OK
  23452. schema:
  23453. $ref: '#/definitions/models.HsbyPreGoods'
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 查询新品上市商品列表(一级市场预售)
  23461. tags:
  23462. - 定制【海商报业】
  23463. /HSBY/QueryHsbySellMyDetails:
  23464. get:
  23465. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23466. parameters:
  23467. - description: 页码
  23468. in: query
  23469. name: page
  23470. type: integer
  23471. - description: 每页条数
  23472. in: query
  23473. name: pagesize
  23474. type: integer
  23475. - description: 资金账户列表,格式:1,2,3
  23476. in: query
  23477. name: accountIDs
  23478. required: true
  23479. type: string
  23480. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23481. in: query
  23482. name: orderType
  23483. type: integer
  23484. produces:
  23485. - application/json
  23486. responses:
  23487. "200":
  23488. description: OK
  23489. schema:
  23490. $ref: '#/definitions/models.HsbySellMyDetail'
  23491. "500":
  23492. description: Internal Server Error
  23493. schema:
  23494. $ref: '#/definitions/app.Response'
  23495. security:
  23496. - ApiKeyAuth: []
  23497. summary: 查询"我的闲置"单据信息
  23498. tags:
  23499. - 定制【海商报业】
  23500. /HSBY/QueryHsbyTopGoodses:
  23501. get:
  23502. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23503. parameters:
  23504. - description: 页码
  23505. in: query
  23506. name: page
  23507. type: integer
  23508. - description: 每页条数
  23509. in: query
  23510. name: pagesize
  23511. type: integer
  23512. - description: 市场ID列表,格式:1,2,3
  23513. in: query
  23514. name: marketIDs
  23515. required: true
  23516. type: string
  23517. - description: 目的地(省)ID
  23518. in: query
  23519. name: descProvinceID
  23520. type: integer
  23521. - description: 目的地(市)ID
  23522. in: query
  23523. name: descCityID
  23524. type: integer
  23525. produces:
  23526. - application/json
  23527. responses:
  23528. "200":
  23529. description: OK
  23530. schema:
  23531. $ref: '#/definitions/models.HsbyTopGoods'
  23532. "500":
  23533. description: Internal Server Error
  23534. schema:
  23535. $ref: '#/definitions/app.Response'
  23536. security:
  23537. - ApiKeyAuth: []
  23538. summary: 查询热卖商品列表(二级市场挂牌点选)
  23539. tags:
  23540. - 定制【海商报业】
  23541. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23542. get:
  23543. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23544. parameters:
  23545. - description: 商品ID
  23546. in: query
  23547. name: goodsID
  23548. required: true
  23549. type: integer
  23550. produces:
  23551. - application/json
  23552. responses:
  23553. "200":
  23554. description: OK
  23555. schema:
  23556. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23557. "500":
  23558. description: Internal Server Error
  23559. schema:
  23560. $ref: '#/definitions/app.Response'
  23561. security:
  23562. - ApiKeyAuth: []
  23563. summary: 查询游客三级市场(商城)商品信息详情
  23564. tags:
  23565. - 定制【海商报业】
  23566. /HSBY/QueryHsbyVisitorMarketGoodses:
  23567. get:
  23568. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23569. parameters:
  23570. - description: 页码
  23571. in: query
  23572. name: page
  23573. type: integer
  23574. - description: 每页条数
  23575. in: query
  23576. name: pagesize
  23577. type: integer
  23578. - description: 市场ID列表,格式:1,2,3
  23579. in: query
  23580. name: marketIDs
  23581. required: true
  23582. type: string
  23583. - description: 类别ID
  23584. in: query
  23585. name: categoryID
  23586. type: integer
  23587. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23588. in: query
  23589. name: goodsIDs
  23590. type: string
  23591. produces:
  23592. - application/json
  23593. responses:
  23594. "200":
  23595. description: OK
  23596. schema:
  23597. $ref: '#/definitions/models.HsbyMarketGoods'
  23598. "500":
  23599. description: Internal Server Error
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. security:
  23603. - ApiKeyAuth: []
  23604. summary: 查询游客特卖商品列表(三级商城)
  23605. tags:
  23606. - 定制【海商报业】
  23607. /HSBY/QueryMyCollectionOrders:
  23608. get:
  23609. parameters:
  23610. - description: 页码
  23611. in: query
  23612. name: page
  23613. type: integer
  23614. - description: 每页条数
  23615. in: query
  23616. name: pagesize
  23617. type: integer
  23618. - description: 资金账户,格式:1,2,3
  23619. in: query
  23620. name: accountIDs
  23621. required: true
  23622. type: string
  23623. produces:
  23624. - application/json
  23625. responses:
  23626. "200":
  23627. description: OK
  23628. schema:
  23629. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23630. "500":
  23631. description: Internal Server Error
  23632. schema:
  23633. $ref: '#/definitions/app.Response'
  23634. security:
  23635. - ApiKeyAuth: []
  23636. summary: 我的闲置中收款信息查询
  23637. tags:
  23638. - 定制【海商报业】
  23639. /HSBY/QueryMyCouponHolds:
  23640. get:
  23641. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23642. parameters:
  23643. - description: 资金账户列表,格式:1,2,3
  23644. in: query
  23645. name: accountIDs
  23646. required: true
  23647. type: string
  23648. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23649. in: query
  23650. name: holdStatus
  23651. type: string
  23652. produces:
  23653. - application/json
  23654. responses:
  23655. "200":
  23656. description: OK
  23657. schema:
  23658. $ref: '#/definitions/models.MyCouponHold'
  23659. "500":
  23660. description: Internal Server Error
  23661. schema:
  23662. $ref: '#/definitions/app.Response'
  23663. security:
  23664. - ApiKeyAuth: []
  23665. summary: 我的优惠卷持仓查询
  23666. tags:
  23667. - 定制【海商报业】
  23668. /HSBY/QueryMyCoupons:
  23669. get:
  23670. parameters:
  23671. - description: 资金账户列表,格式:1,2,3
  23672. in: query
  23673. name: accountIDs
  23674. required: true
  23675. type: string
  23676. - description: 商品ID, 一般与sellUserID配套传入
  23677. in: query
  23678. name: goodsID
  23679. type: integer
  23680. - description: 卖方UserID
  23681. in: query
  23682. name: sellUserID
  23683. type: integer
  23684. produces:
  23685. - application/json
  23686. responses:
  23687. "200":
  23688. description: OK
  23689. schema:
  23690. $ref: '#/definitions/models.MyCoupon'
  23691. "500":
  23692. description: Internal Server Error
  23693. schema:
  23694. $ref: '#/definitions/app.Response'
  23695. security:
  23696. - ApiKeyAuth: []
  23697. summary: 我的优惠卷查询
  23698. tags:
  23699. - 定制【海商报业】
  23700. /HSBY/QueryMyPayOrders:
  23701. get:
  23702. parameters:
  23703. - description: 页码
  23704. in: query
  23705. name: page
  23706. type: integer
  23707. - description: 每页条数
  23708. in: query
  23709. name: pagesize
  23710. type: integer
  23711. - description: 资金账户列表,格式:1,2,3
  23712. in: query
  23713. name: accountIDs
  23714. required: true
  23715. type: string
  23716. - description: 买方委托单号
  23717. in: query
  23718. name: buyOrderID
  23719. type: integer
  23720. - description: 卖方委托单号
  23721. in: query
  23722. name: sellOrderID
  23723. type: integer
  23724. produces:
  23725. - application/json
  23726. responses:
  23727. "200":
  23728. description: OK
  23729. schema:
  23730. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 获取我的订单中待付款信息
  23738. tags:
  23739. - 定制【海商报业】
  23740. /HSBY/QueryMyUsedCoupon:
  23741. get:
  23742. parameters:
  23743. - description: 资金账户列表,格式:1,2,3
  23744. in: query
  23745. name: accountIDs
  23746. required: true
  23747. type: string
  23748. produces:
  23749. - application/json
  23750. responses:
  23751. "200":
  23752. description: OK
  23753. schema:
  23754. $ref: '#/definitions/models.MyUsedCoupon'
  23755. "500":
  23756. description: Internal Server Error
  23757. schema:
  23758. $ref: '#/definitions/app.Response'
  23759. security:
  23760. - ApiKeyAuth: []
  23761. summary: 已使用优惠卷查询
  23762. tags:
  23763. - 定制【海商报业】
  23764. /HSBY/QueryProvincesAndCities:
  23765. get:
  23766. description: 查询结果只包括二级市场商品已关连的省市信息。
  23767. parameters:
  23768. - description: 省ID
  23769. in: query
  23770. name: provinceID
  23771. type: integer
  23772. produces:
  23773. - application/json
  23774. responses:
  23775. "200":
  23776. description: OK
  23777. schema:
  23778. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23779. "500":
  23780. description: Internal Server Error
  23781. schema:
  23782. $ref: '#/definitions/app.Response'
  23783. security:
  23784. - ApiKeyAuth: []
  23785. summary: 查询省市信息(不包括区)
  23786. tags:
  23787. - 定制【海商报业】
  23788. /HSBY/SetHsbyMyPackagesStatus:
  23789. post:
  23790. parameters:
  23791. - description: 提货单号
  23792. in: query
  23793. name: takeOrderID
  23794. required: true
  23795. type: string
  23796. - description: 资金账号
  23797. in: query
  23798. name: accountID
  23799. required: true
  23800. type: integer
  23801. produces:
  23802. - application/json
  23803. responses:
  23804. "200":
  23805. description: OK
  23806. schema:
  23807. $ref: '#/definitions/app.Response'
  23808. "500":
  23809. description: Internal Server Error
  23810. schema:
  23811. $ref: '#/definitions/app.Response'
  23812. security:
  23813. - ApiKeyAuth: []
  23814. summary: 设置我的包裹已收货状态
  23815. tags:
  23816. - 定制【海商报业】
  23817. /Market/GetAllExExchanges:
  23818. get:
  23819. produces:
  23820. - application/json
  23821. responses:
  23822. "200":
  23823. description: OK
  23824. schema:
  23825. $ref: '#/definitions/models.Goods'
  23826. "500":
  23827. description: Internal Server Error
  23828. schema:
  23829. $ref: '#/definitions/app.Response'
  23830. security:
  23831. - ApiKeyAuth: []
  23832. summary: 获取所有外部交易所信息
  23833. tags:
  23834. - 通用市场
  23835. /Market/QueryGoodsesByLoginID:
  23836. get:
  23837. parameters:
  23838. - description: 登录账号
  23839. in: query
  23840. name: loginID
  23841. required: true
  23842. type: integer
  23843. - description: 市场ID列表,格式:1,2,3
  23844. in: query
  23845. name: marketIDs
  23846. type: string
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. $ref: '#/definitions/models.Goods'
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 获取登录账号有权限的商品信息
  23861. tags:
  23862. - 通用市场
  23863. /Market/QueryMarketRun:
  23864. get:
  23865. parameters:
  23866. - description: 市场ID,不传返回所有
  23867. in: query
  23868. name: marketID
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. $ref: '#/definitions/models.Marketrun'
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 查询市场运行信息
  23884. tags:
  23885. - 通用市场
  23886. /Market/QueryMarketsByLoginID:
  23887. get:
  23888. parameters:
  23889. - description: 登录账号
  23890. in: query
  23891. name: loginID
  23892. required: true
  23893. type: integer
  23894. produces:
  23895. - application/json
  23896. responses:
  23897. "200":
  23898. description: OK
  23899. schema:
  23900. $ref: '#/definitions/models.Market'
  23901. "500":
  23902. description: Internal Server Error
  23903. schema:
  23904. $ref: '#/definitions/app.Response'
  23905. security:
  23906. - ApiKeyAuth: []
  23907. summary: 获取登录账号有权限的市场信息
  23908. tags:
  23909. - 通用市场
  23910. /Order/QueryHisTradeDetail:
  23911. get:
  23912. parameters:
  23913. - description: 资金账户 - 格式:1,2,3
  23914. in: query
  23915. name: accountID
  23916. required: true
  23917. type: string
  23918. - description: 成交单号
  23919. in: query
  23920. name: tradeID
  23921. type: integer
  23922. - description: 委托单号
  23923. in: query
  23924. name: orderID
  23925. type: integer
  23926. - description: 商品ID
  23927. in: query
  23928. name: goodsID
  23929. type: integer
  23930. - description: 交易模式 - 格式:1,2,3
  23931. in: query
  23932. name: tradeMode
  23933. type: string
  23934. - description: 委托单据类型
  23935. in: query
  23936. name: buildType
  23937. type: integer
  23938. - description: 成交类别 - 格式:1,2,3
  23939. in: query
  23940. name: tradeType
  23941. type: string
  23942. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23943. in: query
  23944. name: startDate
  23945. type: string
  23946. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23947. in: query
  23948. name: endDate
  23949. type: string
  23950. produces:
  23951. - application/json
  23952. responses:
  23953. "200":
  23954. description: OK
  23955. schema:
  23956. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23957. "500":
  23958. description: Internal Server Error
  23959. schema:
  23960. $ref: '#/definitions/app.Response'
  23961. security:
  23962. - ApiKeyAuth: []
  23963. summary: 历史成交单查询(合约市场)
  23964. tags:
  23965. - 通用单据
  23966. /Order/QueryHisTradeOrderDetail:
  23967. get:
  23968. parameters:
  23969. - description: 资金账户 - 格式:1,2,3
  23970. in: query
  23971. name: accountID
  23972. required: true
  23973. type: string
  23974. - description: 交易模式 - 格式:1,2,3
  23975. in: query
  23976. name: tradeMode
  23977. type: string
  23978. - description: 委托状态 - 格式:1,2,3
  23979. in: query
  23980. name: orderStatus
  23981. type: string
  23982. - description: 委托单号
  23983. in: query
  23984. name: orderID
  23985. type: integer
  23986. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23987. in: query
  23988. name: startDate
  23989. type: string
  23990. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23991. in: query
  23992. name: endDate
  23993. type: string
  23994. produces:
  23995. - application/json
  23996. responses:
  23997. "200":
  23998. description: OK
  23999. schema:
  24000. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24001. "500":
  24002. description: Internal Server Error
  24003. schema:
  24004. $ref: '#/definitions/app.Response'
  24005. security:
  24006. - ApiKeyAuth: []
  24007. summary: 历史委托单查询请求(合约市场)
  24008. tags:
  24009. - 通用单据
  24010. /Order/QueryTradeDetail:
  24011. get:
  24012. parameters:
  24013. - description: 资金账户 - 格式:1,2,3
  24014. in: query
  24015. name: accountID
  24016. required: true
  24017. type: string
  24018. - description: 成交单号
  24019. in: query
  24020. name: tradeID
  24021. type: integer
  24022. - description: 委托单号
  24023. in: query
  24024. name: orderID
  24025. type: integer
  24026. - description: 交易模式 - 格式:1,2,3
  24027. in: query
  24028. name: tradeMode
  24029. type: string
  24030. - description: 委托单据类型
  24031. in: query
  24032. name: buildType
  24033. type: integer
  24034. - description: 成交类别 - 格式:1,2,3
  24035. in: query
  24036. name: tradeType
  24037. type: string
  24038. - description: 商品ID
  24039. in: query
  24040. name: goodsID
  24041. type: integer
  24042. produces:
  24043. - application/json
  24044. responses:
  24045. "200":
  24046. description: OK
  24047. schema:
  24048. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24049. "500":
  24050. description: Internal Server Error
  24051. schema:
  24052. $ref: '#/definitions/app.Response'
  24053. security:
  24054. - ApiKeyAuth: []
  24055. summary: 成交单查询(合约市场)
  24056. tags:
  24057. - 通用单据
  24058. /Order/QueryTradeHolderDetail:
  24059. get:
  24060. parameters:
  24061. - description: 用户id
  24062. in: query
  24063. name: userid
  24064. type: integer
  24065. - description: 资金账号, 格式 1,2,3
  24066. in: query
  24067. name: accids
  24068. type: string
  24069. - description: 交易模式, 格式 1,2,3
  24070. in: query
  24071. name: trademodes
  24072. type: string
  24073. - description: 市场id, 格式 1,2,3
  24074. in: query
  24075. name: marketids
  24076. type: string
  24077. - description: 商品id
  24078. in: query
  24079. name: goodsid
  24080. type: integer
  24081. - description: 买卖方向 0-买 1-卖
  24082. in: query
  24083. name: buyorsell
  24084. type: integer
  24085. produces:
  24086. - application/json
  24087. responses:
  24088. "200":
  24089. description: OK
  24090. schema:
  24091. items:
  24092. $ref: '#/definitions/models.TradeHolderDetail'
  24093. type: array
  24094. "500":
  24095. description: Internal Server Error
  24096. schema:
  24097. $ref: '#/definitions/app.Response'
  24098. security:
  24099. - ApiKeyAuth: []
  24100. summary: 查询持仓明细
  24101. tags:
  24102. - 通用单据
  24103. /Order/QueryTradeOrderDetail:
  24104. get:
  24105. parameters:
  24106. - description: 资金账户 - 格式:1,2,3
  24107. in: query
  24108. name: accountID
  24109. required: true
  24110. type: string
  24111. - description: 交易模式 - 格式:1,2,3
  24112. in: query
  24113. name: tradeMode
  24114. type: string
  24115. - description: 委托状态 - 格式:1,2,3
  24116. in: query
  24117. name: orderStatus
  24118. type: string
  24119. - description: 委托单号
  24120. in: query
  24121. name: orderID
  24122. type: integer
  24123. produces:
  24124. - application/json
  24125. responses:
  24126. "200":
  24127. description: OK
  24128. schema:
  24129. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24130. "500":
  24131. description: Internal Server Error
  24132. schema:
  24133. $ref: '#/definitions/app.Response'
  24134. security:
  24135. - ApiKeyAuth: []
  24136. summary: 委托单查询请求(合约市场)
  24137. tags:
  24138. - 通用单据
  24139. /Order/QueryTradePosition:
  24140. get:
  24141. parameters:
  24142. - description: 资金账户 - 格式:1,2,3
  24143. in: query
  24144. name: accountID
  24145. required: true
  24146. type: string
  24147. - description: 交易模式 - 格式:1,2,3
  24148. in: query
  24149. name: tradeMode
  24150. type: string
  24151. produces:
  24152. - application/json
  24153. responses:
  24154. "200":
  24155. description: OK
  24156. schema:
  24157. $ref: '#/definitions/order.QueryTradePositionRsp'
  24158. "500":
  24159. description: Internal Server Error
  24160. schema:
  24161. $ref: '#/definitions/app.Response'
  24162. security:
  24163. - ApiKeyAuth: []
  24164. summary: 持仓汇总查询(合约市场)
  24165. tags:
  24166. - 通用单据
  24167. /Qhj/QueryAccountInOutApply:
  24168. get:
  24169. parameters:
  24170. - description: 用户ID
  24171. in: query
  24172. name: userid
  24173. required: true
  24174. type: integer
  24175. - description: 申请起始日期(格式yyyymmdd)
  24176. in: query
  24177. name: begindate
  24178. type: string
  24179. - description: 申请截止日期(格式yyyymmdd)
  24180. in: query
  24181. name: enddate
  24182. type: string
  24183. - description: 模糊搜索名称
  24184. in: query
  24185. name: likename
  24186. type: string
  24187. produces:
  24188. - application/json
  24189. responses:
  24190. "200":
  24191. description: OK
  24192. schema:
  24193. items:
  24194. $ref: '#/definitions/models.QhjAccountOutInApply'
  24195. type: array
  24196. "500":
  24197. description: Internal Server Error
  24198. schema:
  24199. $ref: '#/definitions/app.Response'
  24200. security:
  24201. - ApiKeyAuth: []
  24202. summary: 查询充值提现
  24203. tags:
  24204. - 大连千海金
  24205. /Qhj/QueryAreaFinanceConfig:
  24206. get:
  24207. parameters:
  24208. - description: 机构用户ID 其他做市关系,都设置为 1
  24209. in: query
  24210. name: userid
  24211. type: integer
  24212. produces:
  24213. - application/json
  24214. responses:
  24215. "200":
  24216. description: OK
  24217. schema:
  24218. items:
  24219. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24220. type: array
  24221. "500":
  24222. description: Internal Server Error
  24223. schema:
  24224. $ref: '#/definitions/app.Response'
  24225. security:
  24226. - ApiKeyAuth: []
  24227. summary: 查询企业配置表
  24228. tags:
  24229. - 大连千海金
  24230. /Qhj/QueryBankAccountSign:
  24231. get:
  24232. parameters:
  24233. - description: 用户ID
  24234. in: query
  24235. name: userid
  24236. required: true
  24237. type: integer
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. items:
  24245. $ref: '#/definitions/models.QhjBankAccountSign'
  24246. type: array
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. security:
  24252. - ApiKeyAuth: []
  24253. summary: 查询签约银行信息(提现账户管理)
  24254. tags:
  24255. - 大连千海金
  24256. /Qhj/QueryBankInfo:
  24257. get:
  24258. produces:
  24259. - application/json
  24260. responses:
  24261. "200":
  24262. description: OK
  24263. schema:
  24264. items:
  24265. $ref: '#/definitions/models.QhjBankInfo'
  24266. type: array
  24267. "500":
  24268. description: Internal Server Error
  24269. schema:
  24270. $ref: '#/definitions/app.Response'
  24271. security:
  24272. - ApiKeyAuth: []
  24273. summary: 查询开户行
  24274. tags:
  24275. - 大连千海金
  24276. /Qhj/QueryBrokerApply:
  24277. get:
  24278. parameters:
  24279. - description: 所属机构ID
  24280. in: query
  24281. name: userid
  24282. type: integer
  24283. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24284. in: query
  24285. name: filterstatus
  24286. type: string
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. items:
  24294. $ref: '#/definitions/models.QhjBrokerApply'
  24295. type: array
  24296. "500":
  24297. description: Internal Server Error
  24298. schema:
  24299. $ref: '#/definitions/app.Response'
  24300. security:
  24301. - ApiKeyAuth: []
  24302. summary: 查询经纪人申请
  24303. tags:
  24304. - 大连千海金
  24305. /Qhj/QueryBrokerApplyEx:
  24306. get:
  24307. parameters:
  24308. - description: 所属机构ID
  24309. in: query
  24310. name: userid
  24311. type: integer
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. items:
  24319. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24320. type: array
  24321. "500":
  24322. description: Internal Server Error
  24323. schema:
  24324. $ref: '#/definitions/app.Response'
  24325. security:
  24326. - ApiKeyAuth: []
  24327. summary: 查询经纪人信息和申请记录
  24328. tags:
  24329. - 大连千海金
  24330. /Qhj/QueryBrokerRewardLog:
  24331. get:
  24332. parameters:
  24333. - description: 用户ID
  24334. in: query
  24335. name: userid
  24336. required: true
  24337. type: integer
  24338. - description: 开始交易日(yyyymmdd)
  24339. in: query
  24340. name: begindate
  24341. type: string
  24342. - description: 结束交易日(yyyymmdd)
  24343. in: query
  24344. name: enddate
  24345. type: string
  24346. produces:
  24347. - application/json
  24348. responses:
  24349. "200":
  24350. description: OK
  24351. schema:
  24352. items:
  24353. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24354. type: array
  24355. "500":
  24356. description: Internal Server Error
  24357. schema:
  24358. $ref: '#/definitions/app.Response'
  24359. security:
  24360. - ApiKeyAuth: []
  24361. summary: 查询奖励流水(我的奖励)
  24362. tags:
  24363. - 大连千海金
  24364. /Qhj/QueryContract:
  24365. get:
  24366. parameters:
  24367. - description: 用户ID
  24368. in: query
  24369. name: userid
  24370. type: integer
  24371. - description: scf合同id
  24372. in: query
  24373. name: scfcontractid
  24374. type: integer
  24375. produces:
  24376. - application/json
  24377. responses:
  24378. "200":
  24379. description: OK
  24380. schema:
  24381. items:
  24382. $ref: '#/definitions/models.QhjContract'
  24383. type: array
  24384. "500":
  24385. description: Internal Server Error
  24386. schema:
  24387. $ref: '#/definitions/app.Response'
  24388. security:
  24389. - ApiKeyAuth: []
  24390. summary: 查询融资明细(合同)
  24391. tags:
  24392. - 大连千海金
  24393. /Qhj/QueryContractLog:
  24394. get:
  24395. parameters:
  24396. - description: scf合同id
  24397. in: query
  24398. name: scfcontractid
  24399. required: true
  24400. type: integer
  24401. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24402. in: query
  24403. name: amounttype
  24404. type: string
  24405. produces:
  24406. - application/json
  24407. responses:
  24408. "200":
  24409. description: OK
  24410. schema:
  24411. items:
  24412. $ref: '#/definitions/models.QhjContractLog'
  24413. type: array
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. security:
  24419. - ApiKeyAuth: []
  24420. summary: 查询融资明细流水(融资明细详情页中的流水)
  24421. tags:
  24422. - 大连千海金
  24423. /Qhj/QueryCusBankSignBank:
  24424. get:
  24425. produces:
  24426. - application/json
  24427. responses:
  24428. "200":
  24429. description: OK
  24430. schema:
  24431. items:
  24432. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24433. type: array
  24434. "500":
  24435. description: Internal Server Error
  24436. schema:
  24437. $ref: '#/definitions/app.Response'
  24438. security:
  24439. - ApiKeyAuth: []
  24440. summary: 查询托管银行
  24441. tags:
  24442. - 大连千海金
  24443. /Qhj/QueryCustomerInfo:
  24444. get:
  24445. parameters:
  24446. - description: 用户ID
  24447. in: query
  24448. name: userid
  24449. required: true
  24450. type: integer
  24451. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24452. in: query
  24453. name: querytype
  24454. required: true
  24455. type: integer
  24456. - description: 客户类型 1-个人 2-企业
  24457. in: query
  24458. name: userinfotype
  24459. type: integer
  24460. - description: 客户名称(模糊匹配)
  24461. in: query
  24462. name: customername
  24463. type: string
  24464. - description: 昵称(模糊匹配)
  24465. in: query
  24466. name: nickname
  24467. type: string
  24468. - description: 是否包含子级 1-包含
  24469. in: query
  24470. name: includesub
  24471. type: integer
  24472. produces:
  24473. - application/json
  24474. responses:
  24475. "200":
  24476. description: OK
  24477. schema:
  24478. items:
  24479. $ref: '#/definitions/models.QhjCustomer'
  24480. type: array
  24481. "500":
  24482. description: Internal Server Error
  24483. schema:
  24484. $ref: '#/definitions/app.Response'
  24485. security:
  24486. - ApiKeyAuth: []
  24487. summary: 查询客户资料
  24488. tags:
  24489. - 大连千海金
  24490. /Qhj/QueryGoodsEx:
  24491. get:
  24492. parameters:
  24493. - description: 商品id
  24494. in: query
  24495. name: goodsid
  24496. type: integer
  24497. produces:
  24498. - application/json
  24499. responses:
  24500. "200":
  24501. description: OK
  24502. schema:
  24503. items:
  24504. $ref: '#/definitions/models.Qhjgoodsex'
  24505. type: array
  24506. "500":
  24507. description: Internal Server Error
  24508. schema:
  24509. $ref: '#/definitions/app.Response'
  24510. security:
  24511. - ApiKeyAuth: []
  24512. summary: 交易商品扩展表
  24513. tags:
  24514. - 大连千海金
  24515. /Qhj/QueryMyTeam:
  24516. get:
  24517. parameters:
  24518. - description: 用户ID
  24519. in: query
  24520. name: userid
  24521. required: true
  24522. type: integer
  24523. produces:
  24524. - application/json
  24525. responses:
  24526. "200":
  24527. description: OK
  24528. schema:
  24529. items:
  24530. $ref: '#/definitions/models.QhjMyTeamEx'
  24531. type: array
  24532. "500":
  24533. description: Internal Server Error
  24534. schema:
  24535. $ref: '#/definitions/app.Response'
  24536. security:
  24537. - ApiKeyAuth: []
  24538. summary: 查询我的团队
  24539. tags:
  24540. - 大连千海金
  24541. /Qhj/QueryMyTeamOrder:
  24542. get:
  24543. parameters:
  24544. - description: 页码
  24545. in: query
  24546. name: page
  24547. type: integer
  24548. - description: 每页条数
  24549. in: query
  24550. name: pagesize
  24551. type: integer
  24552. - description: 用户ID
  24553. in: query
  24554. name: userid
  24555. required: true
  24556. type: integer
  24557. - description: 交易模式
  24558. in: query
  24559. name: trademode
  24560. type: integer
  24561. - description: 名称(模糊搜索账户)
  24562. in: query
  24563. name: filtername
  24564. type: string
  24565. produces:
  24566. - application/json
  24567. responses:
  24568. "200":
  24569. description: OK
  24570. schema:
  24571. items:
  24572. $ref: '#/definitions/models.QhjTeamOrder'
  24573. type: array
  24574. "500":
  24575. description: Internal Server Error
  24576. schema:
  24577. $ref: '#/definitions/app.Response'
  24578. security:
  24579. - ApiKeyAuth: []
  24580. summary: 查询团队订单(我的团队/团队订单)
  24581. tags:
  24582. - 大连千海金
  24583. /Qhj/QueryParentAreaList:
  24584. get:
  24585. parameters:
  24586. - description: 用户ID
  24587. in: query
  24588. name: userid
  24589. required: true
  24590. type: integer
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. items:
  24598. $ref: '#/definitions/models.QhjParentAreaList'
  24599. type: array
  24600. "500":
  24601. description: Internal Server Error
  24602. schema:
  24603. $ref: '#/definitions/app.Response'
  24604. security:
  24605. - ApiKeyAuth: []
  24606. summary: 查询所属机构列表
  24607. tags:
  24608. - 大连千海金
  24609. /Qhj/QueryPayOrder:
  24610. get:
  24611. parameters:
  24612. - description: 资金账号id
  24613. in: query
  24614. name: accountid
  24615. required: true
  24616. type: integer
  24617. - description: 成交单号
  24618. in: query
  24619. name: tradeid
  24620. type: integer
  24621. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24622. in: query
  24623. name: payflag
  24624. type: string
  24625. produces:
  24626. - application/json
  24627. responses:
  24628. "200":
  24629. description: OK
  24630. schema:
  24631. items:
  24632. $ref: '#/definitions/models.QhjPayOrder'
  24633. type: array
  24634. "500":
  24635. description: Internal Server Error
  24636. schema:
  24637. $ref: '#/definitions/app.Response'
  24638. security:
  24639. - ApiKeyAuth: []
  24640. summary: 查询待付款单据
  24641. tags:
  24642. - 大连千海金
  24643. /Qhj/QueryPickArea:
  24644. get:
  24645. parameters:
  24646. - description: 用户ID
  24647. in: query
  24648. name: userid
  24649. type: integer
  24650. produces:
  24651. - application/json
  24652. responses:
  24653. "200":
  24654. description: OK
  24655. schema:
  24656. items:
  24657. $ref: '#/definitions/models.QhjPickArea'
  24658. type: array
  24659. "500":
  24660. description: Internal Server Error
  24661. schema:
  24662. $ref: '#/definitions/app.Response'
  24663. security:
  24664. - ApiKeyAuth: []
  24665. summary: 查询提货门店
  24666. tags:
  24667. - 大连千海金
  24668. /Qhj/QueryPickGoods:
  24669. get:
  24670. parameters:
  24671. - description: 交易商品id
  24672. in: query
  24673. name: goodsid
  24674. required: true
  24675. type: integer
  24676. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24677. in: query
  24678. name: status
  24679. type: string
  24680. produces:
  24681. - application/json
  24682. responses:
  24683. "200":
  24684. description: OK
  24685. schema:
  24686. items:
  24687. $ref: '#/definitions/models.QhjPickGoods'
  24688. type: array
  24689. "500":
  24690. description: Internal Server Error
  24691. schema:
  24692. $ref: '#/definitions/app.Response'
  24693. security:
  24694. - ApiKeyAuth: []
  24695. summary: 查询提货商品
  24696. tags:
  24697. - 大连千海金
  24698. /Qhj/QueryRSTriggerLog:
  24699. get:
  24700. parameters:
  24701. - description: 用户ID
  24702. in: query
  24703. name: userid
  24704. type: integer
  24705. - description: 定投策略id
  24706. in: query
  24707. name: regularlystrategyid
  24708. type: integer
  24709. - description: 商品id
  24710. in: query
  24711. name: goodsid
  24712. type: integer
  24713. - description: 开始交易日(yyyymmdd)
  24714. in: query
  24715. name: begindate
  24716. type: string
  24717. - description: 结束交易日(yyyymmdd)
  24718. in: query
  24719. name: enddate
  24720. type: string
  24721. - description: 名称(模糊搜索账户)
  24722. in: query
  24723. name: filtername
  24724. type: string
  24725. produces:
  24726. - application/json
  24727. responses:
  24728. "200":
  24729. description: OK
  24730. schema:
  24731. items:
  24732. $ref: '#/definitions/models.QhjRSTriggerLog'
  24733. type: array
  24734. "500":
  24735. description: Internal Server Error
  24736. schema:
  24737. $ref: '#/definitions/app.Response'
  24738. security:
  24739. - ApiKeyAuth: []
  24740. summary: 查询定投记录(定投管理/详情/定投记录)
  24741. tags:
  24742. - 大连千海金
  24743. /Qhj/QueryRStrategy:
  24744. get:
  24745. parameters:
  24746. - description: 用户ID
  24747. in: query
  24748. name: userid
  24749. type: integer
  24750. - description: 商品id
  24751. in: query
  24752. name: goodsid
  24753. type: integer
  24754. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24755. in: query
  24756. name: status
  24757. type: string
  24758. - description: 名称(模糊搜索账户)
  24759. in: query
  24760. name: filtername
  24761. type: string
  24762. produces:
  24763. - application/json
  24764. responses:
  24765. "200":
  24766. description: OK
  24767. schema:
  24768. items:
  24769. $ref: '#/definitions/models.QhjRStrategy'
  24770. type: array
  24771. "500":
  24772. description: Internal Server Error
  24773. schema:
  24774. $ref: '#/definitions/app.Response'
  24775. security:
  24776. - ApiKeyAuth: []
  24777. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24778. tags:
  24779. - 大连千海金
  24780. /Qhj/QueryReckonPriceLog:
  24781. get:
  24782. parameters:
  24783. - description: 商品ID
  24784. in: query
  24785. name: goodsid
  24786. type: integer
  24787. - description: 交易日 格式(yyyymmdd)
  24788. in: query
  24789. name: tradedate
  24790. type: string
  24791. produces:
  24792. - application/json
  24793. responses:
  24794. "200":
  24795. description: OK
  24796. schema:
  24797. items:
  24798. $ref: '#/definitions/models.QhjReckonPriceLog'
  24799. type: array
  24800. "500":
  24801. description: Internal Server Error
  24802. schema:
  24803. $ref: '#/definitions/app.Response'
  24804. security:
  24805. - ApiKeyAuth: []
  24806. summary: 查询定投价(结算价)
  24807. tags:
  24808. - 大连千海金
  24809. /Qhj/QueryScoreLog:
  24810. get:
  24811. parameters:
  24812. - description: 用户ID
  24813. in: query
  24814. name: userid
  24815. required: true
  24816. type: integer
  24817. - description: 开始交易日(yyyymmdd)
  24818. in: query
  24819. name: begindate
  24820. type: string
  24821. - description: 结束交易日(yyyymmdd)
  24822. in: query
  24823. name: enddate
  24824. type: string
  24825. - description: 最近多少条
  24826. in: query
  24827. name: lastnum
  24828. type: integer
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. items:
  24836. $ref: '#/definitions/models.QhjScoreLog'
  24837. type: array
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. security:
  24843. - ApiKeyAuth: []
  24844. summary: 查询积分流水(我的积分)
  24845. tags:
  24846. - 大连千海金
  24847. /Qhj/QuerySiteColumnDetail:
  24848. get:
  24849. parameters:
  24850. - description: 用户ID
  24851. in: query
  24852. name: userid
  24853. required: true
  24854. type: integer
  24855. produces:
  24856. - application/json
  24857. responses:
  24858. "200":
  24859. description: OK
  24860. schema:
  24861. items:
  24862. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24863. type: array
  24864. "500":
  24865. description: Internal Server Error
  24866. schema:
  24867. $ref: '#/definitions/app.Response'
  24868. security:
  24869. - ApiKeyAuth: []
  24870. summary: 查询资讯
  24871. tags:
  24872. - 大连千海金
  24873. /Qhj/QueryTradeGoodsPickup:
  24874. get:
  24875. parameters:
  24876. - description: 用户ID
  24877. in: query
  24878. name: userid
  24879. required: true
  24880. type: integer
  24881. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24882. in: query
  24883. name: takeorderstatus
  24884. type: integer
  24885. produces:
  24886. - application/json
  24887. responses:
  24888. "200":
  24889. description: OK
  24890. schema:
  24891. items:
  24892. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24893. type: array
  24894. "500":
  24895. description: Internal Server Error
  24896. schema:
  24897. $ref: '#/definitions/app.Response'
  24898. security:
  24899. - ApiKeyAuth: []
  24900. summary: 查询提货
  24901. tags:
  24902. - 大连千海金
  24903. /Qhj/QueryUserCollectConfig:
  24904. get:
  24905. parameters:
  24906. - description: 用户ID
  24907. in: query
  24908. name: userid
  24909. required: true
  24910. type: integer
  24911. produces:
  24912. - application/json
  24913. responses:
  24914. "200":
  24915. description: OK
  24916. schema:
  24917. items:
  24918. $ref: '#/definitions/models.UserCollectConfig'
  24919. type: array
  24920. "500":
  24921. description: Internal Server Error
  24922. schema:
  24923. $ref: '#/definitions/app.Response'
  24924. security:
  24925. - ApiKeyAuth: []
  24926. summary: 查询提现账户设置
  24927. tags:
  24928. - 大连千海金
  24929. /Qhj/QueryUserReceiveInfo:
  24930. get:
  24931. parameters:
  24932. - description: 用户ID
  24933. in: query
  24934. name: userid
  24935. required: true
  24936. type: integer
  24937. produces:
  24938. - application/json
  24939. responses:
  24940. "200":
  24941. description: OK
  24942. schema:
  24943. items:
  24944. $ref: '#/definitions/models.UserReceiveInfo'
  24945. type: array
  24946. "500":
  24947. description: Internal Server Error
  24948. schema:
  24949. $ref: '#/definitions/app.Response'
  24950. security:
  24951. - ApiKeyAuth: []
  24952. summary: 查询收货地址信息
  24953. tags:
  24954. - 大连千海金
  24955. /QhjMgr/QueryAccountInOutApply:
  24956. get:
  24957. parameters:
  24958. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24959. in: query
  24960. name: querytype
  24961. required: true
  24962. type: integer
  24963. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24964. in: query
  24965. name: applystatus
  24966. type: integer
  24967. - description: 申请起始日期(格式yyyymmdd)
  24968. in: query
  24969. name: begindate
  24970. type: string
  24971. - description: 申请截止日期(格式yyyymmdd)
  24972. in: query
  24973. name: enddate
  24974. type: string
  24975. - description: 模糊搜索名称
  24976. in: query
  24977. name: likename
  24978. type: string
  24979. produces:
  24980. - application/json
  24981. responses:
  24982. "200":
  24983. description: OK
  24984. schema:
  24985. items:
  24986. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24987. type: array
  24988. "500":
  24989. description: Internal Server Error
  24990. schema:
  24991. $ref: '#/definitions/app.Response'
  24992. security:
  24993. - ApiKeyAuth: []
  24994. summary: 查询充值提现
  24995. tags:
  24996. - 大连千海金(PCWeb)
  24997. /QhjMgr/QueryBrokerApply:
  24998. get:
  24999. parameters:
  25000. - description: 所属机构ID
  25001. in: query
  25002. name: userid
  25003. type: integer
  25004. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25005. in: query
  25006. name: filterstatus
  25007. type: string
  25008. - description: 名称(模糊匹配)
  25009. in: query
  25010. name: filtername
  25011. type: string
  25012. - description: 是否包含子级 1-包含
  25013. in: query
  25014. name: includesub
  25015. type: integer
  25016. produces:
  25017. - application/json
  25018. responses:
  25019. "200":
  25020. description: OK
  25021. schema:
  25022. items:
  25023. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25024. type: array
  25025. "500":
  25026. description: Internal Server Error
  25027. schema:
  25028. $ref: '#/definitions/app.Response'
  25029. security:
  25030. - ApiKeyAuth: []
  25031. summary: 查询经纪人申请
  25032. tags:
  25033. - 大连千海金(PCWeb)
  25034. /QhjMgr/QueryBrokerRewardReport:
  25035. get:
  25036. parameters:
  25037. - description: 所属机构ID
  25038. in: query
  25039. name: userid
  25040. required: true
  25041. type: integer
  25042. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25043. in: query
  25044. name: cycletype
  25045. required: true
  25046. type: integer
  25047. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25048. in: query
  25049. name: cycletime
  25050. required: true
  25051. type: string
  25052. - description: 名称(模糊匹配)
  25053. in: query
  25054. name: filtername
  25055. type: string
  25056. - description: 是否包含子级 1-包含
  25057. in: query
  25058. name: includesub
  25059. type: integer
  25060. produces:
  25061. - application/json
  25062. responses:
  25063. "200":
  25064. description: OK
  25065. schema:
  25066. items:
  25067. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25068. type: array
  25069. "500":
  25070. description: Internal Server Error
  25071. schema:
  25072. $ref: '#/definitions/app.Response'
  25073. security:
  25074. - ApiKeyAuth: []
  25075. summary: 查询经纪人奖励报表(废弃)
  25076. tags:
  25077. - 大连千海金(PCWeb)
  25078. /QhjMgr/QueryContract:
  25079. get:
  25080. parameters:
  25081. - description: 用户ID
  25082. in: query
  25083. name: userid
  25084. type: integer
  25085. - description: 商品id
  25086. in: query
  25087. name: goodsid
  25088. type: integer
  25089. - description: 名称(模糊搜索账户)
  25090. in: query
  25091. name: filtername
  25092. type: string
  25093. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25094. in: query
  25095. name: risklevel
  25096. type: string
  25097. - description: 开始交易日(yyyymmdd)
  25098. in: query
  25099. name: begindate
  25100. type: string
  25101. - description: 结束交易日(yyyymmdd)
  25102. in: query
  25103. name: enddate
  25104. type: string
  25105. produces:
  25106. - application/json
  25107. responses:
  25108. "200":
  25109. description: OK
  25110. schema:
  25111. items:
  25112. $ref: '#/definitions/models.QhjMgrContract'
  25113. type: array
  25114. "500":
  25115. description: Internal Server Error
  25116. schema:
  25117. $ref: '#/definitions/app.Response'
  25118. security:
  25119. - ApiKeyAuth: []
  25120. summary: 查询融资信息(合同)
  25121. tags:
  25122. - 大连千海金(PCWeb)
  25123. /QhjMgr/QueryCustomerInfo:
  25124. get:
  25125. parameters:
  25126. - description: 用户ID
  25127. in: query
  25128. name: userid
  25129. required: true
  25130. type: integer
  25131. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25132. in: query
  25133. name: querytype
  25134. required: true
  25135. type: integer
  25136. - description: 客户类型 1-个人 2-企业
  25137. in: query
  25138. name: userinfotype
  25139. type: integer
  25140. - description: 客户名称(模糊匹配)
  25141. in: query
  25142. name: customername
  25143. type: string
  25144. - description: 昵称(模糊匹配)
  25145. in: query
  25146. name: nickname
  25147. type: string
  25148. - description: 所属客户经理(模糊匹配)
  25149. in: query
  25150. name: brokername
  25151. type: string
  25152. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25153. in: query
  25154. name: birthday
  25155. type: string
  25156. - description: 是否包含子级 1-包含
  25157. in: query
  25158. name: includesub
  25159. type: integer
  25160. produces:
  25161. - application/json
  25162. responses:
  25163. "200":
  25164. description: OK
  25165. schema:
  25166. items:
  25167. $ref: '#/definitions/models.QhjMgrCustomer'
  25168. type: array
  25169. "500":
  25170. description: Internal Server Error
  25171. schema:
  25172. $ref: '#/definitions/app.Response'
  25173. security:
  25174. - ApiKeyAuth: []
  25175. summary: 查询客户资料
  25176. tags:
  25177. - 大连千海金(PCWeb)
  25178. /QhjMgr/QueryPickGoods:
  25179. get:
  25180. parameters:
  25181. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25182. in: query
  25183. name: status
  25184. type: string
  25185. produces:
  25186. - application/json
  25187. responses:
  25188. "200":
  25189. description: OK
  25190. schema:
  25191. items:
  25192. $ref: '#/definitions/models.QhjMgrPickGoods'
  25193. type: array
  25194. "500":
  25195. description: Internal Server Error
  25196. schema:
  25197. $ref: '#/definitions/app.Response'
  25198. security:
  25199. - ApiKeyAuth: []
  25200. summary: 查询提货商品
  25201. tags:
  25202. - 大连千海金(PCWeb)
  25203. /QhjMgr/QuerySubArea:
  25204. get:
  25205. parameters:
  25206. - description: 用户ID
  25207. in: query
  25208. name: userid
  25209. required: true
  25210. type: integer
  25211. produces:
  25212. - application/json
  25213. responses:
  25214. "200":
  25215. description: OK
  25216. schema:
  25217. items:
  25218. $ref: '#/definitions/models.QhjMgrSubArea'
  25219. type: array
  25220. "500":
  25221. description: Internal Server Error
  25222. schema:
  25223. $ref: '#/definitions/app.Response'
  25224. security:
  25225. - ApiKeyAuth: []
  25226. summary: 查询子机构列表
  25227. tags:
  25228. - 大连千海金(PCWeb)
  25229. /QhjMgr/QueryTradeDetail:
  25230. get:
  25231. parameters:
  25232. - description: 用户ID
  25233. in: query
  25234. name: userid
  25235. required: true
  25236. type: integer
  25237. - description: 用户类型 1-个人 2-企业
  25238. in: query
  25239. name: userinfotype
  25240. type: integer
  25241. - description: 交易模式
  25242. in: query
  25243. name: trademode
  25244. type: integer
  25245. - description: 商品id
  25246. in: query
  25247. name: goodsid
  25248. type: integer
  25249. - description: 名称(模糊搜索账户)
  25250. in: query
  25251. name: filtername
  25252. type: string
  25253. - description: 开始交易日(yyyymmdd)
  25254. in: query
  25255. name: begindate
  25256. type: string
  25257. - description: 结束交易日(yyyymmdd)
  25258. in: query
  25259. name: enddate
  25260. type: string
  25261. - description: 是否包含子级 1-包含
  25262. in: query
  25263. name: includesub
  25264. type: integer
  25265. produces:
  25266. - application/json
  25267. responses:
  25268. "200":
  25269. description: OK
  25270. schema:
  25271. items:
  25272. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25273. type: array
  25274. "500":
  25275. description: Internal Server Error
  25276. schema:
  25277. $ref: '#/definitions/app.Response'
  25278. security:
  25279. - ApiKeyAuth: []
  25280. summary: 查询成交明细
  25281. tags:
  25282. - 大连千海金(PCWeb)
  25283. /QhjMgr/QueryTradeOrderDetail:
  25284. get:
  25285. parameters:
  25286. - description: 用户ID
  25287. in: query
  25288. name: userid
  25289. required: true
  25290. type: integer
  25291. - description: 用户类型 1-个人 2-企业
  25292. in: query
  25293. name: userinfotype
  25294. type: integer
  25295. - description: 交易模式
  25296. in: query
  25297. name: trademode
  25298. type: integer
  25299. - description: 商品id
  25300. in: query
  25301. name: goodsid
  25302. type: integer
  25303. - description: 名称(模糊搜索账户)
  25304. in: query
  25305. name: filtername
  25306. type: string
  25307. - description: 开始交易日(yyyymmdd)
  25308. in: query
  25309. name: begindate
  25310. type: string
  25311. - description: 结束交易日(yyyymmdd)
  25312. in: query
  25313. name: enddate
  25314. type: string
  25315. - description: 是否包含子级 1-包含
  25316. in: query
  25317. name: includesub
  25318. type: integer
  25319. produces:
  25320. - application/json
  25321. responses:
  25322. "200":
  25323. description: OK
  25324. schema:
  25325. items:
  25326. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25327. type: array
  25328. "500":
  25329. description: Internal Server Error
  25330. schema:
  25331. $ref: '#/definitions/app.Response'
  25332. security:
  25333. - ApiKeyAuth: []
  25334. summary: 查询委托明细
  25335. tags:
  25336. - 大连千海金(PCWeb)
  25337. /QhjMgr/QueryTradePayOrder:
  25338. get:
  25339. parameters:
  25340. - description: 用户ID
  25341. in: query
  25342. name: userid
  25343. required: true
  25344. type: integer
  25345. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25346. in: query
  25347. name: payflag
  25348. type: string
  25349. - description: 用户类型 1-个人 2-企业
  25350. in: query
  25351. name: userinfotype
  25352. type: integer
  25353. - description: 交易模式
  25354. in: query
  25355. name: trademode
  25356. type: integer
  25357. - description: 商品id
  25358. in: query
  25359. name: goodsid
  25360. type: integer
  25361. - description: 名称(模糊搜索账户)
  25362. in: query
  25363. name: filtername
  25364. type: string
  25365. - description: 开始交易日(yyyymmdd)
  25366. in: query
  25367. name: begindate
  25368. type: string
  25369. - description: 结束交易日(yyyymmdd)
  25370. in: query
  25371. name: enddate
  25372. type: string
  25373. - description: 是否包含子级 1-包含
  25374. in: query
  25375. name: includesub
  25376. type: integer
  25377. produces:
  25378. - application/json
  25379. responses:
  25380. "200":
  25381. description: OK
  25382. schema:
  25383. items:
  25384. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25385. type: array
  25386. "500":
  25387. description: Internal Server Error
  25388. schema:
  25389. $ref: '#/definitions/app.Response'
  25390. security:
  25391. - ApiKeyAuth: []
  25392. summary: 查询待付款单
  25393. tags:
  25394. - 大连千海金(PCWeb)
  25395. /QhjMgr/QueryTradePosition:
  25396. get:
  25397. parameters:
  25398. - description: 用户ID
  25399. in: query
  25400. name: userid
  25401. required: true
  25402. type: integer
  25403. - description: 用户类型 1-个人 2-企业
  25404. in: query
  25405. name: userinfotype
  25406. type: integer
  25407. - description: 交易模式
  25408. in: query
  25409. name: trademode
  25410. type: integer
  25411. - description: 商品id
  25412. in: query
  25413. name: goodsid
  25414. type: integer
  25415. - description: 名称(模糊搜索账户)
  25416. in: query
  25417. name: filtername
  25418. type: string
  25419. - description: 是否包含子级 1-包含
  25420. in: query
  25421. name: includesub
  25422. type: integer
  25423. produces:
  25424. - application/json
  25425. responses:
  25426. "200":
  25427. description: OK
  25428. schema:
  25429. items:
  25430. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25431. type: array
  25432. "500":
  25433. description: Internal Server Error
  25434. schema:
  25435. $ref: '#/definitions/app.Response'
  25436. security:
  25437. - ApiKeyAuth: []
  25438. summary: 查询持仓汇总
  25439. tags:
  25440. - 大连千海金(PCWeb)
  25441. /QhjSys/QueryAgreementChangeLog:
  25442. get:
  25443. parameters:
  25444. - description: 协议ID
  25445. in: query
  25446. name: agreementid
  25447. type: integer
  25448. - description: 协议版本号
  25449. in: query
  25450. name: agreementversion
  25451. type: integer
  25452. - description: 协议类型 - 1:注册 2:登录 3:交易
  25453. in: query
  25454. name: agreementtype
  25455. type: integer
  25456. - description: 协议编号(模糊匹配)
  25457. in: query
  25458. name: agreementno
  25459. type: string
  25460. - description: 协议名称(模糊匹配)
  25461. in: query
  25462. name: agreementname
  25463. type: string
  25464. produces:
  25465. - application/json
  25466. responses:
  25467. "200":
  25468. description: OK
  25469. schema:
  25470. items:
  25471. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25472. type: array
  25473. "500":
  25474. description: Internal Server Error
  25475. schema:
  25476. $ref: '#/definitions/app.Response'
  25477. security:
  25478. - ApiKeyAuth: []
  25479. summary: 查询协议配置变更流水
  25480. tags:
  25481. - 大连千海金(协议和签约信息)
  25482. /QhjSys/QueryAgreementConfig:
  25483. get:
  25484. parameters:
  25485. - description: 协议ID
  25486. in: query
  25487. name: agreementid
  25488. type: integer
  25489. - description: 协议版本号
  25490. in: query
  25491. name: agreementversion
  25492. type: integer
  25493. - description: 协议类型 - 1:注册 2:登录 3:交易
  25494. in: query
  25495. name: agreementtype
  25496. type: integer
  25497. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25498. in: query
  25499. name: isvalid
  25500. type: integer
  25501. - description: 协议编号(模糊匹配)
  25502. in: query
  25503. name: agreementno
  25504. type: string
  25505. - description: 协议名称(模糊匹配)
  25506. in: query
  25507. name: agreementname
  25508. type: string
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. items:
  25516. $ref: '#/definitions/models.QhjAgreementConfig'
  25517. type: array
  25518. "500":
  25519. description: Internal Server Error
  25520. schema:
  25521. $ref: '#/definitions/app.Response'
  25522. security:
  25523. - ApiKeyAuth: []
  25524. summary: 查询协议配置
  25525. tags:
  25526. - 大连千海金(协议和签约信息)
  25527. /QhjSys/QueryCustomerSignStatus:
  25528. get:
  25529. parameters:
  25530. - description: 客户ID
  25531. in: query
  25532. name: userid
  25533. type: integer
  25534. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25535. in: query
  25536. name: nodetype
  25537. type: integer
  25538. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25539. in: query
  25540. name: goodsid
  25541. type: integer
  25542. - description: 创建交易日(yyyyMMdd)
  25543. in: query
  25544. name: tradedate
  25545. type: string
  25546. - description: 用户名称(模糊匹配)
  25547. in: query
  25548. name: username
  25549. type: string
  25550. produces:
  25551. - application/json
  25552. responses:
  25553. "200":
  25554. description: OK
  25555. schema:
  25556. items:
  25557. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25558. type: array
  25559. "500":
  25560. description: Internal Server Error
  25561. schema:
  25562. $ref: '#/definitions/app.Response'
  25563. security:
  25564. - ApiKeyAuth: []
  25565. summary: 查询客户协议签约状态
  25566. tags:
  25567. - 大连千海金(协议和签约信息)
  25568. /QhjSys/QueryNodeAgreementConfig:
  25569. get:
  25570. parameters:
  25571. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25572. in: query
  25573. name: configid
  25574. type: integer
  25575. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25576. in: query
  25577. name: nodetype
  25578. type: integer
  25579. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25580. in: query
  25581. name: goodsid
  25582. type: integer
  25583. - description: 协议ID
  25584. in: query
  25585. name: agreementid
  25586. type: integer
  25587. - description: 协议类型 - 1:注册 2:登录 3:交易
  25588. in: query
  25589. name: agreementtype
  25590. type: integer
  25591. - description: 协议版本号
  25592. in: query
  25593. name: agreementversion
  25594. type: integer
  25595. - description: 协议编号(模糊匹配)
  25596. in: query
  25597. name: agreementno
  25598. type: string
  25599. - description: 协议名称(模糊匹配)
  25600. in: query
  25601. name: agreementname
  25602. type: string
  25603. produces:
  25604. - application/json
  25605. responses:
  25606. "200":
  25607. description: OK
  25608. schema:
  25609. items:
  25610. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25611. type: array
  25612. "500":
  25613. description: Internal Server Error
  25614. schema:
  25615. $ref: '#/definitions/app.Response'
  25616. security:
  25617. - ApiKeyAuth: []
  25618. summary: 查询协议节点配置
  25619. tags:
  25620. - 大连千海金(协议和签约信息)
  25621. /QhjSys/QueryQhjCustomerSignLog:
  25622. get:
  25623. parameters:
  25624. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25625. in: query
  25626. name: logid
  25627. type: integer
  25628. - description: 客户ID
  25629. in: query
  25630. name: userid
  25631. type: integer
  25632. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25633. in: query
  25634. name: nodetype
  25635. type: integer
  25636. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25637. in: query
  25638. name: goodsid
  25639. type: integer
  25640. - description: 协议ID
  25641. in: query
  25642. name: agreementid
  25643. type: integer
  25644. - description: 用户名称(模糊匹配)
  25645. in: query
  25646. name: username
  25647. type: string
  25648. - description: 协议编号(模糊匹配)
  25649. in: query
  25650. name: agreementno
  25651. type: string
  25652. - description: 协议名称(模糊匹配)
  25653. in: query
  25654. name: agreementname
  25655. type: string
  25656. produces:
  25657. - application/json
  25658. responses:
  25659. "200":
  25660. description: OK
  25661. schema:
  25662. items:
  25663. $ref: '#/definitions/models.QhjCustomerSignLog'
  25664. type: array
  25665. "500":
  25666. description: Internal Server Error
  25667. schema:
  25668. $ref: '#/definitions/app.Response'
  25669. security:
  25670. - ApiKeyAuth: []
  25671. summary: 查询客户协议签约流水
  25672. tags:
  25673. - 大连千海金(协议和签约信息)
  25674. /QhjSys/QueryUserNodeCfgAndStatus:
  25675. get:
  25676. parameters:
  25677. - description: 客户ID
  25678. in: query
  25679. name: userid
  25680. type: integer
  25681. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25682. in: query
  25683. name: configid
  25684. type: integer
  25685. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25686. in: query
  25687. name: nodetype
  25688. type: string
  25689. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25690. in: query
  25691. name: goodsid
  25692. type: integer
  25693. - description: 协议ID
  25694. in: query
  25695. name: agreementid
  25696. type: integer
  25697. - description: 协议类型 - 1:注册 2:登录 3:交易
  25698. in: query
  25699. name: agreementtype
  25700. type: integer
  25701. - description: 协议版本号
  25702. in: query
  25703. name: agreementversion
  25704. type: integer
  25705. - description: 协议编号(模糊匹配)
  25706. in: query
  25707. name: agreementno
  25708. type: string
  25709. - description: 协议名称(模糊匹配)
  25710. in: query
  25711. name: agreementname
  25712. type: string
  25713. produces:
  25714. - application/json
  25715. responses:
  25716. "200":
  25717. description: OK
  25718. schema:
  25719. items:
  25720. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25721. type: array
  25722. "500":
  25723. description: Internal Server Error
  25724. schema:
  25725. $ref: '#/definitions/app.Response'
  25726. security:
  25727. - ApiKeyAuth: []
  25728. summary: 查询用户协议节点配置和状态
  25729. tags:
  25730. - 大连千海金(协议和签约信息)
  25731. /Quote/QueryHistoryDatas:
  25732. get:
  25733. parameters:
  25734. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25735. in: query
  25736. name: cycleType
  25737. required: true
  25738. type: integer
  25739. - description: 商品代码
  25740. in: query
  25741. name: goodsCode
  25742. required: true
  25743. type: string
  25744. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25745. in: query
  25746. name: startTime
  25747. type: string
  25748. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25749. in: query
  25750. name: endTime
  25751. type: string
  25752. - description: 条数
  25753. in: query
  25754. name: count
  25755. type: integer
  25756. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25757. in: query
  25758. name: isAsc
  25759. type: boolean
  25760. produces:
  25761. - application/json
  25762. responses:
  25763. "200":
  25764. description: OK
  25765. schema:
  25766. $ref: '#/definitions/quote.HistoryData'
  25767. "500":
  25768. description: Internal Server Error
  25769. schema:
  25770. $ref: '#/definitions/app.Response'
  25771. security:
  25772. - ApiKeyAuth: []
  25773. summary: 查询行情历史数据
  25774. tags:
  25775. - 行情服务
  25776. /Quote/QueryHistoryTikDatas:
  25777. get:
  25778. parameters:
  25779. - description: 商品代码
  25780. in: query
  25781. name: goodsCode
  25782. required: true
  25783. type: string
  25784. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25785. in: query
  25786. name: startTime
  25787. type: string
  25788. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25789. in: query
  25790. name: endTime
  25791. type: string
  25792. - description: 条数
  25793. in: query
  25794. name: count
  25795. type: integer
  25796. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25797. in: query
  25798. name: isAsc
  25799. type: boolean
  25800. produces:
  25801. - application/json
  25802. responses:
  25803. "200":
  25804. description: OK
  25805. schema:
  25806. $ref: '#/definitions/quote.HistoryTikData'
  25807. "500":
  25808. description: Internal Server Error
  25809. schema:
  25810. $ref: '#/definitions/app.Response'
  25811. security:
  25812. - ApiKeyAuth: []
  25813. summary: 查询行情Tik数据
  25814. tags:
  25815. - 行情服务
  25816. /Quote/QueryQuoteDay:
  25817. get:
  25818. parameters:
  25819. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25820. in: query
  25821. name: goodsCodes
  25822. required: true
  25823. type: string
  25824. produces:
  25825. - application/json
  25826. responses:
  25827. "200":
  25828. description: OK
  25829. schema:
  25830. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25831. "500":
  25832. description: Internal Server Error
  25833. schema:
  25834. $ref: '#/definitions/app.Response'
  25835. security:
  25836. - ApiKeyAuth: []
  25837. summary: 获取商品盘面信息
  25838. tags:
  25839. - 行情服务
  25840. /Quote/QueryTSData:
  25841. get:
  25842. parameters:
  25843. - description: 商品代码
  25844. in: query
  25845. name: goodsCode
  25846. required: true
  25847. type: string
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. $ref: '#/definitions/quote.QueryTSDataRsp'
  25855. "500":
  25856. description: Internal Server Error
  25857. schema:
  25858. $ref: '#/definitions/app.Response'
  25859. security:
  25860. - ApiKeyAuth: []
  25861. summary: 分时图数据查询
  25862. tags:
  25863. - 行情服务
  25864. /SZDZ/QueryConvertConfig:
  25865. get:
  25866. parameters:
  25867. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25868. in: query
  25869. name: convertType
  25870. type: integer
  25871. - description: 外部商品代码[JD\PD]
  25872. in: query
  25873. name: outerGoodsCode
  25874. type: string
  25875. - description: 内部商品ID列表[交易],格式:1,2,3
  25876. in: query
  25877. name: innerGoodsIDs
  25878. type: string
  25879. produces:
  25880. - application/json
  25881. responses:
  25882. "200":
  25883. description: OK
  25884. schema:
  25885. $ref: '#/definitions/models.Szdz3convertconfig'
  25886. "500":
  25887. description: Internal Server Error
  25888. schema:
  25889. $ref: '#/definitions/app.Response'
  25890. security:
  25891. - ApiKeyAuth: []
  25892. summary: 查询交易系统转换设置
  25893. tags:
  25894. - 定制【尚志大宗】
  25895. /SZDZ/QueryConvertLog:
  25896. get:
  25897. parameters:
  25898. - description: 资金账户 - 格式:1,2,3
  25899. in: query
  25900. name: accountID
  25901. required: true
  25902. type: string
  25903. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25904. in: query
  25905. name: startDate
  25906. type: string
  25907. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25908. in: query
  25909. name: endDate
  25910. type: string
  25911. produces:
  25912. - application/json
  25913. responses:
  25914. "200":
  25915. description: OK
  25916. schema:
  25917. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25918. "500":
  25919. description: Internal Server Error
  25920. schema:
  25921. $ref: '#/definitions/app.Response'
  25922. security:
  25923. - ApiKeyAuth: []
  25924. summary: 交易系统转换流水查询
  25925. tags:
  25926. - 定制【尚志大宗】
  25927. /SZDZ/QueryGoodsPickup:
  25928. get:
  25929. parameters:
  25930. - description: 资金账户 - 格式:1,2,3
  25931. in: query
  25932. name: accountID
  25933. required: true
  25934. type: string
  25935. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25936. in: query
  25937. name: takeOrderStatus
  25938. type: integer
  25939. produces:
  25940. - application/json
  25941. responses:
  25942. "200":
  25943. description: OK
  25944. schema:
  25945. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25946. "500":
  25947. description: Internal Server Error
  25948. schema:
  25949. $ref: '#/definitions/app.Response'
  25950. security:
  25951. - ApiKeyAuth: []
  25952. summary: 商品提货单查询
  25953. tags:
  25954. - 定制【尚志大宗】
  25955. /SZDZ/QueryRecieptOrder:
  25956. get:
  25957. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25958. parameters:
  25959. - description: 页码
  25960. in: query
  25961. name: page
  25962. type: integer
  25963. - description: 每页条数
  25964. in: query
  25965. name: pagesize
  25966. type: integer
  25967. - description: 商品ID
  25968. in: query
  25969. name: goodsID
  25970. required: true
  25971. type: integer
  25972. - description: 所属账户名称
  25973. in: query
  25974. name: accountName
  25975. type: string
  25976. - description: 市场ID
  25977. in: query
  25978. name: marketID
  25979. type: integer
  25980. - description: 方向 - 0:买 1:卖
  25981. in: query
  25982. name: buyorsell
  25983. required: true
  25984. type: integer
  25985. produces:
  25986. - application/json
  25987. responses:
  25988. "200":
  25989. description: OK
  25990. schema:
  25991. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25992. "500":
  25993. description: Internal Server Error
  25994. schema:
  25995. $ref: '#/definitions/app.Response'
  25996. security:
  25997. - ApiKeyAuth: []
  25998. summary: 点选挂牌委托单据查询(摘牌大厅)
  25999. tags:
  26000. - 定制【尚志大宗】
  26001. /SZDZ/QuerySZDZTradePosition:
  26002. get:
  26003. parameters:
  26004. - description: 资金账户
  26005. in: query
  26006. name: accountID
  26007. required: true
  26008. type: integer
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26016. "500":
  26017. description: Internal Server Error
  26018. schema:
  26019. $ref: '#/definitions/app.Response'
  26020. security:
  26021. - ApiKeyAuth: []
  26022. summary: 持仓汇总查询(尚志大宗)
  26023. tags:
  26024. - 定制【尚志大宗】
  26025. /SZDZ/SearchWhite:
  26026. get:
  26027. parameters:
  26028. - description: 用户ID
  26029. in: query
  26030. name: userID
  26031. required: true
  26032. type: integer
  26033. produces:
  26034. - application/json
  26035. responses:
  26036. "200":
  26037. description: OK
  26038. schema:
  26039. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26040. "500":
  26041. description: Internal Server Error
  26042. schema:
  26043. $ref: '#/definitions/app.Response'
  26044. security:
  26045. - ApiKeyAuth: []
  26046. summary: 搜索白名单
  26047. tags:
  26048. - 定制【尚志大宗】
  26049. /Search/SearchGoodses:
  26050. get:
  26051. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26052. parameters:
  26053. - description: 检索内容
  26054. in: query
  26055. name: content
  26056. required: true
  26057. type: string
  26058. - description: 交易模式,格式:1,2,3
  26059. in: query
  26060. name: tradeModes
  26061. type: string
  26062. produces:
  26063. - application/json
  26064. responses:
  26065. "200":
  26066. description: OK
  26067. schema:
  26068. $ref: '#/definitions/models.SearchGoods'
  26069. "500":
  26070. description: Internal Server Error
  26071. schema:
  26072. $ref: '#/definitions/app.Response'
  26073. summary: 检索商品信息
  26074. tags:
  26075. - 检索服务
  26076. /TaAccount/GetTaAccounts:
  26077. get:
  26078. parameters:
  26079. - description: 登录账户
  26080. in: query
  26081. name: loginID
  26082. required: true
  26083. type: integer
  26084. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26085. in: query
  26086. name: taAccountType
  26087. type: integer
  26088. produces:
  26089. - application/json
  26090. responses:
  26091. "200":
  26092. description: OK
  26093. schema:
  26094. $ref: '#/definitions/models.Taaccount'
  26095. "500":
  26096. description: Internal Server Error
  26097. schema:
  26098. $ref: '#/definitions/app.Response'
  26099. security:
  26100. - ApiKeyAuth: []
  26101. summary: 获取资金账户信息
  26102. tags:
  26103. - 资金账户
  26104. /TaAccount/QueryAmountLog:
  26105. get:
  26106. parameters:
  26107. - description: 页码
  26108. in: query
  26109. name: page
  26110. type: integer
  26111. - description: 每页条数
  26112. in: query
  26113. name: pagesize
  26114. type: integer
  26115. - description: 资金账户 - 格式:1,2,3
  26116. in: query
  26117. name: accountID
  26118. required: true
  26119. type: string
  26120. - description: 资金操作类型 - 格式:1,2,3
  26121. in: query
  26122. name: OperateType
  26123. type: string
  26124. produces:
  26125. - application/json
  26126. responses:
  26127. "200":
  26128. description: OK
  26129. schema:
  26130. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26131. "500":
  26132. description: Internal Server Error
  26133. schema:
  26134. $ref: '#/definitions/app.Response'
  26135. security:
  26136. - ApiKeyAuth: []
  26137. summary: 资金流水查询(当前)
  26138. tags:
  26139. - 资金账户
  26140. /TaAccount/QueryHisAmountLog:
  26141. get:
  26142. parameters:
  26143. - description: 页码
  26144. in: query
  26145. name: page
  26146. type: integer
  26147. - description: 每页条数
  26148. in: query
  26149. name: pagesize
  26150. type: integer
  26151. - description: 资金账户 - 格式:1,2,3
  26152. in: query
  26153. name: accountID
  26154. required: true
  26155. type: string
  26156. - description: 资金操作类型 - 格式:1,2,3
  26157. in: query
  26158. name: OperateType
  26159. type: string
  26160. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26161. in: query
  26162. name: startDate
  26163. type: string
  26164. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26165. in: query
  26166. name: endDate
  26167. type: string
  26168. produces:
  26169. - application/json
  26170. responses:
  26171. "200":
  26172. description: OK
  26173. schema:
  26174. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26175. "500":
  26176. description: Internal Server Error
  26177. schema:
  26178. $ref: '#/definitions/app.Response'
  26179. security:
  26180. - ApiKeyAuth: []
  26181. summary: 资金流水查询(历史)
  26182. tags:
  26183. - 资金账户
  26184. /Tjmd/QueryQuoteGoodsList:
  26185. get:
  26186. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26187. parameters:
  26188. - description: 用户类型
  26189. in: query
  26190. name: usertype
  26191. required: true
  26192. type: integer
  26193. - description: 市场id, 格式 1,2,3
  26194. in: query
  26195. name: marketids
  26196. type: string
  26197. - description: 商品组id
  26198. in: query
  26199. name: goodsgroupid
  26200. type: integer
  26201. - description: 商品id
  26202. in: query
  26203. name: goodsid
  26204. type: integer
  26205. produces:
  26206. - application/json
  26207. responses:
  26208. "200":
  26209. description: OK
  26210. schema:
  26211. items:
  26212. $ref: '#/definitions/models.TjmdQuoteGoods'
  26213. type: array
  26214. "500":
  26215. description: Internal Server Error
  26216. schema:
  26217. $ref: '#/definitions/app.Response'
  26218. security:
  26219. - ApiKeyAuth: []
  26220. summary: 查询掉期报价列表
  26221. tags:
  26222. - 天津麦顿
  26223. /Tjmd/QueryTjmdMarketSection:
  26224. get:
  26225. produces:
  26226. - application/json
  26227. responses:
  26228. "200":
  26229. description: OK
  26230. schema:
  26231. items:
  26232. $ref: '#/definitions/models.TjmdMarketSection'
  26233. type: array
  26234. "500":
  26235. description: Internal Server Error
  26236. schema:
  26237. $ref: '#/definitions/app.Response'
  26238. security:
  26239. - ApiKeyAuth: []
  26240. summary: 查询市场板块
  26241. tags:
  26242. - 天津麦顿
  26243. /Tjmd/QueryTjmdTodayAccountMargin:
  26244. get:
  26245. parameters:
  26246. - description: 市场id
  26247. in: query
  26248. name: marketid
  26249. type: string
  26250. - description: 商品id
  26251. in: query
  26252. name: goodsid
  26253. type: string
  26254. - description: 资金账号
  26255. in: query
  26256. name: accountid
  26257. type: string
  26258. produces:
  26259. - application/json
  26260. responses:
  26261. "200":
  26262. description: OK
  26263. schema:
  26264. items:
  26265. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26266. type: array
  26267. "500":
  26268. description: Internal Server Error
  26269. schema:
  26270. $ref: '#/definitions/app.Response'
  26271. security:
  26272. - ApiKeyAuth: []
  26273. summary: 查询今日账户保证金配置
  26274. tags:
  26275. - 天津麦顿
  26276. /Tjmd/QueryTjmdTradeOrderDetail:
  26277. get:
  26278. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26279. parameters:
  26280. - description: 页码
  26281. in: query
  26282. name: page
  26283. type: integer
  26284. - description: 每页条数
  26285. in: query
  26286. name: pagesize
  26287. type: integer
  26288. - description: 用户id
  26289. in: query
  26290. name: userid
  26291. required: true
  26292. type: integer
  26293. - description: 用户类型
  26294. in: query
  26295. name: usertype
  26296. required: true
  26297. type: integer
  26298. - description: 市场id, 格式 1,2,3
  26299. in: query
  26300. name: marketids
  26301. type: string
  26302. - description: 商品id
  26303. in: query
  26304. name: goodsid
  26305. required: true
  26306. type: integer
  26307. - description: 买卖方向 0-买 1-卖
  26308. in: query
  26309. name: buyorsell
  26310. required: true
  26311. type: integer
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. items:
  26319. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26320. type: array
  26321. "500":
  26322. description: Internal Server Error
  26323. schema:
  26324. $ref: '#/definitions/app.Response'
  26325. security:
  26326. - ApiKeyAuth: []
  26327. summary: 查询掉期买卖大厅
  26328. tags:
  26329. - 天津麦顿
  26330. /Tjmd/QueryTjmdTransferApply:
  26331. get:
  26332. parameters:
  26333. - description: 类型 1-我的申请 2-对方申请
  26334. in: query
  26335. name: applytype
  26336. required: true
  26337. type: integer
  26338. - description: 市场id, 格式 1,2,3
  26339. in: query
  26340. name: marketids
  26341. type: string
  26342. - description: 资金账号, 格式 25000000001,25000000003
  26343. in: query
  26344. name: accountids
  26345. type: string
  26346. - description: 开始交易日(yyyymmdd)
  26347. in: query
  26348. name: begindate
  26349. type: string
  26350. - description: 结束交易日(yyyymmdd)
  26351. in: query
  26352. name: enddate
  26353. type: string
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. items:
  26361. $ref: '#/definitions/models.TjmdTransferApply'
  26362. type: array
  26363. "500":
  26364. description: Internal Server Error
  26365. schema:
  26366. $ref: '#/definitions/app.Response'
  26367. security:
  26368. - ApiKeyAuth: []
  26369. summary: 查询掉期协议单
  26370. tags:
  26371. - 天津麦顿
  26372. /Trade/QueryRecieptOrder:
  26373. get:
  26374. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26375. parameters:
  26376. - description: 页码
  26377. in: query
  26378. name: page
  26379. type: integer
  26380. - description: 每页条数
  26381. in: query
  26382. name: pagesize
  26383. type: integer
  26384. - description: 商品ID
  26385. in: query
  26386. name: goodsID
  26387. required: true
  26388. type: integer
  26389. - description: 所属账户名称
  26390. in: query
  26391. name: accountName
  26392. type: string
  26393. - description: 市场ID
  26394. in: query
  26395. name: marketID
  26396. type: integer
  26397. - description: 方向 - 0:买 1:卖
  26398. in: query
  26399. name: buyorsell
  26400. required: true
  26401. type: integer
  26402. produces:
  26403. - application/json
  26404. responses:
  26405. "200":
  26406. description: OK
  26407. schema:
  26408. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26409. "500":
  26410. description: Internal Server Error
  26411. schema:
  26412. $ref: '#/definitions/app.Response'
  26413. security:
  26414. - ApiKeyAuth: []
  26415. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26416. tags:
  26417. - 通用交易
  26418. /User/AddMessageBoard:
  26419. post:
  26420. parameters:
  26421. - description: 用户ID
  26422. in: query
  26423. name: userID
  26424. required: true
  26425. type: integer
  26426. - description: 留言信息
  26427. in: query
  26428. name: message
  26429. required: true
  26430. type: string
  26431. - description: 联系电话
  26432. in: query
  26433. name: contactNum
  26434. required: true
  26435. type: string
  26436. produces:
  26437. - application/json
  26438. responses:
  26439. "200":
  26440. description: OK
  26441. schema:
  26442. $ref: '#/definitions/app.Response'
  26443. "500":
  26444. description: Internal Server Error
  26445. schema:
  26446. $ref: '#/definitions/app.Response'
  26447. security:
  26448. - ApiKeyAuth: []
  26449. summary: 添加用户留言板信息
  26450. tags:
  26451. - 用户信息
  26452. /User/AddUserFavoriteGoods:
  26453. post:
  26454. parameters:
  26455. - description: 用户ID
  26456. in: query
  26457. name: userID
  26458. required: true
  26459. type: integer
  26460. - description: 商品ID
  26461. in: query
  26462. name: goodsID
  26463. required: true
  26464. type: integer
  26465. produces:
  26466. - application/json
  26467. responses:
  26468. "200":
  26469. description: OK
  26470. schema:
  26471. $ref: '#/definitions/app.Response'
  26472. "500":
  26473. description: Internal Server Error
  26474. schema:
  26475. $ref: '#/definitions/app.Response'
  26476. security:
  26477. - ApiKeyAuth: []
  26478. summary: 添加用户商品收藏信息
  26479. tags:
  26480. - 用户信息
  26481. /User/GetLoginID:
  26482. get:
  26483. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26484. parameters:
  26485. - description: 登录代码
  26486. in: query
  26487. name: username
  26488. required: true
  26489. type: string
  26490. produces:
  26491. - application/json
  26492. responses:
  26493. "200":
  26494. description: OK
  26495. schema:
  26496. $ref: '#/definitions/app.Response'
  26497. "500":
  26498. description: Internal Server Error
  26499. schema:
  26500. $ref: '#/definitions/app.Response'
  26501. summary: 获取登录ID
  26502. tags:
  26503. - 用户信息
  26504. /User/GetUserAccount:
  26505. get:
  26506. parameters:
  26507. - description: 用户ID
  26508. in: query
  26509. name: userID
  26510. required: true
  26511. type: integer
  26512. produces:
  26513. - application/json
  26514. responses:
  26515. "200":
  26516. description: OK
  26517. schema:
  26518. $ref: '#/definitions/models.Useraccount'
  26519. "500":
  26520. description: Internal Server Error
  26521. schema:
  26522. $ref: '#/definitions/app.Response'
  26523. security:
  26524. - ApiKeyAuth: []
  26525. summary: 获取用户账号信息
  26526. tags:
  26527. - 用户信息
  26528. /User/GetUserAuthStatus:
  26529. get:
  26530. parameters:
  26531. - description: 用户ID
  26532. in: query
  26533. name: userID
  26534. required: true
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. $ref: '#/definitions/app.Response'
  26543. "500":
  26544. description: Internal Server Error
  26545. schema:
  26546. $ref: '#/definitions/app.Response'
  26547. security:
  26548. - ApiKeyAuth: []
  26549. summary: 获取用户实名认证状态
  26550. tags:
  26551. - 用户信息
  26552. /User/LoginQuery:
  26553. get:
  26554. parameters:
  26555. - description: 登录账号
  26556. in: query
  26557. name: loginID
  26558. required: true
  26559. type: integer
  26560. produces:
  26561. - application/json
  26562. responses:
  26563. "200":
  26564. description: OK
  26565. schema:
  26566. $ref: '#/definitions/user.LoginQueryRsp'
  26567. "500":
  26568. description: Internal Server Error
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. security:
  26572. - ApiKeyAuth: []
  26573. summary: 账户登录后信息查询
  26574. tags:
  26575. - 用户信息
  26576. /User/QueryMessageBoard:
  26577. get:
  26578. parameters:
  26579. - description: 用户ID
  26580. in: query
  26581. name: userID
  26582. required: true
  26583. type: integer
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. $ref: '#/definitions/models.Messageboard'
  26591. "500":
  26592. description: Internal Server Error
  26593. schema:
  26594. $ref: '#/definitions/app.Response'
  26595. security:
  26596. - ApiKeyAuth: []
  26597. summary: 获取用户留言板信息
  26598. tags:
  26599. - 用户信息
  26600. /User/QueryUserFavoriteGoodses:
  26601. get:
  26602. parameters:
  26603. - description: 用户ID
  26604. in: query
  26605. name: userID
  26606. required: true
  26607. type: integer
  26608. produces:
  26609. - application/json
  26610. responses:
  26611. "200":
  26612. description: OK
  26613. schema:
  26614. $ref: '#/definitions/models.Userfavoritegoods'
  26615. "500":
  26616. description: Internal Server Error
  26617. schema:
  26618. $ref: '#/definitions/app.Response'
  26619. security:
  26620. - ApiKeyAuth: []
  26621. summary: 获取用户商品收藏信息
  26622. tags:
  26623. - 用户信息
  26624. /User/QueryUserInfo:
  26625. get:
  26626. parameters:
  26627. - description: 用户ID
  26628. in: query
  26629. name: userID
  26630. required: true
  26631. type: integer
  26632. - description: 是否解密
  26633. in: query
  26634. name: isDecrypt
  26635. type: boolean
  26636. produces:
  26637. - application/json
  26638. responses:
  26639. "200":
  26640. description: OK
  26641. schema:
  26642. $ref: '#/definitions/models.Userinfo'
  26643. "500":
  26644. description: Internal Server Error
  26645. schema:
  26646. $ref: '#/definitions/app.Response'
  26647. security:
  26648. - ApiKeyAuth: []
  26649. summary: 获取用户信息
  26650. tags:
  26651. - 用户信息
  26652. /User/QueryUserReferNum:
  26653. get:
  26654. parameters:
  26655. - description: 用户ID
  26656. in: query
  26657. name: userID
  26658. required: true
  26659. type: integer
  26660. produces:
  26661. - application/json
  26662. responses:
  26663. "200":
  26664. description: OK
  26665. schema:
  26666. $ref: '#/definitions/app.Response'
  26667. "500":
  26668. description: Internal Server Error
  26669. schema:
  26670. $ref: '#/definitions/app.Response'
  26671. summary: 获取用户邀请码
  26672. tags:
  26673. - 用户信息
  26674. /User/RemoveUserFavoriteGoods:
  26675. post:
  26676. parameters:
  26677. - description: 用户ID
  26678. in: query
  26679. name: userID
  26680. required: true
  26681. type: integer
  26682. - description: 商品ID
  26683. in: query
  26684. name: goodsID
  26685. required: true
  26686. type: integer
  26687. produces:
  26688. - application/json
  26689. responses:
  26690. "200":
  26691. description: OK
  26692. schema:
  26693. $ref: '#/definitions/app.Response'
  26694. "500":
  26695. description: Internal Server Error
  26696. schema:
  26697. $ref: '#/definitions/app.Response'
  26698. security:
  26699. - ApiKeyAuth: []
  26700. summary: 移除用户商品收藏信息
  26701. tags:
  26702. - 用户信息
  26703. /User/UpdateUserAccountStatus:
  26704. post:
  26705. parameters:
  26706. - description: 用户ID
  26707. in: query
  26708. name: userID
  26709. required: true
  26710. type: integer
  26711. - description: 账户状态 - 4:正常 6:注销(停用)
  26712. in: query
  26713. name: accountStatus
  26714. required: true
  26715. type: integer
  26716. produces:
  26717. - application/json
  26718. responses:
  26719. "200":
  26720. description: OK
  26721. schema:
  26722. $ref: '#/definitions/app.Response'
  26723. "500":
  26724. description: Internal Server Error
  26725. schema:
  26726. $ref: '#/definitions/app.Response'
  26727. security:
  26728. - ApiKeyAuth: []
  26729. summary: 更新用户状态
  26730. tags:
  26731. - 用户信息
  26732. /WRTrade/GetAllDeliveryGoods:
  26733. get:
  26734. produces:
  26735. - application/json
  26736. - application/json
  26737. responses:
  26738. "200":
  26739. description: OK
  26740. schema:
  26741. $ref: '#/definitions/app.Response'
  26742. "500":
  26743. description: Internal Server Error
  26744. schema:
  26745. $ref: '#/definitions/app.Response'
  26746. security:
  26747. - ApiKeyAuth: []
  26748. - ApiKeyAuth: []
  26749. summary: 获取带仓单分类的种类信息
  26750. tags:
  26751. - 仓单贸易
  26752. - 仓单贸易
  26753. /WrTrade2/QueryDeliveryGoodsSection:
  26754. get:
  26755. produces:
  26756. - application/json
  26757. responses:
  26758. "200":
  26759. description: OK
  26760. schema:
  26761. items:
  26762. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26763. type: array
  26764. "500":
  26765. description: Internal Server Error
  26766. schema:
  26767. $ref: '#/definitions/app.Response'
  26768. security:
  26769. - ApiKeyAuth: []
  26770. summary: 查询板块(分类)
  26771. tags:
  26772. - 仓单贸易v2
  26773. /WrTrade2/QueryFaProductDetail:
  26774. get:
  26775. description: 页面 买卖大厅 -> 选择融资方案
  26776. parameters:
  26777. - description: 仓单要素id
  26778. in: query
  26779. name: wrfactortypeid
  26780. required: true
  26781. type: integer
  26782. produces:
  26783. - application/json
  26784. responses:
  26785. "200":
  26786. description: OK
  26787. schema:
  26788. items:
  26789. $ref: '#/definitions/models.WrFAProductDetail'
  26790. type: array
  26791. "500":
  26792. description: Internal Server Error
  26793. schema:
  26794. $ref: '#/definitions/app.Response'
  26795. security:
  26796. - ApiKeyAuth: []
  26797. summary: 查询融资产品列表
  26798. tags:
  26799. - 仓单贸易v2
  26800. /WrTrade2/QueryFilterItem:
  26801. get:
  26802. parameters:
  26803. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26804. in: query
  26805. name: itype
  26806. required: true
  26807. type: string
  26808. produces:
  26809. - application/json
  26810. responses:
  26811. "200":
  26812. description: OK
  26813. schema:
  26814. items:
  26815. $ref: '#/definitions/models.WrFilterItem'
  26816. type: array
  26817. "500":
  26818. description: Internal Server Error
  26819. schema:
  26820. $ref: '#/definitions/app.Response'
  26821. security:
  26822. - ApiKeyAuth: []
  26823. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26824. tags:
  26825. - 仓单贸易v2
  26826. /WrTrade2/QueryFtDeliveryGoods:
  26827. get:
  26828. produces:
  26829. - application/json
  26830. responses:
  26831. "200":
  26832. description: OK
  26833. schema:
  26834. items:
  26835. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26836. type: array
  26837. "500":
  26838. description: Internal Server Error
  26839. schema:
  26840. $ref: '#/definitions/app.Response'
  26841. security:
  26842. - ApiKeyAuth: []
  26843. summary: 查询品种品类筛选框列表
  26844. tags:
  26845. - 仓单贸易v2
  26846. /WrTrade2/QueryHoldLB:
  26847. get:
  26848. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26849. parameters:
  26850. - description: 资金账号
  26851. in: query
  26852. name: accountid
  26853. required: true
  26854. type: integer
  26855. - description: 仓库id
  26856. in: query
  26857. name: warehouseid
  26858. type: integer
  26859. - description: 品种id
  26860. in: query
  26861. name: deliverygoodsid
  26862. type: integer
  26863. - description: 品类id
  26864. in: query
  26865. name: wrstandardid
  26866. type: integer
  26867. - description: 仓单要素id
  26868. in: query
  26869. name: wrfactortypeid
  26870. type: integer
  26871. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26872. in: query
  26873. name: dgitemname
  26874. type: string
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. items:
  26882. $ref: '#/definitions/models.WrHoldLB'
  26883. type: array
  26884. "500":
  26885. description: Internal Server Error
  26886. schema:
  26887. $ref: '#/definitions/app.Response'
  26888. security:
  26889. - ApiKeyAuth: []
  26890. summary: 查询仓单持有记录
  26891. tags:
  26892. - 仓单贸易v2
  26893. /WrTrade2/QueryOrderQuote:
  26894. get:
  26895. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26896. parameters:
  26897. - description: 页码
  26898. in: query
  26899. name: page
  26900. type: integer
  26901. - description: 每页条数
  26902. in: query
  26903. name: pagesize
  26904. type: integer
  26905. - description: 仓单贸易市场id
  26906. in: query
  26907. name: marketid
  26908. type: integer
  26909. - description: 价格方式 - 1:固定价 2-浮动价
  26910. in: query
  26911. name: wrpricetype
  26912. required: true
  26913. type: integer
  26914. - description: 0:仓单预售 1:仓单贸易
  26915. in: query
  26916. name: haswr
  26917. type: integer
  26918. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26919. in: query
  26920. name: dgitemname
  26921. type: string
  26922. - description: 仓库id(筛选条件)
  26923. in: query
  26924. name: warehouseid
  26925. type: integer
  26926. - description: 品种id
  26927. in: query
  26928. name: deliverygoodsid
  26929. type: integer
  26930. - description: 品类id
  26931. in: query
  26932. name: wrstandardid
  26933. type: integer
  26934. - description: 仓单要素id
  26935. in: query
  26936. name: wrfactortypeid
  26937. type: integer
  26938. - description: 交收月(yyyy-mm) 仓单预售填写
  26939. in: query
  26940. name: deliverymonth
  26941. type: string
  26942. produces:
  26943. - application/json
  26944. responses:
  26945. "200":
  26946. description: OK
  26947. schema:
  26948. items:
  26949. $ref: '#/definitions/models.WrOrderQuote'
  26950. type: array
  26951. "500":
  26952. description: Internal Server Error
  26953. schema:
  26954. $ref: '#/definitions/app.Response'
  26955. security:
  26956. - ApiKeyAuth: []
  26957. summary: 查询大厅行情列表
  26958. tags:
  26959. - 仓单贸易v2
  26960. /WrTrade2/QueryOrderQuoteDetail:
  26961. get:
  26962. parameters:
  26963. - description: 页码
  26964. in: query
  26965. name: page
  26966. type: integer
  26967. - description: 每页条数
  26968. in: query
  26969. name: pagesize
  26970. type: integer
  26971. - description: 仓单贸易市场id
  26972. in: query
  26973. name: marketid
  26974. type: integer
  26975. - description: 价格方式 - 1:固定价 2-浮动价
  26976. in: query
  26977. name: wrpricetype
  26978. required: true
  26979. type: integer
  26980. - description: 0:仓单预售 1:仓单贸易
  26981. in: query
  26982. name: haswr
  26983. type: integer
  26984. - description: 仓单要素id
  26985. in: query
  26986. name: wrfactortypeid
  26987. required: true
  26988. type: integer
  26989. - description: 期货商品id(浮动价方式时填)
  26990. in: query
  26991. name: goodsid
  26992. type: integer
  26993. - description: 买卖方向 0-买 1-卖
  26994. in: query
  26995. name: buyorsell
  26996. required: true
  26997. type: integer
  26998. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26999. in: query
  27000. name: deliverymonth
  27001. type: string
  27002. produces:
  27003. - application/json
  27004. responses:
  27005. "200":
  27006. description: OK
  27007. schema:
  27008. items:
  27009. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27010. type: array
  27011. "500":
  27012. description: Internal Server Error
  27013. schema:
  27014. $ref: '#/definitions/app.Response'
  27015. security:
  27016. - ApiKeyAuth: []
  27017. summary: 查询买卖大厅
  27018. tags:
  27019. - 仓单贸易v2
  27020. /WrTrade2/QueryOrderQuoteMyq:
  27021. get:
  27022. parameters:
  27023. - description: 页码
  27024. in: query
  27025. name: page
  27026. type: integer
  27027. - description: 每页条数
  27028. in: query
  27029. name: pagesize
  27030. type: integer
  27031. - description: 用户id
  27032. in: query
  27033. name: userid
  27034. required: true
  27035. type: integer
  27036. - description: 仓单贸易市场id
  27037. in: query
  27038. name: marketid
  27039. type: integer
  27040. - description: 0:仓单预售 1:仓单贸易
  27041. in: query
  27042. name: haswr
  27043. type: integer
  27044. - description: 买卖方向 0-买 1-卖
  27045. in: query
  27046. name: buyorsell
  27047. required: true
  27048. type: integer
  27049. - description: 品种id
  27050. in: query
  27051. name: deliverygoodsid
  27052. type: integer
  27053. - description: 品类id
  27054. in: query
  27055. name: wrstandardid
  27056. type: integer
  27057. - description: 交收月(yyyy-mm) 仓单预售填写
  27058. in: query
  27059. name: deliverymonth
  27060. type: string
  27061. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27062. in: query
  27063. name: dgitemname
  27064. type: string
  27065. produces:
  27066. - application/json
  27067. responses:
  27068. "200":
  27069. description: OK
  27070. schema:
  27071. items:
  27072. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27073. type: array
  27074. "500":
  27075. description: Internal Server Error
  27076. schema:
  27077. $ref: '#/definitions/app.Response'
  27078. security:
  27079. - ApiKeyAuth: []
  27080. summary: 查询贸易圈挂牌大厅
  27081. tags:
  27082. - 仓单贸易v2
  27083. /WrTrade2/QueryPerformancePlan:
  27084. get:
  27085. parameters:
  27086. - description: 用户id
  27087. in: query
  27088. name: userid
  27089. required: true
  27090. type: integer
  27091. - description: 买卖方向 0-买 1-卖
  27092. in: query
  27093. name: buyorsell
  27094. required: true
  27095. type: integer
  27096. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27097. in: query
  27098. name: status
  27099. type: string
  27100. produces:
  27101. - application/json
  27102. responses:
  27103. "200":
  27104. description: OK
  27105. schema:
  27106. items:
  27107. $ref: '#/definitions/models.WrPerformancePlan'
  27108. type: array
  27109. "500":
  27110. description: Internal Server Error
  27111. schema:
  27112. $ref: '#/definitions/app.Response'
  27113. security:
  27114. - ApiKeyAuth: []
  27115. summary: 查询履约信息
  27116. tags:
  27117. - 仓单贸易v2
  27118. /WrTrade2/QueryPermancePlanTmp:
  27119. get:
  27120. description: |-
  27121. 返回指定用户的模板和公共模板(用户id为空)
  27122. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27123. parameters:
  27124. - description: 用户id
  27125. in: query
  27126. name: userid
  27127. type: integer
  27128. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27129. in: query
  27130. name: tmptype
  27131. type: string
  27132. - description: 是否包含公共模板(用户id为空的) 1-包含
  27133. in: query
  27134. name: includepub
  27135. type: integer
  27136. - description: 市场id(天津麦顿指定此参数,其它不用)
  27137. in: query
  27138. name: marketid
  27139. type: integer
  27140. produces:
  27141. - application/json
  27142. responses:
  27143. "200":
  27144. description: OK
  27145. schema:
  27146. items:
  27147. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27148. type: array
  27149. "500":
  27150. description: Internal Server Error
  27151. schema:
  27152. $ref: '#/definitions/app.Response'
  27153. security:
  27154. - ApiKeyAuth: []
  27155. summary: 查询履约模板
  27156. tags:
  27157. - 仓单贸易v2
  27158. /WrTrade2/QuerySiteColumnDetail:
  27159. get:
  27160. parameters:
  27161. - description: 页码
  27162. in: query
  27163. name: page
  27164. type: integer
  27165. - description: 每页条数
  27166. in: query
  27167. name: pagesize
  27168. type: integer
  27169. produces:
  27170. - application/json
  27171. responses:
  27172. "200":
  27173. description: OK
  27174. schema:
  27175. items:
  27176. $ref: '#/definitions/models.WrSiteColumnDetail'
  27177. type: array
  27178. "500":
  27179. description: Internal Server Error
  27180. schema:
  27181. $ref: '#/definitions/app.Response'
  27182. security:
  27183. - ApiKeyAuth: []
  27184. summary: 查询资讯
  27185. tags:
  27186. - 仓单贸易v2
  27187. /WrTrade2/QuerySpotGroupTradeSum:
  27188. get:
  27189. produces:
  27190. - application/json
  27191. responses:
  27192. "200":
  27193. description: OK
  27194. schema:
  27195. items:
  27196. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27197. type: array
  27198. "500":
  27199. description: Internal Server Error
  27200. schema:
  27201. $ref: '#/definitions/app.Response'
  27202. security:
  27203. - ApiKeyAuth: []
  27204. summary: 查询指数
  27205. tags:
  27206. - 仓单贸易v2
  27207. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27208. get:
  27209. description: 查询的结果将会按日期 从小到大 排序
  27210. parameters:
  27211. - description: 现货商品id
  27212. in: query
  27213. name: deliverygoodsid
  27214. required: true
  27215. type: integer
  27216. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27217. in: query
  27218. name: lastnum
  27219. type: integer
  27220. produces:
  27221. - application/json
  27222. responses:
  27223. "200":
  27224. description: OK
  27225. schema:
  27226. items:
  27227. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27228. type: array
  27229. "500":
  27230. description: Internal Server Error
  27231. schema:
  27232. $ref: '#/definitions/app.Response'
  27233. security:
  27234. - ApiKeyAuth: []
  27235. summary: 查询指数详细(价格走势图)
  27236. tags:
  27237. - 仓单贸易v2
  27238. /WrTrade2/QueryWrAverageTradePrice:
  27239. get:
  27240. parameters:
  27241. - description: 页码
  27242. in: query
  27243. name: page
  27244. type: integer
  27245. - description: 每页条数
  27246. in: query
  27247. name: pagesize
  27248. type: integer
  27249. - description: 0:仓单预售 1:仓单贸易
  27250. in: query
  27251. name: haswr
  27252. required: true
  27253. type: integer
  27254. - description: 仓单要素id
  27255. in: query
  27256. name: wrfactortypeid
  27257. required: true
  27258. type: integer
  27259. produces:
  27260. - application/json
  27261. responses:
  27262. "200":
  27263. description: OK
  27264. schema:
  27265. items:
  27266. $ref: '#/definitions/models.WrAverageTradePrice'
  27267. type: array
  27268. "500":
  27269. description: Internal Server Error
  27270. schema:
  27271. $ref: '#/definitions/app.Response'
  27272. security:
  27273. - ApiKeyAuth: []
  27274. summary: 查询成交价(历史走势)
  27275. tags:
  27276. - 仓单贸易v2
  27277. /WrTrade2/QueryWrBsGoodsInfo:
  27278. get:
  27279. description: 合约交易/买卖大厅/详情
  27280. parameters:
  27281. - description: 商品id
  27282. in: query
  27283. name: goodsid
  27284. required: true
  27285. type: integer
  27286. produces:
  27287. - application/json
  27288. responses:
  27289. "200":
  27290. description: OK
  27291. schema:
  27292. items:
  27293. $ref: '#/definitions/models.WrBsGoodsInfo'
  27294. type: array
  27295. "500":
  27296. description: Internal Server Error
  27297. schema:
  27298. $ref: '#/definitions/app.Response'
  27299. security:
  27300. - ApiKeyAuth: []
  27301. summary: 查询合约交易买卖大厅详情
  27302. tags:
  27303. - 仓单贸易v2
  27304. /WrTrade2/QueryWrBuybackDetail:
  27305. get:
  27306. parameters:
  27307. - description: 融资合同id
  27308. in: query
  27309. name: scfcontractid
  27310. type: integer
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. items:
  27318. $ref: '#/definitions/models.WrBuybackDetail'
  27319. type: array
  27320. "500":
  27321. description: Internal Server Error
  27322. schema:
  27323. $ref: '#/definitions/app.Response'
  27324. security:
  27325. - ApiKeyAuth: []
  27326. summary: 查询仓单回购明细
  27327. tags:
  27328. - 仓单贸易v2
  27329. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27330. get:
  27331. parameters:
  27332. - description: 资金账号
  27333. in: query
  27334. name: accountid
  27335. required: true
  27336. type: integer
  27337. - description: 商品id
  27338. in: query
  27339. name: goodsid
  27340. required: true
  27341. type: integer
  27342. produces:
  27343. - application/json
  27344. responses:
  27345. "200":
  27346. description: OK
  27347. schema:
  27348. items:
  27349. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27350. type: array
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. security:
  27356. - ApiKeyAuth: []
  27357. summary: 查询合约交收可点选仓单
  27358. tags:
  27359. - 仓单贸易v2
  27360. /WrTrade2/QueryWrDeliveryDetail:
  27361. get:
  27362. parameters:
  27363. - description: 用户id
  27364. in: query
  27365. name: userid
  27366. required: true
  27367. type: integer
  27368. - description: 资金账号id
  27369. in: query
  27370. name: accountid
  27371. type: integer
  27372. - description: 开始交易日(yyyymmdd)
  27373. in: query
  27374. name: begindate
  27375. type: string
  27376. - description: 结束交易日(yyyymmdd)
  27377. in: query
  27378. name: enddate
  27379. type: string
  27380. produces:
  27381. - application/json
  27382. responses:
  27383. "200":
  27384. description: OK
  27385. schema:
  27386. items:
  27387. $ref: '#/definitions/models.WrDeliveryDetail'
  27388. type: array
  27389. "500":
  27390. description: Internal Server Error
  27391. schema:
  27392. $ref: '#/definitions/app.Response'
  27393. security:
  27394. - ApiKeyAuth: []
  27395. summary: 查询交收
  27396. tags:
  27397. - 仓单贸易v2
  27398. /WrTrade2/QueryWrFactorTypeInfo:
  27399. get:
  27400. parameters:
  27401. - description: 仓单要素id
  27402. in: query
  27403. name: wrfactortypeid
  27404. required: true
  27405. type: integer
  27406. produces:
  27407. - application/json
  27408. responses:
  27409. "200":
  27410. description: OK
  27411. schema:
  27412. items:
  27413. $ref: '#/definitions/models.WrFactorTypeInfo'
  27414. type: array
  27415. "500":
  27416. description: Internal Server Error
  27417. schema:
  27418. $ref: '#/definitions/app.Response'
  27419. security:
  27420. - ApiKeyAuth: []
  27421. summary: 查询仓单要素详细信息
  27422. tags:
  27423. - 仓单贸易v2
  27424. /WrTrade2/QueryWrFactorTypeInfoEx:
  27425. get:
  27426. parameters:
  27427. - description: 仓单要素id
  27428. in: query
  27429. name: wrfactortypeid
  27430. required: true
  27431. type: integer
  27432. produces:
  27433. - application/json
  27434. responses:
  27435. "200":
  27436. description: OK
  27437. schema:
  27438. items:
  27439. $ref: '#/definitions/models.WrTypeItem'
  27440. type: array
  27441. "500":
  27442. description: Internal Server Error
  27443. schema:
  27444. $ref: '#/definitions/app.Response'
  27445. security:
  27446. - ApiKeyAuth: []
  27447. summary: 查询仓单要素详细信息列表项
  27448. tags:
  27449. - 仓单贸易v2
  27450. /WrTrade2/QueryWrFinanceBuyApply:
  27451. get:
  27452. description: 页面 融资信息+ / 申请单
  27453. parameters:
  27454. - description: 用户id
  27455. in: query
  27456. name: userid
  27457. required: true
  27458. type: integer
  27459. produces:
  27460. - application/json
  27461. responses:
  27462. "200":
  27463. description: OK
  27464. schema:
  27465. items:
  27466. $ref: '#/definitions/models.WrFinanceBuyApply'
  27467. type: array
  27468. "500":
  27469. description: Internal Server Error
  27470. schema:
  27471. $ref: '#/definitions/app.Response'
  27472. security:
  27473. - ApiKeyAuth: []
  27474. summary: 查询融资购买申请
  27475. tags:
  27476. - 仓单贸易v2
  27477. /WrTrade2/QueryWrFriendApply:
  27478. get:
  27479. parameters:
  27480. - description: 用户id
  27481. in: query
  27482. name: userid
  27483. required: true
  27484. type: integer
  27485. produces:
  27486. - application/json
  27487. responses:
  27488. "200":
  27489. description: OK
  27490. schema:
  27491. items:
  27492. $ref: '#/definitions/models.WrFriendApply'
  27493. type: array
  27494. "500":
  27495. description: Internal Server Error
  27496. schema:
  27497. $ref: '#/definitions/app.Response'
  27498. security:
  27499. - ApiKeyAuth: []
  27500. summary: 查询好友申请记录
  27501. tags:
  27502. - 仓单贸易v2
  27503. /WrTrade2/QueryWrGoodsInfo:
  27504. get:
  27505. parameters:
  27506. - description: 仓单贸易市场id
  27507. in: query
  27508. name: marketid
  27509. type: integer
  27510. - description: 0:仓单预售 1:仓单贸易
  27511. in: query
  27512. name: haswr
  27513. required: true
  27514. type: integer
  27515. - description: 仓单要素id
  27516. in: query
  27517. name: wrfactortypeid
  27518. required: true
  27519. type: integer
  27520. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27521. in: query
  27522. name: tmplateid
  27523. type: integer
  27524. produces:
  27525. - application/json
  27526. responses:
  27527. "200":
  27528. description: OK
  27529. schema:
  27530. items:
  27531. $ref: '#/definitions/models.WrGoodsInfo'
  27532. type: array
  27533. "500":
  27534. description: Internal Server Error
  27535. schema:
  27536. $ref: '#/definitions/app.Response'
  27537. security:
  27538. - ApiKeyAuth: []
  27539. summary: 查询仓单商品信息
  27540. tags:
  27541. - 仓单贸易v2
  27542. /WrTrade2/QueryWrMarketTradeConfig:
  27543. get:
  27544. parameters:
  27545. - description: 市场id
  27546. in: query
  27547. name: marketid
  27548. type: integer
  27549. produces:
  27550. - application/json
  27551. responses:
  27552. "200":
  27553. description: OK
  27554. schema:
  27555. items:
  27556. $ref: '#/definitions/models.WrMarketTradeConfig'
  27557. type: array
  27558. "500":
  27559. description: Internal Server Error
  27560. schema:
  27561. $ref: '#/definitions/app.Response'
  27562. security:
  27563. - ApiKeyAuth: []
  27564. summary: 查询市场交易参数配置
  27565. tags:
  27566. - 仓单贸易v2
  27567. /WrTrade2/QueryWrOrderDetail:
  27568. get:
  27569. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27570. parameters:
  27571. - description: 页码
  27572. in: query
  27573. name: page
  27574. type: integer
  27575. - description: 每页条数
  27576. in: query
  27577. name: pagesize
  27578. type: integer
  27579. - description: 用户id
  27580. in: query
  27581. name: userid
  27582. required: true
  27583. type: integer
  27584. - description: 仓单贸易市场id
  27585. in: query
  27586. name: marketid
  27587. type: integer
  27588. - description: 0:仓单预售 1:仓单贸易
  27589. in: query
  27590. name: haswr
  27591. required: true
  27592. type: integer
  27593. - description: 开始交易日(yyyymmdd)
  27594. in: query
  27595. name: begindate
  27596. type: string
  27597. - description: 结束交易日(yyyymmdd)
  27598. in: query
  27599. name: enddate
  27600. type: string
  27601. produces:
  27602. - application/json
  27603. responses:
  27604. "200":
  27605. description: OK
  27606. schema:
  27607. items:
  27608. $ref: '#/definitions/models.WrOrderDetail'
  27609. type: array
  27610. "500":
  27611. description: Internal Server Error
  27612. schema:
  27613. $ref: '#/definitions/app.Response'
  27614. security:
  27615. - ApiKeyAuth: []
  27616. summary: 查询仓单委托单(挂单)
  27617. tags:
  27618. - 仓单贸易v2
  27619. /WrTrade2/QueryWrOutInApply:
  27620. get:
  27621. parameters:
  27622. - description: 用户id
  27623. in: query
  27624. name: userid
  27625. required: true
  27626. type: integer
  27627. - description: 开始交易日(yyyymmdd)
  27628. in: query
  27629. name: begindate
  27630. type: string
  27631. - description: 结束交易日(yyyymmdd)
  27632. in: query
  27633. name: enddate
  27634. type: string
  27635. produces:
  27636. - application/json
  27637. responses:
  27638. "200":
  27639. description: OK
  27640. schema:
  27641. items:
  27642. $ref: '#/definitions/models.WrOutInApply'
  27643. type: array
  27644. "500":
  27645. description: Internal Server Error
  27646. schema:
  27647. $ref: '#/definitions/app.Response'
  27648. security:
  27649. - ApiKeyAuth: []
  27650. summary: 查询提货申请
  27651. tags:
  27652. - 仓单贸易v2
  27653. /WrTrade2/QueryWrPerformancePlanStep:
  27654. get:
  27655. parameters:
  27656. - description: 履约计划id(performanceplanid)
  27657. in: query
  27658. name: planid
  27659. required: true
  27660. type: integer
  27661. - description: 当前步骤id
  27662. in: query
  27663. name: curstepid
  27664. type: integer
  27665. produces:
  27666. - application/json
  27667. responses:
  27668. "200":
  27669. description: OK
  27670. schema:
  27671. items:
  27672. $ref: '#/definitions/models.WrPerformancePlanStep'
  27673. type: array
  27674. "500":
  27675. description: Internal Server Error
  27676. schema:
  27677. $ref: '#/definitions/app.Response'
  27678. security:
  27679. - ApiKeyAuth: []
  27680. summary: 查询履约信息详情
  27681. tags:
  27682. - 仓单贸易v2
  27683. /WrTrade2/QueryWrPerformanceStepType:
  27684. get:
  27685. produces:
  27686. - application/json
  27687. responses:
  27688. "200":
  27689. description: OK
  27690. schema:
  27691. items:
  27692. $ref: '#/definitions/models.WrPerformanceStepType'
  27693. type: array
  27694. "500":
  27695. description: Internal Server Error
  27696. schema:
  27697. $ref: '#/definitions/app.Response'
  27698. security:
  27699. - ApiKeyAuth: []
  27700. summary: 查询履约步骤枚举
  27701. tags:
  27702. - 仓单贸易v2
  27703. /WrTrade2/QueryWrPosition:
  27704. get:
  27705. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27706. parameters:
  27707. - description: 用户id
  27708. in: query
  27709. name: userid
  27710. required: true
  27711. type: integer
  27712. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27713. in: query
  27714. name: querytype
  27715. required: true
  27716. type: integer
  27717. - description: 0:仓单预售 1:仓单贸易
  27718. in: query
  27719. name: haswr
  27720. required: true
  27721. type: integer
  27722. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27723. in: query
  27724. name: dgitemname
  27725. type: string
  27726. - description: 仓库id(筛选条件)
  27727. in: query
  27728. name: warehouseid
  27729. type: integer
  27730. - description: 品种id
  27731. in: query
  27732. name: deliverygoodsid
  27733. type: integer
  27734. - description: 品类id
  27735. in: query
  27736. name: wrstandardid
  27737. type: integer
  27738. produces:
  27739. - application/json
  27740. responses:
  27741. "200":
  27742. description: OK
  27743. schema:
  27744. items:
  27745. $ref: '#/definitions/models.WrPosition'
  27746. type: array
  27747. "500":
  27748. description: Internal Server Error
  27749. schema:
  27750. $ref: '#/definitions/app.Response'
  27751. security:
  27752. - ApiKeyAuth: []
  27753. summary: 查询现货(预售)仓单持仓
  27754. tags:
  27755. - 仓单贸易v2
  27756. /WrTrade2/QueryWrScfContract:
  27757. get:
  27758. parameters:
  27759. - description: 用户id
  27760. in: query
  27761. name: userid
  27762. required: true
  27763. type: integer
  27764. - description: 融资合同id
  27765. in: query
  27766. name: scfcontractid
  27767. type: integer
  27768. produces:
  27769. - application/json
  27770. responses:
  27771. "200":
  27772. description: OK
  27773. schema:
  27774. items:
  27775. $ref: '#/definitions/models.WrScfContract'
  27776. type: array
  27777. "500":
  27778. description: Internal Server Error
  27779. schema:
  27780. $ref: '#/definitions/app.Response'
  27781. security:
  27782. - ApiKeyAuth: []
  27783. summary: 查询仓单贸易融资合同
  27784. tags:
  27785. - 仓单贸易v2
  27786. /WrTrade2/QueryWrScfContractInterest:
  27787. get:
  27788. parameters:
  27789. - description: 融资合同id
  27790. in: query
  27791. name: scfcontractid
  27792. type: integer
  27793. produces:
  27794. - application/json
  27795. responses:
  27796. "200":
  27797. description: OK
  27798. schema:
  27799. items:
  27800. $ref: '#/definitions/models.WrScfContractInterest'
  27801. type: array
  27802. "500":
  27803. description: Internal Server Error
  27804. schema:
  27805. $ref: '#/definitions/app.Response'
  27806. security:
  27807. - ApiKeyAuth: []
  27808. summary: 查询融资合同费用明细
  27809. tags:
  27810. - 仓单贸易v2
  27811. /WrTrade2/QueryWrSpecialMatchOrder:
  27812. get:
  27813. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27814. parameters:
  27815. - description: 页码
  27816. in: query
  27817. name: page
  27818. type: integer
  27819. - description: 每页条数
  27820. in: query
  27821. name: pagesize
  27822. type: integer
  27823. - description: 用户id
  27824. in: query
  27825. name: userid
  27826. required: true
  27827. type: integer
  27828. - description: 仓单贸易市场id
  27829. in: query
  27830. name: marketid
  27831. type: integer
  27832. - description: 0:仓单预售 1:仓单贸易
  27833. in: query
  27834. name: haswr
  27835. required: true
  27836. type: integer
  27837. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27838. in: query
  27839. name: isspecified
  27840. type: integer
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. items:
  27848. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27849. type: array
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. summary: 查询指定成交
  27857. tags:
  27858. - 仓单贸易v2
  27859. /WrTrade2/QueryWrStandardFactoryItem:
  27860. get:
  27861. parameters:
  27862. - description: 品类id
  27863. in: query
  27864. name: wrstandardid
  27865. required: true
  27866. type: integer
  27867. produces:
  27868. - application/json
  27869. responses:
  27870. "200":
  27871. description: OK
  27872. schema:
  27873. items:
  27874. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27875. type: array
  27876. "500":
  27877. description: Internal Server Error
  27878. schema:
  27879. $ref: '#/definitions/app.Response'
  27880. security:
  27881. - ApiKeyAuth: []
  27882. summary: 查询品类要素定义项
  27883. tags:
  27884. - 仓单贸易v2
  27885. /WrTrade2/QueryWrTradeBargainApply:
  27886. get:
  27887. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27888. parameters:
  27889. - description: 议价人id(摘牌方)
  27890. in: query
  27891. name: userid
  27892. type: integer
  27893. - description: 挂牌方id(查对方议价时,填写此项)
  27894. in: query
  27895. name: matchuserid
  27896. type: integer
  27897. - description: 关联委托单id
  27898. in: query
  27899. name: wrtradeorderid
  27900. type: integer
  27901. - description: 0:仓单预售 1:仓单贸易
  27902. in: query
  27903. name: haswr
  27904. required: true
  27905. type: integer
  27906. - description: 开始交易日(yyyymmdd)
  27907. in: query
  27908. name: begindate
  27909. type: string
  27910. - description: 结束交易日(yyyymmdd)
  27911. in: query
  27912. name: enddate
  27913. type: string
  27914. produces:
  27915. - application/json
  27916. responses:
  27917. "200":
  27918. description: OK
  27919. schema:
  27920. items:
  27921. $ref: '#/definitions/models.WRTradeBargainApply'
  27922. type: array
  27923. "500":
  27924. description: Internal Server Error
  27925. schema:
  27926. $ref: '#/definitions/app.Response'
  27927. security:
  27928. - ApiKeyAuth: []
  27929. summary: 查询议价单
  27930. tags:
  27931. - 仓单贸易v2
  27932. /WrTrade2/QueryWrTradeDetail:
  27933. get:
  27934. parameters:
  27935. - description: 页码
  27936. in: query
  27937. name: page
  27938. type: integer
  27939. - description: 每页条数
  27940. in: query
  27941. name: pagesize
  27942. type: integer
  27943. - description: 用户id
  27944. in: query
  27945. name: userid
  27946. required: true
  27947. type: integer
  27948. - description: 仓单贸易市场id
  27949. in: query
  27950. name: marketid
  27951. type: integer
  27952. - description: 0:仓单预售 1:仓单贸易
  27953. in: query
  27954. name: haswr
  27955. required: true
  27956. type: integer
  27957. - description: 开始交易日(yyyymmdd)
  27958. in: query
  27959. name: begindate
  27960. type: string
  27961. - description: 结束交易日(yyyymmdd)
  27962. in: query
  27963. name: enddate
  27964. type: string
  27965. produces:
  27966. - application/json
  27967. responses:
  27968. "200":
  27969. description: OK
  27970. schema:
  27971. items:
  27972. $ref: '#/definitions/models.WrTradeDetail'
  27973. type: array
  27974. "500":
  27975. description: Internal Server Error
  27976. schema:
  27977. $ref: '#/definitions/app.Response'
  27978. security:
  27979. - ApiKeyAuth: []
  27980. summary: 查询仓单成交明细
  27981. tags:
  27982. - 仓单贸易v2
  27983. /WrTrade2/QueryWrTradeOrderDetail:
  27984. get:
  27985. parameters:
  27986. - description: 页码
  27987. in: query
  27988. name: page
  27989. type: integer
  27990. - description: 每页条数
  27991. in: query
  27992. name: pagesize
  27993. type: integer
  27994. - description: 商品id
  27995. in: query
  27996. name: goodsid
  27997. required: true
  27998. type: integer
  27999. - description: 买卖方向 0-买 1-卖
  28000. in: query
  28001. name: buyorsell
  28002. required: true
  28003. type: integer
  28004. produces:
  28005. - application/json
  28006. responses:
  28007. "200":
  28008. description: OK
  28009. schema:
  28010. items:
  28011. $ref: '#/definitions/models.WrTradeOrderDetail'
  28012. type: array
  28013. "500":
  28014. description: Internal Server Error
  28015. schema:
  28016. $ref: '#/definitions/app.Response'
  28017. security:
  28018. - ApiKeyAuth: []
  28019. summary: 查询合约交易买卖大厅
  28020. tags:
  28021. - 仓单贸易v2
  28022. /WrTrade2/QueryWrUserFriend:
  28023. get:
  28024. parameters:
  28025. - description: 用户id
  28026. in: query
  28027. name: userid
  28028. required: true
  28029. type: integer
  28030. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28031. in: query
  28032. name: newuserid
  28033. type: integer
  28034. produces:
  28035. - application/json
  28036. responses:
  28037. "200":
  28038. description: OK
  28039. schema:
  28040. items:
  28041. $ref: '#/definitions/models.WrUserFriend'
  28042. type: array
  28043. "500":
  28044. description: Internal Server Error
  28045. schema:
  28046. $ref: '#/definitions/app.Response'
  28047. security:
  28048. - ApiKeyAuth: []
  28049. summary: 查询我的朋友
  28050. tags:
  28051. - 仓单贸易v2
  28052. /WrTrade2/QueryWrUserReceiptInfo:
  28053. get:
  28054. parameters:
  28055. - description: 用户id
  28056. in: query
  28057. name: userid
  28058. type: integer
  28059. - description: 发票类型 - 1:个人 2:企业
  28060. in: query
  28061. name: receipttype
  28062. type: integer
  28063. produces:
  28064. - application/json
  28065. responses:
  28066. "200":
  28067. description: OK
  28068. schema:
  28069. items:
  28070. $ref: '#/definitions/models.WrUserReceiptInfo'
  28071. type: array
  28072. "500":
  28073. description: Internal Server Error
  28074. schema:
  28075. $ref: '#/definitions/app.Response'
  28076. security:
  28077. - ApiKeyAuth: []
  28078. summary: 查询发票信息
  28079. tags:
  28080. - 仓单贸易v2
  28081. /ZJ/GetBankTip:
  28082. get:
  28083. produces:
  28084. - application/json
  28085. responses:
  28086. "200":
  28087. description: OK
  28088. schema:
  28089. type: string
  28090. "500":
  28091. description: Internal Server Error
  28092. schema:
  28093. $ref: '#/definitions/app.Response'
  28094. summary: 获取中江网银端出入金提示信息
  28095. tags:
  28096. - 中江
  28097. /ZJ/GetCusBankChannels:
  28098. get:
  28099. produces:
  28100. - application/json
  28101. responses:
  28102. "200":
  28103. description: OK
  28104. schema:
  28105. items:
  28106. type: string
  28107. type: array
  28108. "500":
  28109. description: Internal Server Error
  28110. schema:
  28111. $ref: '#/definitions/app.Response'
  28112. summary: 获取中江出入金渠道显示列表
  28113. tags:
  28114. - 中江
  28115. securityDefinitions:
  28116. ApiKeyAuth:
  28117. in: header
  28118. name: Authorization
  28119. type: apiKey
  28120. swagger: "2.0"