swagger.yaml 783 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123
  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. nickname:
  6097. description: 昵称
  6098. type: string
  6099. parenttopuser:
  6100. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6101. type: string
  6102. parentuserid:
  6103. description: 所属机构ID
  6104. type: integer
  6105. reckonaccountid:
  6106. description: 默认结算资金账号ID(机构分润使用) 作废
  6107. type: integer
  6108. refercount:
  6109. description: 推荐总人数
  6110. type: integer
  6111. refereeuserid:
  6112. description: 推荐人ID
  6113. type: integer
  6114. refernum:
  6115. description: 推荐码
  6116. type: string
  6117. rootuserid:
  6118. description: 根用户ID
  6119. type: integer
  6120. subaccountlevel:
  6121. description: 子账户层数
  6122. type: integer
  6123. subarealevelpath:
  6124. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6125. type: string
  6126. userid:
  6127. description: 用户ID
  6128. type: integer
  6129. usertype:
  6130. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6131. type: integer
  6132. type: object
  6133. models.Ermcp3SCMiddleGoods:
  6134. properties:
  6135. biztype:
  6136. description: 业务类型 1:套保 2:套利
  6137. type: integer
  6138. contractno:
  6139. description: 合同编号
  6140. type: string
  6141. contracttype:
  6142. description: 合同类型 1:采购 -1:销售
  6143. type: integer
  6144. convertratio:
  6145. description: 折算系数
  6146. type: number
  6147. customername:
  6148. description: 对手手名称
  6149. type: string
  6150. customeruserid:
  6151. description: 对手id
  6152. type: integer
  6153. deliverygoodscode:
  6154. description: 现货品种代码
  6155. type: string
  6156. deliverygoodsid:
  6157. description: 现货品种ID
  6158. type: integer
  6159. deliverygoodsname:
  6160. description: 现货品种名称
  6161. type: string
  6162. enumdicname:
  6163. description: 现货单位名称
  6164. type: string
  6165. middlegoodsid:
  6166. description: 套保品种ID
  6167. type: integer
  6168. middlegoodspricedqty3:
  6169. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6170. type: number
  6171. needhedgeratio:
  6172. description: 套保比例
  6173. type: number
  6174. pricedqty:
  6175. description: 已定价量
  6176. type: number
  6177. relatedmiddlegoodsqty:
  6178. description: 已关联量(套保品种)(期货)
  6179. type: number
  6180. spotcontractid:
  6181. description: 合同编号
  6182. type: string
  6183. unitid:
  6184. description: 现货单位id
  6185. type: integer
  6186. userid:
  6187. description: 用户id
  6188. type: integer
  6189. vatrate:
  6190. description: 增值税率
  6191. type: number
  6192. wrstandardcode:
  6193. description: 现货商品代码
  6194. type: string
  6195. wrstandardid:
  6196. description: 现货商品id
  6197. type: integer
  6198. wrstandardname:
  6199. description: 现货商品名称
  6200. type: string
  6201. type: object
  6202. models.Ermcp3SCMiddleGoodsReport:
  6203. properties:
  6204. begindate:
  6205. description: 开始交易日
  6206. type: string
  6207. contractno:
  6208. description: 合同编号
  6209. type: string
  6210. contracttype:
  6211. description: 合同类型 1:采购 -1:销售
  6212. type: integer
  6213. convertratio:
  6214. description: 折算系数
  6215. type: number
  6216. cycletime:
  6217. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6218. type: string
  6219. cycletype:
  6220. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6221. type: integer
  6222. deliverygoodscode:
  6223. description: 品种代码
  6224. type: string
  6225. deliverygoodsid:
  6226. description: 现货品种ID
  6227. type: integer
  6228. deliverygoodsname:
  6229. description: 品种名称
  6230. type: string
  6231. diffprice:
  6232. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6233. type: number
  6234. diffqty:
  6235. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6236. type: number
  6237. enddate:
  6238. description: 结束交易日
  6239. type: string
  6240. hedgeplanqty:
  6241. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6242. type: number
  6243. matchname:
  6244. description: 交易对手方(个人:用户名称 企业:简称)
  6245. type: string
  6246. middlegoodscode:
  6247. description: 套保品种代码
  6248. type: string
  6249. middlegoodsid:
  6250. description: 套保品种ID
  6251. type: integer
  6252. middlegoodsname:
  6253. description: 套保品种名称
  6254. type: string
  6255. middlegoodspricedqty:
  6256. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6257. type: number
  6258. middlegoodspricedqty2:
  6259. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6260. type: number
  6261. middlegoodspricedqty3:
  6262. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6263. type: number
  6264. needhedgeratio:
  6265. description: 套保系数
  6266. type: number
  6267. pricedamount:
  6268. description: 已定价额(现货)
  6269. type: number
  6270. pricedamount2:
  6271. description: 已定价额(现货-基价额)
  6272. type: number
  6273. pricedqty:
  6274. description: 已定价量(现货)
  6275. type: number
  6276. reckondate:
  6277. description: 日照时期(yyyyMMdd)
  6278. type: string
  6279. relatedmiddlegoodsamount:
  6280. description: 已关联额(期货)
  6281. type: number
  6282. relatedmiddlegoodsqty:
  6283. description: 已关联量(套保品种)(期货)
  6284. type: number
  6285. spotcontractid:
  6286. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6287. type: string
  6288. todayavgfutuprice:
  6289. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6290. type: number
  6291. todayavgprice:
  6292. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6293. type: number
  6294. todayavgprice2:
  6295. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6296. type: number
  6297. todaypricedamount:
  6298. description: 今日定价额(现货)
  6299. type: number
  6300. todaypricedamount2:
  6301. description: 今日定价额(现货-基价额)
  6302. type: number
  6303. todaypricedqty:
  6304. description: 今日定价量(现货)
  6305. type: number
  6306. todayrelatedfutureqty:
  6307. description: 今日关联量(期货)
  6308. type: number
  6309. todayrelatedmiddlegoodsamount:
  6310. description: 今日关联额(期货)
  6311. type: number
  6312. todayrelatedmiddlegoodsqty:
  6313. description: 今日关联量(套保品-期货)
  6314. type: number
  6315. updatetime:
  6316. description: 更新时间
  6317. type: string
  6318. userid:
  6319. description: 合同所属用户id
  6320. type: integer
  6321. vatrate:
  6322. description: 增值税率
  6323. type: number
  6324. wrstandardcode:
  6325. description: 商品(品类) 代码
  6326. type: string
  6327. wrstandardid:
  6328. description: 现货商品ID
  6329. type: integer
  6330. wrstandardname:
  6331. description: 商品(品类) 名称
  6332. type: string
  6333. type: object
  6334. models.Ermcp3SellBuyContract:
  6335. properties:
  6336. accountid:
  6337. description: 期货账户id
  6338. type: string
  6339. accountname:
  6340. description: 账户名称
  6341. type: string
  6342. attachment:
  6343. description: 附件
  6344. type: string
  6345. audittime:
  6346. description: 审核时间
  6347. type: string
  6348. bizsubjectid:
  6349. description: 归属业务部门ID - SubjectID
  6350. type: integer
  6351. biztype:
  6352. description: 业务类型 1-套保 2-套利
  6353. type: integer
  6354. brandname:
  6355. description: 品牌名称
  6356. type: string
  6357. contracctstatus:
  6358. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6359. type: integer
  6360. contractmargin:
  6361. description: 合同保证金
  6362. type: number
  6363. contractno:
  6364. description: 合同编号
  6365. type: string
  6366. contracttype:
  6367. description: 合同类型 1-采购, -1-销售
  6368. type: integer
  6369. convertfactor:
  6370. description: 标仓系数(品类)
  6371. type: number
  6372. createtime:
  6373. description: 创建时间
  6374. type: string
  6375. currencyid:
  6376. description: 币种id
  6377. type: integer
  6378. currencyname:
  6379. description: 币种名称
  6380. type: string
  6381. daikaiamount:
  6382. description: 应收(开)票额
  6383. type: number
  6384. deliveryenddate:
  6385. description: 交割结束日
  6386. type: string
  6387. deliverygoodscode:
  6388. description: 现货品种代码
  6389. type: string
  6390. deliverygoodsid:
  6391. description: 现货商品ID
  6392. type: integer
  6393. deliverygoodsname:
  6394. description: 现货品种名称
  6395. type: string
  6396. deliverystartdate:
  6397. description: 交割开始日
  6398. type: string
  6399. enddate:
  6400. description: 点价结束日
  6401. type: string
  6402. enumdicname:
  6403. description: 单位名称
  6404. type: string
  6405. goodscode:
  6406. description: 点价商品代码
  6407. type: string
  6408. goodsid:
  6409. description: 点价商品ID
  6410. type: integer
  6411. goodsname:
  6412. description: 点价商品名称
  6413. type: string
  6414. invoiceamount:
  6415. description: 已开票额
  6416. type: number
  6417. loanamount:
  6418. description: 贷款总额=已定价额+调整金额
  6419. type: number
  6420. margin:
  6421. description: 保证金
  6422. type: number
  6423. meruserid:
  6424. description: 跟单员id
  6425. type: integer
  6426. meruserlogincode:
  6427. description: 跟单员登录代码
  6428. type: string
  6429. merusername:
  6430. description: 跟单员名称
  6431. type: string
  6432. nickname:
  6433. description: 账户昵称
  6434. type: string
  6435. payamount:
  6436. description: 已收付额(收款或付款)
  6437. type: number
  6438. preinvoiceamount:
  6439. description: 预收(开)票额
  6440. type: number
  6441. prepayamount:
  6442. description: 预收付额
  6443. type: number
  6444. price:
  6445. description: 价格
  6446. type: number
  6447. pricedamount:
  6448. description: 已定价额
  6449. type: number
  6450. pricedavg:
  6451. description: 已点均价
  6452. type: number
  6453. pricedqty:
  6454. description: 已定价量
  6455. type: number
  6456. pricemove:
  6457. description: 升贴水
  6458. type: number
  6459. pricetype:
  6460. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6461. type: integer
  6462. producttype:
  6463. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6464. type: integer
  6465. qty:
  6466. description: 合同量
  6467. type: number
  6468. reckonadjustamount:
  6469. description: 调整金额
  6470. type: number
  6471. reckonedamount:
  6472. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6473. type: number
  6474. reckonotheramount:
  6475. description: 其它费用
  6476. type: number
  6477. reckonrealqty:
  6478. description: 已确定量
  6479. type: number
  6480. remark:
  6481. description: 备注
  6482. type: string
  6483. saleuserid:
  6484. description: 业务员id
  6485. type: integer
  6486. saleuserlogincode:
  6487. description: 业务员登录代码
  6488. type: string
  6489. saleusername:
  6490. description: 业务员名称
  6491. type: string
  6492. spotcontractid:
  6493. description: 合同ID
  6494. type: string
  6495. spotgoodsbrandid:
  6496. description: 现货品牌ID(DGFactoryItem表的ID)
  6497. type: integer
  6498. spotgoodsdesc:
  6499. description: 商品型号(商品规格)
  6500. type: string
  6501. startdate:
  6502. description: 点价开始日
  6503. type: string
  6504. subjectid:
  6505. description: 交易主体ID
  6506. type: integer
  6507. subjectname:
  6508. description: 交易主体名称
  6509. type: string
  6510. totalamount:
  6511. description: 合计总额
  6512. type: number
  6513. tradeuserid:
  6514. description: 交易员id
  6515. type: integer
  6516. tradeuserlogincode:
  6517. description: 交易员登录代码
  6518. type: string
  6519. tradeusername:
  6520. description: 交易员名称
  6521. type: string
  6522. unpayamount:
  6523. description: 应收付款额(应支付或应收款)
  6524. type: number
  6525. unpricedqty:
  6526. description: 未定价量
  6527. type: number
  6528. unsureqty:
  6529. description: 未确定量
  6530. type: number
  6531. userid:
  6532. description: 机构ID
  6533. type: integer
  6534. vatrate:
  6535. description: 增值税率
  6536. type: number
  6537. wrstandardcode:
  6538. description: 品类代码
  6539. type: string
  6540. wrstandardid:
  6541. description: 品类ID
  6542. type: integer
  6543. wrstandardname:
  6544. description: 品类名称
  6545. type: string
  6546. type: object
  6547. models.Ermcp3SpotGoodsPrice:
  6548. properties:
  6549. areauserid:
  6550. description: 所属机构id
  6551. type: integer
  6552. brandname:
  6553. description: 品牌名称
  6554. type: string
  6555. currencyid:
  6556. description: 报价货币ID
  6557. type: integer
  6558. currencyname:
  6559. description: 币种名称
  6560. type: string
  6561. deliverygoodscode:
  6562. description: 现货商品代码
  6563. type: string
  6564. deliverygoodsid:
  6565. description: 现货商品id
  6566. type: integer
  6567. deliverygoodsname:
  6568. description: 现货商品名称
  6569. type: string
  6570. enumdicname:
  6571. description: 现货商品单位名称
  6572. type: string
  6573. gbenumdicname:
  6574. description: 品类单位名称
  6575. type: string
  6576. gmunitid:
  6577. description: 品类单位id
  6578. type: integer
  6579. isvalid:
  6580. description: 是否有效 - 0:无效 1:有效
  6581. type: integer
  6582. operateid:
  6583. description: 最后操作人
  6584. type: integer
  6585. operatesrc:
  6586. description: 最后操作来源 - 1:管理端 2:终端
  6587. type: integer
  6588. operatetime:
  6589. description: 最后操作时间
  6590. type: string
  6591. operatorname:
  6592. description: 操作人名称
  6593. type: string
  6594. spotgoodsbrandid:
  6595. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6596. type: integer
  6597. spotgoodsprice:
  6598. description: 现货价格
  6599. type: number
  6600. tradedate:
  6601. description: 交易日(yyyyMMdd)
  6602. type: string
  6603. unitid:
  6604. description: 现货商品单位id
  6605. type: integer
  6606. wrstandardcode:
  6607. description: 品类代码
  6608. type: string
  6609. wrstandardid:
  6610. description: 现货品类ID(通用则为0)
  6611. type: integer
  6612. wrstandardname:
  6613. description: 品类名称
  6614. type: string
  6615. type: object
  6616. models.Ermcp3SpotGoodsPriceLog:
  6617. properties:
  6618. areauserid:
  6619. description: 所属机构id
  6620. type: integer
  6621. brandname:
  6622. description: 品牌名称
  6623. type: string
  6624. currencyid:
  6625. description: 报价货币ID
  6626. type: integer
  6627. deliverygoodscode:
  6628. description: 现货商品代码
  6629. type: string
  6630. deliverygoodsid:
  6631. description: 现货商品id
  6632. type: integer
  6633. deliverygoodsname:
  6634. description: 现货商品名称
  6635. type: string
  6636. enumdicname:
  6637. description: 现货商品单位名称
  6638. type: string
  6639. gbenumdicname:
  6640. description: 品类单位名称
  6641. type: string
  6642. gmunitid:
  6643. description: 品类单位id
  6644. type: integer
  6645. logid:
  6646. description: 日志id
  6647. type: integer
  6648. operateid:
  6649. description: 最后操作人
  6650. type: integer
  6651. operatesrc:
  6652. description: 最后操作来源 - 1:管理端 2:终端
  6653. type: integer
  6654. operatetime:
  6655. description: 最后操作时间
  6656. type: string
  6657. operatorname:
  6658. description: 操作人名称
  6659. type: string
  6660. spotgoodsbrandid:
  6661. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6662. type: integer
  6663. spotgoodsprice:
  6664. description: 现货价格
  6665. type: number
  6666. tradedate:
  6667. description: 交易日(yyyyMMdd)
  6668. type: string
  6669. unitid:
  6670. description: 现货商品单位id
  6671. type: integer
  6672. wrstandardcode:
  6673. description: 品类代码
  6674. type: string
  6675. wrstandardid:
  6676. description: 现货品类ID(通用则为0)
  6677. type: integer
  6678. wrstandardname:
  6679. description: 品类名称
  6680. type: string
  6681. type: object
  6682. models.Ermcp3SubTaaccount:
  6683. properties:
  6684. accountid:
  6685. description: 资金账户ID
  6686. type: integer
  6687. parentaccountcode:
  6688. description: 所属根账号代码(母账号代码)
  6689. type: string
  6690. parentaccountid:
  6691. description: 所属根账号(母账号)
  6692. type: integer
  6693. taname:
  6694. description: 资金账号名称
  6695. type: string
  6696. tradestatus:
  6697. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6698. type: integer
  6699. username:
  6700. description: 交易用户
  6701. type: string
  6702. type: object
  6703. models.Ermcp3TaFutuReDataReport:
  6704. properties:
  6705. accountid:
  6706. description: 交易账户
  6707. type: integer
  6708. accountname:
  6709. description: 交易账号名称
  6710. type: string
  6711. agreeunit:
  6712. description: 商品合约单位
  6713. type: number
  6714. begindate:
  6715. description: 开始交易日
  6716. type: string
  6717. buyorsell:
  6718. description: 持仓方向
  6719. type: integer
  6720. charge:
  6721. description: 手续费
  6722. type: number
  6723. closeavgprice:
  6724. description: 平仓均价
  6725. type: number
  6726. closepl:
  6727. description: 平仓损益
  6728. type: number
  6729. currencyid:
  6730. description: 结算币种ID
  6731. type: integer
  6732. currencyname:
  6733. description: 币种名称
  6734. type: string
  6735. cycletime:
  6736. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6737. type: string
  6738. cycletype:
  6739. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6740. type: integer
  6741. enddate:
  6742. description: 结束交易日
  6743. type: string
  6744. enumdicname:
  6745. description: 单位名称
  6746. type: string
  6747. floatpl:
  6748. description: 浮动损益
  6749. type: number
  6750. goodscode:
  6751. description: 交易合约代码
  6752. type: string
  6753. goodsgroupid:
  6754. description: 交易品种
  6755. type: integer
  6756. goodsgroupname:
  6757. description: 交易品种名称
  6758. type: string
  6759. goodsgroupspotqty:
  6760. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6761. type: number
  6762. goodsid:
  6763. description: 交易合约
  6764. type: integer
  6765. goodsname:
  6766. description: 交易合约名称
  6767. type: string
  6768. goodunitid:
  6769. description: 交易合约单位id
  6770. type: integer
  6771. holdamount:
  6772. description: 期末持仓额
  6773. type: number
  6774. holdqty:
  6775. description: 期末持仓量
  6776. type: number
  6777. lastholdamount:
  6778. description: 当前持仓额
  6779. type: number
  6780. lastprice:
  6781. description: 最新价
  6782. type: number
  6783. middlegoodsid:
  6784. description: 套保品种id
  6785. type: integer
  6786. middlegoodsname:
  6787. description: 套保商品名称
  6788. type: string
  6789. middlegoodsqty:
  6790. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6791. type: number
  6792. middlgoodscode:
  6793. description: 套保商品代码
  6794. type: string
  6795. openamount:
  6796. description: 期末开仓额
  6797. type: number
  6798. openavgprice:
  6799. description: 开仓均价
  6800. type: number
  6801. oriholdamount:
  6802. description: 期初持仓额
  6803. type: number
  6804. oriholdqty:
  6805. description: 期初持仓量
  6806. type: number
  6807. oriopenamount:
  6808. description: 期初开仓额
  6809. type: number
  6810. outergroupcode:
  6811. description: 交易品种代码
  6812. type: string
  6813. qtydecimalplace:
  6814. description: 成交量小数位
  6815. type: integer
  6816. reckondate:
  6817. description: 日照时期(yyyyMMdd)
  6818. type: string
  6819. reckonholdamount:
  6820. description: 结算持仓额
  6821. type: number
  6822. reckonpl:
  6823. description: 结算损益
  6824. type: number
  6825. reckonpl2:
  6826. description: 结算逐笔盈亏
  6827. type: number
  6828. reckonprice:
  6829. description: 结算价
  6830. type: number
  6831. relateduserid:
  6832. description: 账户关联用户ID
  6833. type: integer
  6834. todaycloseamount:
  6835. description: 今平仓额
  6836. type: number
  6837. todaycloseqty:
  6838. description: 今平仓量
  6839. type: number
  6840. todaygoodsgroupspotqty:
  6841. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6842. type: number
  6843. todaymiddlegoodsqty:
  6844. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6845. type: number
  6846. todayopenamount:
  6847. description: 今开仓额
  6848. type: number
  6849. todayopenqty:
  6850. description: 今开仓量
  6851. type: number
  6852. userid:
  6853. description: 账户所属用户ID
  6854. type: integer
  6855. type: object
  6856. models.Ermcp3TradeLinkDetail:
  6857. properties:
  6858. accountid:
  6859. description: 资金账号
  6860. type: integer
  6861. agreeunit:
  6862. description: 合约乘数
  6863. type: number
  6864. areauserid:
  6865. description: 所属机构
  6866. type: string
  6867. bizsubjectid:
  6868. description: 归属业务部门ID - SubjectID
  6869. type: string
  6870. buyorsell:
  6871. description: 方向 - 0:买 1:卖
  6872. type: integer
  6873. channelbuildtype:
  6874. description: 委托单据类型 0:无 1:建仓 2:平仓
  6875. type: integer
  6876. contractno:
  6877. description: 现货编号 (合同编号)
  6878. type: string
  6879. convertratio:
  6880. description: 折算系数
  6881. type: number
  6882. createtime:
  6883. description: 关联时间 | 创建时间
  6884. type: string
  6885. creatorid:
  6886. description: 创建人ID
  6887. type: string
  6888. creatorsrc:
  6889. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6890. type: integer
  6891. enumdicname:
  6892. description: 单位名称
  6893. type: string
  6894. goodscode:
  6895. description: 合约代码
  6896. type: string
  6897. goodsgroupid:
  6898. description: 对冲品种ID[期货合约商品组ID]
  6899. type: integer
  6900. goodsid:
  6901. description: 商品ID
  6902. type: integer
  6903. goodsname:
  6904. description: 合约名称
  6905. type: string
  6906. hedgeflag:
  6907. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6908. type: integer
  6909. linkdetailid:
  6910. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6911. type: string
  6912. linkstatus:
  6913. description: 关联状态 - 1:成功 2:失败 3:解绑
  6914. type: integer
  6915. middlegoodscode:
  6916. description: 套保品种代码
  6917. type: string
  6918. middlegoodsid:
  6919. description: 套保品种ID
  6920. type: integer
  6921. middlegoodsname:
  6922. description: 套保品种名称
  6923. type: string
  6924. relatedlot:
  6925. description: 关联手数
  6926. type: number
  6927. relatedmode:
  6928. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6929. type: integer
  6930. relatedqty:
  6931. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6932. type: number
  6933. retcode:
  6934. description: 返回码
  6935. type: integer
  6936. saleuserid:
  6937. description: 业务员ID
  6938. type: string
  6939. spotcontractid:
  6940. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6941. type: string
  6942. taname:
  6943. description: 期货账户
  6944. type: string
  6945. tradedate:
  6946. description: 关联交易日(yyyyMMdd)
  6947. type: string
  6948. tradeid:
  6949. description: 期货订单号 | 内部成交单ID
  6950. type: string
  6951. tradelot:
  6952. description: 成交数量 | 成交手数
  6953. type: integer
  6954. tradeprice:
  6955. description: 成交价格
  6956. type: number
  6957. tradetime:
  6958. description: 期货成交时间
  6959. type: string
  6960. tradetradedate:
  6961. description: 成交交易日(yyyyMMdd)
  6962. type: string
  6963. username:
  6964. description: 用户名称
  6965. type: string
  6966. type: object
  6967. models.Ermcp3Wrstandard:
  6968. properties:
  6969. areauserid:
  6970. description: 所属机构
  6971. type: integer
  6972. cantrade:
  6973. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6974. type: integer
  6975. convertfactor:
  6976. description: 标仓系数
  6977. type: number
  6978. createtime:
  6979. description: 创建时间
  6980. type: string
  6981. creatorid:
  6982. description: 创建人
  6983. type: integer
  6984. deliverygoodsid:
  6985. description: 现货品种ID
  6986. type: integer
  6987. enumdicname:
  6988. description: 品类单位名称
  6989. type: string
  6990. isvalid:
  6991. description: 是否有效 0-无效(停用) 1-有效(正常)
  6992. type: integer
  6993. minivalue:
  6994. description: 最小变动值
  6995. type: integer
  6996. minivaluedp:
  6997. description: 最小变动值小数位
  6998. type: integer
  6999. realminivalue:
  7000. description: 实际最小变动值
  7001. type: integer
  7002. realminivaluedp:
  7003. description: 实际最小变动值小数位
  7004. type: integer
  7005. remark:
  7006. description: 备注
  7007. type: string
  7008. unitid:
  7009. description: 品类单位ID
  7010. type: integer
  7011. updatetime:
  7012. description: 更新时间
  7013. type: string
  7014. wrstandardcode:
  7015. description: 品类代码
  7016. type: string
  7017. wrstandardid:
  7018. description: 品类ID(SEQ_WRSTANDARD)
  7019. type: integer
  7020. wrstandardname:
  7021. description: 品类名称
  7022. type: string
  7023. type: object
  7024. models.ErmcpBizGroupEx:
  7025. properties:
  7026. acclist:
  7027. description: 账号列表
  7028. items:
  7029. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7030. type: array
  7031. bizgroupid:
  7032. description: 业务分组id
  7033. type: integer
  7034. biztype:
  7035. description: 业务类型 1-套保 2-套利
  7036. type: integer
  7037. wrlist:
  7038. description: 现货商品表
  7039. items:
  7040. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7041. type: array
  7042. type: object
  7043. models.ErmcpBizGroupSpotGoods:
  7044. properties:
  7045. areauserid:
  7046. description: 所属机构id
  7047. type: integer
  7048. bizgroupid:
  7049. description: 分组id
  7050. type: integer
  7051. biztype:
  7052. description: 业务类型 1-套保 2-套利
  7053. type: integer
  7054. deliverygoodscode:
  7055. description: 现货商品代码
  7056. type: string
  7057. deliverygoodsid:
  7058. description: 现货商品id
  7059. type: integer
  7060. deliverygoodsname:
  7061. description: 现货商品名称
  7062. type: string
  7063. unitid:
  7064. description: 现货商品单位id
  7065. type: integer
  7066. type: object
  7067. models.ErmcpBizGroupTaAccount:
  7068. properties:
  7069. accountid:
  7070. description: 账号id
  7071. type: integer
  7072. accountname:
  7073. description: 账号名称
  7074. type: string
  7075. areauserid:
  7076. description: 所属机构id
  7077. type: integer
  7078. bizgroupid:
  7079. description: 业务分组id
  7080. type: integer
  7081. ismain:
  7082. description: 是否主账号 1-是 0-否
  7083. type: integer
  7084. type: object
  7085. models.ErmcpDGFactoryItem:
  7086. properties:
  7087. areauserid:
  7088. description: 用户id
  7089. type: integer
  7090. deliverygoodsid:
  7091. description: 现货品种ID
  7092. type: integer
  7093. dgfactoryitemid:
  7094. description: 选择项ID(SEQ_DGFACTORYITEM)
  7095. type: integer
  7096. dgfactoryitemtypeid:
  7097. description: 要素项类型
  7098. type: integer
  7099. dgfactoryitemvalue:
  7100. description: 要素项值(类型为仓库时填写仓库名称)
  7101. type: string
  7102. isvalid:
  7103. description: 是否有效 - 0:无效 1:有效
  7104. type: integer
  7105. orderindex:
  7106. description: 顺序
  7107. type: integer
  7108. warehouseid:
  7109. description: 仓库ID(类型为仓库时填写)
  7110. type: integer
  7111. type: object
  7112. models.ErmcpDeliveryGoods:
  7113. properties:
  7114. agreeunit:
  7115. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7116. type: integer
  7117. areauserid:
  7118. description: 所属机构
  7119. type: integer
  7120. auditflag:
  7121. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7122. type: integer
  7123. categoryid:
  7124. description: 类别ID(SEQ_WRCATEGORY)
  7125. type: integer
  7126. deliverygoodscode:
  7127. description: 现货品种代码
  7128. type: string
  7129. deliverygoodsid:
  7130. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7131. type: integer
  7132. deliverygoodsname:
  7133. description: 现货品种名称
  7134. type: string
  7135. deliverygoodstype:
  7136. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7137. type: integer
  7138. dgstatus:
  7139. description: 品种状态 - 作废 - 0:未激活 1:正常
  7140. type: integer
  7141. enumdicname:
  7142. description: 现货品种单位名称
  7143. type: string
  7144. goodsunitid:
  7145. description: 现货品种单位ID
  7146. type: integer
  7147. isvalid:
  7148. description: 是否有效 - 0:无效 1:有效
  7149. type: integer
  7150. qtydecimalplace:
  7151. description: 成交量小数位
  7152. type: integer
  7153. remark:
  7154. description: 备注
  7155. type: string
  7156. standardqty:
  7157. description: 标准数量(库位数量) [标准品特有]
  7158. type: integer
  7159. standardqtyrange:
  7160. description: 标准数量偏差范围 [标准品特有]
  7161. type: integer
  7162. type: object
  7163. models.ErmcpFuturesCompany:
  7164. properties:
  7165. brokerid:
  7166. description: 经纪公司代码
  7167. type: string
  7168. channeladdress:
  7169. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7170. type: string
  7171. channelid:
  7172. description: 对冲渠道ID
  7173. type: string
  7174. createtime:
  7175. description: 创建时间
  7176. type: string
  7177. creatorid:
  7178. description: 创建人
  7179. type: string
  7180. fcid:
  7181. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7182. type: integer
  7183. fcname:
  7184. description: 期货公司名称
  7185. type: string
  7186. isvalid:
  7187. description: 是否有效 - 0:无效 1:有效
  7188. type: integer
  7189. mhpaddress:
  7190. description: MHP服务地址(IP:Port)
  7191. type: string
  7192. riskrulegroupid:
  7193. description: 风控规则组ID
  7194. type: string
  7195. tradefeetmpid:
  7196. description: 手续费模板ID[TradeConfigTmpType为2]
  7197. type: string
  7198. trademargintmpid:
  7199. description: 保证金模板ID [TradeConfigTmpType为1]
  7200. type: string
  7201. traderatetmpid:
  7202. description: 汇率模板ID[TradeConfigTmpType为3]
  7203. type: string
  7204. updatetime:
  7205. description: 更新时间
  7206. type: string
  7207. updatorid:
  7208. description: 更新人
  7209. type: string
  7210. type: object
  7211. models.ErmcpGGConvertCfg:
  7212. properties:
  7213. convertratio:
  7214. description: 折算系数
  7215. type: number
  7216. destgoodsgroupid:
  7217. description: 目标品种ID
  7218. type: integer
  7219. dstcode:
  7220. description: 目录品种代码
  7221. type: string
  7222. dstexchangecode:
  7223. description: 目标期货交易所
  7224. type: string
  7225. dstname:
  7226. description: 目标品种名称
  7227. type: string
  7228. dstunitid:
  7229. description: 目标品种单位ID
  7230. type: integer
  7231. dstunitidname:
  7232. description: 目标品种单位名称
  7233. type: string
  7234. modifytime:
  7235. description: 修改时间
  7236. type: string
  7237. srccode:
  7238. description: 源品种代码
  7239. type: string
  7240. srcexchangecode:
  7241. description: 源期货交易所
  7242. type: string
  7243. srcgoodsgroupid:
  7244. description: 源品种ID
  7245. type: integer
  7246. srcname:
  7247. description: 源品种名称
  7248. type: string
  7249. srcunitid:
  7250. description: 源品种单位ID
  7251. type: integer
  7252. srcunitidname:
  7253. description: 源品种单位名称
  7254. type: string
  7255. type: object
  7256. models.ErmcpGoods:
  7257. properties:
  7258. agreeunit:
  7259. description: 合约单位
  7260. type: number
  7261. areauserid:
  7262. description: 所属机构
  7263. type: integer
  7264. auditaccountid:
  7265. description: 审核操作员账号
  7266. type: integer
  7267. audittime:
  7268. description: 审核时间
  7269. type: string
  7270. cancelaccountid:
  7271. description: 注销操作员账号
  7272. type: integer
  7273. canceltime:
  7274. description: 注销时间
  7275. type: string
  7276. closepricemode:
  7277. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7278. type: integer
  7279. closepriceparam:
  7280. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7281. type: number
  7282. createtime:
  7283. description: 创建时间
  7284. type: string
  7285. creatorid:
  7286. description: 创建人
  7287. type: integer
  7288. currencyid:
  7289. description: 报价货币ID
  7290. type: integer
  7291. cutmode:
  7292. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7293. type: integer
  7294. decimalplace:
  7295. description: 报价小数位
  7296. type: integer
  7297. delistingdate:
  7298. description: 商品退市时间(状态:退市) -- 已作废
  7299. type: string
  7300. delistingmode:
  7301. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7302. type: integer
  7303. deliveryflag:
  7304. description: 交割标志 - 0:不可交割 1:可交割
  7305. type: integer
  7306. enumdicname:
  7307. description: 单位名称
  7308. type: string
  7309. forceclosemode:
  7310. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7311. type: integer
  7312. forceclosevalue:
  7313. description: 定期强平参数 [收益权]
  7314. type: integer
  7315. goodscode:
  7316. description: 商品代码(内部)
  7317. type: string
  7318. goodscurrencyid:
  7319. description: 合约货币ID
  7320. type: integer
  7321. goodsgroupid:
  7322. description: 所属商品组ID
  7323. type: integer
  7324. goodsid:
  7325. description: 商品ID(自增ID SEQ_GOODS)
  7326. type: integer
  7327. goodsname:
  7328. description: 商品名称
  7329. type: string
  7330. goodsquotetype:
  7331. description: '合约报价类型: 1-直接报价 2-间接报价'
  7332. type: integer
  7333. goodsstatus:
  7334. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7335. type: integer
  7336. goodstradetype:
  7337. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7338. type: integer
  7339. goodunitid:
  7340. description: 报价单位ID
  7341. type: integer
  7342. hasquoter:
  7343. description: 是否有报价商 - 0:无报价商 1:有报价商
  7344. type: integer
  7345. hqprotecttime:
  7346. description: 行情保护时间(秒)
  7347. type: integer
  7348. innerdealmode:
  7349. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7350. type: integer
  7351. isbuylimited:
  7352. description: 是否限制建仓量 - 0:不限制 1:限制
  7353. type: integer
  7354. isvisible:
  7355. description: 游客是否可见 - 0:不可见 1:可见
  7356. type: integer
  7357. lasttradedate:
  7358. description: 最后交易日期(状态:待退市)
  7359. type: string
  7360. listingdate:
  7361. description: 交易开始日期
  7362. type: string
  7363. marketid:
  7364. description: 所属市场ID
  7365. type: integer
  7366. modifierid:
  7367. description: 修改人
  7368. type: integer
  7369. modifystatus:
  7370. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7371. type: integer
  7372. modifytime:
  7373. description: 修改时间
  7374. type: string
  7375. outerdealmode:
  7376. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7377. type: integer
  7378. outgoodscode:
  7379. description: 商品代码(外部)
  7380. type: string
  7381. pictureurl:
  7382. description: 商品图片
  7383. type: string
  7384. qtydecimalplace:
  7385. description: 成交量小数位
  7386. type: integer
  7387. quotegear:
  7388. description: 行情档位(1-10)
  7389. type: integer
  7390. quoteminunit:
  7391. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7392. type: integer
  7393. quoteshowtype:
  7394. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7395. type: integer
  7396. quoteshowtypeinterval:
  7397. description: 行情报价间隔时间(秒)(成交价时为0)
  7398. type: integer
  7399. relatedgoodsid:
  7400. description: 关联参考商品ID
  7401. type: integer
  7402. remark:
  7403. description: 备注
  7404. type: string
  7405. trademode:
  7406. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7407. type: integer
  7408. required:
  7409. - goodscode
  7410. - goodsid
  7411. - goodsname
  7412. - marketid
  7413. type: object
  7414. models.ErmcpGoodsBrand:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构
  7418. type: integer
  7419. brandid:
  7420. description: BrandID(SEQ_SPOTGOODSBRAND)
  7421. type: integer
  7422. brandname:
  7423. description: 品牌名称
  7424. type: string
  7425. createtime:
  7426. description: 创建时间
  7427. type: string
  7428. creatorid:
  7429. description: 创建人
  7430. type: integer
  7431. creatorsrc:
  7432. description: 创建人来源 - 1:管理端 2:终端
  7433. type: integer
  7434. deliverygoodsid:
  7435. description: 现货品种ID
  7436. type: integer
  7437. isvalid:
  7438. description: 是否有效 - 0:无效 1:有效
  7439. type: integer
  7440. updatetime:
  7441. description: 更新时间
  7442. type: string
  7443. updatorid:
  7444. description: 更新人
  7445. type: integer
  7446. updatorsrc:
  7447. description: 更新人来源 - 1:管理端 2:终端
  7448. type: integer
  7449. wrstandardid:
  7450. description: 现货商品ID
  7451. type: integer
  7452. type: object
  7453. models.ErmcpGoodsModel:
  7454. properties:
  7455. areauserid:
  7456. description: 所属机构
  7457. type: integer
  7458. convertfactor:
  7459. description: 标仓系数
  7460. type: number
  7461. createtime:
  7462. description: 创建时间
  7463. type: string
  7464. creatorid:
  7465. description: 创建人
  7466. type: integer
  7467. creatorsrc:
  7468. description: 创建人来源 - 1:管理端 2:终端
  7469. type: integer
  7470. deliverygoodsid:
  7471. description: 现货品种ID
  7472. type: integer
  7473. isvalid:
  7474. description: 是否有效 - 0:无效 1:有效
  7475. type: integer
  7476. modelid:
  7477. description: ModelID(SEQ_SPOTGOODSMODEL)
  7478. type: integer
  7479. modelname:
  7480. description: 型号名称
  7481. type: string
  7482. updatetime:
  7483. description: 更新时间
  7484. type: string
  7485. updatorid:
  7486. description: 更新人
  7487. type: integer
  7488. updatorsrc:
  7489. description: 更新人来源 - 1:管理端 2:终端
  7490. type: integer
  7491. wrstandardid:
  7492. description: 现货商品ID
  7493. type: integer
  7494. type: object
  7495. models.ErmcpHisExposure:
  7496. properties:
  7497. needhedgeexposoure:
  7498. description: 应套保敞口
  7499. type: number
  7500. reckondate:
  7501. description: 日照时期(yyyyMMdd)
  7502. type: string
  7503. totalexposure:
  7504. description: 总敞口
  7505. type: number
  7506. type: object
  7507. models.ErmcpLoginTaAccount:
  7508. properties:
  7509. accountid:
  7510. description: 账号id
  7511. type: integer
  7512. accountname:
  7513. description: 账号名称
  7514. type: string
  7515. type: object
  7516. models.ErmcpLoginUser:
  7517. properties:
  7518. acclist:
  7519. description: 关联资金账号
  7520. items:
  7521. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7522. type: array
  7523. accountname:
  7524. description: 用户名称
  7525. type: string
  7526. clientroleid:
  7527. description: 角色id(usertype=2)
  7528. type: integer
  7529. createtime:
  7530. description: 创建时间
  7531. type: string
  7532. logincode:
  7533. description: 登录代码
  7534. type: string
  7535. loginid:
  7536. description: 登录id(LOGINID)
  7537. type: integer
  7538. loginname:
  7539. description: 登录名称(loginaccount表中的accountname字段)
  7540. type: string
  7541. loginstatus:
  7542. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7543. type: integer
  7544. memberuserid:
  7545. description: 所属会员id
  7546. type: integer
  7547. mobile:
  7548. description: 手机号
  7549. type: string
  7550. modifytime:
  7551. description: 修改时间
  7552. type: string
  7553. password:
  7554. description: 密码(不可解密)
  7555. type: string
  7556. rolename:
  7557. description: 角色名称
  7558. type: string
  7559. rolestatus:
  7560. description: 角色状态 1-启用 2-停用
  7561. type: integer
  7562. roletype:
  7563. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7564. type: string
  7565. userid:
  7566. description: 用户id
  7567. type: integer
  7568. usertype:
  7569. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7570. type: integer
  7571. type: object
  7572. models.ErmcpLoginUserEx:
  7573. properties:
  7574. accountstatus:
  7575. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7576. type: integer
  7577. mobile:
  7578. description: 手机号
  7579. type: string
  7580. querytype:
  7581. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7582. type: integer
  7583. roleid:
  7584. description: 角色id(交易账户->用户id)
  7585. type: integer
  7586. rolename:
  7587. description: 角色名称(交易账户->用户名称)
  7588. type: string
  7589. userlist:
  7590. description: 用户列表
  7591. items:
  7592. $ref: '#/definitions/models.ErmcpLoginUser'
  7593. type: array
  7594. usertype:
  7595. description: 用户类型 2-机构 7-企业成员(云平台)
  7596. type: integer
  7597. type: object
  7598. models.ErmcpMiddleGoodsModel:
  7599. properties:
  7600. areauserid:
  7601. description: 机构用户ID
  7602. type: integer
  7603. createtime:
  7604. description: 修改时间
  7605. type: string
  7606. enumdicname:
  7607. description: 单位名称
  7608. type: string
  7609. evaluateratio:
  7610. description: 估价系数
  7611. type: number
  7612. goodsgroupid:
  7613. description: 关联期货品种ID
  7614. type: integer
  7615. goodsunitid:
  7616. description: 单位ID
  7617. type: integer
  7618. isvalid:
  7619. description: 状态 0-无效(停用) 1-有效(正常)
  7620. type: integer
  7621. middlegoodscode:
  7622. description: 套保品种代码
  7623. type: string
  7624. middlegoodsid:
  7625. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7626. type: integer
  7627. middlegoodsname:
  7628. description: 套保品种名称
  7629. type: string
  7630. modifytime:
  7631. description: 修改时间
  7632. type: string
  7633. needarbitrageratio:
  7634. description: 套利比例
  7635. type: number
  7636. needhedgeratio:
  7637. description: 套保比率
  7638. type: number
  7639. qtydecimalplace:
  7640. description: 数量小数位
  7641. type: integer
  7642. relatedgoodsid:
  7643. description: 关联交易商品ID
  7644. type: integer
  7645. relatedgoodstype:
  7646. description: 关联商品类型 - 1:期货合约 2:现货品种
  7647. type: integer
  7648. remark:
  7649. description: 备注
  7650. type: string
  7651. type: object
  7652. models.ErmcpMiddlegoodsRelateGoods:
  7653. properties:
  7654. agreeunit:
  7655. description: 合约乘数
  7656. type: number
  7657. convertratio:
  7658. description: 折算系数
  7659. type: number
  7660. enumdicname:
  7661. description: 单位名称(交易商品)
  7662. type: string
  7663. goodscode:
  7664. description: 交易商品代码
  7665. type: string
  7666. goodsgroupid:
  7667. description: 交易品种id
  7668. type: integer
  7669. goodsid:
  7670. description: 商品Id
  7671. type: integer
  7672. goodsname:
  7673. description: 交易商品名称
  7674. type: string
  7675. goodunitid:
  7676. description: 交易商品单位id
  7677. type: integer
  7678. middlegoodsid:
  7679. description: 套保商品id
  7680. type: integer
  7681. middlegoodsname:
  7682. description: 套保商品名称
  7683. type: string
  7684. middlegoodsswcode:
  7685. description: 套保商品代码
  7686. type: string
  7687. needarbitrageratio:
  7688. description: 应套利比例
  7689. type: number
  7690. needhedgeratio:
  7691. description: 应套保比例
  7692. type: number
  7693. type: object
  7694. models.ErmcpRole:
  7695. properties:
  7696. areauserid:
  7697. description: 所属机构
  7698. type: integer
  7699. autoid:
  7700. description: 角色ID(自增ID)
  7701. type: integer
  7702. modifierid:
  7703. description: 修改人(创建人)
  7704. type: integer
  7705. modifiername:
  7706. description: 修改人名称
  7707. type: string
  7708. modifytime:
  7709. description: 修改时间(创建时间)
  7710. type: string
  7711. rolename:
  7712. description: 角色名称
  7713. type: string
  7714. rolestatus:
  7715. description: 角色状态 - 1:启用 2:停用
  7716. type: integer
  7717. roletype:
  7718. description: 角色类型 - 1- 管理端 2- 交易端
  7719. type: integer
  7720. type: object
  7721. models.ErmcpRoleMenu:
  7722. properties:
  7723. iconame:
  7724. description: 菜单图标
  7725. type: string
  7726. ishadrole:
  7727. description: 是否有权限
  7728. type: boolean
  7729. menutype:
  7730. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7731. type: integer
  7732. parentcode:
  7733. description: 上级资源代码
  7734. type: string
  7735. remark:
  7736. description: 菜单备注
  7737. type: string
  7738. resourcecode:
  7739. description: 菜单代码
  7740. type: string
  7741. resourcelevel:
  7742. description: 级别
  7743. type: integer
  7744. resourcename:
  7745. description: 菜单名称
  7746. type: string
  7747. roleid:
  7748. description: 角色id
  7749. type: integer
  7750. sort:
  7751. description: 排序
  7752. type: integer
  7753. url:
  7754. description: URL
  7755. type: string
  7756. userid:
  7757. description: 用户id
  7758. type: integer
  7759. type: object
  7760. models.ErmcpRoleMenuEx:
  7761. properties:
  7762. menu:
  7763. $ref: '#/definitions/models.ErmcpRoleMenu'
  7764. description: 父级菜单
  7765. subMenu:
  7766. description: 子级菜单
  7767. items:
  7768. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7769. type: array
  7770. type: object
  7771. models.ErmcpTaAccount:
  7772. properties:
  7773. accountid:
  7774. description: 账户id
  7775. type: integer
  7776. accountname:
  7777. description: 账户名称
  7778. type: string
  7779. currencyid:
  7780. description: 币种id
  7781. type: integer
  7782. hedgeaccountcode:
  7783. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7784. type: string
  7785. ismain:
  7786. description: 是否主账户 0-否 1-是
  7787. type: integer
  7788. parentaccountid:
  7789. description: 父账户id
  7790. type: integer
  7791. relateduserid:
  7792. description: 关联userid
  7793. type: integer
  7794. tradefeetmpid:
  7795. description: 手续费模板id
  7796. type: integer
  7797. tradefeetmpname:
  7798. description: 手续费模板名称
  7799. type: string
  7800. trademargintmpid:
  7801. description: 保证金模板id
  7802. type: integer
  7803. trademargintmpname:
  7804. description: 保证金模板名称
  7805. type: string
  7806. traderatetmpid:
  7807. description: 汇率模板id
  7808. type: integer
  7809. traderatetmpname:
  7810. description: 汇率模板名称
  7811. type: string
  7812. tradestatus:
  7813. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7814. type: integer
  7815. userid:
  7816. description: 用户id
  7817. type: integer
  7818. type: object
  7819. models.ErmcpTaAccountEx:
  7820. properties:
  7821. mainAcc:
  7822. $ref: '#/definitions/models.ErmcpTaAccountM'
  7823. description: 主账号
  7824. subacclist:
  7825. description: 子账号列表
  7826. items:
  7827. $ref: '#/definitions/models.ErmcpTaAccount'
  7828. type: array
  7829. type: object
  7830. models.ErmcpTaAccountInfo:
  7831. properties:
  7832. accountid:
  7833. description: 资金账户ID
  7834. type: integer
  7835. accountname:
  7836. description: 账户名称
  7837. type: string
  7838. balance:
  7839. description: 期初余额
  7840. type: number
  7841. capitalbalance:
  7842. description: 本金余额[外部子账户实际出入金余额]
  7843. type: number
  7844. closepl:
  7845. description: 今日平仓盈亏
  7846. type: number
  7847. creditdecrease:
  7848. description: 今日授信减少
  7849. type: number
  7850. creditincrease:
  7851. description: 今日授信增加
  7852. type: number
  7853. curdebt:
  7854. description: 期末欠款
  7855. type: number
  7856. currencyid:
  7857. description: 货币ID
  7858. type: integer
  7859. currentbalance:
  7860. description: 期末余额
  7861. type: number
  7862. freezecharge:
  7863. description: 手续费冻结
  7864. type: number
  7865. freezemargin:
  7866. description: 冻结保证金
  7867. type: number
  7868. fromaccountid:
  7869. description: 所属上级账户
  7870. type: integer
  7871. inamount:
  7872. description: 今日入金金额(包括三方入金)
  7873. type: number
  7874. ismain:
  7875. description: 是否母账号 0:不是母账户 1:是母账户
  7876. type: integer
  7877. mortgagecredit:
  7878. description: 授信金额
  7879. type: number
  7880. oridebt:
  7881. description: 期初欠款
  7882. type: number
  7883. orifreezecharge:
  7884. description: 期初手续费冻结
  7885. type: number
  7886. orifreezemargin:
  7887. description: 期初冻结保证金
  7888. type: number
  7889. orimortgagecredit:
  7890. description: 期初授信金额
  7891. type: number
  7892. oriothercredit:
  7893. description: 期初其它授信金额
  7894. type: number
  7895. oriotherfreezemargin:
  7896. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7897. type: number
  7898. orioutamountfreeze:
  7899. description: 期初出金冻结
  7900. type: number
  7901. oriusedmargin:
  7902. description: 期初占用保证金
  7903. type: number
  7904. othercredit:
  7905. description: 其它授信金额
  7906. type: number
  7907. othercreditdecrease:
  7908. description: 今日其它授信减少
  7909. type: number
  7910. othercreditincrease:
  7911. description: 今日其它授信增加
  7912. type: number
  7913. otherfreezemargin:
  7914. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7915. type: number
  7916. outamount:
  7917. description: 今日出金金额(包括三方出金)
  7918. type: number
  7919. outamountfreeze:
  7920. description: 出金冻结
  7921. type: number
  7922. outthreshold:
  7923. description: 出金阈值
  7924. type: number
  7925. parentaccountid:
  7926. description: 所属根账号
  7927. type: integer
  7928. paycharge:
  7929. description: 今日手续费支出
  7930. type: number
  7931. relateduserid:
  7932. description: 关联用户
  7933. type: integer
  7934. signstatus:
  7935. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7936. type: integer
  7937. sublevelpath:
  7938. description: 账号层级路径(逗号分隔,首尾加逗号)
  7939. type: string
  7940. taaccounttype:
  7941. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7942. type: integer
  7943. thirdinamount:
  7944. description: 今日三方入金
  7945. type: number
  7946. thirdoutamount:
  7947. description: 今日三方出金
  7948. type: number
  7949. tradestatus:
  7950. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7951. type: integer
  7952. transferamount:
  7953. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7954. type: number
  7955. usedmargin:
  7956. description: 占用保证金
  7957. type: number
  7958. userid:
  7959. description: 用户ID
  7960. type: integer
  7961. type: object
  7962. models.ErmcpTaAccountM:
  7963. properties:
  7964. accountid:
  7965. description: 账户id
  7966. type: integer
  7967. accountname:
  7968. description: 账户名称
  7969. type: string
  7970. currencyid:
  7971. description: 币种id
  7972. type: integer
  7973. fcid:
  7974. description: 期货公司id
  7975. type: integer
  7976. fcname:
  7977. description: 期货公司代码
  7978. type: string
  7979. hedgeaccountcode:
  7980. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7981. type: string
  7982. ismain:
  7983. description: 是否主账户 0-否 1-是
  7984. type: integer
  7985. parentaccountid:
  7986. description: 父账户id
  7987. type: integer
  7988. relateduserid:
  7989. description: 关联userid
  7990. type: integer
  7991. tradefeetmpid:
  7992. description: 手续费模板id
  7993. type: integer
  7994. tradefeetmpname:
  7995. description: 手续费模板名称
  7996. type: string
  7997. trademargintmpid:
  7998. description: 保证金模板id
  7999. type: integer
  8000. trademargintmpname:
  8001. description: 保证金模板名称
  8002. type: string
  8003. traderatetmpid:
  8004. description: 汇率模板id
  8005. type: integer
  8006. traderatetmpname:
  8007. description: 汇率模板名称
  8008. type: string
  8009. tradestatus:
  8010. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8011. type: integer
  8012. userid:
  8013. description: 用户id
  8014. type: integer
  8015. type: object
  8016. models.ErmcpTradeConfigTMP:
  8017. properties:
  8018. areauserid:
  8019. description: 所属机构
  8020. type: integer
  8021. basiccurrencyid:
  8022. description: 基本币种ID[汇率] - 目标币种
  8023. type: integer
  8024. mainaccountid:
  8025. description: 主账户ID
  8026. type: integer
  8027. modifierid:
  8028. description: 修改人
  8029. type: integer
  8030. remark:
  8031. description: 备注
  8032. type: string
  8033. tradeconfigtmpid:
  8034. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8035. type: integer
  8036. tradeconfigtmpname:
  8037. description: 交易配置模板名称
  8038. type: string
  8039. tradeconfigtmptype:
  8040. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8041. type: integer
  8042. updatetime:
  8043. description: 更新时间
  8044. type: string
  8045. type: object
  8046. models.Externalexchange:
  8047. properties:
  8048. autoid:
  8049. description: AutoID - SEQ_EXTERNALEXCHANGE
  8050. type: integer
  8051. exchangefullname:
  8052. description: 外部交易所全称
  8053. type: string
  8054. exexchangecode:
  8055. description: 外部交易所代码
  8056. type: string
  8057. exexchangename:
  8058. description: 外部交易所名称(简称)
  8059. type: string
  8060. ismarketprice:
  8061. description: 是否支持市价 - 0:不支持 1:支持
  8062. type: integer
  8063. quotegear:
  8064. description: 行情档位(1-10)
  8065. type: integer
  8066. showbrokerflag:
  8067. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8068. type: integer
  8069. updatetime:
  8070. description: 更新时间
  8071. type: string
  8072. required:
  8073. - autoid
  8074. type: object
  8075. models.Funcmenulist:
  8076. properties:
  8077. iconame:
  8078. description: 菜单图标
  8079. type: string
  8080. menutype:
  8081. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8082. type: integer
  8083. parentcode:
  8084. description: 上级资源代码
  8085. type: string
  8086. remark:
  8087. description: 备注
  8088. type: string
  8089. resourcecode:
  8090. description: 资源代码
  8091. type: string
  8092. resourcelevel:
  8093. description: 级别 1-一级 2-二级 3-三级 4-四级
  8094. type: integer
  8095. resourcename:
  8096. description: 资源名
  8097. type: string
  8098. sort:
  8099. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8100. type: integer
  8101. url:
  8102. description: URL
  8103. type: string
  8104. required:
  8105. - resourcecode
  8106. type: object
  8107. models.Goods:
  8108. properties:
  8109. agreeunit:
  8110. description: 合约单位
  8111. type: number
  8112. areauserid:
  8113. description: 所属机构
  8114. type: integer
  8115. auditaccountid:
  8116. description: 审核操作员账号
  8117. type: integer
  8118. audittime:
  8119. description: 审核时间
  8120. type: string
  8121. cancelaccountid:
  8122. description: 注销操作员账号
  8123. type: integer
  8124. canceltime:
  8125. description: 注销时间
  8126. type: string
  8127. closepricemode:
  8128. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8129. type: integer
  8130. closepriceparam:
  8131. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8132. type: number
  8133. createtime:
  8134. description: 创建时间
  8135. type: string
  8136. creatorid:
  8137. description: 创建人
  8138. type: integer
  8139. currencyid:
  8140. description: 报价货币ID
  8141. type: integer
  8142. cutmode:
  8143. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8144. type: integer
  8145. decimalplace:
  8146. description: 报价小数位
  8147. type: integer
  8148. delistingdate:
  8149. description: 商品退市时间(状态:退市) -- 已作废
  8150. type: string
  8151. delistingmode:
  8152. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8153. type: integer
  8154. deliveryflag:
  8155. description: 交割标志 - 0:不可交割 1:可交割
  8156. type: integer
  8157. forceclosemode:
  8158. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8159. type: integer
  8160. forceclosevalue:
  8161. description: 定期强平参数 [收益权]
  8162. type: integer
  8163. goodscode:
  8164. description: 商品代码(内部)
  8165. type: string
  8166. goodscurrencyid:
  8167. description: 合约货币ID
  8168. type: integer
  8169. goodsgroupid:
  8170. description: 所属商品组ID
  8171. type: integer
  8172. goodsid:
  8173. description: 商品ID(自增ID SEQ_GOODS)
  8174. type: integer
  8175. goodsname:
  8176. description: 商品名称
  8177. type: string
  8178. goodsquotetype:
  8179. description: '合约报价类型: 1-直接报价 2-间接报价'
  8180. type: integer
  8181. goodsstatus:
  8182. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8183. type: integer
  8184. goodstradetype:
  8185. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8186. type: integer
  8187. goodunitid:
  8188. description: 报价单位ID
  8189. type: integer
  8190. hasquoter:
  8191. description: 是否有报价商 - 0:无报价商 1:有报价商
  8192. type: integer
  8193. hqprotecttime:
  8194. description: 行情保护时间(秒)
  8195. type: integer
  8196. innerdealmode:
  8197. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8198. type: integer
  8199. isbuylimited:
  8200. description: 是否限制建仓量 - 0:不限制 1:限制
  8201. type: integer
  8202. isvisible:
  8203. description: 游客是否可见 - 0:不可见 1:可见
  8204. type: integer
  8205. lasttradedate:
  8206. description: 最后交易日期(状态:待退市)
  8207. type: string
  8208. listingdate:
  8209. description: 交易开始日期
  8210. type: string
  8211. marketid:
  8212. description: 所属市场ID
  8213. type: integer
  8214. modifierid:
  8215. description: 修改人
  8216. type: integer
  8217. modifystatus:
  8218. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8219. type: integer
  8220. modifytime:
  8221. description: 修改时间
  8222. type: string
  8223. outerdealmode:
  8224. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8225. type: integer
  8226. outgoodscode:
  8227. description: 商品代码(外部)
  8228. type: string
  8229. pictureurl:
  8230. description: 商品图片
  8231. type: string
  8232. qtydecimalplace:
  8233. description: 成交量小数位
  8234. type: integer
  8235. quotegear:
  8236. description: 行情档位(1-10)
  8237. type: integer
  8238. quoteminunit:
  8239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8240. type: integer
  8241. quoteshowtype:
  8242. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8243. type: integer
  8244. quoteshowtypeinterval:
  8245. description: 行情报价间隔时间(秒)(成交价时为0)
  8246. type: integer
  8247. remark:
  8248. description: 备注
  8249. type: string
  8250. required:
  8251. - goodscode
  8252. - goodsid
  8253. - goodsname
  8254. - marketid
  8255. type: object
  8256. models.GoodsIDAndName:
  8257. properties:
  8258. goodscode:
  8259. description: 商品代码(内部)
  8260. type: string
  8261. goodsid:
  8262. description: 商品ID(自增ID SEQ_GOODS)
  8263. type: integer
  8264. goodsname:
  8265. description: 商品名称
  8266. type: string
  8267. marketid:
  8268. description: 所属市场ID
  8269. type: integer
  8270. required:
  8271. - goodscode
  8272. - goodsid
  8273. - goodsname
  8274. - marketid
  8275. type: object
  8276. models.Goodsgroup:
  8277. properties:
  8278. agreeunit:
  8279. description: 合约单位
  8280. type: number
  8281. canshort:
  8282. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8283. type: integer
  8284. closepricemode:
  8285. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8286. type: integer
  8287. closepriceparam:
  8288. description: 强平最新价浮动比例 - 方式为2时使用
  8289. type: number
  8290. createtime:
  8291. description: 创建时间
  8292. type: string
  8293. creatorid:
  8294. description: 创建人
  8295. type: integer
  8296. currencyid:
  8297. description: 报价货币ID
  8298. type: integer
  8299. decimalplace:
  8300. description: 报价小数位
  8301. type: integer
  8302. exercisetype:
  8303. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8304. type: integer
  8305. exexchangeid:
  8306. description: 外部交易所ID[通道交易]
  8307. type: integer
  8308. goodsgroupid:
  8309. description: 商品组ID(自增ID)
  8310. type: integer
  8311. goodsgroupname:
  8312. description: 商品组名称
  8313. type: string
  8314. goodsgroupstatus:
  8315. description: 商品组状态 - 1:正常 2:注销
  8316. type: integer
  8317. goodunitid:
  8318. description: 报价单位ID
  8319. type: integer
  8320. innerdealmode:
  8321. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8322. type: integer
  8323. isbuylimited:
  8324. description: 是否限制建仓量 - 0:不限制 1:限制
  8325. type: integer
  8326. marketid:
  8327. description: 所属市场ID
  8328. type: integer
  8329. modifierid:
  8330. description: 修改人
  8331. type: integer
  8332. modifytime:
  8333. description: 修改时间
  8334. type: string
  8335. outerdealmode:
  8336. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8337. type: integer
  8338. outergroupcode:
  8339. description: 外部商品组代码[通道交易]
  8340. type: string
  8341. premiumdecimalplace:
  8342. description: 权利金小数位[场外期权]
  8343. type: integer
  8344. premiumspreadalgorithm:
  8345. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8346. type: integer
  8347. premiumspreadvalue:
  8348. description: 权利金点差值[场外期权]
  8349. type: number
  8350. qtydecimalplace:
  8351. description: 成交量小数位
  8352. type: integer
  8353. quotegear:
  8354. description: 行情档位(1-10)
  8355. type: integer
  8356. quoteminunit:
  8357. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8358. type: integer
  8359. quoterid:
  8360. description: 报价商ID[场外期权]
  8361. type: integer
  8362. quotesourcegroupid:
  8363. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8364. type: integer
  8365. syncgoodsqty:
  8366. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8367. type: integer
  8368. required:
  8369. - goodsgroupid
  8370. - goodsgroupname
  8371. - goodsgroupstatus
  8372. - marketid
  8373. type: object
  8374. models.Goodssortbypreposition:
  8375. properties:
  8376. goodscode:
  8377. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8378. type: string
  8379. goodsgroupcode:
  8380. description: 品种代码
  8381. type: string
  8382. prepositionqty:
  8383. description: 昨持仓量
  8384. type: integer
  8385. sortindex:
  8386. description: 排序
  8387. type: integer
  8388. tradedate:
  8389. description: 交易日
  8390. type: string
  8391. updatetime:
  8392. description: 更新时间
  8393. type: string
  8394. required:
  8395. - goodscode
  8396. - tradedate
  8397. type: object
  8398. models.Hedgeinnerholderdetail:
  8399. properties:
  8400. accountid:
  8401. description: 账号ID
  8402. type: integer
  8403. buyorsell:
  8404. description: 方向 - 0:买 1:卖
  8405. type: integer
  8406. freezeqty:
  8407. description: 冻结数量 - 按单平使用
  8408. type: integer
  8409. goodsid:
  8410. description: 商品ID
  8411. type: integer
  8412. holderamount:
  8413. description: 持仓金额 [商品币种]
  8414. type: number
  8415. holderdays:
  8416. description: 剩余冻结天数
  8417. type: integer
  8418. holderprice:
  8419. description: 持仓价格
  8420. type: number
  8421. holderqty:
  8422. description: 持仓数量
  8423. type: integer
  8424. marketid:
  8425. description: 市场ID
  8426. type: integer
  8427. openprice:
  8428. description: 建仓价格
  8429. type: number
  8430. openqty:
  8431. description: 建仓数量
  8432. type: integer
  8433. parentaccountid:
  8434. description: 所属母账户
  8435. type: integer
  8436. releaseamount:
  8437. description: 释放持仓金额[商品币种]
  8438. type: number
  8439. tradeamount:
  8440. description: 成交金额[账户]
  8441. type: number
  8442. tradedate:
  8443. description: 交易日(yyyyMMdd)
  8444. type: string
  8445. tradeid:
  8446. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8447. type: string
  8448. tradetime:
  8449. description: 交易时间
  8450. type: string
  8451. required:
  8452. - buyorsell
  8453. - tradeid
  8454. type: object
  8455. models.Hedgemarketopenlog:
  8456. properties:
  8457. accountid:
  8458. description: 资金账号[外部母账户]
  8459. type: integer
  8460. fcname:
  8461. description: 期货公司名称
  8462. type: string
  8463. handlestatus:
  8464. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8465. type: integer
  8466. marketid:
  8467. description: 市场ID
  8468. type: integer
  8469. status:
  8470. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8471. type: integer
  8472. tradedate:
  8473. description: 交易日(yyyyMMdd)
  8474. type: string
  8475. updatetime:
  8476. description: 更新时间
  8477. type: string
  8478. required:
  8479. - accountid
  8480. type: object
  8481. models.HsbyBuyMyPayOrder:
  8482. properties:
  8483. agreeunit:
  8484. description: 合约单位
  8485. type: number
  8486. buyaccountid:
  8487. description: 买方账号ID[报价币种]
  8488. type: integer
  8489. buyorderid:
  8490. description: 买方委托单号
  8491. type: string
  8492. createtime:
  8493. description: 创建时间
  8494. type: string
  8495. currencysign:
  8496. description: 货币符号
  8497. type: string
  8498. decimalplace:
  8499. description: 报价小数位
  8500. type: integer
  8501. goodscode:
  8502. description: 商品代码(内部)
  8503. type: string
  8504. goodsid:
  8505. description: 商品ID
  8506. type: integer
  8507. goodsname:
  8508. description: 商品名称
  8509. type: string
  8510. marketid:
  8511. description: 市场ID
  8512. type: integer
  8513. offamount:
  8514. description: 优惠金额
  8515. type: number
  8516. originalamount:
  8517. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8518. type: number
  8519. payamount:
  8520. description: 支付金额 = TradeAmount + TradeCharge
  8521. type: number
  8522. payflag:
  8523. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8524. type: integer
  8525. paylimitedtime:
  8526. description: 支付期限
  8527. type: string
  8528. paytime:
  8529. description: 付款时间
  8530. type: string
  8531. picurls1:
  8532. description: 预售商品介绍图片[多张用逗号分隔]
  8533. type: string
  8534. picurls2:
  8535. description: 挂牌商品介绍图片[多张用逗号分隔]
  8536. type: string
  8537. sellaccountid:
  8538. description: 卖方账号ID[报价币种]
  8539. type: integer
  8540. sellorderid:
  8541. description: 卖方委托单号
  8542. type: string
  8543. tradeamount:
  8544. description: 成交金额
  8545. type: number
  8546. tradecharge:
  8547. description: 成交手续费(买方)
  8548. type: number
  8549. tradedate:
  8550. description: 交易日(yyyyMMdd)
  8551. type: string
  8552. tradeid:
  8553. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8554. type: string
  8555. trademode:
  8556. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8557. type: integer
  8558. tradeprice:
  8559. description: 成交价格
  8560. type: number
  8561. tradeqty:
  8562. description: 成交数量
  8563. type: integer
  8564. vendorname1:
  8565. description: 预售商品供应商名称
  8566. type: string
  8567. vendorname2:
  8568. description: 挂牌商品供应商名称
  8569. type: string
  8570. required:
  8571. - goodscode
  8572. - goodsname
  8573. - tradeid
  8574. - trademode
  8575. type: object
  8576. models.HsbyBuyMyTradeDetail:
  8577. properties:
  8578. accountid:
  8579. description: 账户ID[报价币种]
  8580. type: integer
  8581. agreeunit:
  8582. description: 合约单位
  8583. type: number
  8584. amount:
  8585. description: 金额 = 价格 * 数量 * 合约单位
  8586. type: number
  8587. buyorsell:
  8588. description: 买卖 - 0:买 1:卖
  8589. type: integer
  8590. currencysign:
  8591. description: 货币符号
  8592. type: string
  8593. decimalplace:
  8594. description: 报价小数位
  8595. type: integer
  8596. goodscode:
  8597. description: 商品代码(内部)
  8598. type: string
  8599. goodsid:
  8600. description: 商品ID
  8601. type: integer
  8602. goodsname:
  8603. description: 商品名称
  8604. type: string
  8605. marketid:
  8606. description: 市场ID
  8607. type: integer
  8608. orderamount:
  8609. description: 委托金额
  8610. type: number
  8611. orderid:
  8612. description: 单号(成交单号)
  8613. type: string
  8614. picurls1:
  8615. description: 预售商品介绍图片[多张用逗号分隔]
  8616. type: string
  8617. picurls2:
  8618. description: 挂牌商品介绍图片[多张用逗号分隔]
  8619. type: string
  8620. price:
  8621. description: 价格
  8622. type: number
  8623. qty:
  8624. description: 数量
  8625. type: integer
  8626. time:
  8627. description: 时间
  8628. type: string
  8629. trademode:
  8630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8631. type: integer
  8632. vendorname1:
  8633. description: 预售商品供应商名称
  8634. type: string
  8635. vendorname2:
  8636. description: 挂牌商品供应商名称
  8637. type: string
  8638. required:
  8639. - accountid
  8640. - buyorsell
  8641. - goodscode
  8642. - goodsid
  8643. - goodsname
  8644. - marketid
  8645. - orderid
  8646. - qty
  8647. - time
  8648. - trademode
  8649. type: object
  8650. models.HsbyGoodsOrderDetail:
  8651. properties:
  8652. buyorsell:
  8653. description: 买卖 - 0:买 1:卖
  8654. type: integer
  8655. currencysign:
  8656. description: 货币符号
  8657. type: string
  8658. customername:
  8659. description: 客户名称(企业名称),已脱敏
  8660. type: string
  8661. enableqty:
  8662. description: 可用数量
  8663. type: integer
  8664. goodunit:
  8665. description: 报价单位
  8666. type: string
  8667. orderid:
  8668. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8669. type: string
  8670. orderprice:
  8671. description: 委托价格
  8672. type: number
  8673. ordertime:
  8674. description: 委托时间
  8675. type: string
  8676. required:
  8677. - buyorsell
  8678. - orderid
  8679. - ordertime
  8680. type: object
  8681. models.HsbyListingGoodsDetail:
  8682. properties:
  8683. agreeunit:
  8684. description: 合约单位
  8685. type: number
  8686. buymaxqty:
  8687. description: 购买上限 [71] - 0为不限
  8688. type: integer
  8689. currency:
  8690. description: 货币
  8691. type: string
  8692. currencysign:
  8693. description: 货币符号
  8694. type: string
  8695. decimalplace:
  8696. description: 报价小数位
  8697. type: integer
  8698. desccityid:
  8699. description: 目的地(市)ID
  8700. type: integer
  8701. descprovinceid:
  8702. description: 目的地(省)ID
  8703. type: integer
  8704. goodscode:
  8705. description: 商品代码(内部)
  8706. type: string
  8707. goodsdesc:
  8708. description: 商品详情
  8709. type: string
  8710. goodsid:
  8711. description: 商品ID(自增ID SEQ_GOODS)
  8712. type: integer
  8713. goodsname:
  8714. description: 商品名称
  8715. type: string
  8716. goodsprice:
  8717. description: 商品价格
  8718. type: number
  8719. hotindex:
  8720. description: 景点热度
  8721. type: integer
  8722. last:
  8723. description: 现价
  8724. type: number
  8725. limitdown:
  8726. description: 跌停价
  8727. type: number
  8728. limitup:
  8729. description: 涨停价
  8730. type: number
  8731. lotsize:
  8732. description: 手数最小变动单位
  8733. type: integer
  8734. marketid:
  8735. description: 所属市场ID
  8736. type: integer
  8737. picurls:
  8738. description: 介绍图片[多张用逗号分隔]
  8739. type: string
  8740. quoteminunit:
  8741. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8742. type: integer
  8743. stepvalue:
  8744. description: 价格最小变动单位
  8745. type: number
  8746. trademode:
  8747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8748. type: integer
  8749. vendorattr:
  8750. description: 供应商附件(多张,逗号分隔)
  8751. type: string
  8752. vendorname:
  8753. description: 供应商名称
  8754. type: string
  8755. vendorphone:
  8756. description: 供应商客服电话
  8757. type: string
  8758. videourls:
  8759. description: 介绍视频[多张用逗号分隔]
  8760. type: string
  8761. required:
  8762. - goodscode
  8763. - goodsid
  8764. - goodsname
  8765. - marketid
  8766. - trademode
  8767. type: object
  8768. models.HsbyMarketGoods:
  8769. properties:
  8770. accountid:
  8771. description: 账户ID[报价币种]
  8772. type: integer
  8773. agreeunit:
  8774. description: 合约单位
  8775. type: number
  8776. buyorsell:
  8777. description: 买卖 - 0:买 1:卖
  8778. type: integer
  8779. categoryid:
  8780. description: 类别ID(WRCATEGORY)
  8781. type: integer
  8782. currency:
  8783. description: 货币
  8784. type: string
  8785. currencysign:
  8786. description: 货币符号
  8787. type: string
  8788. customername:
  8789. description: 卖家名称
  8790. type: string
  8791. decimalplace:
  8792. description: 报价小数位
  8793. type: integer
  8794. goodscode:
  8795. description: 商品代码(内部)
  8796. type: string
  8797. goodsid:
  8798. description: 商品ID
  8799. type: integer
  8800. goodsname:
  8801. description: 商品名称
  8802. type: string
  8803. goodsprice:
  8804. description: 商品价格
  8805. type: number
  8806. hascoupon:
  8807. description: 是否可用优惠卷
  8808. type: boolean
  8809. hotindex:
  8810. description: 景点热度
  8811. type: integer
  8812. marketid:
  8813. description: 市场ID
  8814. type: integer
  8815. orderid:
  8816. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8817. type: string
  8818. orderprice:
  8819. description: 委托价格
  8820. type: number
  8821. orderstatus:
  8822. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8823. type: integer
  8824. picurls:
  8825. description: 介绍图片[多张用逗号分隔]
  8826. type: string
  8827. quoteminunit:
  8828. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8829. type: integer
  8830. sellUserID:
  8831. description: 卖方UserID
  8832. type: integer
  8833. trademode:
  8834. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8835. type: integer
  8836. videourls:
  8837. description: 介绍视频[多张用逗号分隔]
  8838. type: string
  8839. required:
  8840. - accountid
  8841. - buyorsell
  8842. - goodscode
  8843. - goodsid
  8844. - goodsname
  8845. - marketid
  8846. - orderid
  8847. - trademode
  8848. type: object
  8849. models.HsbyMarketGoodsDetail:
  8850. properties:
  8851. accountid:
  8852. description: 账户ID[报价币种]
  8853. type: integer
  8854. agreeunit:
  8855. description: 合约单位
  8856. type: number
  8857. buymaxqty:
  8858. description: 购买上限 [71] - 0为不限
  8859. type: integer
  8860. buyorsell:
  8861. description: 买卖 - 0:买 1:卖
  8862. type: integer
  8863. cancelqty:
  8864. description: 撤单数量
  8865. type: integer
  8866. categoryid:
  8867. description: 类别ID(WRCATEGORY)
  8868. type: integer
  8869. currency:
  8870. description: 货币
  8871. type: string
  8872. currencysign:
  8873. description: 货币符号
  8874. type: string
  8875. customername:
  8876. description: 卖家名称
  8877. type: string
  8878. decimalplace:
  8879. description: 报价小数位
  8880. type: integer
  8881. goodscode:
  8882. description: 商品代码(内部)
  8883. type: string
  8884. goodsdesc:
  8885. description: 商品详情
  8886. type: string
  8887. goodsid:
  8888. description: 商品ID
  8889. type: integer
  8890. goodsname:
  8891. description: 商品名称
  8892. type: string
  8893. goodsprice:
  8894. description: 商品价格
  8895. type: number
  8896. hotindex:
  8897. description: 景点热度
  8898. type: integer
  8899. lotsize:
  8900. description: 手数最小变动单位
  8901. type: integer
  8902. marketid:
  8903. description: 市场ID
  8904. type: integer
  8905. orderid:
  8906. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8907. type: string
  8908. orderprice:
  8909. description: 委托价格
  8910. type: number
  8911. orderqty:
  8912. description: 委托数量
  8913. type: integer
  8914. orderstatus:
  8915. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8916. type: integer
  8917. picurls:
  8918. description: 介绍图片[多张用逗号分隔]
  8919. type: string
  8920. quoteminunit:
  8921. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8922. type: integer
  8923. sellUserID:
  8924. description: 卖方UserID
  8925. type: integer
  8926. trademode:
  8927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8928. type: integer
  8929. tradeqty:
  8930. description: 成交数量
  8931. type: integer
  8932. vendorattr:
  8933. description: 供应商附件(多张,逗号分隔)
  8934. type: string
  8935. vendorname:
  8936. description: 供应商名称
  8937. type: string
  8938. vendorphone:
  8939. description: 供应商客服电话
  8940. type: string
  8941. videourls:
  8942. description: 介绍视频[多张用逗号分隔]
  8943. type: string
  8944. required:
  8945. - accountid
  8946. - buyorsell
  8947. - goodscode
  8948. - goodsid
  8949. - goodsname
  8950. - marketid
  8951. - orderid
  8952. - orderqty
  8953. - trademode
  8954. type: object
  8955. models.HsbyMarketInfo:
  8956. properties:
  8957. marketid:
  8958. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8959. type: integer
  8960. marketname:
  8961. description: 市场名称
  8962. type: string
  8963. marketstatus:
  8964. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8965. type: integer
  8966. trademode:
  8967. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8968. type: integer
  8969. required:
  8970. - marketid
  8971. - marketstatus
  8972. - trademode
  8973. type: object
  8974. models.HsbyMyGoods:
  8975. properties:
  8976. accountid:
  8977. description: 账号Id
  8978. type: integer
  8979. agreeunit:
  8980. description: 合约单位
  8981. type: number
  8982. buyaverageprice:
  8983. description: 持仓均价
  8984. type: number
  8985. buycurholderamount:
  8986. description: 买当前持仓总金额[商品币种]
  8987. type: number
  8988. buycurpositionqty:
  8989. description: 买当前持仓总数量
  8990. type: integer
  8991. buymaxqty:
  8992. description: 购买上限 [71] - 0为不限
  8993. type: integer
  8994. currencysign:
  8995. description: 货币符号
  8996. type: string
  8997. decimalplace:
  8998. description: 报价小数位
  8999. type: integer
  9000. enableqty:
  9001. description: 可用数量
  9002. type: integer
  9003. goodscode:
  9004. description: 商品代码(内部)
  9005. type: string
  9006. goodsid:
  9007. description: 商品Id
  9008. type: integer
  9009. goodsname:
  9010. description: 商品名称
  9011. type: string
  9012. goodsprice:
  9013. description: 商品价格
  9014. type: number
  9015. goodsstatus:
  9016. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9017. type: integer
  9018. last:
  9019. description: 现价(仅使用于挂牌点选)
  9020. type: number
  9021. limitdown:
  9022. description: 跌停价(仅使用于挂牌点选)
  9023. type: number
  9024. limitup:
  9025. description: 涨停价(仅使用于挂牌点选)
  9026. type: number
  9027. lotsize:
  9028. description: 手数最小变动单位
  9029. type: integer
  9030. marketid:
  9031. description: 所属市场ID
  9032. type: integer
  9033. picurls:
  9034. description: 介绍图片[多张用逗号分隔]
  9035. type: string
  9036. quoteminunit:
  9037. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9038. type: integer
  9039. stepvalue:
  9040. description: 价格最小变动单位
  9041. type: number
  9042. trademode:
  9043. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9044. type: integer
  9045. required:
  9046. - accountid
  9047. - goodscode
  9048. - goodsid
  9049. - goodsname
  9050. - marketid
  9051. - trademode
  9052. type: object
  9053. models.HsbyMyPackage:
  9054. properties:
  9055. accountid:
  9056. description: 账户ID
  9057. type: integer
  9058. address:
  9059. description: 提货人详细地址
  9060. type: string
  9061. agreeunit:
  9062. description: 合约单位
  9063. type: number
  9064. amount:
  9065. description: 提货金额
  9066. type: number
  9067. auditer:
  9068. description: 审核人
  9069. type: integer
  9070. audittime:
  9071. description: 审核时间
  9072. type: string
  9073. averageprice:
  9074. description: 均价
  9075. type: number
  9076. cardnum:
  9077. description: 提货人证件号码
  9078. type: string
  9079. cardtypeid:
  9080. description: 提货人证件类型
  9081. type: integer
  9082. checkremark:
  9083. description: 审核备注
  9084. type: string
  9085. currencysign:
  9086. description: 货币符号
  9087. type: string
  9088. decimalplace:
  9089. description: 报价小数位
  9090. type: integer
  9091. goodscode:
  9092. description: 商品代码(内部)
  9093. type: string
  9094. goodsid:
  9095. description: 商品ID
  9096. type: integer
  9097. goodsname:
  9098. description: 商品名称
  9099. type: string
  9100. handlestatus:
  9101. description: 处理状态
  9102. type: integer
  9103. marketid:
  9104. description: 市场ID
  9105. type: integer
  9106. phonenum:
  9107. description: 提货人联系方式
  9108. type: string
  9109. picurls:
  9110. description: 介绍图片[多张用逗号分隔]
  9111. type: string
  9112. qty:
  9113. description: 提货数量
  9114. type: number
  9115. recivername:
  9116. description: 提货人姓名
  9117. type: string
  9118. reqtime:
  9119. description: 更新时间
  9120. type: string
  9121. takemode:
  9122. description: 提货方式 - 2:自提 3:配送
  9123. type: integer
  9124. takeorderid:
  9125. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9126. type: string
  9127. takeorderstatus:
  9128. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9129. type: integer
  9130. takeremark:
  9131. description: 提货备注
  9132. type: string
  9133. tradedate:
  9134. description: 交易日(yyyyMMdd)
  9135. type: string
  9136. trademode:
  9137. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9138. type: integer
  9139. userid:
  9140. description: 用户ID
  9141. type: integer
  9142. vendorname:
  9143. description: 供应商名称
  9144. type: string
  9145. required:
  9146. - goodscode
  9147. - goodsname
  9148. - takeorderid
  9149. - trademode
  9150. type: object
  9151. models.HsbyPreGoods:
  9152. properties:
  9153. agreeunit:
  9154. description: 合约单位
  9155. type: number
  9156. currency:
  9157. description: 货币
  9158. type: string
  9159. currencysign:
  9160. description: 货币符号
  9161. type: string
  9162. decimalplace:
  9163. description: 报价小数位
  9164. type: integer
  9165. desccityid:
  9166. description: 目的地(市)
  9167. type: integer
  9168. descprovinceid:
  9169. description: 目的地(省)
  9170. type: integer
  9171. enableqty:
  9172. description: 剩余数量
  9173. type: integer
  9174. goodscode:
  9175. description: 商品代码(内部)
  9176. type: string
  9177. goodsid:
  9178. description: 商品ID(自增ID SEQ_GOODS)
  9179. type: integer
  9180. goodsname:
  9181. description: 商品名称
  9182. type: string
  9183. goodsstatus:
  9184. description: 商品状态- 2:未上市 3:上市
  9185. type: integer
  9186. lasttradedate:
  9187. description: 最后交易日期(状态:待退市)
  9188. type: string
  9189. listingdate:
  9190. description: 交易开始日期
  9191. type: string
  9192. marketid:
  9193. description: 所属市场ID
  9194. type: integer
  9195. picurls:
  9196. description: 介绍图片[多张用逗号分隔]
  9197. type: string
  9198. presaledqty:
  9199. description: 已预售量(预售结束时更新)
  9200. type: integer
  9201. presaleqty:
  9202. description: 预售数量
  9203. type: integer
  9204. quoteminunit:
  9205. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9206. type: integer
  9207. refprice:
  9208. description: 参考价格[一口价]
  9209. type: number
  9210. relatedgoodsid:
  9211. description: 关联交易合约ID
  9212. type: integer
  9213. trademode:
  9214. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9215. type: integer
  9216. videourls:
  9217. description: 介绍视频[多张用逗号分隔]
  9218. type: string
  9219. required:
  9220. - goodscode
  9221. - goodsid
  9222. - goodsname
  9223. - marketid
  9224. - trademode
  9225. type: object
  9226. models.HsbyPreGoodsDetail:
  9227. properties:
  9228. agreeunit:
  9229. description: 合约单位
  9230. type: number
  9231. buymaxqty:
  9232. description: 购买上限 [71] - 0为不限
  9233. type: integer
  9234. currency:
  9235. description: 货币
  9236. type: string
  9237. currencysign:
  9238. description: 货币符号
  9239. type: string
  9240. customername:
  9241. description: 发行单位
  9242. type: string
  9243. decimalplace:
  9244. description: 报价小数位
  9245. type: integer
  9246. desccityid:
  9247. description: 目的地(市)ID
  9248. type: integer
  9249. descprovinceid:
  9250. description: 目的地(省)ID
  9251. type: integer
  9252. enableqty:
  9253. description: 剩余数量
  9254. type: integer
  9255. goodscode:
  9256. description: 商品代码(内部)
  9257. type: string
  9258. goodsdesc:
  9259. description: 商品详情
  9260. type: string
  9261. goodsid:
  9262. description: 商品ID(自增ID SEQ_GOODS)
  9263. type: integer
  9264. goodsname:
  9265. description: 商品名称
  9266. type: string
  9267. goodsstatus:
  9268. description: 商品状态- 2:未上市 3:上市
  9269. type: integer
  9270. goodunit:
  9271. description: 报价单位
  9272. type: string
  9273. lasttradedate:
  9274. description: 最后交易日期(状态:待退市)
  9275. type: string
  9276. listingdate:
  9277. description: 交易开始日期
  9278. type: string
  9279. lotsize:
  9280. description: 手数最小变动单位
  9281. type: integer
  9282. marketid:
  9283. description: 所属市场ID
  9284. type: integer
  9285. picurls:
  9286. description: 介绍图片[多张用逗号分隔]
  9287. type: string
  9288. presaledqty:
  9289. description: 已预售量(预售结束时更新)
  9290. type: integer
  9291. presaleqty:
  9292. description: 预售数量
  9293. type: integer
  9294. quoteminunit:
  9295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9296. type: integer
  9297. refprice:
  9298. description: 参考价格[一口价]
  9299. type: number
  9300. relatedgoodsid:
  9301. description: 关联交易合约ID
  9302. type: integer
  9303. stepvalue:
  9304. description: 价格最小变动单位
  9305. type: number
  9306. trademode:
  9307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9308. type: integer
  9309. vendorattr:
  9310. description: 供应商附件(多张,逗号分隔)
  9311. type: string
  9312. vendorname:
  9313. description: 供应商名称
  9314. type: string
  9315. vendorphone:
  9316. description: 供应商客服电话
  9317. type: string
  9318. videourls:
  9319. description: 介绍视频[多张用逗号分隔]
  9320. type: string
  9321. required:
  9322. - goodscode
  9323. - goodsid
  9324. - goodsname
  9325. - marketid
  9326. - trademode
  9327. type: object
  9328. models.HsbySellCollectionOrder:
  9329. properties:
  9330. agreeunit:
  9331. description: 合约单位
  9332. type: number
  9333. buyaccountid:
  9334. description: 买方账号ID[报价币种]
  9335. type: integer
  9336. buyorderid:
  9337. description: 买方委托单号
  9338. type: string
  9339. createtime:
  9340. description: 创建时间
  9341. type: string
  9342. currencysign:
  9343. description: 货币符号
  9344. type: string
  9345. decimalplace:
  9346. description: 报价小数位
  9347. type: integer
  9348. goodscode:
  9349. description: 商品代码(内部)
  9350. type: string
  9351. goodsid:
  9352. description: 商品ID
  9353. type: integer
  9354. goodsname:
  9355. description: 商品名称
  9356. type: string
  9357. marketid:
  9358. description: 市场ID
  9359. type: integer
  9360. offamount:
  9361. description: 优惠金额
  9362. type: number
  9363. payamount:
  9364. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9365. type: number
  9366. payflag:
  9367. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9368. type: integer
  9369. paylimitedtime:
  9370. description: 支付期限
  9371. type: string
  9372. paytime:
  9373. description: 付款时间
  9374. type: string
  9375. picurls:
  9376. description: 商品介绍图片[多张用逗号分隔]
  9377. type: string
  9378. sellaccountid:
  9379. description: 卖方账号ID[报价币种]
  9380. type: integer
  9381. sellorderid:
  9382. description: 卖方委托单号
  9383. type: string
  9384. tradeamount:
  9385. description: 成交金额
  9386. type: number
  9387. tradecharge:
  9388. description: 成交手续费(买方)
  9389. type: number
  9390. tradedate:
  9391. description: 交易日(yyyyMMdd)
  9392. type: string
  9393. tradeid:
  9394. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9395. type: string
  9396. trademode:
  9397. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9398. type: integer
  9399. tradeprice:
  9400. description: 成交价格
  9401. type: number
  9402. tradeqty:
  9403. description: 成交数量
  9404. type: integer
  9405. required:
  9406. - goodscode
  9407. - goodsname
  9408. - tradeid
  9409. - trademode
  9410. type: object
  9411. models.HsbySellMyDetail:
  9412. properties:
  9413. accountid:
  9414. description: 账户ID[报价币种]
  9415. type: integer
  9416. agreeunit:
  9417. description: 合约单位
  9418. type: number
  9419. buyorsell:
  9420. description: 买卖 - 0:买 1:卖
  9421. type: integer
  9422. currencysign:
  9423. description: 货币符号
  9424. type: string
  9425. decimalplace:
  9426. description: 报价小数位
  9427. type: integer
  9428. goodscode:
  9429. description: 商品代码(内部)
  9430. type: string
  9431. goodsid:
  9432. description: 商品ID
  9433. type: integer
  9434. goodsname:
  9435. description: 商品名称
  9436. type: string
  9437. marketid:
  9438. description: 市场ID
  9439. type: integer
  9440. orderid:
  9441. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9442. type: string
  9443. ordertype:
  9444. description: 单据类型:0 - 发布中, 1 - 已完成
  9445. type: integer
  9446. picurls:
  9447. description: 介绍图片[多张用逗号分隔]
  9448. type: string
  9449. price:
  9450. description: 价格
  9451. type: number
  9452. qty:
  9453. description: 数量
  9454. type: integer
  9455. time:
  9456. description: 时间
  9457. type: string
  9458. trademode:
  9459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9460. type: integer
  9461. vendorname:
  9462. description: 供应商名称
  9463. type: string
  9464. required:
  9465. - accountid
  9466. - buyorsell
  9467. - goodscode
  9468. - goodsid
  9469. - goodsname
  9470. - marketid
  9471. - orderid
  9472. - time
  9473. - trademode
  9474. type: object
  9475. models.HsbyTopGoods:
  9476. properties:
  9477. agreeunit:
  9478. description: 合约单位
  9479. type: number
  9480. currency:
  9481. description: 货币
  9482. type: string
  9483. currencysign:
  9484. description: 货币符号
  9485. type: string
  9486. decimalplace:
  9487. description: 报价小数位
  9488. type: integer
  9489. desccityid:
  9490. description: 目的地(市)
  9491. type: integer
  9492. descprovinceid:
  9493. description: 目的地(省)
  9494. type: integer
  9495. goodscode:
  9496. description: 商品代码(内部)
  9497. type: string
  9498. goodsid:
  9499. description: 商品ID(自增ID SEQ_GOODS)
  9500. type: integer
  9501. goodsname:
  9502. description: 商品名称
  9503. type: string
  9504. hotindex:
  9505. description: 景点热度
  9506. type: integer
  9507. last:
  9508. description: 现价
  9509. type: number
  9510. marketid:
  9511. description: 所属市场ID
  9512. type: integer
  9513. picurls:
  9514. description: 介绍图片[多张用逗号分隔]
  9515. type: string
  9516. quoteminunit:
  9517. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9518. type: integer
  9519. trademode:
  9520. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9521. type: integer
  9522. videourls:
  9523. description: 介绍视频[多张用逗号分隔]
  9524. type: string
  9525. required:
  9526. - goodscode
  9527. - goodsid
  9528. - goodsname
  9529. - marketid
  9530. - trademode
  9531. type: object
  9532. models.HybsMyBuyOrderDetail:
  9533. properties:
  9534. accountid:
  9535. description: 账户ID[报价币种]
  9536. type: integer
  9537. agreeunit:
  9538. description: 合约单位
  9539. type: number
  9540. buyorsell:
  9541. description: 买卖 - 0:买 1:卖
  9542. type: integer
  9543. cancelqty:
  9544. description: 撤单数量
  9545. type: integer
  9546. currencysign:
  9547. description: 货币符号
  9548. type: string
  9549. decimalplace:
  9550. description: 报价小数位
  9551. type: integer
  9552. goodscode:
  9553. description: 商品代码(内部)
  9554. type: string
  9555. goodsid:
  9556. description: 商品ID
  9557. type: integer
  9558. goodsname:
  9559. description: 商品名称
  9560. type: string
  9561. listingselecttype:
  9562. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9563. type: integer
  9564. marketid:
  9565. description: 市场ID
  9566. type: integer
  9567. mybuystatus:
  9568. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9569. type: integer
  9570. orderamount:
  9571. description: 委托金额
  9572. type: number
  9573. orderid:
  9574. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9575. type: string
  9576. orderprice:
  9577. description: 委托价格
  9578. type: number
  9579. orderqty:
  9580. description: 委托数量
  9581. type: integer
  9582. orderstatus:
  9583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9584. type: integer
  9585. ordertime:
  9586. description: 委托时间
  9587. type: string
  9588. picurls1:
  9589. description: 预售商品介绍图片[多张用逗号分隔]
  9590. type: string
  9591. picurls2:
  9592. description: 挂牌商品介绍图片[多张用逗号分隔]
  9593. type: string
  9594. trademode:
  9595. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9596. type: integer
  9597. tradeqty:
  9598. description: 成交数量
  9599. type: integer
  9600. vendorname1:
  9601. description: 预售商品供应商名称
  9602. type: string
  9603. vendorname2:
  9604. description: 挂牌商品供应商名称
  9605. type: string
  9606. required:
  9607. - accountid
  9608. - buyorsell
  9609. - goodscode
  9610. - goodsid
  9611. - goodsname
  9612. - marketid
  9613. - orderid
  9614. - orderqty
  9615. - ordertime
  9616. - trademode
  9617. type: object
  9618. models.Loginaccount:
  9619. properties:
  9620. accountname:
  9621. description: 账户名称
  9622. type: string
  9623. canoutin:
  9624. description: 是否可出入金 - 0:不可 1:可
  9625. type: integer
  9626. clientroleid:
  9627. description: 终端角色ID
  9628. type: integer
  9629. haslogined:
  9630. description: 是否已登录 - 0:未登录 1:已登录
  9631. type: integer
  9632. hasupdatedpwd:
  9633. description: 是否已更改密码 - 0:未修改 1:已修改
  9634. type: integer
  9635. lastloginip:
  9636. description: 最新登录地址
  9637. type: string
  9638. lastloginmode:
  9639. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9640. type: integer
  9641. lastloginremark:
  9642. description: 最新登录描述
  9643. type: string
  9644. lastlogintime:
  9645. description: 最新登录时间
  9646. type: string
  9647. logincode:
  9648. description: 登录代码
  9649. type: string
  9650. loginfailnum:
  9651. description: 连续登录失败次数(登录成功时清零)
  9652. type: integer
  9653. loginid:
  9654. description: 登陆账号
  9655. type: integer
  9656. loginport:
  9657. description: 最新登录端口
  9658. type: integer
  9659. loginstatus:
  9660. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9661. type: integer
  9662. loginusertype:
  9663. description: 登录账号类型 - 1:投资者 2:机构交易员
  9664. type: integer
  9665. mobile:
  9666. description: 手机号码(加密存储)
  9667. type: string
  9668. modifierid:
  9669. description: 修改人
  9670. type: integer
  9671. modifysrc:
  9672. description: 审核来源 - 1:管理端 2:终端
  9673. type: integer
  9674. modifytime:
  9675. description: 修改时间
  9676. type: string
  9677. password:
  9678. description: 登陆密码
  9679. type: string
  9680. pwdwrongcount:
  9681. description: 密码错误次数
  9682. type: integer
  9683. relateduserid:
  9684. description: 关联用户ID(机构)
  9685. type: integer
  9686. taaccountrighttype:
  9687. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9688. type: integer
  9689. unfreezetime:
  9690. description: 账户解冻时间
  9691. type: string
  9692. userid:
  9693. description: 用户ID
  9694. type: integer
  9695. required:
  9696. - loginid
  9697. type: object
  9698. models.MainAccountInfo:
  9699. properties:
  9700. accountid:
  9701. description: 账号id
  9702. type: integer
  9703. accountname:
  9704. description: 账号名称(taaccount表中的名称)
  9705. type: string
  9706. appid:
  9707. description: AppID
  9708. type: string
  9709. authcode:
  9710. description: 授权码
  9711. type: string
  9712. brokerid:
  9713. description: 经纪商id
  9714. type: string
  9715. fcid:
  9716. description: 期货公司id
  9717. type: integer
  9718. fcname:
  9719. description: 期货公司代码
  9720. type: string
  9721. hedgeaccountcode:
  9722. description: 外部账号代码(主账号登录代码)
  9723. type: string
  9724. hedgeaccountpwd:
  9725. description: 密码
  9726. type: string
  9727. ismain:
  9728. description: 是否主账号
  9729. type: integer
  9730. relateduserid:
  9731. description: 关联用户id
  9732. type: integer
  9733. userid:
  9734. description: 关联用户id
  9735. type: integer
  9736. type: object
  9737. models.Market:
  9738. properties:
  9739. auctionwrtype:
  9740. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9741. type: integer
  9742. canacceptquote:
  9743. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9744. type: integer
  9745. cangoodsexercise:
  9746. description: '[期权]是否可现货行权- 0:否 1:是'
  9747. type: integer
  9748. cangoodsexercisetype:
  9749. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9750. type: integer
  9751. canmanualquotestrike:
  9752. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9753. type: integer
  9754. canmutistage:
  9755. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9756. type: integer
  9757. canpreexercise:
  9758. description: '[期权]是否可预申报- 0:否 1:是'
  9759. type: integer
  9760. clearinterval:
  9761. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9762. type: integer
  9763. contracttmp:
  9764. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9765. type: string
  9766. exchareaid:
  9767. description: 所属交易所,可以没有
  9768. type: integer
  9769. goodstype:
  9770. description: 商品类型 - 1:交易商品 2:仓单商品
  9771. type: integer
  9772. hasrebate:
  9773. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9774. type: integer
  9775. hastradecredit:
  9776. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9777. type: integer
  9778. haswr:
  9779. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9780. type: integer
  9781. isdeductmargin:
  9782. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9783. type: integer
  9784. isrecordsource:
  9785. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9786. type: integer
  9787. isreleasemargin:
  9788. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9789. type: integer
  9790. marginformula:
  9791. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9792. type: integer
  9793. marginformula2:
  9794. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9795. type: integer
  9796. marketid:
  9797. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9798. type: integer
  9799. marketname:
  9800. description: 市场名称
  9801. type: string
  9802. marketserviceid:
  9803. description: 市场服务ID
  9804. type: integer
  9805. marketstatus:
  9806. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9807. type: integer
  9808. markettype:
  9809. description: 市场类型- 1:非交易服务 2:交易服务
  9810. type: integer
  9811. matchermode:
  9812. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9813. type: integer
  9814. openmethod:
  9815. description: 开盘模式 - 0 自动 1手动
  9816. type: integer
  9817. otcuserid:
  9818. description: 场外期权做市商[场外期权]
  9819. type: integer
  9820. outersynctime:
  9821. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9822. type: string
  9823. pendingflag:
  9824. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9825. type: integer
  9826. pendingtime:
  9827. description: 待开市时间[通道交易-对冲](HH:mm)
  9828. type: string
  9829. performancetempid:
  9830. description: 履约计划模板ID - 作废
  9831. type: integer
  9832. premiumquotemode:
  9833. description: 权利金报价方式 - 1:自动 2:手动
  9834. type: integer
  9835. rebateratio:
  9836. description: 返利比率[竞价式]
  9837. type: number
  9838. reckonorder:
  9839. description: 结算顺序
  9840. type: integer
  9841. reckonpricealgorithm:
  9842. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9843. type: integer
  9844. reckonpriceparam:
  9845. description: 结算价参数
  9846. type: integer
  9847. reckontime:
  9848. description: 结算时间[通道交易-对冲](HH:mm)
  9849. type: string
  9850. roleprioritytype:
  9851. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9852. type: integer
  9853. selllistingauditflag:
  9854. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9855. type: integer
  9856. trademarkettype:
  9857. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9858. type: integer
  9859. trademode:
  9860. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9861. type: integer
  9862. tradeproperty:
  9863. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9864. type: integer
  9865. tradetype:
  9866. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9867. type: integer
  9868. required:
  9869. - marketid
  9870. - marketstatus
  9871. - openmethod
  9872. - reckonpricealgorithm
  9873. - trademode
  9874. - tradeproperty
  9875. type: object
  9876. models.Marketrun:
  9877. properties:
  9878. afternexttradedate:
  9879. description: 下下交易日
  9880. type: string
  9881. clearquoteflag:
  9882. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9883. type: integer
  9884. lastreckondate:
  9885. description: 最新交易日(结算成功)
  9886. type: string
  9887. machinedate:
  9888. description: 机器时间
  9889. type: string
  9890. manualflag:
  9891. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9892. type: integer
  9893. marketid:
  9894. description: 市场ID
  9895. type: integer
  9896. nexttradedate:
  9897. description: 下一交易日
  9898. type: string
  9899. pretradedate:
  9900. description: 上一交易日
  9901. type: string
  9902. reckonflag:
  9903. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9904. type: integer
  9905. runstatus:
  9906. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9907. type: integer
  9908. sectionid:
  9909. description: 时间段号[多时段时用]
  9910. type: integer
  9911. tradedate:
  9912. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9913. type: string
  9914. tradedate2:
  9915. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9916. type: string
  9917. updatetime:
  9918. description: 更新时间
  9919. type: string
  9920. required:
  9921. - marketid
  9922. - nexttradedate
  9923. - reckonflag
  9924. - runstatus
  9925. - tradedate
  9926. - tradedate2
  9927. type: object
  9928. models.Messageboard:
  9929. properties:
  9930. contactnum:
  9931. description: 联系电话
  9932. type: string
  9933. createtime:
  9934. description: 创建时间
  9935. type: string
  9936. message:
  9937. description: 留言信息
  9938. type: string
  9939. messageboardid:
  9940. description: 留言簿ID(SEQ_MessageBoard)
  9941. type: integer
  9942. userid:
  9943. description: 用户ID
  9944. type: integer
  9945. required:
  9946. - messageboardid
  9947. type: object
  9948. models.MyCoupon:
  9949. properties:
  9950. accountid:
  9951. description: 资金账户ID
  9952. type: integer
  9953. areauserid:
  9954. description: 所属机构
  9955. type: integer
  9956. conditionvalue:
  9957. description: 条件阈值(可为0)
  9958. type: number
  9959. couponcategroy:
  9960. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9961. type: integer
  9962. couponname:
  9963. description: 优惠券名称
  9964. type: string
  9965. coupontypeid:
  9966. description: 优惠券类型ID
  9967. type: string
  9968. couponvalue:
  9969. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9970. type: number
  9971. curfreezeqty:
  9972. description: 期末冻结数量
  9973. type: integer
  9974. curqty:
  9975. description: 期末数量
  9976. type: integer
  9977. isgeneral:
  9978. description: 是否通用券 - 0:否 1:是
  9979. type: integer
  9980. isunusable:
  9981. description: 是否不可用
  9982. type: boolean
  9983. limitedflag:
  9984. description: 是否指定商品 - 0:不限 1:限制
  9985. type: integer
  9986. limitedgoodsids:
  9987. description: 指定商品IDs[逗号分隔,前后加逗号]
  9988. type: string
  9989. orifreezeqty:
  9990. description: 期初冻结数量
  9991. type: integer
  9992. oriqty:
  9993. description: 期初数量
  9994. type: integer
  9995. reasontype:
  9996. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9997. type: integer
  9998. todaydecrease:
  9999. description: 今日减少
  10000. type: integer
  10001. todayincrease:
  10002. description: 今日增加
  10003. type: integer
  10004. userid:
  10005. description: 用户ID
  10006. type: integer
  10007. userscope:
  10008. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10009. type: string
  10010. required:
  10011. - accountid
  10012. - coupontypeid
  10013. type: object
  10014. models.MyCouponHold:
  10015. properties:
  10016. accountid:
  10017. description: 资金账户ID
  10018. type: integer
  10019. conditionvalue:
  10020. description: 条件阈值(可为0)
  10021. type: number
  10022. couponcategroy:
  10023. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10024. type: integer
  10025. couponholdid:
  10026. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10027. type: string
  10028. couponname:
  10029. description: 优惠券名称
  10030. type: string
  10031. coupontypeid:
  10032. description: 优惠券类型ID - SEQ_COUPONTYPE
  10033. type: string
  10034. couponvalue:
  10035. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10036. type: number
  10037. createtime:
  10038. description: 创建时间
  10039. type: string
  10040. enddate:
  10041. description: 结束日期
  10042. type: string
  10043. giveapplyid:
  10044. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10045. type: integer
  10046. holdstatus:
  10047. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10048. type: integer
  10049. isgeneral:
  10050. description: 是否通用券 - 0:否 1:是
  10051. type: integer
  10052. limitedflag:
  10053. description: 是否指定商品 - 0:不限 1:限制
  10054. type: integer
  10055. limitedgoodsids:
  10056. description: 指定商品IDs[逗号分隔]
  10057. type: string
  10058. qty:
  10059. description: 数量(按1平铺)
  10060. type: integer
  10061. startdate:
  10062. description: 开始日期
  10063. type: string
  10064. userid:
  10065. description: 用户ID
  10066. type: integer
  10067. userscope:
  10068. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10069. type: string
  10070. required:
  10071. - couponholdid
  10072. type: object
  10073. models.MyUsedCoupon:
  10074. properties:
  10075. accountid:
  10076. description: 资金账户ID(买方)
  10077. type: integer
  10078. conditionvalue:
  10079. description: 条件阈值(可为0)
  10080. type: number
  10081. couponcategroy:
  10082. description: 种类 - 1:现金券 2:折扣券
  10083. type: integer
  10084. couponname:
  10085. description: 优惠券名称
  10086. type: string
  10087. coupontypeid:
  10088. description: 优惠券类型ID(买方)
  10089. type: string
  10090. couponvalue:
  10091. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10092. type: number
  10093. createtime:
  10094. description: 创建时间
  10095. type: string
  10096. goodsid:
  10097. description: 商品ID
  10098. type: integer
  10099. handlestatus:
  10100. description: 处理状态
  10101. type: integer
  10102. marketid:
  10103. description: 市场ID
  10104. type: integer
  10105. offamount:
  10106. description: 优惠金额
  10107. type: number
  10108. orderid:
  10109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10110. type: string
  10111. sellaccountid:
  10112. description: 资金账户ID(卖方)
  10113. type: integer
  10114. tradeamount:
  10115. description: 成交金额
  10116. type: number
  10117. tradeid:
  10118. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10119. type: string
  10120. usedqty:
  10121. description: 使用数量
  10122. type: integer
  10123. required:
  10124. - coupontypeid
  10125. - orderid
  10126. type: object
  10127. models.OperationPrimaryMenu:
  10128. properties:
  10129. Children:
  10130. description: 二级功能菜单
  10131. items:
  10132. $ref: '#/definitions/models.OperationSecondaryMenu'
  10133. type: array
  10134. Key:
  10135. description: 菜单KEY
  10136. type: string
  10137. Label:
  10138. description: 菜单标题
  10139. type: string
  10140. type: object
  10141. models.OperationSecondaryMenu:
  10142. properties:
  10143. Key:
  10144. description: 菜单KEY
  10145. type: string
  10146. Label:
  10147. description: 菜单标题
  10148. type: string
  10149. TabList:
  10150. description: 三级功能菜单
  10151. items:
  10152. $ref: '#/definitions/models.OperationTabMenu'
  10153. type: array
  10154. type: object
  10155. models.OperationTabMenu:
  10156. properties:
  10157. Key:
  10158. description: 菜单KEY
  10159. type: string
  10160. Label:
  10161. description: 菜单标题
  10162. type: string
  10163. type: object
  10164. models.QhjAccountOutInApply:
  10165. properties:
  10166. accountcode:
  10167. description: 资金账号
  10168. type: string
  10169. accountname:
  10170. description: 用户名称(名称)
  10171. type: string
  10172. accountpwd:
  10173. description: 资金密码
  10174. type: string
  10175. accountticket:
  10176. description: 最新账户服务流水号
  10177. type: string
  10178. amount:
  10179. description: 金额
  10180. type: number
  10181. applyremark:
  10182. description: 申请备注
  10183. type: string
  10184. applystatus:
  10185. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10186. type: integer
  10187. auditid:
  10188. description: 审核人
  10189. type: integer
  10190. audittime:
  10191. description: 审核时间
  10192. type: string
  10193. bank_apply_ticket:
  10194. description: 银行申请流水
  10195. type: string
  10196. bankaccountname:
  10197. description: 银行账户名
  10198. type: string
  10199. bankaccountno:
  10200. description: 银行卡号
  10201. type: string
  10202. bankid:
  10203. description: 银行编号
  10204. type: string
  10205. bankticket:
  10206. description: 银行流水
  10207. type: string
  10208. branchbankid:
  10209. description: 银行支行号
  10210. type: string
  10211. branchbankname:
  10212. description: 银行支行名称
  10213. type: string
  10214. capamountout:
  10215. description: 出金(劣后本金) - 外部子账户
  10216. type: number
  10217. certificatephotourl:
  10218. description: 凭证地址
  10219. type: string
  10220. charge:
  10221. description: 手续费
  10222. type: number
  10223. checkerrorflag:
  10224. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10225. type: integer
  10226. currency:
  10227. description: 币种
  10228. type: string
  10229. cusbankid:
  10230. description: 托管银行编号
  10231. type: string
  10232. exchticket:
  10233. description: 银行服务流水号
  10234. type: string
  10235. executetype:
  10236. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10237. type: integer
  10238. extendinfo:
  10239. description: 扩展信息
  10240. type: string
  10241. extoperateid:
  10242. description: 交易服务流水号
  10243. type: integer
  10244. infamount:
  10245. description: 劣后金额(自有)
  10246. type: number
  10247. logincode:
  10248. description: 登录账号(账号)
  10249. type: string
  10250. netaddr:
  10251. description: 调转网址
  10252. type: string
  10253. priamount:
  10254. description: 优先金额(授信)
  10255. type: number
  10256. reauditid:
  10257. description: 复审人
  10258. type: integer
  10259. reauditremark:
  10260. description: 复审备注
  10261. type: string
  10262. reaudittime:
  10263. description: 复审时间
  10264. type: string
  10265. relatedorderid:
  10266. description: 三方关联ID
  10267. type: string
  10268. remark:
  10269. description: 备注
  10270. type: string
  10271. remark2:
  10272. description: 备注(失败原因)
  10273. type: string
  10274. soucreamount:
  10275. description: 原始出入金金额
  10276. type: number
  10277. soucrecurrencyid:
  10278. description: 原始出入金币种
  10279. type: integer
  10280. tradedate:
  10281. description: 交易日(yyyyMMdd)
  10282. type: string
  10283. updatetime:
  10284. description: 更新时间(申请时间)
  10285. type: string
  10286. userid:
  10287. description: 用户id
  10288. type: integer
  10289. userinfotype:
  10290. description: 账户类型 1-个人 2-企业
  10291. type: integer
  10292. type: object
  10293. models.QhjAgreementChangeLog:
  10294. properties:
  10295. agreementcontent:
  10296. description: 协议内容
  10297. type: string
  10298. agreementfrequency:
  10299. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10300. type: integer
  10301. agreementid:
  10302. description: 协议ID
  10303. type: integer
  10304. agreementname:
  10305. description: 协议名称
  10306. type: string
  10307. agreementno:
  10308. description: 协议编号
  10309. type: string
  10310. agreementtype:
  10311. description: 协议类型 - 1:注册 2:登录 3:交易
  10312. type: integer
  10313. agreementversion:
  10314. description: 协议版本号
  10315. type: integer
  10316. logid:
  10317. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10318. type: integer
  10319. reviserid:
  10320. description: 修改人
  10321. type: integer
  10322. revisersrc:
  10323. description: 修改来源 - 1:管理端 2:终端
  10324. type: integer
  10325. updatetime:
  10326. description: 更新时间
  10327. type: string
  10328. type: object
  10329. models.QhjAgreementConfig:
  10330. properties:
  10331. agreementcontent:
  10332. description: 协议内容
  10333. type: string
  10334. agreementfrequency:
  10335. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10336. type: integer
  10337. agreementid:
  10338. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10339. type: integer
  10340. agreementname:
  10341. description: 协议名称
  10342. type: string
  10343. agreementno:
  10344. description: 协议编号
  10345. type: string
  10346. agreementtype:
  10347. description: 协议类型 - 1:注册 2:登录 3:交易
  10348. type: integer
  10349. agreementversion:
  10350. description: 协议版本号(从1开始每次修改加1)
  10351. type: integer
  10352. createtime:
  10353. description: 创建时间
  10354. type: string
  10355. creatorid:
  10356. description: 创建人
  10357. type: integer
  10358. creatorsrc:
  10359. description: 创建来源 - 1:管理端 2:终端
  10360. type: integer
  10361. isvalid:
  10362. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10363. type: integer
  10364. reviserid:
  10365. description: 修改人
  10366. type: integer
  10367. revisersrc:
  10368. description: 修改来源 - 1:管理端 2:终端
  10369. type: integer
  10370. updatetime:
  10371. description: 更新时间
  10372. type: string
  10373. type: object
  10374. models.QhjAreaFinanceConfig:
  10375. properties:
  10376. additionalratio:
  10377. description: 追加款比例
  10378. type: number
  10379. advanceratio:
  10380. description: 预付款比例
  10381. type: number
  10382. alarmratio:
  10383. description: 告警比例
  10384. type: number
  10385. consumptiondirectreward:
  10386. description: 消费直推奖励值
  10387. type: number
  10388. consumptionenabled:
  10389. description: 是否启用消费奖励 - 0:不启用 1:启用
  10390. type: integer
  10391. consumptionindirectreward:
  10392. description: 消费间推奖励值
  10393. type: number
  10394. consumptionmodel:
  10395. description: 消费奖励方式 - 1:比率 2:固定
  10396. type: integer
  10397. customerservicenum:
  10398. description: 客服电话
  10399. type: string
  10400. dayinterestrate:
  10401. description: 日利率
  10402. type: number
  10403. disableconsumptiontips:
  10404. description: 关闭消费奖励提示
  10405. type: string
  10406. modifierid:
  10407. description: 修改人ID
  10408. type: integer
  10409. modifysrc:
  10410. description: 审核来源 - 1:管理端 2:终端
  10411. type: integer
  10412. modifytime:
  10413. description: 修改时间
  10414. type: string
  10415. promotionvalue:
  10416. description: 推广奖励值(固定)
  10417. type: number
  10418. scoreconfigvalue1:
  10419. description: 提货积分配置1
  10420. type: integer
  10421. scoreconfigvalue2:
  10422. description: 提货积分配置2
  10423. type: integer
  10424. userid:
  10425. description: 机构用户ID其他做市关系,都设置为 1
  10426. type: integer
  10427. username:
  10428. description: 用户名称
  10429. type: string
  10430. type: object
  10431. models.QhjBankAccountSign:
  10432. properties:
  10433. accountcode:
  10434. description: 资金账号
  10435. type: string
  10436. accountname:
  10437. description: 资金账号对应的账号名(UserName)
  10438. type: string
  10439. accountname2:
  10440. description: 资金账号对应的账号名(UserName) - 密文
  10441. type: string
  10442. accounttype:
  10443. description: 账户类型(UserType)
  10444. type: integer
  10445. applicationtime:
  10446. description: 最后一次更新的时间
  10447. type: string
  10448. applyexchticket:
  10449. description: 申请流水
  10450. type: string
  10451. auditid:
  10452. description: 审核人
  10453. type: integer
  10454. audittime:
  10455. description: 审核时间
  10456. type: string
  10457. bankaccountname:
  10458. description: 签约银行卡账号名
  10459. type: string
  10460. bankaccountname2:
  10461. description: 签约银行卡账号名 - 密文
  10462. type: string
  10463. bankaccountno:
  10464. description: 银行卡号
  10465. type: string
  10466. bankaccountno2:
  10467. description: 银行卡号 - 密文
  10468. type: string
  10469. bankaccounttype:
  10470. description: 银行账户类型 - 1-对私; 2-对公
  10471. type: integer
  10472. bankcardtype:
  10473. description: 银行卡类型
  10474. type: integer
  10475. bankchildaccount:
  10476. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10477. type: string
  10478. bankcity:
  10479. description: 开户行城市
  10480. type: string
  10481. bankid:
  10482. description: 签约银行ID
  10483. type: string
  10484. bankname:
  10485. description: 签约银行名称
  10486. type: string
  10487. bankprovince:
  10488. description: 开户行省份
  10489. type: string
  10490. branchbankid:
  10491. description: 签约银行支行号
  10492. type: string
  10493. branchbankname:
  10494. description: 签约银行支行名称
  10495. type: string
  10496. cardno:
  10497. description: 证件号码
  10498. type: string
  10499. cardno2:
  10500. description: 证件号码 - 密文
  10501. type: string
  10502. cardtype:
  10503. description: 证件类型
  10504. type: string
  10505. currency:
  10506. description: 币种
  10507. type: string
  10508. cusbankid:
  10509. description: 托管银行编号
  10510. type: string
  10511. direct:
  10512. description: 方向(可以判断那方先发起的签约)
  10513. type: integer
  10514. exchticket:
  10515. description: 最后一次签约成功的流水号
  10516. type: string
  10517. extendinfo:
  10518. description: 扩展信息(JSON字符串)
  10519. type: string
  10520. mobilephone:
  10521. description: 手机号
  10522. type: string
  10523. mobilephone2:
  10524. description: 手机号 - 密文
  10525. type: string
  10526. netaddr:
  10527. description: 调转网址
  10528. type: string
  10529. relateduserid:
  10530. description: 关联使用者userid
  10531. type: integer
  10532. signstatus:
  10533. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10534. type: integer
  10535. updatetime:
  10536. description: 更新时间(签解约更新时间)
  10537. type: string
  10538. type: object
  10539. models.QhjBankInfo:
  10540. properties:
  10541. bankid:
  10542. description: 银行ID
  10543. type: string
  10544. bankname:
  10545. description: 银行名称
  10546. type: string
  10547. clearbankno:
  10548. description: 清算系统银行编号
  10549. type: string
  10550. orderindex:
  10551. description: 排序顺序
  10552. type: integer
  10553. status:
  10554. description: 状态 - 0:正常 1:注销
  10555. type: integer
  10556. type: object
  10557. models.QhjBrokerApply:
  10558. properties:
  10559. applicantid:
  10560. description: 申请人
  10561. type: integer
  10562. applysrc:
  10563. description: 申请来源 - 1:管理端 2:终端
  10564. type: integer
  10565. applystatus:
  10566. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10567. type: integer
  10568. applytime:
  10569. description: 申请时间
  10570. type: string
  10571. auditorid:
  10572. description: 审核人
  10573. type: integer
  10574. auditremark:
  10575. description: 审核备注
  10576. type: string
  10577. auditsrc:
  10578. description: 审核来源 - 1:管理端 2:终端
  10579. type: integer
  10580. audittime:
  10581. description: 审核时间
  10582. type: string
  10583. audittradedate:
  10584. description: 审核交易日(yyyyMMdd)
  10585. type: string
  10586. brokerapplyid:
  10587. description: 申请ID(SEQ_BROKERAPPLY)
  10588. type: integer
  10589. cardbackphotourl:
  10590. description: 证件背面图片地址
  10591. type: string
  10592. cardfrontphotourl:
  10593. description: 证件正面图片地址
  10594. type: string
  10595. cardnum:
  10596. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10597. type: string
  10598. customername:
  10599. description: 姓名
  10600. type: string
  10601. logincode:
  10602. description: 登录代码
  10603. type: string
  10604. mobile:
  10605. description: 手机号码
  10606. type: string
  10607. parentuserid:
  10608. description: 所属机构id
  10609. type: integer
  10610. parentusername:
  10611. description: 所属机构名称
  10612. type: string
  10613. refereeuserid:
  10614. description: 推荐人id(经纪人)
  10615. type: integer
  10616. refernum:
  10617. description: 推荐码
  10618. type: string
  10619. remark:
  10620. description: 备注
  10621. type: string
  10622. subarealevelpath:
  10623. description: 层级路径
  10624. type: string
  10625. tradedate:
  10626. description: 交易日(yyyyMMdd)
  10627. type: string
  10628. userid:
  10629. description: 申请人用户ID
  10630. type: integer
  10631. userinfotype:
  10632. description: 用户类型 1-个人 2-企业
  10633. type: integer
  10634. username:
  10635. description: 用户名称
  10636. type: string
  10637. type: object
  10638. models.QhjBrokerApplyEx:
  10639. properties:
  10640. applylist:
  10641. description: 经纪人申请记录(只返回最新一条)
  10642. items:
  10643. $ref: '#/definitions/models.QhjBrokerApply'
  10644. type: array
  10645. canrecommend:
  10646. description: 是否经纪人 0-不是 1-是
  10647. type: integer
  10648. refernum:
  10649. description: 推荐码
  10650. type: string
  10651. userid:
  10652. description: 用户id
  10653. type: integer
  10654. userinfotype:
  10655. description: 用户类型 1-个人 2-企业
  10656. type: integer
  10657. type: object
  10658. models.QhjBrokerRewardLog:
  10659. properties:
  10660. accountid:
  10661. description: 资金账号ID
  10662. type: integer
  10663. createtime:
  10664. description: 创建时间(时间)
  10665. type: string
  10666. handlestatus:
  10667. description: 处理状态
  10668. type: integer
  10669. logid:
  10670. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10671. type: string
  10672. marketid:
  10673. description: 市场ID
  10674. type: integer
  10675. mmaccountid:
  10676. description: 做市商资金账号ID
  10677. type: string
  10678. mmuserid:
  10679. description: 做市商用户ID
  10680. type: string
  10681. rewardamount:
  10682. description: 奖励金额
  10683. type: number
  10684. rewardmodel:
  10685. description: 消费奖励方式 - 1:比率 2:固定
  10686. type: integer
  10687. rewardtype:
  10688. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10689. type: integer
  10690. rewardvalue:
  10691. description: 配置奖励值
  10692. type: number
  10693. srcamount:
  10694. description: 成交金额 [消费奖励] (金额)
  10695. type: number
  10696. srcgoodsid:
  10697. description: 来源商品ID [消费奖励]
  10698. type: string
  10699. srctime:
  10700. description: 来源时间 (成交时间) [消费奖励]
  10701. type: string
  10702. srctradeid:
  10703. description: 来源成交单ID [消费奖励] - 排除提货成交
  10704. type: string
  10705. srcuserid:
  10706. description: 来源用户ID(推广账户)
  10707. type: string
  10708. srcusername:
  10709. description: 推广账户名称
  10710. type: string
  10711. tradedate:
  10712. description: 交易日(yyyyMMdd)
  10713. type: string
  10714. userid:
  10715. description: 经纪人用户ID
  10716. type: integer
  10717. type: object
  10718. models.QhjContract:
  10719. properties:
  10720. contractconfirmtime:
  10721. description: 合同确认时间(时间)
  10722. type: string
  10723. currisklevel:
  10724. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10725. type: integer
  10726. decimalplace:
  10727. description: 商品报价小数位
  10728. type: integer
  10729. enumdicname:
  10730. description: 单位名称
  10731. type: string
  10732. goodscode:
  10733. description: 商品代码
  10734. type: string
  10735. goodsid:
  10736. description: 商品ID [5:融资单]
  10737. type: integer
  10738. goodsname:
  10739. description: 商品名称
  10740. type: string
  10741. goodunitid:
  10742. description: 商品单位id
  10743. type: integer
  10744. initmargin:
  10745. description: 初始保证金(首付款)
  10746. type: number
  10747. lenderamount:
  10748. description: 贷款金额(总额|订单总额)
  10749. type: number
  10750. marginratio:
  10751. description: 保证金比率(首付比例)
  10752. type: number
  10753. payamount:
  10754. description: 已付(已付货款)
  10755. type: number
  10756. reckonrecovermargin:
  10757. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10758. type: number
  10759. recoveredmargin:
  10760. description: 已追缴保证金
  10761. type: number
  10762. remainamount:
  10763. description: 合同剩余金额(融资额)
  10764. type: number
  10765. scfcontractid:
  10766. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10767. type: string
  10768. scfcontractstatus:
  10769. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10770. type: integer
  10771. scfcontracttype:
  10772. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10773. type: integer
  10774. totalinterest:
  10775. description: 已计总利息(利息)
  10776. type: number
  10777. tradeprice:
  10778. description: 成交价格(成本价格)
  10779. type: number
  10780. userid:
  10781. description: 用户ID
  10782. type: integer
  10783. username:
  10784. description: 用户名称
  10785. type: string
  10786. wrqty:
  10787. description: 仓单数量(数量)
  10788. type: number
  10789. type: object
  10790. models.QhjContractLog:
  10791. properties:
  10792. amount:
  10793. description: 支付金额
  10794. type: number
  10795. amounttype:
  10796. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10797. type: integer
  10798. logid:
  10799. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10800. type: string
  10801. remainamount:
  10802. description: 剩余货款
  10803. type: number
  10804. scfcontractid:
  10805. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10806. type: integer
  10807. updatetime:
  10808. description: 更新时间
  10809. type: string
  10810. type: object
  10811. models.QhjCusBankSignBankEx:
  10812. properties:
  10813. banklst:
  10814. description: 银行列表
  10815. items:
  10816. $ref: '#/definitions/models.QhjBankInfo'
  10817. type: array
  10818. canallot:
  10819. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10820. type: integer
  10821. canallotquery:
  10822. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10823. type: integer
  10824. canbindcard:
  10825. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10826. type: integer
  10827. caninamount:
  10828. description: 是否可入金 - 0:不可 1:可以
  10829. type: integer
  10830. caninamount2:
  10831. description: 是否可入金(网银端) - 0:不可 1:可以
  10832. type: integer
  10833. canmodifybankcard:
  10834. description: 是否可修改银行卡号 - 0:不可 1:可以
  10835. type: integer
  10836. canmodifyphone:
  10837. description: 是否可修改手机号 - 0:不可 1:可以
  10838. type: integer
  10839. canmodifysigninfo:
  10840. description: 是否可修改签约信息 - 0:不可 1:可以
  10841. type: integer
  10842. canoutamount:
  10843. description: 是否可出金 - 0:不可 1:可以
  10844. type: integer
  10845. canoutamount2:
  10846. description: 是否可出金(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. canrelease:
  10849. description: 是否可解约 - 0:不可 1:可以
  10850. type: integer
  10851. canrelease2:
  10852. description: 是否可解约(网银端) - 0:不可 1:可以
  10853. type: integer
  10854. cansign:
  10855. description: 是否可签约 - 0:不可 1:可以
  10856. type: integer
  10857. cansign2:
  10858. description: 是否可签约(网银端) - 0:不可 1:可以
  10859. type: integer
  10860. currency:
  10861. description: 币种
  10862. type: string
  10863. cusbankid:
  10864. description: 托管银行编号(对应清算中心TRAN_NO)
  10865. type: string
  10866. cusbankname:
  10867. description: 银行业务名称
  10868. type: string
  10869. cusbankshortname:
  10870. description: 银行业务简称
  10871. type: string
  10872. exchbankid:
  10873. description: 交易所开户银行ID
  10874. type: string
  10875. exchpaybankaccname:
  10876. description: 交易所支出结算账户户名
  10877. type: string
  10878. exchpaybankaccno:
  10879. description: 交易所支出结算账户
  10880. type: string
  10881. isneedcheck:
  10882. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10883. type: integer
  10884. isneedclear:
  10885. description: 是否需要清算 - 0:不需要 1:需要
  10886. type: integer
  10887. lastcheckstatus:
  10888. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10889. type: integer
  10890. lastchecktime:
  10891. description: 最后对账时间
  10892. type: string
  10893. lastclearstatus:
  10894. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10895. type: integer
  10896. lastcleartime:
  10897. description: 最后清算时间
  10898. type: string
  10899. lastsignintime:
  10900. description: 最后签到时间
  10901. type: string
  10902. lastsignouttime:
  10903. description: 最后签退时间
  10904. type: string
  10905. riskinfo:
  10906. description: 签约风险提示书
  10907. type: string
  10908. signstatus:
  10909. description: 当前签到/签退状态 - 1:签到 2:签退
  10910. type: integer
  10911. tradedate:
  10912. description: 交易日(yyyyMMdd)
  10913. type: string
  10914. updatetime:
  10915. description: 当前签到/签退更新时间
  10916. type: string
  10917. type: object
  10918. models.QhjCustomer:
  10919. properties:
  10920. address:
  10921. description: 通讯地址
  10922. type: string
  10923. attachment1:
  10924. description: 附件1
  10925. type: string
  10926. attachment2:
  10927. description: 附件2
  10928. type: string
  10929. audittime:
  10930. description: 审核时间
  10931. type: string
  10932. cardbackphotourl:
  10933. description: 证件反面图片地址
  10934. type: string
  10935. cardfrontphotourl:
  10936. description: 证件正面图片地址
  10937. type: string
  10938. cardnum:
  10939. description: 证件号码
  10940. type: string
  10941. cardtype:
  10942. description: 证件类型
  10943. type: integer
  10944. cardtypename:
  10945. description: 证件类型名称
  10946. type: string
  10947. cityid:
  10948. description: 市
  10949. type: integer
  10950. cityname:
  10951. description: 城市名称
  10952. type: string
  10953. contactname:
  10954. description: 联系人
  10955. type: string
  10956. countryid:
  10957. description: 国家
  10958. type: integer
  10959. countryname:
  10960. description: 国家名称
  10961. type: string
  10962. createtime:
  10963. description: 创建时间
  10964. type: string
  10965. customername:
  10966. description: 客户名称
  10967. type: string
  10968. districtid:
  10969. description: 区域
  10970. type: integer
  10971. districtname:
  10972. description: 地区名称
  10973. type: string
  10974. email:
  10975. description: 邮件
  10976. type: string
  10977. legalpersonname:
  10978. description: 法人姓名(企业)
  10979. type: string
  10980. logincode:
  10981. description: 登录账号(代码)
  10982. type: string
  10983. memberuserid:
  10984. description: 所属机构ID(所属会员)
  10985. type: integer
  10986. memberusername:
  10987. description: 所属会员名称
  10988. type: string
  10989. mobile:
  10990. description: 手机号码
  10991. type: string
  10992. modifytime:
  10993. description: 修改时间
  10994. type: string
  10995. nickname:
  10996. description: 昵称
  10997. type: string
  10998. parentuserid:
  10999. description: 上级机构(所属机构)
  11000. type: integer
  11001. parentusername:
  11002. description: 所属机构名称
  11003. type: string
  11004. provinceid:
  11005. description: 省
  11006. type: integer
  11007. provincename:
  11008. description: 省名称
  11009. type: string
  11010. proxystatementurl:
  11011. description: 授权委托书
  11012. type: string
  11013. remark:
  11014. description: 备注
  11015. type: string
  11016. status:
  11017. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11018. type: integer
  11019. statusdesc:
  11020. description: 账户状态中文描述
  11021. type: string
  11022. taxpayernum:
  11023. description: 纳税人识别号
  11024. type: string
  11025. telphone:
  11026. description: 联系电话
  11027. type: string
  11028. userid:
  11029. description: 用户ID
  11030. type: integer
  11031. userinfotype:
  11032. description: 客户类型 1-个人 2-企业
  11033. type: integer
  11034. username:
  11035. description: 用户名称
  11036. type: string
  11037. type: object
  11038. models.QhjCustomerSignLog:
  11039. properties:
  11040. agreementcontent:
  11041. description: 协议内容
  11042. type: string
  11043. agreementid:
  11044. description: 协议ID
  11045. type: integer
  11046. agreementname:
  11047. description: 协议名称
  11048. type: string
  11049. agreementno:
  11050. description: 协议编号
  11051. type: string
  11052. agreementtype:
  11053. description: 协议类型 - 1:注册 2:登录 3:交易
  11054. type: integer
  11055. agreementversion:
  11056. description: 协议版本号
  11057. type: integer
  11058. createtime:
  11059. description: 创建时间
  11060. type: string
  11061. goodscode:
  11062. description: 商品代码
  11063. type: string
  11064. goodsid:
  11065. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11066. type: integer
  11067. goodsname:
  11068. description: 商品名称
  11069. type: string
  11070. logid:
  11071. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11072. type: integer
  11073. nodetype:
  11074. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11075. type: integer
  11076. signadressurl:
  11077. description: 签约文件地址
  11078. type: string
  11079. signtimestamp:
  11080. description: 签约状态时间戳
  11081. type: string
  11082. userid:
  11083. description: 客户ID
  11084. type: integer
  11085. username:
  11086. description: 客户名称
  11087. type: string
  11088. type: object
  11089. models.QhjCustomerSignStatus:
  11090. properties:
  11091. createtime:
  11092. description: 创建时间
  11093. type: string
  11094. goodscode:
  11095. description: 商品代码
  11096. type: string
  11097. goodsid:
  11098. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11099. type: integer
  11100. goodsname:
  11101. description: 商品名称
  11102. type: string
  11103. nodetype:
  11104. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11105. type: integer
  11106. signtimestamp:
  11107. description: 签约状态时间戳
  11108. type: string
  11109. tradedate:
  11110. description: 创建交易日(yyyyMMdd)
  11111. type: string
  11112. updatetime:
  11113. description: 更新时间
  11114. type: string
  11115. userid:
  11116. description: 客户ID
  11117. type: integer
  11118. username:
  11119. description: 客户名称
  11120. type: string
  11121. type: object
  11122. models.QhjMgrAccountOutInApply:
  11123. properties:
  11124. accountcode:
  11125. description: 资金账号
  11126. type: string
  11127. accountname:
  11128. description: 用户名称(名称)
  11129. type: string
  11130. accountpwd:
  11131. description: 资金密码
  11132. type: string
  11133. accountticket:
  11134. description: 最新账户服务流水号
  11135. type: string
  11136. amount:
  11137. description: 金额
  11138. type: number
  11139. applyremark:
  11140. description: 申请备注
  11141. type: string
  11142. applystatus:
  11143. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11144. type: integer
  11145. auditid:
  11146. description: 审核人
  11147. type: integer
  11148. audittime:
  11149. description: 审核时间
  11150. type: string
  11151. bank_apply_ticket:
  11152. description: 银行申请流水
  11153. type: string
  11154. bankaccountname:
  11155. description: 银行账户名
  11156. type: string
  11157. bankaccountno:
  11158. description: 银行卡号
  11159. type: string
  11160. bankid:
  11161. description: 银行编号
  11162. type: string
  11163. bankname:
  11164. description: 银行名称
  11165. type: string
  11166. bankticket:
  11167. description: 银行流水
  11168. type: string
  11169. branchbankid:
  11170. description: 银行支行号
  11171. type: string
  11172. branchbankname:
  11173. description: 银行支行名称
  11174. type: string
  11175. capamountout:
  11176. description: 出金(劣后本金) - 外部子账户
  11177. type: number
  11178. certificatephotourl:
  11179. description: 凭证地址
  11180. type: string
  11181. charge:
  11182. description: 手续费
  11183. type: number
  11184. checkerrorflag:
  11185. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11186. type: integer
  11187. currency:
  11188. description: 币种
  11189. type: string
  11190. cusbankid:
  11191. description: 托管银行编号
  11192. type: string
  11193. exchticket:
  11194. description: 银行服务流水号
  11195. type: string
  11196. executetype:
  11197. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11198. type: integer
  11199. extendinfo:
  11200. description: 扩展信息
  11201. type: string
  11202. extoperateid:
  11203. description: 交易服务流水号
  11204. type: integer
  11205. infamount:
  11206. description: 劣后金额(自有)
  11207. type: number
  11208. logincode:
  11209. description: 登录账号(账号)
  11210. type: string
  11211. netaddr:
  11212. description: 调转网址
  11213. type: string
  11214. priamount:
  11215. description: 优先金额(授信)
  11216. type: number
  11217. reauditid:
  11218. description: 复审人
  11219. type: integer
  11220. reauditremark:
  11221. description: 复审备注
  11222. type: string
  11223. reaudittime:
  11224. description: 复审时间
  11225. type: string
  11226. relatedorderid:
  11227. description: 三方关联ID
  11228. type: string
  11229. remark:
  11230. description: 备注
  11231. type: string
  11232. remark2:
  11233. description: 备注(失败原因)
  11234. type: string
  11235. soucreamount:
  11236. description: 原始出入金金额
  11237. type: number
  11238. soucrecurrencyid:
  11239. description: 原始出入金币种
  11240. type: integer
  11241. tradedate:
  11242. description: 交易日(yyyyMMdd)
  11243. type: string
  11244. updatetime:
  11245. description: 更新时间(申请时间)
  11246. type: string
  11247. userid:
  11248. description: 用户id
  11249. type: integer
  11250. userinfotype:
  11251. description: 账户类型 1-个人 2-企业
  11252. type: integer
  11253. type: object
  11254. models.QhjMgrBrokerApply:
  11255. properties:
  11256. applicantid:
  11257. description: 申请人
  11258. type: integer
  11259. applysrc:
  11260. description: 申请来源 - 1:管理端 2:终端
  11261. type: integer
  11262. applystatus:
  11263. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11264. type: integer
  11265. applytime:
  11266. description: 申请时间
  11267. type: string
  11268. auditorid:
  11269. description: 审核人
  11270. type: integer
  11271. auditremark:
  11272. description: 审核备注
  11273. type: string
  11274. auditsrc:
  11275. description: 审核来源 - 1:管理端 2:终端
  11276. type: integer
  11277. audittime:
  11278. description: 审核时间
  11279. type: string
  11280. audittradedate:
  11281. description: 审核交易日(yyyyMMdd)
  11282. type: string
  11283. brokerapplyid:
  11284. description: 申请ID(SEQ_BROKERAPPLY)
  11285. type: integer
  11286. cardbackphotourl:
  11287. description: 证件背面图片地址
  11288. type: string
  11289. cardfrontphotourl:
  11290. description: 证件正面图片地址
  11291. type: string
  11292. cardnum:
  11293. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11294. type: string
  11295. customername:
  11296. description: 姓名
  11297. type: string
  11298. filterstatus:
  11299. description: 筛选条件
  11300. type: string
  11301. logincode:
  11302. description: 登录代码
  11303. type: string
  11304. mobile:
  11305. description: 手机号码
  11306. type: string
  11307. parentuserid:
  11308. description: 所属机构id
  11309. type: integer
  11310. parentusername:
  11311. description: 所属机构名称
  11312. type: string
  11313. refereeuserid:
  11314. description: 推荐人id(经纪人)
  11315. type: integer
  11316. refernum:
  11317. description: 推荐码
  11318. type: string
  11319. remark:
  11320. description: 备注
  11321. type: string
  11322. subarealevelpath:
  11323. description: 层级路径
  11324. type: string
  11325. tradedate:
  11326. description: 交易日(yyyyMMdd)
  11327. type: string
  11328. userid:
  11329. description: 申请人用户ID
  11330. type: integer
  11331. userinfotype:
  11332. description: 用户类型 1-个人 2-企业
  11333. type: integer
  11334. username:
  11335. description: 用户名称
  11336. type: string
  11337. type: object
  11338. models.QhjMgrBrokerRewardReport:
  11339. properties:
  11340. createtime:
  11341. description: 创建时间(注册时间)
  11342. type: string
  11343. cycletime:
  11344. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11345. type: string
  11346. cycletype:
  11347. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11348. type: integer
  11349. directtotalnum:
  11350. description: 直推总人数【期末】
  11351. type: integer
  11352. indirecttotalnum:
  11353. description: 间推总人数【期末】
  11354. type: integer
  11355. mobile:
  11356. description: 电话号码
  11357. type: string
  11358. refereeuserid:
  11359. description: 推荐人id(经纪人id)
  11360. type: integer
  11361. refereeusername:
  11362. description: 推荐人名称(经纪人) 上级经纪人名称
  11363. type: string
  11364. refernum:
  11365. description: 推荐码
  11366. type: string
  11367. subarealevelpath:
  11368. description: 用户层级路径
  11369. type: string
  11370. todayrewardamount:
  11371. description: 奖励总金额【汇总】
  11372. type: number
  11373. updatetime:
  11374. description: 更新时间
  11375. type: string
  11376. userid:
  11377. description: 经纪人用户ID
  11378. type: integer
  11379. userinfotype:
  11380. description: 用户类型 1-个人 2-企业
  11381. type: integer
  11382. username:
  11383. description: 用户名称
  11384. type: string
  11385. type: object
  11386. models.QhjMgrContract:
  11387. properties:
  11388. contractconfirmtime:
  11389. description: 合同确认时间(时间)
  11390. type: string
  11391. currisklevel:
  11392. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11393. type: integer
  11394. decimalplace:
  11395. description: 商品报价小数位
  11396. type: integer
  11397. enumdicname:
  11398. description: 单位名称
  11399. type: string
  11400. goodscode:
  11401. description: 商品代码
  11402. type: string
  11403. goodsid:
  11404. description: 商品ID [5:融资单]
  11405. type: integer
  11406. goodsname:
  11407. description: 商品名称
  11408. type: string
  11409. goodunitid:
  11410. description: 商品单位id
  11411. type: integer
  11412. initmargin:
  11413. description: 初始保证金(首付款)
  11414. type: number
  11415. lenderamount:
  11416. description: 贷款金额(总额|订单总额)
  11417. type: number
  11418. logincode:
  11419. description: 账号(登录代码)
  11420. type: string
  11421. marginratio:
  11422. description: 保证金比率(首付比例)
  11423. type: number
  11424. mobile:
  11425. description: 电话号码(用户资料里的电话)
  11426. type: string
  11427. payamount:
  11428. description: 已付(已付货款)
  11429. type: number
  11430. reckonrecovermargin:
  11431. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11432. type: number
  11433. recoveredmargin:
  11434. description: 已追缴保证金
  11435. type: number
  11436. remainamount:
  11437. description: 合同剩余金额(融资额)
  11438. type: number
  11439. scfcontractid:
  11440. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11441. type: string
  11442. scfcontractstatus:
  11443. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11444. type: integer
  11445. scfcontracttype:
  11446. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11447. type: integer
  11448. totalinterest:
  11449. description: 已计总利息(利息)
  11450. type: number
  11451. tradedate:
  11452. description: 交易日
  11453. type: string
  11454. tradeprice:
  11455. description: 成交价格(成本价格)
  11456. type: number
  11457. userid:
  11458. description: 用户ID
  11459. type: integer
  11460. userinfotype:
  11461. description: 用户类型 1-个人 2-企业
  11462. type: integer
  11463. username:
  11464. description: 用户名称
  11465. type: string
  11466. wrqty:
  11467. description: 仓单数量(数量)
  11468. type: number
  11469. type: object
  11470. models.QhjMgrCustomer:
  11471. properties:
  11472. address:
  11473. description: 通讯地址
  11474. type: string
  11475. attachment1:
  11476. description: 附件1
  11477. type: string
  11478. audittime:
  11479. description: 审核时间
  11480. type: string
  11481. birthday:
  11482. description: 生日
  11483. type: string
  11484. brokerid:
  11485. description: 所属客户经理id
  11486. type: integer
  11487. brokername:
  11488. description: 所属客户经理名称
  11489. type: string
  11490. cardbackphotourl:
  11491. description: 证件反面图片地址
  11492. type: string
  11493. cardfrontphotourl:
  11494. description: 证件正面图片地址
  11495. type: string
  11496. cardnum:
  11497. description: 证件号码
  11498. type: string
  11499. cardtype:
  11500. description: 证件类型
  11501. type: integer
  11502. cardtypename:
  11503. description: 证件类型名称
  11504. type: string
  11505. cityid:
  11506. description: 市
  11507. type: integer
  11508. cityname:
  11509. description: 城市名称
  11510. type: string
  11511. contactname:
  11512. description: 联系人
  11513. type: string
  11514. countryid:
  11515. description: 国家
  11516. type: integer
  11517. countryname:
  11518. description: 国家名称
  11519. type: string
  11520. createtime:
  11521. description: 创建时间
  11522. type: string
  11523. customername:
  11524. description: 客户名称
  11525. type: string
  11526. districtid:
  11527. description: 区域
  11528. type: integer
  11529. districtname:
  11530. description: 地区名称
  11531. type: string
  11532. email:
  11533. description: 邮件
  11534. type: string
  11535. legalpersonname:
  11536. description: 法人姓名(企业)
  11537. type: string
  11538. logincode:
  11539. description: 登录账号(代码)
  11540. type: string
  11541. memberuserid:
  11542. description: 所属机构ID(所属会员)
  11543. type: integer
  11544. memberusername:
  11545. description: 所属会员名称
  11546. type: string
  11547. mobile:
  11548. description: 手机号码
  11549. type: string
  11550. modifytime:
  11551. description: 修改时间
  11552. type: string
  11553. nickname:
  11554. description: 昵称
  11555. type: string
  11556. parentuserid:
  11557. description: 上级机构(所属机构)
  11558. type: integer
  11559. parentusername:
  11560. description: 所属机构名称
  11561. type: string
  11562. provinceid:
  11563. description: 省
  11564. type: integer
  11565. provincename:
  11566. description: 省名称
  11567. type: string
  11568. proxystatementurl:
  11569. description: 授权委托书
  11570. type: string
  11571. querytype:
  11572. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11573. type: integer
  11574. remark:
  11575. description: 备注
  11576. type: string
  11577. sex:
  11578. description: 性别 0-女 1-男
  11579. type: integer
  11580. status:
  11581. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11582. type: integer
  11583. statusdesc:
  11584. description: 账户状态中文描述
  11585. type: string
  11586. taxpayernum:
  11587. description: 纳税人识别号
  11588. type: string
  11589. telphone:
  11590. description: 联系电话
  11591. type: string
  11592. userid:
  11593. description: 用户ID
  11594. type: integer
  11595. userinfotype:
  11596. description: 客户类型 1-个人 2-企业
  11597. type: integer
  11598. username:
  11599. description: 用户名称
  11600. type: string
  11601. type: object
  11602. models.QhjMgrPickGoods:
  11603. properties:
  11604. enumdicname:
  11605. description: 单位名称(提货商品)
  11606. type: string
  11607. goodsid:
  11608. description: 商品id
  11609. type: integer
  11610. imageaddress:
  11611. description: 图片
  11612. type: string
  11613. modifierid:
  11614. description: 修改人
  11615. type: integer
  11616. modifiername:
  11617. description: 修改人名称
  11618. type: string
  11619. modifysrc:
  11620. description: 修改来源 - 1:管理端 2:终端
  11621. type: integer
  11622. pickupgoodsagreeunit:
  11623. description: 合约乘数
  11624. type: number
  11625. pickupgoodsdesc:
  11626. description: 描述
  11627. type: string
  11628. pickupgoodsid:
  11629. description: 提货商品ID
  11630. type: string
  11631. pickupgoodsname:
  11632. description: 提货商品名称
  11633. type: string
  11634. pickupgoodsstatus:
  11635. description: 状态 - 1:正常 2:停用 3:注销
  11636. type: integer
  11637. pickupgoodsunitid:
  11638. description: 单位ID
  11639. type: integer
  11640. pickupratio:
  11641. description: 提货系数
  11642. type: number
  11643. preparedays:
  11644. description: 备货期(天)
  11645. type: integer
  11646. remark:
  11647. description: 备注
  11648. type: string
  11649. updatetime:
  11650. description: 更新时间
  11651. type: string
  11652. type: object
  11653. models.QhjMgrPositionRsp:
  11654. properties:
  11655. accountid:
  11656. description: 账号Id
  11657. type: integer
  11658. accountname:
  11659. description: 用户名称
  11660. type: string
  11661. agreeunit:
  11662. description: 合约乘数
  11663. type: number
  11664. averageprice:
  11665. description: 均价
  11666. type: number
  11667. avialqty:
  11668. description: 可用数量
  11669. type: number
  11670. decimalplace:
  11671. description: 报价小数位
  11672. type: integer
  11673. enumdicname:
  11674. description: 单位名称(商品)
  11675. type: string
  11676. frozenqty:
  11677. description: 冻结数量
  11678. type: number
  11679. goodscode:
  11680. description: 商品代码(内部)
  11681. type: string
  11682. goodsid:
  11683. description: 商品Id
  11684. type: integer
  11685. goodsname:
  11686. description: 商品名称
  11687. type: string
  11688. goodunitid:
  11689. description: 报价单位ID
  11690. type: integer
  11691. holderamount:
  11692. description: 金额
  11693. type: number
  11694. holderqty:
  11695. description: 持有数量
  11696. type: number
  11697. holdertype:
  11698. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11699. type: integer
  11700. logincode:
  11701. description: 登录代码(账户)
  11702. type: string
  11703. marketid:
  11704. description: 市场id
  11705. type: integer
  11706. qtydecimalplace:
  11707. description: 成交量小数位
  11708. type: integer
  11709. trademode:
  11710. description: 交易模式
  11711. type: integer
  11712. userid:
  11713. description: 用户id
  11714. type: integer
  11715. userinfotype:
  11716. description: 账户类型 1-个人 2-企业
  11717. type: integer
  11718. type: object
  11719. models.QhjMgrSubArea:
  11720. properties:
  11721. accountname:
  11722. description: 账户名称(机构名称)
  11723. type: string
  11724. memberuserid:
  11725. description: 所属会员ID
  11726. type: integer
  11727. parenttopuser:
  11728. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11729. type: string
  11730. parentuserid:
  11731. description: 所属机构ID
  11732. type: integer
  11733. rootuserid:
  11734. description: 根用户ID
  11735. type: string
  11736. subaccountlevel:
  11737. description: 子账户层数
  11738. type: integer
  11739. subarealevelpath:
  11740. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11741. type: string
  11742. userid:
  11743. description: 用户ID
  11744. type: integer
  11745. usertype:
  11746. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11747. type: integer
  11748. type: object
  11749. models.QhjMgrTradeDetailRsp:
  11750. properties:
  11751. accountid:
  11752. description: 资金账号
  11753. type: integer
  11754. accountname:
  11755. description: 用户名称
  11756. type: string
  11757. agreeunit:
  11758. description: 合约乘数
  11759. type: number
  11760. buyorsell:
  11761. description: 成交类型(方向) 0:买 1:卖
  11762. type: integer
  11763. decimalplace:
  11764. description: 报价小数位
  11765. type: integer
  11766. enumdicname:
  11767. description: 单位名称(商品)
  11768. type: string
  11769. goodscode:
  11770. description: 商品代码(内部)
  11771. type: string
  11772. goodsid:
  11773. description: 商品id
  11774. type: integer
  11775. goodsname:
  11776. description: 商品名称
  11777. type: string
  11778. goodunitid:
  11779. description: 报价单位ID
  11780. type: integer
  11781. logincode:
  11782. description: 登录代码(账户)
  11783. type: string
  11784. marketid:
  11785. description: 市场id
  11786. type: integer
  11787. orderid:
  11788. description: 关联委托单号
  11789. type: string
  11790. qtydecimalplace:
  11791. description: 成交量小数位
  11792. type: integer
  11793. tradeamount:
  11794. description: 金额
  11795. type: number
  11796. tradedate:
  11797. description: 交易日
  11798. type: string
  11799. tradeid:
  11800. description: 成交单号
  11801. type: string
  11802. trademode:
  11803. description: 交易模式
  11804. type: integer
  11805. tradeprice:
  11806. description: 价格
  11807. type: number
  11808. tradeqty:
  11809. description: 数量
  11810. type: number
  11811. tradetime:
  11812. description: 成交时间
  11813. type: string
  11814. userid:
  11815. description: 用户id
  11816. type: integer
  11817. userinfotype:
  11818. description: 账户类型 1-个人 2-企业
  11819. type: integer
  11820. type: object
  11821. models.QhjMgrTradeOrderDetailRsp:
  11822. properties:
  11823. accountid:
  11824. description: 资金账号
  11825. type: integer
  11826. accountname:
  11827. description: 用户名称
  11828. type: string
  11829. agreeunit:
  11830. description: 合约乘数
  11831. type: number
  11832. amount:
  11833. description: 金额
  11834. type: number
  11835. decimalplace:
  11836. description: 报价小数位
  11837. type: integer
  11838. enumdicname:
  11839. description: 单位名称(商品)
  11840. type: string
  11841. goodscode:
  11842. description: 商品代码(内部)
  11843. type: string
  11844. goodsid:
  11845. description: 商品id
  11846. type: integer
  11847. goodsname:
  11848. description: 商品名称
  11849. type: string
  11850. goodunitid:
  11851. description: 报价单位ID
  11852. type: integer
  11853. logincode:
  11854. description: 登录代码(账户)
  11855. type: string
  11856. marketid:
  11857. description: 市场id
  11858. type: integer
  11859. orderid:
  11860. description: 关联委托单号
  11861. type: string
  11862. orderprice:
  11863. description: 价格
  11864. type: number
  11865. orderqty:
  11866. description: 数量
  11867. type: number
  11868. orderstatus:
  11869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11870. type: integer
  11871. ordertime:
  11872. description: 委托时间
  11873. type: string
  11874. qtydecimalplace:
  11875. description: 成交量小数位
  11876. type: integer
  11877. tradedate:
  11878. description: 交易日
  11879. type: string
  11880. trademode:
  11881. description: 交易模式
  11882. type: integer
  11883. userid:
  11884. description: 用户id
  11885. type: integer
  11886. userinfotype:
  11887. description: 账户类型 1-个人 2-企业
  11888. type: integer
  11889. type: object
  11890. models.QhjMgrTradePayOrder:
  11891. properties:
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. advanceratio:
  11896. description: 首付比率
  11897. type: number
  11898. agreeunit:
  11899. description: 合约乘数
  11900. type: number
  11901. buyaccountid:
  11902. description: 买方账号ID[报价币种]
  11903. type: integer
  11904. buyorderid:
  11905. description: 买方委托单号(关联单号)
  11906. type: string
  11907. createtime:
  11908. description: 创建时间
  11909. type: string
  11910. decimalplace:
  11911. description: 报价小数位
  11912. type: integer
  11913. enumdicname:
  11914. description: 单位名称(商品)
  11915. type: string
  11916. goodscode:
  11917. description: 商品代码(内部)
  11918. type: string
  11919. goodsid:
  11920. description: 商品ID
  11921. type: integer
  11922. goodsname:
  11923. description: 商品名称
  11924. type: string
  11925. goodunitid:
  11926. description: 报价单位ID
  11927. type: integer
  11928. logincode:
  11929. description: 登录代码(账户)
  11930. type: string
  11931. marketid:
  11932. description: 市场id
  11933. type: integer
  11934. offamount:
  11935. description: 优惠金额
  11936. type: number
  11937. operatetype:
  11938. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11939. type: integer
  11940. payamount:
  11941. description: 支付金额(金额)
  11942. type: number
  11943. payflag:
  11944. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11945. type: integer
  11946. paylimitedtime:
  11947. description: 支付期限
  11948. type: string
  11949. paytime:
  11950. description: 付款时间
  11951. type: string
  11952. qtydecimalplace:
  11953. description: 成交量小数位
  11954. type: integer
  11955. sellaccountid:
  11956. description: 卖方账号ID[报价币种]
  11957. type: integer
  11958. sellorderid:
  11959. description: 卖方委托单号
  11960. type: string
  11961. tradeamount:
  11962. description: 成交金额(优惠后金额)
  11963. type: number
  11964. tradecharge:
  11965. description: 成交手续费(买方)
  11966. type: number
  11967. tradedate:
  11968. description: 交易日(yyyyMMdd)
  11969. type: string
  11970. tradeid:
  11971. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11972. type: string
  11973. trademode:
  11974. description: 交易模式
  11975. type: integer
  11976. tradeprice:
  11977. description: 成交价格(价格)
  11978. type: number
  11979. tradeqty:
  11980. description: 成交数量(数量)
  11981. type: number
  11982. tradetime:
  11983. description: 成交时间
  11984. type: string
  11985. userid:
  11986. description: 用户id
  11987. type: integer
  11988. userinfotype:
  11989. description: 账户类型 1-个人 2-企业
  11990. type: integer
  11991. type: object
  11992. models.QhjMyTeamEx:
  11993. properties:
  11994. accountname:
  11995. description: 用户名称
  11996. type: string
  11997. accountstatus:
  11998. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11999. type: integer
  12000. createtime:
  12001. description: 创建时间
  12002. type: string
  12003. mobile:
  12004. description: 手机号码
  12005. type: string
  12006. refereeuserid:
  12007. description: 推荐人id
  12008. type: integer
  12009. refernum:
  12010. description: 推荐码
  12011. type: string
  12012. subList:
  12013. items:
  12014. $ref: '#/definitions/models.QhjMyTeamEx'
  12015. type: array
  12016. userid:
  12017. description: 用户id
  12018. type: integer
  12019. userinfotype:
  12020. description: 用户类型 1-个人 2-企业
  12021. type: integer
  12022. type: object
  12023. models.QhjNodeAgreementConfig:
  12024. properties:
  12025. agreementcontent:
  12026. description: 协议内容
  12027. type: string
  12028. agreementid:
  12029. description: 协议ID
  12030. type: integer
  12031. agreementname:
  12032. description: 协议名称
  12033. type: string
  12034. agreementno:
  12035. description: 协议编号
  12036. type: string
  12037. agreementtype:
  12038. description: 协议类型 - 1:注册 2:登录 3:交易
  12039. type: integer
  12040. agreementversion:
  12041. description: 协议版本号
  12042. type: integer
  12043. configid:
  12044. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12045. type: integer
  12046. createtime:
  12047. description: 创建时间
  12048. type: string
  12049. goodsid:
  12050. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12051. type: integer
  12052. nodetype:
  12053. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12054. type: integer
  12055. type: object
  12056. models.QhjParentAreaList:
  12057. properties:
  12058. accountname:
  12059. description: 账户名称(机构名称)
  12060. type: string
  12061. userid:
  12062. description: 用户ID
  12063. type: integer
  12064. usertype:
  12065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12066. type: integer
  12067. type: object
  12068. models.QhjPayOrder:
  12069. properties:
  12070. advanceratio:
  12071. description: 首付比率
  12072. type: number
  12073. buyaccountid:
  12074. description: 买方账号ID[报价币种]
  12075. type: integer
  12076. buyorderid:
  12077. description: 买方委托单号
  12078. type: string
  12079. createtime:
  12080. description: 创建时间
  12081. type: string
  12082. decimalplace:
  12083. description: 商品报价小数位
  12084. type: integer
  12085. enumdicname:
  12086. description: 单位名称
  12087. type: string
  12088. goodscode:
  12089. description: 商品代码
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID
  12093. type: integer
  12094. goodsname:
  12095. description: 商品名称
  12096. type: string
  12097. goodunitid:
  12098. description: 商品单位id
  12099. type: integer
  12100. marketid:
  12101. description: 市场ID
  12102. type: integer
  12103. offamount:
  12104. description: 优惠金额
  12105. type: number
  12106. operatetype:
  12107. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12108. type: integer
  12109. payamount:
  12110. description: 支付金额
  12111. type: number
  12112. payflag:
  12113. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12114. type: integer
  12115. paylimitedtime:
  12116. description: 支付期限
  12117. type: string
  12118. paytime:
  12119. description: 付款时间
  12120. type: string
  12121. qtydecimalplace:
  12122. description: 成交量小数位
  12123. type: integer
  12124. sellaccountid:
  12125. description: 卖方账号ID[报价币种]
  12126. type: integer
  12127. sellorderid:
  12128. description: 卖方委托单号
  12129. type: string
  12130. tradeamount:
  12131. description: 成交金额(优惠后金额)
  12132. type: number
  12133. tradecharge:
  12134. description: 成交手续费(买方)
  12135. type: number
  12136. tradedate:
  12137. description: 交易日(yyyyMMdd)
  12138. type: string
  12139. tradeid:
  12140. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12141. type: string
  12142. tradeprice:
  12143. description: 成交价格
  12144. type: number
  12145. tradeqty:
  12146. description: 成交数量
  12147. type: number
  12148. type: object
  12149. models.QhjPickArea:
  12150. properties:
  12151. address:
  12152. description: 详细地址
  12153. type: string
  12154. cityid:
  12155. description: 市
  12156. type: integer
  12157. cityname:
  12158. description: 城市名称
  12159. type: string
  12160. countryid:
  12161. description: 国家
  12162. type: integer
  12163. countryname:
  12164. description: 国家名称
  12165. type: string
  12166. districtid:
  12167. description: 地区
  12168. type: integer
  12169. districtname:
  12170. description: 地区名称
  12171. type: string
  12172. fromuserid:
  12173. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12174. type: integer
  12175. fromusername:
  12176. description: 所属机构名称
  12177. type: string
  12178. provinceid:
  12179. description: 省
  12180. type: integer
  12181. provincename:
  12182. description: 省名称
  12183. type: string
  12184. suborgtype:
  12185. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12186. type: integer
  12187. userid:
  12188. description: 机构用户ID 其他做市关系,都设置为 1
  12189. type: integer
  12190. username:
  12191. description: 机构用户名称(门店门称)
  12192. type: string
  12193. type: object
  12194. models.QhjPickGoods:
  12195. properties:
  12196. enumdicname:
  12197. description: 单位名称(提货商品)
  12198. type: string
  12199. goodsid:
  12200. description: 商品id
  12201. type: integer
  12202. imageaddress:
  12203. description: 图片
  12204. type: string
  12205. modifierid:
  12206. description: 修改人
  12207. type: integer
  12208. modifiername:
  12209. description: 修改人名称
  12210. type: string
  12211. modifysrc:
  12212. description: 修改来源 - 1:管理端 2:终端
  12213. type: integer
  12214. pickupgoodsagreeunit:
  12215. description: 合约乘数
  12216. type: number
  12217. pickupgoodsdesc:
  12218. description: 描述
  12219. type: string
  12220. pickupgoodsid:
  12221. description: 提货商品ID
  12222. type: string
  12223. pickupgoodsname:
  12224. description: 提货商品名称
  12225. type: string
  12226. pickupgoodsstatus:
  12227. description: 状态 - 1:正常 2:停用 3:注销
  12228. type: integer
  12229. pickupgoodsunitid:
  12230. description: 单位ID
  12231. type: integer
  12232. pickupratio:
  12233. description: 提货系数
  12234. type: number
  12235. preparedays:
  12236. description: 备货期(天)
  12237. type: integer
  12238. remark:
  12239. description: 备注
  12240. type: string
  12241. updatetime:
  12242. description: 更新时间
  12243. type: string
  12244. type: object
  12245. models.QhjRSTriggerLog:
  12246. properties:
  12247. accountid:
  12248. description: 用户资金账户
  12249. type: integer
  12250. accountname:
  12251. description: 账号名称(ACCOUNTID对应的名称)
  12252. type: string
  12253. currencyid:
  12254. description: 币种id
  12255. type: integer
  12256. currencyname:
  12257. description: 币种名称
  12258. type: string
  12259. decimalplace:
  12260. description: 商品报价小数位
  12261. type: integer
  12262. enumdicname:
  12263. description: 单位名称
  12264. type: string
  12265. goodscode:
  12266. description: 定投商品代码
  12267. type: string
  12268. goodsid:
  12269. description: 定投商品ID
  12270. type: integer
  12271. goodsname:
  12272. description: 定投商品名称
  12273. type: string
  12274. goodunitid:
  12275. description: 定投商品单位id
  12276. type: integer
  12277. logid:
  12278. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12279. type: string
  12280. logincode:
  12281. description: 账号(登录代码)
  12282. type: string
  12283. qtydecimalplace:
  12284. description: 成交量小数位
  12285. type: integer
  12286. regularlycycle:
  12287. description: 定投频率 - 1:每周 2:每月
  12288. type: integer
  12289. regularlycyclevalue:
  12290. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12291. type: string
  12292. regularlymode:
  12293. description: 定投方式 - 1:按数量 2:按金额
  12294. type: integer
  12295. regularlymodevalue:
  12296. description: 定投方式值 - 数量或金额
  12297. type: number
  12298. regularlystrategyid:
  12299. description: 定投策略ID
  12300. type: integer
  12301. retcode:
  12302. description: 错误码
  12303. type: string
  12304. tradeid:
  12305. description: 成交单ID
  12306. type: string
  12307. triggeramount:
  12308. description: 触发金额
  12309. type: number
  12310. triggerqty:
  12311. description: 触发数量
  12312. type: number
  12313. triggerstatus:
  12314. description: 触发状态 - 1:成功 2:失败
  12315. type: integer
  12316. triggertime:
  12317. description: 触发时间
  12318. type: string
  12319. triggertradedate:
  12320. description: 触发交易日
  12321. type: string
  12322. userid:
  12323. description: 所属用户ID
  12324. type: integer
  12325. userinfotype:
  12326. description: 用户类型 1-个人 2-企业
  12327. type: integer
  12328. username:
  12329. description: 用户名称(userid对应的名称)
  12330. type: string
  12331. type: object
  12332. models.QhjRStrategy:
  12333. properties:
  12334. accountid:
  12335. description: 用户资金账户
  12336. type: integer
  12337. accountname:
  12338. description: 账号名称(ACCOUNTID对应的名称)
  12339. type: string
  12340. currencyid:
  12341. description: 币种id
  12342. type: integer
  12343. currencyname:
  12344. description: 币种名称
  12345. type: string
  12346. decimalplace:
  12347. description: 商品报价小数位
  12348. type: integer
  12349. enumdicname:
  12350. description: 单位名称
  12351. type: string
  12352. goodscode:
  12353. description: 定投商品代码
  12354. type: string
  12355. goodsid:
  12356. description: 定投商品ID
  12357. type: integer
  12358. goodsname:
  12359. description: 定投商品名称
  12360. type: string
  12361. goodunitid:
  12362. description: 定投商品单位id
  12363. type: integer
  12364. lasteffecttradedate:
  12365. description: 最新生效交易日
  12366. type: string
  12367. laststoptradedate:
  12368. description: 最新暂停交易日
  12369. type: string
  12370. lasttriggertradedate:
  12371. description: 最新触发交易日
  12372. type: string
  12373. logincode:
  12374. description: 账号(登录代码)
  12375. type: string
  12376. nexttriggeramount:
  12377. description: 下次触发金额
  12378. type: number
  12379. nexttriggerdate:
  12380. description: 下次触发日期
  12381. type: string
  12382. nexttriggerqty:
  12383. description: 下次触发数量 [按小数位放大值]
  12384. type: number
  12385. qtydecimalplace:
  12386. description: 成交量小数位
  12387. type: integer
  12388. regularlycycle:
  12389. description: 定投频率 - 1:每周 2:每月
  12390. type: integer
  12391. regularlycyclevalue:
  12392. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12393. type: string
  12394. regularlymode:
  12395. description: 定投方式 - 1:按数量 2:按金额
  12396. type: integer
  12397. regularlymodevalue:
  12398. description: 定投方式值 - 数量或金额
  12399. type: number
  12400. regularlystrategyid:
  12401. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12402. type: integer
  12403. regularlystrategystatus:
  12404. description: 策略状态 - 1:正常 2:暂停 3:终止
  12405. type: integer
  12406. remark:
  12407. description: 备注
  12408. type: string
  12409. triggersuccesstimes:
  12410. description: 累计定投成功次数
  12411. type: string
  12412. triggertotalamount:
  12413. description: 累计定投金额(成功)
  12414. type: number
  12415. triggertotalqty:
  12416. description: 累计定投数量(成功) [按小数位放大值]
  12417. type: number
  12418. triggertotaltimes:
  12419. description: 累计定投总次数
  12420. type: string
  12421. updatesrc:
  12422. description: 更新来源 - 1:管理端 2:终端
  12423. type: integer
  12424. updatetime:
  12425. description: 更新时间
  12426. type: string
  12427. updatorid:
  12428. description: 更新人
  12429. type: string
  12430. userid:
  12431. description: 所属用户ID
  12432. type: integer
  12433. userinfotype:
  12434. description: 用户类型 1-个人 2-企业
  12435. type: integer
  12436. username:
  12437. description: 用户名称(userid对应的名称)
  12438. type: string
  12439. type: object
  12440. models.QhjReckonPriceLog:
  12441. properties:
  12442. decimalplace:
  12443. description: 商品报价小数位
  12444. type: integer
  12445. goodscode:
  12446. description: 商品代码
  12447. type: string
  12448. goodsid:
  12449. description: 商品ID
  12450. type: integer
  12451. goodsname:
  12452. description: 商品名称
  12453. type: string
  12454. lastreckonprice:
  12455. description: 上日结算价
  12456. type: number
  12457. nextdnlimitprice:
  12458. description: 下个交易日跌停价
  12459. type: number
  12460. nexttrade:
  12461. description: 下个交易日
  12462. type: string
  12463. nextuplimitprice:
  12464. description: 下个交易日涨停价
  12465. type: number
  12466. reckonprice:
  12467. description: 今日结算价(定投价)
  12468. type: number
  12469. reckontime:
  12470. description: 结算时间
  12471. type: string
  12472. totalholderqty:
  12473. description: 总持仓数
  12474. type: integer
  12475. totalstock:
  12476. description: 总库存
  12477. type: integer
  12478. tradedate:
  12479. description: 交易日
  12480. type: string
  12481. updowncount:
  12482. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12483. type: integer
  12484. updownflag:
  12485. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12486. type: integer
  12487. updownrate:
  12488. description: 今日涨跌幅
  12489. type: number
  12490. updownrate_2d:
  12491. description: 连续两日涨跌幅
  12492. type: number
  12493. updownrate_3d:
  12494. description: 连续三日涨跌幅
  12495. type: number
  12496. type: object
  12497. models.QhjScoreLog:
  12498. properties:
  12499. accountid:
  12500. description: 账户ID
  12501. type: integer
  12502. createtime:
  12503. description: 创建时间(时间)
  12504. type: string
  12505. goodsid:
  12506. description: 商品ID
  12507. type: integer
  12508. hasuploaded:
  12509. description: 是否已同步(千海金) 0:未同步 1;已同步
  12510. type: integer
  12511. logid:
  12512. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12513. type: string
  12514. marketid:
  12515. description: 市场ID
  12516. type: integer
  12517. relatedamount:
  12518. description: 关联金额
  12519. type: number
  12520. relatedorderid:
  12521. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12522. type: string
  12523. scoreconfigvalue1:
  12524. description: 积分配置1
  12525. type: integer
  12526. scoreconfigvalue2:
  12527. description: 积分配置1
  12528. type: integer
  12529. scoretype:
  12530. description: 积分类型 - 1:提货积分
  12531. type: integer
  12532. scorevalue:
  12533. description: 积分
  12534. type: number
  12535. tradedate:
  12536. description: 交易日(yyyyMMdd)
  12537. type: string
  12538. uploadedtime:
  12539. description: 同步时间
  12540. type: string
  12541. userid:
  12542. description: 用户ID
  12543. type: integer
  12544. type: object
  12545. models.QhjSiteColumnDetail:
  12546. properties:
  12547. author:
  12548. description: 作者
  12549. type: string
  12550. brief:
  12551. description: 简介
  12552. type: string
  12553. columnid:
  12554. description: 所属栏目
  12555. type: integer
  12556. context:
  12557. description: 内容
  12558. type: string
  12559. coverimage:
  12560. description: 封面图片
  12561. type: string
  12562. creaedate:
  12563. description: 创建时间
  12564. type: string
  12565. creatorid:
  12566. description: 创建人
  12567. type: integer
  12568. hits:
  12569. description: 点击数
  12570. type: integer
  12571. id:
  12572. description: ID(SEQ_SITE_COLUMNDETAIL)
  12573. type: integer
  12574. isshow:
  12575. description: 是否展示 - 0:不展示 1:展示
  12576. type: integer
  12577. istop:
  12578. description: 是否置顶 - 0:不置 1:置顶
  12579. type: integer
  12580. modifierid:
  12581. description: 操作人
  12582. type: integer
  12583. publishdate:
  12584. description: 发布日期
  12585. type: string
  12586. status:
  12587. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12588. type: integer
  12589. title:
  12590. description: 标题
  12591. type: string
  12592. updatedate:
  12593. description: 修改时间
  12594. type: string
  12595. userid:
  12596. description: 用户ID(默认为0, 核心为为机构用户ID)
  12597. type: integer
  12598. username:
  12599. description: 用户名称
  12600. type: string
  12601. type: object
  12602. models.QhjTeamOrder:
  12603. properties:
  12604. accountid:
  12605. description: 账户ID[报价币种]
  12606. type: integer
  12607. accountname:
  12608. description: 账户名称
  12609. type: string
  12610. agreeunit:
  12611. description: 合约乘数
  12612. type: number
  12613. buyorsell:
  12614. description: 方向 - 0:买 1:卖
  12615. type: integer
  12616. decimalplace:
  12617. description: 报价小数位
  12618. type: integer
  12619. enumdicname:
  12620. description: 单位名称
  12621. type: string
  12622. goodscode:
  12623. description: 商品代码(内部)
  12624. type: string
  12625. goodsid:
  12626. description: 商品ID
  12627. type: integer
  12628. goodsname:
  12629. description: 商品名称
  12630. type: string
  12631. goodunitid:
  12632. description: 报价单位ID
  12633. type: integer
  12634. marketid:
  12635. description: 市场ID
  12636. type: integer
  12637. marketname:
  12638. description: 市场名称
  12639. type: string
  12640. qtydecimalplace:
  12641. description: 成交量小数位
  12642. type: integer
  12643. refereeuserid:
  12644. description: 推荐人ID
  12645. type: integer
  12646. tradeamount:
  12647. description: 成交金额[账户币种,用于所有权]
  12648. type: number
  12649. tradedate:
  12650. description: 交易日(yyyyMMdd)
  12651. type: string
  12652. trademode:
  12653. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12654. type: integer
  12655. tradeprice:
  12656. description: 成交价格
  12657. type: number
  12658. tradeqty:
  12659. description: 成交数量
  12660. type: number
  12661. tradetime:
  12662. description: 成交时间
  12663. type: string
  12664. userid:
  12665. description: 用户ID
  12666. type: integer
  12667. type: object
  12668. models.QhjTradeGoodsPickup:
  12669. properties:
  12670. accountid:
  12671. description: 账户ID
  12672. type: integer
  12673. address:
  12674. description: 提货人详细地址
  12675. type: string
  12676. amount:
  12677. description: 提货金额
  12678. type: number
  12679. artradedate:
  12680. description: 自动收货交易日(yyyyMMdd)
  12681. type: string
  12682. auditer:
  12683. description: 审核人
  12684. type: integer
  12685. auditsrc:
  12686. description: 更新来源 - 1:管理端 2:终端
  12687. type: integer
  12688. audittime:
  12689. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12690. type: string
  12691. audittradedate:
  12692. description: 审核交易日(yyyyMMdd)
  12693. type: string
  12694. cardnum:
  12695. description: 提货人证件号码
  12696. type: string
  12697. cardtypeid:
  12698. description: 提货人证件类型
  12699. type: integer
  12700. checkremark:
  12701. description: 审核备注
  12702. type: string
  12703. cityid:
  12704. description: 市
  12705. type: integer
  12706. cityname:
  12707. description: 城市名称
  12708. type: string
  12709. confirmtime:
  12710. description: 取货时间 或 收货时间
  12711. type: string
  12712. countryid:
  12713. description: 国家
  12714. type: integer
  12715. countryname:
  12716. description: 国家名称
  12717. type: string
  12718. decimalplace:
  12719. description: 商品报价小数位
  12720. type: integer
  12721. districtid:
  12722. description: 地区
  12723. type: integer
  12724. districtname:
  12725. description: 地区名称
  12726. type: string
  12727. enumdicname:
  12728. description: 单位名称(提货商品)
  12729. type: string
  12730. expresscompany:
  12731. description: 物流公司
  12732. type: string
  12733. expressnum:
  12734. description: 物流单号
  12735. type: string
  12736. goodsagreeunit:
  12737. description: 交易商品乘数
  12738. type: number
  12739. goodscode:
  12740. description: 商品代码
  12741. type: string
  12742. goodsid:
  12743. description: 商品ID
  12744. type: integer
  12745. goodsname:
  12746. description: 商品名称
  12747. type: string
  12748. goodsqty:
  12749. description: 交易商品手数(69模式按成交量小数位放大取整)
  12750. type: number
  12751. handlestatus:
  12752. description: 处理状态
  12753. type: integer
  12754. logincode:
  12755. description: 账号(登录代码, 有可能为空)
  12756. type: string
  12757. marketid:
  12758. description: 市场ID
  12759. type: integer
  12760. phonenum:
  12761. description: 提货人联系方式
  12762. type: string
  12763. pickupgoodsagreeunit:
  12764. description: 提货商品合约乘数
  12765. type: number
  12766. pickupgoodsid:
  12767. description: 提货商品ID
  12768. type: string
  12769. pickupgoodsname:
  12770. description: 提货商品名称
  12771. type: string
  12772. pickupgoodsqty:
  12773. description: 提货商品手数(数量)
  12774. type: number
  12775. pickupgoodsunitid:
  12776. description: 单位ID(提货商品)
  12777. type: integer
  12778. pickupratio:
  12779. description: 提货系数
  12780. type: number
  12781. preparedays:
  12782. description: 备货期(天)-提货单明细表
  12783. type: integer
  12784. provinceid:
  12785. description: 省
  12786. type: integer
  12787. provincename:
  12788. description: 省名称
  12789. type: string
  12790. qty:
  12791. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12792. type: number
  12793. qtydecimalplace:
  12794. description: 商品数量小数位
  12795. type: integer
  12796. recivername:
  12797. description: 提货人姓名
  12798. type: string
  12799. reqtime:
  12800. description: 提货申请时间
  12801. type: string
  12802. storeuserid:
  12803. description: 门店用户ID (千海金)
  12804. type: integer
  12805. storeusername:
  12806. description: 门店用户名称
  12807. type: string
  12808. takemode:
  12809. description: 提货方式 - 2:自提 3:配送(邮寄)
  12810. type: integer
  12811. takeorderid:
  12812. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12813. type: string
  12814. takeorderstatus:
  12815. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12816. type: integer
  12817. takeremark:
  12818. description: 提货备注
  12819. type: string
  12820. tradedate:
  12821. description: 交易日(yyyyMMdd)
  12822. type: string
  12823. updatetime:
  12824. description: 更新时间
  12825. type: string
  12826. userid:
  12827. description: 用户ID
  12828. type: integer
  12829. userinfotype:
  12830. description: 客户类型 1-个人 2-企业
  12831. type: integer
  12832. username:
  12833. description: 用户名称
  12834. type: string
  12835. type: object
  12836. models.QhjUserNodeCfgAndStatus:
  12837. properties:
  12838. agreementcontent:
  12839. description: 协议内容
  12840. type: string
  12841. agreementid:
  12842. description: 协议ID
  12843. type: integer
  12844. agreementname:
  12845. description: 协议名称
  12846. type: string
  12847. agreementno:
  12848. description: 协议编号
  12849. type: string
  12850. agreementtype:
  12851. description: 协议类型 - 1:注册 2:登录 3:交易
  12852. type: integer
  12853. agreementversion:
  12854. description: 协议版本号
  12855. type: integer
  12856. configid:
  12857. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12858. type: integer
  12859. createtime:
  12860. description: 创建时间
  12861. type: string
  12862. goodsid:
  12863. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12864. type: integer
  12865. nodetype:
  12866. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12867. type: integer
  12868. signtimestamp:
  12869. description: 签约状态时间戳(最近一次)
  12870. type: string
  12871. tradedate:
  12872. description: 签约交易日(yyyyMMdd)
  12873. type: string
  12874. userid:
  12875. description: 客户ID
  12876. type: integer
  12877. type: object
  12878. models.Qhjgoodsex:
  12879. properties:
  12880. canfinance:
  12881. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12882. type: integer
  12883. canregularlybuy:
  12884. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12885. type: integer
  12886. defaulttradeuserid:
  12887. description: 默认交易用户ID
  12888. type: integer
  12889. deliverygoodsid:
  12890. description: 现货品种ID
  12891. type: integer
  12892. goodsid:
  12893. description: 商品ID(自增ID SEQ_GOODS)
  12894. type: integer
  12895. minamount:
  12896. description: 最小购买金额
  12897. type: number
  12898. regularlybuyminamount:
  12899. description: 定投最小金额
  12900. type: number
  12901. regularlybuyminqty:
  12902. description: 定投最小数量
  12903. type: number
  12904. spotgoodsbrandid:
  12905. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12906. type: integer
  12907. visibilityforenterprise:
  12908. description: 企业客户是否可见 - 0:不可见 1:可见
  12909. type: integer
  12910. visibilityforpersonal:
  12911. description: 个人客户是否可见 - 0:不可见 1:可见
  12912. type: integer
  12913. wrstandardid:
  12914. description: 现货商品ID
  12915. type: integer
  12916. type: object
  12917. models.QueryErrorInfosRsp:
  12918. properties:
  12919. description:
  12920. description: 异常描述
  12921. type: string
  12922. errorcode:
  12923. description: 异常代码
  12924. type: string
  12925. errorid:
  12926. description: 异常ID
  12927. type: integer
  12928. modulecode:
  12929. description: 所属模块
  12930. type: string
  12931. operatecode:
  12932. description: 所属操作
  12933. type: string
  12934. rownumber:
  12935. description: 行号
  12936. type: string
  12937. required:
  12938. - errorid
  12939. type: object
  12940. models.QueryHedgeOrderDetailRsp:
  12941. properties:
  12942. accountid:
  12943. description: 账户ID
  12944. type: integer
  12945. buyorsell:
  12946. description: 买卖 - 0:买 1:卖
  12947. type: integer
  12948. cancellogincode:
  12949. description: 撤单人
  12950. type: string
  12951. channelbuildtype:
  12952. description: 开平标志 - 0:无 1:建仓 2:平仓
  12953. type: integer
  12954. channelinnerorderstatus:
  12955. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12956. type: integer
  12957. channeloperatetype:
  12958. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12959. type: integer
  12960. closetype:
  12961. description: 平仓方式 - 0:无 1:平今 2:平昨
  12962. type: integer
  12963. curexchangerate:
  12964. description: 当前汇率
  12965. type: number
  12966. exchangefullname:
  12967. description: 外部交易所全称
  12968. type: string
  12969. goodscode:
  12970. description: 商品代码(内部)
  12971. type: string
  12972. goodsid:
  12973. description: 商品ID
  12974. type: integer
  12975. goodsname:
  12976. description: 商品名称
  12977. type: string
  12978. marketid:
  12979. description: 市场ID
  12980. type: integer
  12981. openfreezemargin:
  12982. description: 冻结保证金(冻结交易金额)
  12983. type: number
  12984. orderid:
  12985. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12986. type: string
  12987. orderlogincode:
  12988. description: 委托人
  12989. type: string
  12990. orderprice:
  12991. description: 委托价格(账户)
  12992. type: number
  12993. orderqty:
  12994. description: 委托数量
  12995. type: integer
  12996. ordertime:
  12997. description: 委托时间
  12998. type: string
  12999. pricemode:
  13000. description: '取价方式 - 1:市价 2: 限价'
  13001. type: integer
  13002. tradedate:
  13003. description: 交易日(yyyyMMdd)
  13004. type: string
  13005. tradeqty:
  13006. description: 成交数量
  13007. type: integer
  13008. type: object
  13009. models.QueryHedgeTradeDetailRsp:
  13010. properties:
  13011. accountid:
  13012. description: 账号ID
  13013. type: integer
  13014. buyorsell:
  13015. description: 方向 - 0:买 1:卖
  13016. type: integer
  13017. channelbuildtype:
  13018. description: 委托单据类型 0:无 1:建仓 2:平仓
  13019. type: integer
  13020. closecharge:
  13021. description: 平仓手续费(账户)
  13022. type: number
  13023. closecharge2:
  13024. description: 平仓手续费(商品)
  13025. type: number
  13026. closepl:
  13027. description: 平仓盈亏(账户)
  13028. type: number
  13029. closepl2:
  13030. description: 平仓盈亏(商品)
  13031. type: number
  13032. closepl3:
  13033. description: 平仓盈亏(账户)(逐笔)
  13034. type: number
  13035. closepl4:
  13036. description: 平仓盈亏(商品)(逐笔)
  13037. type: number
  13038. closetype:
  13039. description: 平仓方式 - 0:无 1:平今 2:平昨
  13040. type: integer
  13041. curexchangerate:
  13042. description: 当前汇率
  13043. type: number
  13044. exchangefullname:
  13045. description: 外部交易所全称
  13046. type: string
  13047. goodscode:
  13048. description: 商品代码(内部)
  13049. type: string
  13050. goodsid:
  13051. description: 商品ID
  13052. type: integer
  13053. goodsname:
  13054. description: 商品名称
  13055. type: string
  13056. marketid:
  13057. description: 市场ID
  13058. type: integer
  13059. opencharge:
  13060. description: 建仓手续费(账户)
  13061. type: number
  13062. opencharge2:
  13063. description: 建仓手续费(商品)
  13064. type: number
  13065. orderid:
  13066. description: 委托单号
  13067. type: string
  13068. orderlogincode:
  13069. description: 委托人
  13070. type: string
  13071. tradeamount:
  13072. description: 成交金额(账户)
  13073. type: number
  13074. tradedate:
  13075. description: 交易日(yyyyMMdd)
  13076. type: string
  13077. tradeid:
  13078. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13079. type: string
  13080. tradeprice:
  13081. description: 成交价格
  13082. type: number
  13083. tradeqty:
  13084. description: 成交数量
  13085. type: integer
  13086. tradetime:
  13087. description: 成交时间
  13088. type: string
  13089. tradetype:
  13090. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13091. type: integer
  13092. type: object
  13093. models.QuotePrimaryMenu:
  13094. properties:
  13095. Index:
  13096. description: 序号
  13097. type: integer
  13098. Key:
  13099. description: 键名
  13100. type: string
  13101. Name:
  13102. description: 菜单名称
  13103. type: string
  13104. SubMenus:
  13105. description: 子菜单
  13106. items:
  13107. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13108. type: array
  13109. SubTitleType:
  13110. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13111. type: integer
  13112. TradeModes:
  13113. description: 包含市场交易类型
  13114. type: string
  13115. type: object
  13116. models.QuoteSecondaryMenu:
  13117. properties:
  13118. ExExchangeCode:
  13119. description: 外部交易所代码
  13120. type: string
  13121. ExExchangeID:
  13122. description: 外部交易所ID
  13123. type: integer
  13124. GoodsGroupIDs:
  13125. description: 商品组ID列表
  13126. items:
  13127. type: integer
  13128. type: array
  13129. Index:
  13130. description: 序号
  13131. type: integer
  13132. MarketID:
  13133. description: 市场ID
  13134. type: integer
  13135. MenuTitle:
  13136. description: 菜单标题(市场名称或外部交易所名称)
  13137. type: string
  13138. TradeMode:
  13139. description: 交易模式
  13140. type: integer
  13141. type: object
  13142. models.RoleMenu:
  13143. properties:
  13144. hasright:
  13145. description: 是否有权限 0-没有权限 1-有权限
  13146. type: integer
  13147. iconame:
  13148. description: 菜单图标
  13149. type: string
  13150. menutype:
  13151. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13152. type: integer
  13153. parentcode:
  13154. description: 上级资源代码
  13155. type: string
  13156. remark:
  13157. description: 菜单备注
  13158. type: string
  13159. resourcecode:
  13160. description: 菜单代码
  13161. type: string
  13162. resourcelevel:
  13163. description: 级别
  13164. type: integer
  13165. resourcename:
  13166. description: 菜单名称
  13167. type: string
  13168. roleid:
  13169. description: 角色id
  13170. type: integer
  13171. sort:
  13172. description: 排序
  13173. type: integer
  13174. subMenu:
  13175. description: 子级菜单(结构同上层一样, swag解析不出来)
  13176. items:
  13177. $ref: '#/definitions/models.RoleMenu'
  13178. type: array
  13179. url:
  13180. description: URL
  13181. type: string
  13182. userid:
  13183. description: 用户id
  13184. type: integer
  13185. type: object
  13186. models.SearchGoods:
  13187. properties:
  13188. goodscode:
  13189. description: 商品代码(内部)
  13190. type: string
  13191. goodsid:
  13192. description: 商品ID(自增ID SEQ_GOODS)
  13193. type: integer
  13194. goodsname:
  13195. description: 商品名称
  13196. type: string
  13197. marketid:
  13198. description: 所属市场ID
  13199. type: integer
  13200. marketname:
  13201. description: 市场名称
  13202. type: string
  13203. trademode:
  13204. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13205. type: integer
  13206. required:
  13207. - goodscode
  13208. - goodsid
  13209. - goodsname
  13210. - marketid
  13211. - trademode
  13212. type: object
  13213. models.Systemparam:
  13214. properties:
  13215. loginid:
  13216. description: 更新用户账号,登录账号
  13217. type: string
  13218. modifyflag:
  13219. description: 修改标志0 不允许修改 1 允许修改
  13220. type: integer
  13221. paramcode:
  13222. description: 参数代码
  13223. type: string
  13224. paramname:
  13225. description: 参数名
  13226. type: string
  13227. paramtype:
  13228. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13229. type: integer
  13230. paramvalue:
  13231. description: 参数值
  13232. type: string
  13233. paramvalue2:
  13234. description: 参数值(CLOB)
  13235. type: string
  13236. regexpress:
  13237. description: 正则表达式
  13238. type: string
  13239. remark:
  13240. description: 备注
  13241. type: string
  13242. serverip:
  13243. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13244. type: string
  13245. showflag:
  13246. description: 是否显示0 不显示 1 显示
  13247. type: integer
  13248. updatetime:
  13249. description: 更新时间
  13250. type: string
  13251. userid:
  13252. description: 更新用户ID
  13253. type: integer
  13254. required:
  13255. - paramcode
  13256. type: object
  13257. models.Szdz3convertconfig:
  13258. properties:
  13259. canin:
  13260. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13261. type: integer
  13262. canout:
  13263. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13264. type: integer
  13265. converttype:
  13266. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13267. type: integer
  13268. createtime:
  13269. description: 创建时间
  13270. type: string
  13271. creatorid:
  13272. description: 创建人
  13273. type: integer
  13274. daymaxvalue:
  13275. description: 当日最大转入限制
  13276. type: number
  13277. freezedays:
  13278. description: 冻结天数 [5:花生米转交易]
  13279. type: integer
  13280. innergoodsid:
  13281. description: 内部商品ID[交易]
  13282. type: integer
  13283. inratio:
  13284. description: 目标值
  13285. type: integer
  13286. modifierid:
  13287. description: 修改人
  13288. type: integer
  13289. modifytime:
  13290. description: 修改时间
  13291. type: string
  13292. outergoodscode:
  13293. description: 外部商品代码[JD\PD]
  13294. type: string
  13295. outratio:
  13296. description: 源值
  13297. type: integer
  13298. pddecimalplace:
  13299. description: PD小数位
  13300. type: integer
  13301. timemaxvalue:
  13302. description: 单次最大转入限制
  13303. type: number
  13304. timeminvalue:
  13305. description: 单次最小转入限制
  13306. type: number
  13307. required:
  13308. - converttype
  13309. - innergoodsid
  13310. - outergoodscode
  13311. type: object
  13312. models.Szdz3searchwhitelist:
  13313. properties:
  13314. createtime:
  13315. description: 创建时间
  13316. type: string
  13317. creatorid:
  13318. description: 创建人
  13319. type: integer
  13320. modifierid:
  13321. description: 修改人
  13322. type: integer
  13323. modifytime:
  13324. description: 修改时间
  13325. type: string
  13326. userid:
  13327. description: 用户ID
  13328. type: integer
  13329. required:
  13330. - userid
  13331. type: object
  13332. models.TBGoods:
  13333. properties:
  13334. agreeunit:
  13335. description: 合约乘数
  13336. type: number
  13337. enumdicname:
  13338. description: 单位名称
  13339. type: string
  13340. goodscode:
  13341. description: 商品代码(内部)
  13342. type: string
  13343. goodsid:
  13344. description: 商品ID(自增ID SEQ_GOODS)
  13345. type: integer
  13346. goodsname:
  13347. description: 商品名称
  13348. type: string
  13349. type: object
  13350. models.TBGoodsGroup:
  13351. properties:
  13352. GDLST:
  13353. description: 商品列表
  13354. items:
  13355. $ref: '#/definitions/models.TBGoods'
  13356. type: array
  13357. convertratio:
  13358. description: 折算系数
  13359. type: number
  13360. enumdicname:
  13361. description: 单位名称
  13362. type: string
  13363. exexchangecode:
  13364. description: 交易所代码
  13365. type: string
  13366. exexchangename:
  13367. description: 交易所名称
  13368. type: string
  13369. goodsgroupid:
  13370. description: 商品组ID(自增ID)
  13371. type: integer
  13372. goodsgroupname:
  13373. description: 商品组名称
  13374. type: string
  13375. goodunitid:
  13376. description: 报价单位ID
  13377. type: integer
  13378. type: object
  13379. models.TBMiddleGoods:
  13380. properties:
  13381. GPLST:
  13382. description: 期货品种列表
  13383. items:
  13384. $ref: '#/definitions/models.TBGoodsGroup'
  13385. type: array
  13386. WDLST:
  13387. description: 商品信息列表(现货品类)
  13388. items:
  13389. $ref: '#/definitions/models.TBWrstandard'
  13390. type: array
  13391. areauserid:
  13392. description: 机构用户ID
  13393. type: integer
  13394. enumdicname:
  13395. description: 单位名称
  13396. type: string
  13397. goodsunitid:
  13398. description: 套保品种单位id
  13399. type: integer
  13400. middlegoodscode:
  13401. description: 套保品种代码
  13402. type: string
  13403. middlegoodsid:
  13404. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13405. type: integer
  13406. middlegoodsname:
  13407. description: 套保品种名称
  13408. type: string
  13409. needarbitrageratio:
  13410. description: 套利比率
  13411. type: number
  13412. needhedgeratio:
  13413. description: 套保比率
  13414. type: number
  13415. type: object
  13416. models.TBWrstandard:
  13417. properties:
  13418. convertratio:
  13419. description: 折算系数
  13420. type: number
  13421. deliverygoodsname:
  13422. description: 品种名称
  13423. type: string
  13424. enumdicname:
  13425. description: 单位名称
  13426. type: string
  13427. vatrate:
  13428. description: 增值税率
  13429. type: number
  13430. wrstandardcode:
  13431. description: 现货商品代码
  13432. type: string
  13433. wrstandardid:
  13434. description: 现货商品ID(SEQ_WRSTANDARD)
  13435. type: integer
  13436. wrstandardname:
  13437. description: 现货商品名称
  13438. type: string
  13439. type: object
  13440. models.Taaccount:
  13441. properties:
  13442. accountflag:
  13443. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13444. type: integer
  13445. accountid:
  13446. description: 资金账户ID
  13447. type: integer
  13448. accountname:
  13449. description: 账户名称
  13450. type: string
  13451. balance:
  13452. description: 期初余额
  13453. type: number
  13454. capitalbalance:
  13455. description: 本金余额[外部子账户实际出入金余额]
  13456. type: number
  13457. changeflag:
  13458. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13459. type: integer
  13460. changetime:
  13461. description: 账户状态变更时间
  13462. type: string
  13463. closepl:
  13464. description: 今日平仓盈亏
  13465. type: number
  13466. creditdecrease:
  13467. description: 今日授信减少
  13468. type: number
  13469. creditincrease:
  13470. description: 今日授信增加
  13471. type: number
  13472. curamount:
  13473. description: 总市值(从持仓中统计)
  13474. type: number
  13475. currencyid:
  13476. description: 货币ID
  13477. type: integer
  13478. currentbalance:
  13479. description: 期末余额
  13480. type: number
  13481. freezecharge:
  13482. description: 手续费冻结
  13483. type: number
  13484. freezemargin:
  13485. description: 冻结保证金
  13486. type: number
  13487. fromaccountid:
  13488. description: 所属上级账户
  13489. type: integer
  13490. inamount:
  13491. description: 今日入金金额(包括三方入金)
  13492. type: number
  13493. ismain:
  13494. description: 是否母账号 0:不是母账户 1:是母账户
  13495. type: integer
  13496. ismarketaccount:
  13497. description: 是否机构接单账号 0:不是 1:是
  13498. type: integer
  13499. isreckonaccount:
  13500. description: 是否机构分润账号 0:不是 1:是
  13501. type: integer
  13502. mortgagecredit:
  13503. description: 授信金额
  13504. type: number
  13505. orifreezecharge:
  13506. description: 期初手续费冻结
  13507. type: number
  13508. orifreezemargin:
  13509. description: 期初冻结保证金
  13510. type: number
  13511. orimortgagecredit:
  13512. description: 期初授信金额
  13513. type: number
  13514. oriothercredit:
  13515. description: 期初其它授信金额
  13516. type: number
  13517. oriotherfreezemargin:
  13518. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13519. type: number
  13520. orioutamountfreeze:
  13521. description: 期初出金冻结
  13522. type: number
  13523. oriusedmargin:
  13524. description: 期初占用保证金
  13525. type: number
  13526. othercredit:
  13527. description: 其它授信金额
  13528. type: number
  13529. othercreditdecrease:
  13530. description: 今日其它授信减少
  13531. type: number
  13532. othercreditincrease:
  13533. description: 今日其它授信增加
  13534. type: number
  13535. otherfreezemargin:
  13536. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13537. type: number
  13538. otherincome:
  13539. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13540. type: number
  13541. otherpay:
  13542. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13543. type: number
  13544. outamount:
  13545. description: 今日出金金额(包括三方出金)
  13546. type: number
  13547. outamountfreeze:
  13548. description: 出金冻结
  13549. type: number
  13550. outthreshold:
  13551. description: 出金阈值
  13552. type: number
  13553. parentaccountid:
  13554. description: 所属根账号
  13555. type: integer
  13556. paycharge:
  13557. description: 今日手续费支出
  13558. type: number
  13559. relatedaccountstatus:
  13560. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13561. type: integer
  13562. relateduserid:
  13563. description: 关联用户
  13564. type: integer
  13565. remainamount:
  13566. description: 融资额(从融资合同中统计)
  13567. type: number
  13568. serivcegroup:
  13569. description: 服务分组
  13570. type: integer
  13571. signstatus:
  13572. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13573. type: integer
  13574. sublevelpath:
  13575. description: 账号层级路径(逗号分隔,首尾加逗号)
  13576. type: string
  13577. taaccounttype:
  13578. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13579. type: integer
  13580. thirdinamount:
  13581. description: 今日三方入金
  13582. type: number
  13583. thirdoutamount:
  13584. description: 今日三方出金
  13585. type: number
  13586. tradestatus:
  13587. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13588. type: integer
  13589. tradestatuschangetime:
  13590. description: 激活时间
  13591. type: string
  13592. transferamount:
  13593. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13594. type: number
  13595. usedmargin:
  13596. description: 占用保证金
  13597. type: number
  13598. userid:
  13599. description: 用户ID
  13600. type: integer
  13601. required:
  13602. - accountid
  13603. - userid
  13604. type: object
  13605. models.Tablecolumnconfig:
  13606. properties:
  13607. aligntype:
  13608. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13609. type: integer
  13610. autoid:
  13611. description: AutoID
  13612. type: integer
  13613. columnfield:
  13614. description: 列字段
  13615. type: string
  13616. columntitle:
  13617. description: 列Title
  13618. type: string
  13619. columnwidth:
  13620. description: 列宽
  13621. type: string
  13622. formatterstring:
  13623. description: 格式化字符
  13624. type: string
  13625. formattertype:
  13626. description: 格式化类型
  13627. type: string
  13628. groupname:
  13629. description: 表头分组名称
  13630. type: string
  13631. isshow:
  13632. description: 是否显示 - 0:不显示 1:显示
  13633. type: integer
  13634. needsummary:
  13635. description: 是否需要汇总 - 0:不需要 1:需要
  13636. type: integer
  13637. orderindex:
  13638. description: 顺序
  13639. type: integer
  13640. remark:
  13641. description: 备注
  13642. type: string
  13643. summarytype:
  13644. description: 汇总类型 - 1:加总 2:最后一个
  13645. type: integer
  13646. tablekey:
  13647. description: 列表Key
  13648. type: string
  13649. required:
  13650. - autoid
  13651. type: object
  13652. models.TjmdMarketSection:
  13653. properties:
  13654. marketsectionid:
  13655. description: 市场版块ID(SEQ_MARKETSECTION)
  13656. type: integer
  13657. marketsectionname:
  13658. description: 市场版块名称
  13659. type: string
  13660. mlist:
  13661. description: 市场列表(板块下面有多少个市场)
  13662. items:
  13663. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13664. type: array
  13665. orderindex:
  13666. description: 排序
  13667. type: integer
  13668. pictureurl:
  13669. description: 图片url, 规格(90*90)
  13670. type: string
  13671. remark:
  13672. description: 备注
  13673. type: string
  13674. type: object
  13675. models.TjmdMarketSectionConfig:
  13676. properties:
  13677. auctionwrtype:
  13678. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13679. type: integer
  13680. canacceptquote:
  13681. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13682. type: integer
  13683. cangoodsexercise:
  13684. description: '[期权]是否可现货行权- 0:否 1:是'
  13685. type: integer
  13686. cangoodsexercisetype:
  13687. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13688. type: integer
  13689. canmanualquotestrike:
  13690. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13691. type: integer
  13692. canmutistage:
  13693. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13694. type: integer
  13695. canpreexercise:
  13696. description: '[期权]是否可预申报- 0:否 1:是'
  13697. type: integer
  13698. clearinterval:
  13699. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13700. type: integer
  13701. contracttmp:
  13702. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13703. type: string
  13704. exchareaid:
  13705. description: 所属交易所,可以没有
  13706. type: integer
  13707. financemarketid:
  13708. description: 融资回购市场ID [仓单贸易]
  13709. type: integer
  13710. goodstype:
  13711. description: 商品类型 - 1:交易商品 2:仓单商品
  13712. type: integer
  13713. hasrebate:
  13714. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13715. type: integer
  13716. hastradecredit:
  13717. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13718. type: integer
  13719. haswr:
  13720. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13721. type: integer
  13722. isdeductmargin:
  13723. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13724. type: integer
  13725. isrecordsource:
  13726. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13727. type: integer
  13728. isreleasemargin:
  13729. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13730. type: integer
  13731. isupdatereckonprice:
  13732. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13733. type: integer
  13734. listingmode:
  13735. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13736. type: integer
  13737. marginformula:
  13738. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13739. type: integer
  13740. marginformula2:
  13741. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13742. type: integer
  13743. marketid:
  13744. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13745. type: integer
  13746. marketname:
  13747. description: 市场名称
  13748. type: string
  13749. marketsectionid:
  13750. description: 市场版块ID(SEQ_MARKETSECTION)
  13751. type: integer
  13752. marketserviceid:
  13753. description: 市场服务ID
  13754. type: integer
  13755. marketstatus:
  13756. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13757. type: integer
  13758. markettype:
  13759. description: 市场类型- 1:非交易服务 2:交易服务
  13760. type: integer
  13761. matchermode:
  13762. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13763. type: integer
  13764. nowrquotaflag:
  13765. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13766. type: integer
  13767. openmethod:
  13768. description: 开盘模式 - 0 自动 1手动
  13769. type: integer
  13770. orderindex:
  13771. description: 排序
  13772. type: integer
  13773. otcuserid:
  13774. description: 场外期权做市商[场外期权]
  13775. type: integer
  13776. outersynctime:
  13777. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13778. type: string
  13779. paylaterflag:
  13780. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13781. type: integer
  13782. pendingflag:
  13783. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13784. type: integer
  13785. pendingtime:
  13786. description: 待开市时间[通道交易-对冲](HH:mm)
  13787. type: string
  13788. performancetempid:
  13789. description: 履约计划模板ID - 作废
  13790. type: integer
  13791. premiumquotemode:
  13792. description: 权利金报价方式 - 1:自动 2:手动
  13793. type: integer
  13794. rebateratio:
  13795. description: 返利比率[竞价式]
  13796. type: number
  13797. reckonorder:
  13798. description: 结算顺序
  13799. type: integer
  13800. reckonpricealgorithm:
  13801. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13802. type: integer
  13803. reckonpriceparam:
  13804. description: 结算价参数
  13805. type: integer
  13806. reckontime:
  13807. description: 结算时间[通道交易-对冲](HH:mm)
  13808. type: string
  13809. roleprioritytype:
  13810. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13811. type: integer
  13812. selllistingauditflag:
  13813. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13814. type: integer
  13815. trademarkettype:
  13816. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13817. type: integer
  13818. trademode:
  13819. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13820. type: integer
  13821. tradeproperty:
  13822. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13823. type: integer
  13824. tradetype:
  13825. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13826. type: integer
  13827. updatereckonpriceinterval:
  13828. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13829. type: integer
  13830. type: object
  13831. models.TjmdQuoteGoods:
  13832. properties:
  13833. buyqty:
  13834. description: 买量(暂不做, 无值, 保留字段)
  13835. type: number
  13836. goodscode:
  13837. description: 合约代码
  13838. type: string
  13839. goodsgroupid:
  13840. description: 商品组ID(自增ID)
  13841. type: integer
  13842. goodsgroupname:
  13843. description: 商品组名称
  13844. type: string
  13845. goodsid:
  13846. description: 合约id
  13847. type: integer
  13848. goodsname:
  13849. description: 合约名称
  13850. type: string
  13851. refgoodscode:
  13852. description: 标的合约代码
  13853. type: string
  13854. refgoodsid:
  13855. description: 标的合约id
  13856. type: integer
  13857. refgoodsname:
  13858. description: 标的合约名称
  13859. type: string
  13860. sellqty:
  13861. description: 卖量(暂不做, 无值, 保留字段)
  13862. type: number
  13863. type: object
  13864. models.TjmdTodayAccountMargin:
  13865. properties:
  13866. accountid:
  13867. description: 账号ID
  13868. type: integer
  13869. goodsid:
  13870. description: 商品ID
  13871. type: integer
  13872. infoc:
  13873. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13874. description: 配置参数
  13875. marketid:
  13876. description: 市场ID
  13877. type: integer
  13878. type: object
  13879. models.TjmdTradeOrderDetail:
  13880. properties:
  13881. buyorsell:
  13882. description: 买卖方向 0-买 1-卖
  13883. type: integer
  13884. goodsid:
  13885. description: 商品id
  13886. type: integer
  13887. marketmaxsub:
  13888. description: 市价最大偏移范围 [浮动价 - 点差]
  13889. type: number
  13890. orderid:
  13891. description: 委托单号
  13892. type: string
  13893. orderprice:
  13894. description: 委托价格
  13895. type: number
  13896. orderqty:
  13897. description: 委托数量
  13898. type: integer
  13899. pricemode:
  13900. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13901. type: integer
  13902. userid:
  13903. description: 用户id
  13904. type: integer
  13905. username:
  13906. description: 用户名称(已脱敏)
  13907. type: string
  13908. type: object
  13909. models.TjmdTransferApply:
  13910. properties:
  13911. applyid:
  13912. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13913. type: integer
  13914. applystatus:
  13915. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13916. type: integer
  13917. applytime:
  13918. description: 申请时间(时间)
  13919. type: string
  13920. auditremark:
  13921. description: 审核备注(拒绝原因?)
  13922. type: string
  13923. begindate:
  13924. description: 开始交易日(yyyymmdd)
  13925. type: string
  13926. buyorsell:
  13927. description: 买卖 - 0:买 1:卖
  13928. type: integer
  13929. enddate:
  13930. description: 结束交易日(yyyymmdd)
  13931. type: string
  13932. goodscode:
  13933. description: 商品代码
  13934. type: string
  13935. goodsid:
  13936. description: 商品ID
  13937. type: integer
  13938. goodsname:
  13939. description: 商品名称
  13940. type: string
  13941. marketid:
  13942. description: 市场ID
  13943. type: integer
  13944. qty:
  13945. description: 转让数量(数量)
  13946. type: number
  13947. tradeid:
  13948. description: 成交单号(关联持仓)
  13949. type: string
  13950. transferamount:
  13951. description: 转让总金额(金额)
  13952. type: number
  13953. transferprice:
  13954. description: 转让价格(协议价格)
  13955. type: number
  13956. type: object
  13957. models.TradeHolderDetail:
  13958. properties:
  13959. accountid:
  13960. description: 账号ID
  13961. type: integer
  13962. agreeunit:
  13963. description: 合约乘数
  13964. type: number
  13965. buyorsell:
  13966. description: 方向 - 0:买 1:卖
  13967. type: integer
  13968. currencyid:
  13969. description: 商品币种id
  13970. type: integer
  13971. currencyname:
  13972. description: 币种名称
  13973. type: string
  13974. decimalplace:
  13975. description: 商品价格小数位
  13976. type: integer
  13977. enumdicname:
  13978. description: 商品单位名称
  13979. type: string
  13980. expirecycle:
  13981. description: 行权周期(天) - 1:滚动行权时填写
  13982. type: integer
  13983. expiredate:
  13984. description: 行权日(yyyyMMdd) - 到期日
  13985. type: string
  13986. expiretype:
  13987. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13988. type: integer
  13989. freezeqty:
  13990. description: 冻结数量
  13991. type: number
  13992. goodscode:
  13993. description: 商品代码
  13994. type: string
  13995. goodsid:
  13996. description: 商品ID
  13997. type: integer
  13998. goodsname:
  13999. description: 商品名称
  14000. type: string
  14001. goodunitid:
  14002. description: 商品单位id
  14003. type: integer
  14004. holderamount:
  14005. description: 持仓金额
  14006. type: number
  14007. holdercredit:
  14008. description: 持仓授信金额
  14009. type: number
  14010. holderdays:
  14011. description: 剩余冻结天数
  14012. type: integer
  14013. holderprice:
  14014. description: 持仓价格
  14015. type: number
  14016. holderqty:
  14017. description: 持仓数量
  14018. type: number
  14019. isconfirmexercise:
  14020. description: 是否确认行权- 0:否 1:是
  14021. type: integer
  14022. ispreexercise:
  14023. description: 是否预申报- 0:否 1:是 2:不可行权
  14024. type: integer
  14025. marketid:
  14026. description: 市场id
  14027. type: integer
  14028. marketname:
  14029. description: 市场名称
  14030. type: string
  14031. openprice:
  14032. description: 建仓价格
  14033. type: number
  14034. openqty:
  14035. description: 建仓数量
  14036. type: number
  14037. optiontype:
  14038. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14039. type: integer
  14040. preexerciseprice:
  14041. description: 预申报价格
  14042. type: number
  14043. premium:
  14044. description: 权利金
  14045. type: number
  14046. qtydecimalplace:
  14047. description: 商品成交量小数位
  14048. type: integer
  14049. refgoodscode:
  14050. description: 标的合约代码
  14051. type: string
  14052. refgoodsid:
  14053. description: 标的合约id
  14054. type: integer
  14055. releaseamount:
  14056. description: 释放持仓金额
  14057. type: number
  14058. releaseholdercredit:
  14059. description: 释放持仓授信金额
  14060. type: number
  14061. taname:
  14062. description: 资金账号名称
  14063. type: string
  14064. tradeamount:
  14065. description: 成交金额
  14066. type: number
  14067. tradedate:
  14068. description: 交易日(yyyyMMdd)
  14069. type: string
  14070. tradeid:
  14071. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14072. type: string
  14073. trademode:
  14074. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14075. type: integer
  14076. tradeproperty:
  14077. description: 交易属性
  14078. type: integer
  14079. tradetime:
  14080. description: 交易时间
  14081. type: string
  14082. userid:
  14083. description: 用户id
  14084. type: integer
  14085. username:
  14086. description: 用户名称
  14087. type: string
  14088. type: object
  14089. models.UserCollectConfig:
  14090. properties:
  14091. accountstatus:
  14092. description: 账户状态 - 1:正常 2:停用 3:注销
  14093. type: integer
  14094. collectaccountname:
  14095. description: 收款人账户名称
  14096. type: string
  14097. collectaccountno:
  14098. description: 收款人账户
  14099. type: string
  14100. collectbankname:
  14101. description: 收款人开户行
  14102. type: string
  14103. collectbranchbankname:
  14104. description: 收款人开户支行
  14105. type: string
  14106. collectconfigid:
  14107. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14108. type: string
  14109. remark:
  14110. description: 备注
  14111. type: string
  14112. userid:
  14113. description: 收款人用户ID
  14114. type: integer
  14115. type: object
  14116. models.UserReceiveInfo:
  14117. properties:
  14118. address:
  14119. description: 提货人详细地址
  14120. type: string
  14121. autoid:
  14122. description: AutoID
  14123. type: integer
  14124. cardnum:
  14125. description: 证件号码(加密存储)
  14126. type: string
  14127. cardtypeid:
  14128. description: 证件类型
  14129. type: integer
  14130. cityid:
  14131. description: 市
  14132. type: integer
  14133. cityname:
  14134. description: 城市名称
  14135. type: string
  14136. countryid:
  14137. description: 国家
  14138. type: integer
  14139. countryname:
  14140. description: 国家名称
  14141. type: string
  14142. districtid:
  14143. description: 地区
  14144. type: integer
  14145. districtname:
  14146. description: 地区名称
  14147. type: string
  14148. hasencrypt:
  14149. description: 数据是否已加密 - 0:未加密 1:已加密
  14150. type: integer
  14151. isdefault:
  14152. description: 是否默认地址 - 0:否 1:是
  14153. type: integer
  14154. phonenum:
  14155. description: 提货人联系方式(加密存储)
  14156. type: string
  14157. provinceid:
  14158. description: 省
  14159. type: integer
  14160. provincename:
  14161. description: 省名称
  14162. type: string
  14163. receivername:
  14164. description: 提货人姓名
  14165. type: string
  14166. takeremark:
  14167. description: 提货备注
  14168. type: string
  14169. userid:
  14170. description: 用户ID
  14171. type: integer
  14172. type: object
  14173. models.Useraccount:
  14174. properties:
  14175. accountname:
  14176. description: 账户名称(机构名称)
  14177. type: string
  14178. accountstatus:
  14179. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14180. type: integer
  14181. applysrc:
  14182. description: 申请来源 - 1:管理端 2:终端
  14183. type: integer
  14184. auditremark:
  14185. description: 审核备注
  14186. type: string
  14187. auditsrc:
  14188. description: 审核来源 - 1:管理端 2:终端
  14189. type: integer
  14190. audittime:
  14191. description: 审核时间
  14192. type: string
  14193. audituserid:
  14194. description: 审核人
  14195. type: integer
  14196. broker:
  14197. description: 所属经纪人ID
  14198. type: integer
  14199. canceltime:
  14200. description: 销户时间
  14201. type: string
  14202. canceluserid:
  14203. description: 销户人
  14204. type: integer
  14205. canrecommend:
  14206. description: 是否可推荐 - 0:不可 1;可
  14207. type: integer
  14208. createtime:
  14209. description: 创建时间
  14210. type: string
  14211. creatorid:
  14212. description: 创建人
  14213. type: integer
  14214. hasauth:
  14215. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14216. type: integer
  14217. isanonymous:
  14218. description: 是否匿名下单 - 0:否 1:是
  14219. type: integer
  14220. maxinvestornum:
  14221. description: 最大用户数(经纪会员下投资者个数)
  14222. type: integer
  14223. memberuserid:
  14224. description: 所属会员ID
  14225. type: integer
  14226. modifierid:
  14227. description: 修改人
  14228. type: integer
  14229. modifyremark:
  14230. description: 变更备注
  14231. type: string
  14232. modifystatus:
  14233. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14234. type: integer
  14235. modifytime:
  14236. description: 修改时间
  14237. type: string
  14238. parenttopuser:
  14239. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14240. type: string
  14241. parentuserid:
  14242. description: 所属机构ID
  14243. type: integer
  14244. reckonaccountid:
  14245. description: 默认结算资金账号ID(机构分润使用) 作废
  14246. type: integer
  14247. refercount:
  14248. description: 推荐总人数
  14249. type: integer
  14250. refereeuserid:
  14251. description: 推荐人ID
  14252. type: integer
  14253. refernum:
  14254. description: 推荐码
  14255. type: string
  14256. rootuserid:
  14257. description: 根用户ID
  14258. type: integer
  14259. subaccountlevel:
  14260. description: 子账户层数
  14261. type: integer
  14262. subarealevelpath:
  14263. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14264. type: string
  14265. userid:
  14266. description: 用户ID
  14267. type: integer
  14268. usertype:
  14269. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14270. type: integer
  14271. required:
  14272. - userid
  14273. type: object
  14274. models.Userfavoritegoods:
  14275. properties:
  14276. goodsid:
  14277. description: 商品ID
  14278. type: integer
  14279. required:
  14280. - goodsid
  14281. type: object
  14282. models.Userinfo:
  14283. properties:
  14284. address:
  14285. description: 地址
  14286. type: string
  14287. attachment1:
  14288. description: 附件1
  14289. type: string
  14290. attachment2:
  14291. description: 附件2
  14292. type: string
  14293. bankaccount:
  14294. description: 银行帐号 (加密存储)
  14295. type: string
  14296. bankaccountname:
  14297. description: 收款人名称
  14298. type: string
  14299. bankcardfrontphotourl:
  14300. description: 银行卡正面照地址
  14301. type: string
  14302. bankid:
  14303. description: 银行编码
  14304. type: string
  14305. bankname:
  14306. description: 银行名称
  14307. type: string
  14308. biznature:
  14309. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14310. type: integer
  14311. bizscope:
  14312. description: 企业经营范围(企业)
  14313. type: string
  14314. cardbackphotourl:
  14315. description: 证件背面图片地址
  14316. type: string
  14317. cardfrontphotourl:
  14318. description: 证件正面图片地址
  14319. type: string
  14320. cardnum:
  14321. description: 证件号码(加密存储)
  14322. type: string
  14323. cardtypeid:
  14324. description: 证件类型ID
  14325. type: integer
  14326. cityid:
  14327. description: 市
  14328. type: integer
  14329. company:
  14330. description: 公司(个人)
  14331. type: string
  14332. contactname:
  14333. description: 联系人
  14334. type: string
  14335. countryid:
  14336. description: 国家
  14337. type: integer
  14338. createtime:
  14339. description: 创建时间
  14340. type: string
  14341. creatorid:
  14342. description: 创建人
  14343. type: integer
  14344. customername:
  14345. description: 客户名称(企业名称)
  14346. type: string
  14347. districtid:
  14348. description: 地区
  14349. type: integer
  14350. email:
  14351. description: 邮件(加密存储)
  14352. type: string
  14353. fax:
  14354. description: 传真(加密存储)
  14355. type: string
  14356. halfbodyphotourl:
  14357. description: 半身照地址
  14358. type: string
  14359. hasencrypt:
  14360. description: 数据是否已加密 - 0:未加密 1:已加密
  14361. type: integer
  14362. headurl:
  14363. description: 头像地址
  14364. type: string
  14365. legalcardbackphotourl:
  14366. description: 法人身份证背面照地址
  14367. type: string
  14368. legalcardfrontphotourl:
  14369. description: 法人身份证正面照地址
  14370. type: string
  14371. legalpersonname:
  14372. description: 法人姓名(企业)
  14373. type: string
  14374. mobile:
  14375. description: 手机号码(加密存储)
  14376. type: string
  14377. mobile2:
  14378. description: 手机号码[明文-尚志]
  14379. type: string
  14380. modifierid:
  14381. description: 修改人
  14382. type: integer
  14383. modifiertime:
  14384. description: 修改时间
  14385. type: string
  14386. needinvoice:
  14387. description: 是否需要发票 - 0:不需要 1:需要
  14388. type: integer
  14389. nickname:
  14390. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14391. type: string
  14392. openmode:
  14393. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14394. type: integer
  14395. otherurl:
  14396. description: 其它图片地址[使用分号分隔]
  14397. type: string
  14398. postalcode:
  14399. description: 邮政编码
  14400. type: string
  14401. provinceid:
  14402. description: 省
  14403. type: integer
  14404. qq:
  14405. description: QQ(加密存储
  14406. type: string
  14407. remark:
  14408. description: 备注
  14409. type: string
  14410. sex:
  14411. description: '用户性别 0: 女 1: 男'
  14412. type: integer
  14413. signpdfurl:
  14414. description: 签约pdf文件
  14415. type: string
  14416. telphone:
  14417. description: 联系电话(加密存储)
  14418. type: string
  14419. userid:
  14420. description: 用户ID
  14421. type: integer
  14422. userinfotype:
  14423. description: 用户信息类型 - 1:个人 2:企业
  14424. type: integer
  14425. userstatus:
  14426. description: 用户状态 - 1:正常 2:注销
  14427. type: integer
  14428. usertype:
  14429. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14430. type: integer
  14431. wechat:
  14432. description: 微信(加密存储)
  14433. type: string
  14434. wskhinfo:
  14435. description: 开户申请信息(JSON)
  14436. type: string
  14437. required:
  14438. - userid
  14439. type: object
  14440. models.WRSConverTDetail:
  14441. properties:
  14442. convertratio:
  14443. description: 套保系数
  14444. type: number
  14445. deliverygoodscode:
  14446. description: 现货商品代码
  14447. type: string
  14448. deliverygoodsid:
  14449. description: 现货品种ID
  14450. type: integer
  14451. deliverygoodsname:
  14452. description: 现货商品名称
  14453. type: string
  14454. enumdicname:
  14455. description: 单位名称
  14456. type: string
  14457. goodsunitid:
  14458. description: 套保品种单位id
  14459. type: integer
  14460. middlegoodscode:
  14461. description: 套保品种代码
  14462. type: string
  14463. middlegoodsid:
  14464. description: 套保品种ID
  14465. type: integer
  14466. middlegoodsname:
  14467. description: 套保品种名称
  14468. type: string
  14469. modifytime:
  14470. description: 修改时间
  14471. type: string
  14472. wrstandardid:
  14473. description: 品类ID
  14474. type: integer
  14475. type: object
  14476. models.WRStandardInfo:
  14477. properties:
  14478. areauserid:
  14479. description: 所属机构
  14480. type: integer
  14481. convertfactor:
  14482. description: 标仓系数
  14483. type: number
  14484. createtime:
  14485. description: 创建时间
  14486. type: string
  14487. creatorid:
  14488. description: 创建人
  14489. type: integer
  14490. deliverygoodsid:
  14491. description: 品种ID
  14492. type: integer
  14493. deliverygoodsname:
  14494. description: 交割商品名称
  14495. type: string
  14496. factoryitemjson:
  14497. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14498. type: string
  14499. isvalid:
  14500. description: 是否有效 - 0:无效 1:有效
  14501. type: integer
  14502. minivalue:
  14503. description: 最小变动值
  14504. type: integer
  14505. minivaluedp:
  14506. description: 最小变动值小数位
  14507. type: integer
  14508. realminivalue:
  14509. description: 实际最小变动值
  14510. type: integer
  14511. realminivaluedp:
  14512. description: 实际最小变动值小数位
  14513. type: integer
  14514. remark:
  14515. description: 备注
  14516. type: string
  14517. unitid:
  14518. description: 单位ID
  14519. type: integer
  14520. unitname:
  14521. description: 单位
  14522. type: string
  14523. updatetime:
  14524. description: 更新时间
  14525. type: string
  14526. updatorid:
  14527. description: 更新人
  14528. type: integer
  14529. wrsstatus:
  14530. description: 状态 - 作废 - 0:未激活 1:正常
  14531. type: integer
  14532. wrstandardcode:
  14533. description: 现货品类代码
  14534. type: string
  14535. wrstandardid:
  14536. description: 现货品类ID(SEQ_WRSTANDARD)
  14537. type: integer
  14538. wrstandardname:
  14539. description: 现货品类名称
  14540. type: string
  14541. required:
  14542. - wrstandardid
  14543. type: object
  14544. models.WRTradeBargainApply:
  14545. properties:
  14546. accountid:
  14547. description: 摘牌资金账号
  14548. type: integer
  14549. applyprice:
  14550. description: 申请价格(议价价格)
  14551. type: string
  14552. applyqty:
  14553. description: 摘牌数量(议价数量)
  14554. type: number
  14555. applyremark:
  14556. description: 申请备注
  14557. type: string
  14558. applystatus:
  14559. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14560. type: integer
  14561. applytime:
  14562. description: 申请时间(议价时间)
  14563. type: string
  14564. begindate:
  14565. description: 开始交易日(yyyymmdd)
  14566. type: string
  14567. buyorsell:
  14568. description: 买卖(挂牌类型) - 0:买 1:卖
  14569. type: integer
  14570. confirmremark:
  14571. description: 确认备注
  14572. type: string
  14573. confirmtime:
  14574. description: 确认时间
  14575. type: string
  14576. confirmuserid:
  14577. description: 确认人
  14578. type: integer
  14579. deliverygoodscode:
  14580. description: 品种代码
  14581. type: string
  14582. deliverygoodsid:
  14583. description: 品种ID
  14584. type: integer
  14585. deliverygoodsname:
  14586. description: 品种名称
  14587. type: string
  14588. deliverymonth:
  14589. description: 交收月
  14590. type: string
  14591. enddate:
  14592. description: 结束交易日(yyyymmdd)
  14593. type: string
  14594. enumdicname:
  14595. description: 单位名称
  14596. type: string
  14597. fixedprice:
  14598. description: 挂牌价格
  14599. type: number
  14600. handlestatus:
  14601. description: 处理状态
  14602. type: integer
  14603. marginvalue:
  14604. description: 履约保证金比例
  14605. type: number
  14606. marketid:
  14607. description: 市场ID
  14608. type: integer
  14609. matchaccountid:
  14610. description: 挂牌方资金账号
  14611. type: integer
  14612. matchuserid:
  14613. description: 挂牌方用户id
  14614. type: integer
  14615. matchusername:
  14616. description: 挂牌方用户名称(已脱敏)
  14617. type: string
  14618. minivalue:
  14619. description: 现货商品最小变动值
  14620. type: integer
  14621. optioncompare:
  14622. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14623. type: string
  14624. orderqty:
  14625. description: 挂牌数量
  14626. type: integer
  14627. refprice:
  14628. description: 参考价格
  14629. type: string
  14630. retcode:
  14631. description: 委托返回代码
  14632. type: integer
  14633. templatename:
  14634. description: 履约方式(履约模板名称)
  14635. type: string
  14636. tradedate:
  14637. description: 交易日(yyyyMMdd)
  14638. type: string
  14639. userid:
  14640. description: 摘牌人用户ID(议价人ID)
  14641. type: integer
  14642. username:
  14643. description: 议价人名字(已脱敏)
  14644. type: string
  14645. validtime:
  14646. description: 有效期限
  14647. type: string
  14648. warehouseid:
  14649. description: 仓库ID
  14650. type: integer
  14651. warehousename:
  14652. description: 仓库名称
  14653. type: string
  14654. wrbargainid:
  14655. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14656. type: string
  14657. wrfactortypeid:
  14658. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14659. type: string
  14660. wrfactortypename:
  14661. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14662. type: string
  14663. wrstandardcode:
  14664. description: 现货商品代码
  14665. type: string
  14666. wrstandardid:
  14667. description: 现货商品ID
  14668. type: integer
  14669. wrstandardname:
  14670. description: 商品名称
  14671. type: string
  14672. wrtradeorderid:
  14673. description: 关联委托单ID
  14674. type: string
  14675. wrtypename:
  14676. description: 商品
  14677. type: string
  14678. type: object
  14679. models.Warehouseinfo:
  14680. properties:
  14681. address:
  14682. description: 详细地址
  14683. type: string
  14684. areauserid:
  14685. description: 所属机构
  14686. type: integer
  14687. autoid:
  14688. description: 自增ID
  14689. type: integer
  14690. cityid:
  14691. description: 市
  14692. type: integer
  14693. contactname:
  14694. description: 联系人
  14695. type: string
  14696. contactnum:
  14697. description: 联系电话
  14698. type: string
  14699. countryid:
  14700. description: 国家
  14701. type: integer
  14702. createtime:
  14703. description: 创建时间
  14704. type: string
  14705. districtid:
  14706. description: 区
  14707. type: integer
  14708. hasvideo:
  14709. description: 是否有视频 - 0:无 1:有
  14710. type: integer
  14711. provinceid:
  14712. description: 省
  14713. type: integer
  14714. remark:
  14715. description: 审核备注
  14716. type: string
  14717. videourl:
  14718. description: 视频地址
  14719. type: string
  14720. warehousecode:
  14721. description: 仓库代码
  14722. type: string
  14723. warehousename:
  14724. description: 仓库名称
  14725. type: string
  14726. warehousestatus:
  14727. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14728. type: integer
  14729. warehousetype:
  14730. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14731. type: integer
  14732. required:
  14733. - autoid
  14734. - warehousecode
  14735. type: object
  14736. models.WrAverageTradePrice:
  14737. properties:
  14738. averageprice:
  14739. description: 成交均价
  14740. type: number
  14741. tradedate:
  14742. description: 交易日yyyymm
  14743. type: string
  14744. type: object
  14745. models.WrBsGoodsInfo:
  14746. properties:
  14747. buyorsell:
  14748. description: 买卖方向 0-买 1-卖
  14749. type: integer
  14750. goodsid:
  14751. description: 交易合约ID
  14752. type: integer
  14753. lstitem:
  14754. description: 商品信息项
  14755. items:
  14756. $ref: '#/definitions/models.WrTypeItem'
  14757. type: array
  14758. lststep:
  14759. description: 履约规则
  14760. items:
  14761. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14762. type: array
  14763. type: object
  14764. models.WrBuybackDetail:
  14765. properties:
  14766. buybackamount:
  14767. description: 回购金额
  14768. type: number
  14769. buybackqty:
  14770. description: 回购数量
  14771. type: number
  14772. buybackreleasemargin:
  14773. description: 回购释放保证金
  14774. type: number
  14775. buybacktime:
  14776. description: 回购时间
  14777. type: string
  14778. errordesc:
  14779. description: 错误描述
  14780. type: string
  14781. handlestatus:
  14782. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14783. type: integer
  14784. relatedwrid:
  14785. description: 关联仓单ID
  14786. type: integer
  14787. scfcontractid:
  14788. description: SCF合同ID
  14789. type: string
  14790. scfwrbuybackid:
  14791. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14792. type: integer
  14793. tradedate:
  14794. description: 交易日(yyyyMMdd)
  14795. type: string
  14796. type: object
  14797. models.WrDeliveryAvalidHoldLB:
  14798. properties:
  14799. accountid:
  14800. description: 资金账号
  14801. type: integer
  14802. avalidqty:
  14803. description: 数量(可点选数量)
  14804. type: number
  14805. deliverygoodsid:
  14806. description: 品种id
  14807. type: integer
  14808. enumdicname:
  14809. description: 单位名称
  14810. type: string
  14811. goodsid:
  14812. description: x合约商品id
  14813. type: integer
  14814. ladingbillid:
  14815. description: 提单id
  14816. type: string
  14817. pgoodscode:
  14818. description: p商品代码(点价合约)
  14819. type: string
  14820. pgoodsid:
  14821. description: p商品id(点价合约)
  14822. type: integer
  14823. pgoodsname:
  14824. description: p商品名称(点价合约)
  14825. type: string
  14826. pricemove:
  14827. description: 升贴水
  14828. type: number
  14829. subnum:
  14830. description: 提单子id
  14831. type: integer
  14832. userid:
  14833. description: 用户id
  14834. type: integer
  14835. username:
  14836. description: 仓单持有人
  14837. type: string
  14838. warehousecode:
  14839. description: 仓库代码
  14840. type: string
  14841. warehouseid:
  14842. description: 仓库id
  14843. type: integer
  14844. warehousename:
  14845. description: 仓库名称
  14846. type: string
  14847. wrfactortypeid:
  14848. description: 仓单要素id
  14849. type: string
  14850. wrstandardcode:
  14851. description: 品代码
  14852. type: string
  14853. wrstandardid:
  14854. description: 品类d
  14855. type: integer
  14856. wrstandardname:
  14857. description: 品类名称
  14858. type: string
  14859. wrtypename:
  14860. description: 商品
  14861. type: string
  14862. xgoodscode:
  14863. description: x合约代码
  14864. type: string
  14865. xgoodsname:
  14866. description: x合约名称
  14867. type: string
  14868. type: object
  14869. models.WrDeliveryDetail:
  14870. properties:
  14871. accountid:
  14872. description: 账号ID
  14873. type: integer
  14874. averageprice:
  14875. description: 交割均价 = 交割金额 / 交割数量
  14876. type: number
  14877. begindate:
  14878. description: 开始交易日(yyyymmdd)
  14879. type: string
  14880. buyorsell:
  14881. description: 方向 - 0:买 1:卖
  14882. type: integer
  14883. deliveryamount:
  14884. description: 货款金额(X总货款+P总货款)
  14885. type: number
  14886. deliveryid:
  14887. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14888. type: string
  14889. deliveryorderid:
  14890. description: 申报单号
  14891. type: string
  14892. deliverypricemove:
  14893. description: 升贴水(升贴水总额)
  14894. type: number
  14895. deliveryqty:
  14896. description: 交收数量(点选数量)
  14897. type: number
  14898. deliverystatus:
  14899. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14900. type: integer
  14901. deliverytime:
  14902. description: 交割时间
  14903. type: string
  14904. deliverytotalamount:
  14905. description: 交收金额
  14906. type: number
  14907. enddate:
  14908. description: 结束交易日(yyyymmdd)
  14909. type: string
  14910. enumdicname:
  14911. description: 单位名称
  14912. type: string
  14913. matchaccountid:
  14914. description: 对手账号ID
  14915. type: integer
  14916. matchusername:
  14917. description: 对手方名称(仓单持有人)
  14918. type: string
  14919. p1goodsremainamount:
  14920. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14921. type: number
  14922. pdeliverycloseqty:
  14923. description: p合约平仓数量
  14924. type: number
  14925. pdeliveryprice:
  14926. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14927. type: number
  14928. pgoodscode:
  14929. description: 商品代码
  14930. type: string
  14931. pgoodsid:
  14932. description: p点选合约id
  14933. type: integer
  14934. pgoodsname:
  14935. description: 商品名称
  14936. type: string
  14937. ppricemode:
  14938. description: 点价价格方式 - 1:商品价 2:固定值
  14939. type: integer
  14940. tradedate:
  14941. description: 交易日(yyyymmdd)
  14942. type: string
  14943. userid:
  14944. description: 用户id
  14945. type: integer
  14946. username:
  14947. description: 用户名称
  14948. type: string
  14949. warehousename:
  14950. description: 仓库名称
  14951. type: string
  14952. wrfactortypeid:
  14953. description: 仓单要素类型ID
  14954. type: string
  14955. wrtypename:
  14956. description: 商品
  14957. type: string
  14958. xdeliverycloseqty:
  14959. description: 合约数量
  14960. type: number
  14961. xgoodsamount:
  14962. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14963. type: number
  14964. xgoodscode:
  14965. description: 商品代码
  14966. type: string
  14967. xgoodsid:
  14968. description: x交易合约ID
  14969. type: integer
  14970. xgoodsname:
  14971. description: 商品名称
  14972. type: string
  14973. type: object
  14974. models.WrDeliveryGoodsSection:
  14975. properties:
  14976. dglst:
  14977. description: 板块商品列表
  14978. items:
  14979. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14980. type: array
  14981. imagepath:
  14982. description: 图片地址
  14983. type: string
  14984. orderindex:
  14985. description: 排序
  14986. type: integer
  14987. sectionid:
  14988. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14989. type: integer
  14990. sectionname:
  14991. description: 版块名称
  14992. type: string
  14993. sectiontype:
  14994. description: 版块类型 - 1:指数版块 2:普通版块
  14995. type: integer
  14996. type: object
  14997. models.WrDeliveryGoodsSectionConfig:
  14998. properties:
  14999. deliverygoodscode:
  15000. description: 现货商品代码
  15001. type: string
  15002. deliverygoodsid:
  15003. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15004. type: integer
  15005. deliverygoodsname:
  15006. description: 现货商品名称
  15007. type: string
  15008. orderindex:
  15009. description: 排序
  15010. type: integer
  15011. type: object
  15012. models.WrFAProductDetail:
  15013. properties:
  15014. accountid:
  15015. description: 资金账号
  15016. type: integer
  15017. areauserid:
  15018. description: 金融机构ID
  15019. type: integer
  15020. financingdays:
  15021. description: 天数(天)
  15022. type: integer
  15023. interestminlen:
  15024. description: 最小起息天数
  15025. type: integer
  15026. interestrate:
  15027. description: 利率
  15028. type: number
  15029. interestratemode:
  15030. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15031. type: integer
  15032. interestsettlemode:
  15033. description: 结息方式 - 1:按日结息 3:按月结息
  15034. type: integer
  15035. interestsettlevalue:
  15036. description: 结息方式值
  15037. type: integer
  15038. isautoloan:
  15039. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15040. type: integer
  15041. loantag:
  15042. description: '放款标识: "放款快" 或者为空'
  15043. type: string
  15044. marginratio:
  15045. description: 保证金比率质押率 - [仓单质押]
  15046. type: number
  15047. productdetailid:
  15048. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15049. type: integer
  15050. productid:
  15051. description: 金融产品ID
  15052. type: integer
  15053. productname:
  15054. description: 产品名称
  15055. type: string
  15056. updatetime:
  15057. description: 更新时间
  15058. type: string
  15059. username:
  15060. description: 融出方
  15061. type: string
  15062. type: object
  15063. models.WrFactorTypeInfo:
  15064. properties:
  15065. deliverygoodscode:
  15066. description: 品种代码
  15067. type: string
  15068. deliverygoodsname:
  15069. description: 品种名称
  15070. type: string
  15071. dgfactoryitemid:
  15072. description: 选择项id
  15073. type: integer
  15074. dgfactoryitemtypeid:
  15075. description: 要素选择项ID (1-仓库 2-品牌)
  15076. type: integer
  15077. dgfactoryitemvalue:
  15078. description: 要素项值
  15079. type: string
  15080. itemtypename:
  15081. description: 要素项名称
  15082. type: string
  15083. optioncompare:
  15084. description: 选择比较串
  15085. type: string
  15086. warehouseid:
  15087. description: 仓库id
  15088. type: integer
  15089. wrfactortypeid:
  15090. description: 仓单要素ID
  15091. type: string
  15092. wrfactortypename:
  15093. description: 要素名称
  15094. type: string
  15095. wrfactortypename2:
  15096. description: 要素名称(不含仓库)
  15097. type: string
  15098. wrstandardcode:
  15099. description: 品类代码
  15100. type: string
  15101. wrstandardid:
  15102. description: 品类id
  15103. type: integer
  15104. wrstandardname:
  15105. description: 品类名称
  15106. type: string
  15107. type: object
  15108. models.WrFilterItem:
  15109. properties:
  15110. itemcode:
  15111. description: 代码
  15112. type: string
  15113. itemid:
  15114. description: 项id
  15115. type: integer
  15116. itemname:
  15117. description: 名称
  15118. type: string
  15119. itemtype:
  15120. description: 类型 1-品种 2-品类(商品) 3-仓库
  15121. type: integer
  15122. type: object
  15123. models.WrFinanceBuyApply:
  15124. properties:
  15125. applydate:
  15126. description: 申请时间
  15127. type: string
  15128. applystatus:
  15129. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15130. type: integer
  15131. applyuserid:
  15132. description: 申请人
  15133. type: integer
  15134. auditdate:
  15135. description: 审核时间
  15136. type: string
  15137. auditremark:
  15138. description: 审核备注
  15139. type: string
  15140. audituserid:
  15141. description: 审核人
  15142. type: integer
  15143. buyaccountid:
  15144. description: 买方资金账号
  15145. type: integer
  15146. buyorsell:
  15147. description: 买卖 - 0:买 1:卖
  15148. type: integer
  15149. buyuserid:
  15150. description: 买方用户ID
  15151. type: integer
  15152. buyusername:
  15153. description: 买方名称
  15154. type: string
  15155. buywrtradeorderid:
  15156. description: 融资方买委托单ID
  15157. type: string
  15158. deliverygoodscode:
  15159. description: 品种代码
  15160. type: string
  15161. deliverygoodsid:
  15162. description: 品种ID
  15163. type: integer
  15164. deliverygoodsname:
  15165. description: 品种名称
  15166. type: string
  15167. deliverymonth:
  15168. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15169. type: string
  15170. enumdicname:
  15171. description: 单位名称
  15172. type: string
  15173. financeaccountid:
  15174. description: 融资方资金帐户ID
  15175. type: integer
  15176. financeapplyid:
  15177. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15178. type: string
  15179. financeareauserid:
  15180. description: 融资方用户ID
  15181. type: string
  15182. financename:
  15183. description: 融出方名称
  15184. type: string
  15185. financetype:
  15186. description: 融资类型 1-融资回购
  15187. type: integer
  15188. financingdays:
  15189. description: 天数(天)
  15190. type: integer
  15191. freezebuymargin:
  15192. description: 冻结融资保证金(买方)
  15193. type: number
  15194. handleremark:
  15195. description: 处理备注
  15196. type: string
  15197. handlestatus:
  15198. description: 处理状态
  15199. type: integer
  15200. interestminlen:
  15201. description: 最小起息天数
  15202. type: integer
  15203. interestrate:
  15204. description: 利率
  15205. type: number
  15206. interestratemode:
  15207. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15208. type: integer
  15209. interestsettlemode:
  15210. description: 结息方式 - 1:按日结息 3:按月结息
  15211. type: integer
  15212. interestsettlevalue:
  15213. description: 结息方式值
  15214. type: integer
  15215. isautoloan:
  15216. description: 是否自动放款 - 0:手动 1:自动
  15217. type: integer
  15218. marginratio:
  15219. description: 保证金比率质押率 - [仓单质押]
  15220. type: number
  15221. marketid:
  15222. description: 市场ID
  15223. type: integer
  15224. minivalue:
  15225. description: 现货商品最小变动值
  15226. type: integer
  15227. optioncompare:
  15228. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15229. type: string
  15230. orderqty:
  15231. description: 委托数量(商品数量)
  15232. type: number
  15233. productdetailid:
  15234. description: 产品组合ID
  15235. type: integer
  15236. productid:
  15237. description: 金融产品ID
  15238. type: integer
  15239. productname:
  15240. description: 产品名称
  15241. type: string
  15242. remark:
  15243. description: 备注
  15244. type: string
  15245. scfcontractid:
  15246. description: 仓单回购合同ID
  15247. type: string
  15248. sellaccountid:
  15249. description: 卖方资金账号
  15250. type: integer
  15251. selluserid:
  15252. description: 卖方用户ID
  15253. type: integer
  15254. sellwrtradeorderid:
  15255. description: 卖方委托单ID
  15256. type: string
  15257. tradeamount:
  15258. description: 成交金额(借款金额)
  15259. type: number
  15260. tradedate:
  15261. description: 交易日(yyyyMMdd)
  15262. type: string
  15263. tradeprice:
  15264. description: 成交价格
  15265. type: number
  15266. warehouseid:
  15267. description: 仓库ID
  15268. type: integer
  15269. warehousename:
  15270. description: 仓库名称
  15271. type: string
  15272. wrfactortypeid:
  15273. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15274. type: string
  15275. wrfactortypename:
  15276. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15277. type: string
  15278. wrpricetype:
  15279. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15280. type: integer
  15281. wrstandardcode:
  15282. description: 现货商品代码
  15283. type: string
  15284. wrstandardid:
  15285. description: 现货商品ID
  15286. type: integer
  15287. wrstandardname:
  15288. description: 商品名称
  15289. type: string
  15290. wrtypename:
  15291. description: 商品
  15292. type: string
  15293. type: object
  15294. models.WrFriendApply:
  15295. properties:
  15296. applicantid:
  15297. description: 申请人
  15298. type: integer
  15299. applyname:
  15300. description: 申请人名称
  15301. type: string
  15302. applysrc:
  15303. description: 申请来源 - 1:管理端 2:终端
  15304. type: integer
  15305. applystatus:
  15306. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15307. type: integer
  15308. applytime:
  15309. description: 申请时间
  15310. type: string
  15311. auditname:
  15312. description: 审核人名称
  15313. type: string
  15314. auditorid:
  15315. description: 审核人
  15316. type: integer
  15317. auditremark:
  15318. description: 审核备注
  15319. type: string
  15320. auditsrc:
  15321. description: 审核来源 - 1:管理端 2:终端
  15322. type: integer
  15323. audittime:
  15324. description: 审核时间
  15325. type: string
  15326. friendapplyid:
  15327. description: 申请ID(SEQ_FRIENDAPPLY)
  15328. type: string
  15329. friendname:
  15330. description: 好友名字(已脱敏)
  15331. type: string
  15332. frienduserid:
  15333. description: 好友用户ID
  15334. type: string
  15335. remark:
  15336. description: 备注
  15337. type: string
  15338. userid:
  15339. description: 申请人用户ID
  15340. type: integer
  15341. type: object
  15342. models.WrFtDeliveryGoods:
  15343. properties:
  15344. deliverygoodscode:
  15345. description: 品种代码
  15346. type: string
  15347. deliverygoodsid:
  15348. description: 品种ID
  15349. type: integer
  15350. deliverygoodsname:
  15351. description: 品种名称
  15352. type: string
  15353. wdlst:
  15354. description: 商品列表
  15355. items:
  15356. $ref: '#/definitions/models.WrFtWrstandard'
  15357. type: array
  15358. type: object
  15359. models.WrFtWrstandard:
  15360. properties:
  15361. enumdicname:
  15362. description: 单位名称
  15363. type: string
  15364. minivalue:
  15365. description: 最小变动值
  15366. type: integer
  15367. wrstandardcode:
  15368. description: 现货商品代码
  15369. type: string
  15370. wrstandardid:
  15371. description: 现货商品ID
  15372. type: integer
  15373. wrstandardname:
  15374. description: 商品名称
  15375. type: string
  15376. type: object
  15377. models.WrGoodsInfo:
  15378. properties:
  15379. haswr:
  15380. description: 0:仓单预售 1:仓单贸易
  15381. type: integer
  15382. lstitem:
  15383. description: 商品信息项
  15384. items:
  15385. $ref: '#/definitions/models.WrTypeItem'
  15386. type: array
  15387. lststep:
  15388. description: 履约规则
  15389. items:
  15390. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15391. type: array
  15392. marketid:
  15393. description: 市场id
  15394. type: integer
  15395. type: object
  15396. models.WrGoodsPerformanceStep:
  15397. properties:
  15398. autoid:
  15399. description: AutoID
  15400. type: integer
  15401. isauto:
  15402. description: 是否自动 - 0:不自动 1:自动
  15403. type: integer
  15404. remark:
  15405. description: 备注
  15406. type: string
  15407. stepdate:
  15408. description: 天数信息(T+N)
  15409. type: string
  15410. stepdays:
  15411. description: 距离上一步天数
  15412. type: integer
  15413. stepindex:
  15414. description: 步骤序号
  15415. type: integer
  15416. stepinfo:
  15417. description: 步骤信息(步骤名称+步骤值)
  15418. type: string
  15419. steptypeid:
  15420. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15421. type: integer
  15422. steptypename:
  15423. description: 步骤名称
  15424. type: string
  15425. stepvalue:
  15426. description: 步骤值
  15427. type: number
  15428. templateid:
  15429. description: 履约计划模板ID
  15430. type: integer
  15431. type: object
  15432. models.WrHoldLB:
  15433. properties:
  15434. accountid:
  15435. description: 持有人帐户ID
  15436. type: integer
  15437. createtime:
  15438. description: 创建时间(过户时间)
  15439. type: string
  15440. deliverygoodscode:
  15441. description: 品种代码
  15442. type: string
  15443. deliverygoodsid:
  15444. description: 品种ID
  15445. type: integer
  15446. deliverygoodsname:
  15447. description: 品种名称
  15448. type: string
  15449. enableqty:
  15450. description: 可用数量
  15451. type: number
  15452. enumdicname:
  15453. description: 单位名称
  15454. type: string
  15455. freezerqty:
  15456. description: 冻结数量
  15457. type: number
  15458. ladingbillid:
  15459. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15460. type: string
  15461. minivalue:
  15462. description: 现货商品最小变动值
  15463. type: integer
  15464. optioncompare:
  15465. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15466. type: string
  15467. parentsubnum:
  15468. description: 拆分父子单号
  15469. type: integer
  15470. pledgeqty:
  15471. description: 质押数量
  15472. type: number
  15473. qty:
  15474. description: 数量
  15475. type: number
  15476. subnum:
  15477. description: 提单子单号
  15478. type: integer
  15479. tradedate:
  15480. description: 交易日(yyyyMMdd)
  15481. type: string
  15482. userid:
  15483. description: 持有人ID
  15484. type: integer
  15485. warehouseid:
  15486. description: 仓库ID
  15487. type: integer
  15488. warehousename:
  15489. description: 仓库名称
  15490. type: string
  15491. wrfactortypeid:
  15492. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15493. type: string
  15494. wrfactortypename:
  15495. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15496. type: string
  15497. wrholdeno:
  15498. description: 仓单编号
  15499. type: string
  15500. wrid:
  15501. description: 仓单变更ID
  15502. type: string
  15503. wrstandardcode:
  15504. description: 现货商品代码
  15505. type: string
  15506. wrstandardid:
  15507. description: 现货商品ID
  15508. type: integer
  15509. wrstandardname:
  15510. description: 商品名称
  15511. type: string
  15512. wrtypename:
  15513. description: 商品
  15514. type: string
  15515. type: object
  15516. models.WrMarketTradeConfig:
  15517. properties:
  15518. basisdownratio:
  15519. description: 浮动价基差下限比例(仓单贸易)
  15520. type: number
  15521. basisupratio:
  15522. description: 浮动价基差上限比例(仓单贸易)
  15523. type: number
  15524. buychargealgorithm:
  15525. description: 买方手续费收取方式 1:比率 2:固定
  15526. type: integer
  15527. buychargealgorithm2:
  15528. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15529. type: integer
  15530. buychargealgorithmvalue:
  15531. description: 买方手续费设置值(交易所部分)
  15532. type: number
  15533. buychargealgorithmvalue2:
  15534. description: 买方手续费设置值(会员部分)
  15535. type: number
  15536. buychargealgorithmvalue3:
  15537. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15538. type: number
  15539. buychargealgorithmvalue4:
  15540. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15541. type: number
  15542. buyfirstmarginalgorithm:
  15543. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15544. type: integer
  15545. buyfirstmarginvalue:
  15546. description: 买方出价保证金设置值 - [竞拍]
  15547. type: number
  15548. buymarginalgorithm:
  15549. description: 买方保证金方式 - 1:比率 2:固定
  15550. type: integer
  15551. buymarginvalue:
  15552. description: 买方保证金设置值
  15553. type: number
  15554. buyreleaseratio:
  15555. description: 买方释放比率[2:分步履约]
  15556. type: number
  15557. executemode:
  15558. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15559. type: integer
  15560. executeside:
  15561. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15562. type: integer
  15563. failedchargealgorithm:
  15564. description: 流拍手续费收取方式 1:比率 2:固定
  15565. type: integer
  15566. failedchargevalue:
  15567. description: 流拍手续费设置值
  15568. type: number
  15569. failedchargevalue2:
  15570. description: 流拍卖方手续费设置值
  15571. type: number
  15572. holddays:
  15573. description: 合同期限[2:分步履约]
  15574. type: integer
  15575. marketid:
  15576. description: 市场ID-仓单贸易、竞拍、预售
  15577. type: integer
  15578. minqty:
  15579. description: 最小执行量[2:分步履约]
  15580. type: number
  15581. modifierid:
  15582. description: 修改人
  15583. type: integer
  15584. performancetempid:
  15585. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15586. type: integer
  15587. performancetempid2:
  15588. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15589. type: integer
  15590. performancetempid2s:
  15591. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15592. type: string
  15593. performancetempids:
  15594. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15595. type: string
  15596. performanceway:
  15597. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15598. type: integer
  15599. sellchargealgorithm:
  15600. description: 卖方手续费收取方式 1:比率 2:固定
  15601. type: integer
  15602. sellchargealgorithm2:
  15603. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15604. type: integer
  15605. sellchargealgorithmvalue:
  15606. description: 卖方手续费设置值(交易所部分)
  15607. type: number
  15608. sellchargealgorithmvalue2:
  15609. description: 卖方手续费设置值(会员部分)
  15610. type: number
  15611. sellchargealgorithmvalue3:
  15612. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15613. type: number
  15614. sellchargealgorithmvalue4:
  15615. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15616. type: number
  15617. sellmarginalgorithm:
  15618. description: 卖方保证金方式 - 1:比率 2:固定
  15619. type: integer
  15620. sellmarginvalue:
  15621. description: 卖方保证金设置值
  15622. type: number
  15623. sellmarginvalue2:
  15624. description: 卖方保证金设置值(无仓单)
  15625. type: number
  15626. sellreleaseratio:
  15627. description: 卖方释放比率[2:分步履约]
  15628. type: number
  15629. updatetime:
  15630. description: 更新时间
  15631. type: string
  15632. type: object
  15633. models.WrOrderDetail:
  15634. properties:
  15635. accountid:
  15636. description: 交易账号(资金账号)
  15637. type: integer
  15638. allfriendsflag:
  15639. description: 是否全好友可见 - 0:否 1:是
  15640. type: integer
  15641. amount:
  15642. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15643. type: number
  15644. begindate:
  15645. description: 开始交易日(yyyymmdd)
  15646. type: string
  15647. buyorsell:
  15648. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15649. type: integer
  15650. canbargain:
  15651. description: 是否可议价 - 0:不可 1:可
  15652. type: integer
  15653. cancelqty:
  15654. description: 撤销数量
  15655. type: number
  15656. canpart:
  15657. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15658. type: integer
  15659. delistminqty:
  15660. description: 起摘数量
  15661. type: integer
  15662. deliverygoodscode:
  15663. description: 品种代码
  15664. type: string
  15665. deliverygoodsid:
  15666. description: 品种ID
  15667. type: integer
  15668. deliverygoodsname:
  15669. description: 品种名称
  15670. type: string
  15671. deliverymonth:
  15672. description: 交收月
  15673. type: string
  15674. enddate:
  15675. description: 结束交易日(yyyymmdd)
  15676. type: string
  15677. enumdicname:
  15678. description: 单位名称
  15679. type: string
  15680. fixedprice:
  15681. description: 固定价格 - [挂牌]
  15682. type: number
  15683. freezecharge:
  15684. description: 冻结手续费
  15685. type: number
  15686. freezemargin:
  15687. description: 冻结保证金(保证金)
  15688. type: number
  15689. futupricemove:
  15690. description: 期货升贴水
  15691. type: number
  15692. futushow:
  15693. description: 期货合约/升贴水
  15694. type: string
  15695. goodscode:
  15696. description: 期货合约
  15697. type: string
  15698. goodsid:
  15699. description: 期货商品id
  15700. type: integer
  15701. goodsname:
  15702. description: 商品名称
  15703. type: string
  15704. haswr:
  15705. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15706. type: integer
  15707. isspecified:
  15708. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15709. type: integer
  15710. ladingbillid:
  15711. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15712. type: string
  15713. marginvalue:
  15714. description: 保证金设置值(履约保证金)
  15715. type: number
  15716. marketid:
  15717. description: 市场ID
  15718. type: integer
  15719. matchusername:
  15720. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15721. type: string
  15722. minivalue:
  15723. description: 现货商品最小变动值
  15724. type: integer
  15725. optioncompare:
  15726. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15727. type: string
  15728. orderqty:
  15729. description: 委托数量
  15730. type: number
  15731. ordertime:
  15732. description: 委托时间(挂牌时间)
  15733. type: string
  15734. performancetemplateid:
  15735. description: 履约模板id
  15736. type: integer
  15737. pricemove:
  15738. description: 升贴水(浮动价时填写) - [挂牌]
  15739. type: number
  15740. taname:
  15741. description: 交易用户名称(资金账号名称)
  15742. type: string
  15743. tradedate:
  15744. description: 交易日(yyyyMMdd)
  15745. type: string
  15746. tradeprice:
  15747. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15748. type: number
  15749. tradeqty:
  15750. description: 成交数量
  15751. type: number
  15752. userid:
  15753. description: 用户ID
  15754. type: integer
  15755. validtime:
  15756. description: 挂牌有效期
  15757. type: string
  15758. validtype:
  15759. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15760. type: integer
  15761. warehouseid:
  15762. description: 仓库ID
  15763. type: integer
  15764. warehousename:
  15765. description: 仓库名称
  15766. type: string
  15767. wrfactortypeid:
  15768. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15769. type: string
  15770. wrfactortypename:
  15771. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15772. type: string
  15773. wrpricetype:
  15774. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15775. type: integer
  15776. wrstandardcode:
  15777. description: 现货商品代码
  15778. type: string
  15779. wrstandardid:
  15780. description: 现货商品ID
  15781. type: integer
  15782. wrstandardname:
  15783. description: 商品名称
  15784. type: string
  15785. wrtradeorderid:
  15786. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15787. type: string
  15788. wrtradeorderstatus:
  15789. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  15790. type: integer
  15791. wrtradetype:
  15792. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15793. type: integer
  15794. wrtypename:
  15795. description: 商品
  15796. type: string
  15797. type: object
  15798. models.WrOrderQuote:
  15799. properties:
  15800. buyprice:
  15801. description: 买价
  15802. type: number
  15803. buypricemove:
  15804. description: 买升贴水(基差)
  15805. type: number
  15806. buyqty:
  15807. description: 买量
  15808. type: number
  15809. deliverygoodscode:
  15810. description: 品种代码
  15811. type: string
  15812. deliverygoodsid:
  15813. description: 品种id
  15814. type: integer
  15815. deliverygoodsname:
  15816. description: 品种名称
  15817. type: string
  15818. deliverymonth:
  15819. description: 交收月
  15820. type: string
  15821. enumdicname:
  15822. description: 单位名称
  15823. type: string
  15824. goodscode:
  15825. description: 商品合约(浮动价列表才有)
  15826. type: string
  15827. goodsid:
  15828. description: 商品id(浮动价列表才有)
  15829. type: integer
  15830. minivalue:
  15831. description: 现货商品最小变动值
  15832. type: integer
  15833. sellprice:
  15834. description: 卖价
  15835. type: number
  15836. sellpricemove:
  15837. description: 卖升贴水(基差)
  15838. type: number
  15839. sellqty:
  15840. description: 卖量
  15841. type: number
  15842. warehousecode:
  15843. description: 仓库代码
  15844. type: string
  15845. warehouseid:
  15846. description: 仓库id
  15847. type: integer
  15848. warehousename:
  15849. description: 仓库名称
  15850. type: string
  15851. wrfactortypeid:
  15852. description: 仓单要素id
  15853. type: string
  15854. wrfactortypename:
  15855. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15856. type: string
  15857. wrgoodsname:
  15858. description: 商品(商品名称+仓库要素名称 拼接)
  15859. type: string
  15860. wrstandardcode:
  15861. description: 商品代码
  15862. type: string
  15863. wrstandardid:
  15864. description: 商品id
  15865. type: integer
  15866. wrstandardname:
  15867. description: 商品名称
  15868. type: string
  15869. type: object
  15870. models.WrOrderQuoteDetail:
  15871. properties:
  15872. buyorsell:
  15873. description: 买卖 - 0:买 1:卖
  15874. type: integer
  15875. delistminqty:
  15876. description: 起摘数量
  15877. type: number
  15878. deliverymonth:
  15879. description: 交收月
  15880. type: string
  15881. enumdicname:
  15882. description: 单位名称
  15883. type: string
  15884. fixedprice:
  15885. description: 买(卖)价
  15886. type: number
  15887. minivalue:
  15888. description: 现货商品最小变动值
  15889. type: integer
  15890. orderqty:
  15891. description: 买(卖)量(=委托量-成交量)
  15892. type: number
  15893. ordertime:
  15894. description: 委托时间
  15895. type: string
  15896. pricemove:
  15897. description: 买(卖)升贴水- 基差
  15898. type: number
  15899. userid:
  15900. description: 购买方(销售方)用户ID
  15901. type: integer
  15902. username:
  15903. description: 购买方(销售方)
  15904. type: string
  15905. wrtradeorderid:
  15906. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15907. type: string
  15908. type: object
  15909. models.WrOutInApply:
  15910. properties:
  15911. applyid:
  15912. description: 申请单id
  15913. type: string
  15914. applystatus:
  15915. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15916. type: integer
  15917. applytime:
  15918. description: 申请时间
  15919. type: string
  15920. applytype:
  15921. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15922. type: integer
  15923. begindate:
  15924. description: 开始交易日(yyyymmdd)
  15925. type: string
  15926. deliverygoodscode:
  15927. description: 品种代码
  15928. type: string
  15929. deliverygoodsid:
  15930. description: 品种ID
  15931. type: integer
  15932. deliverygoodsname:
  15933. description: 品种名称
  15934. type: string
  15935. enddate:
  15936. description: 结束交易日(yyyymmdd)
  15937. type: string
  15938. enumdicname:
  15939. description: 单位名称
  15940. type: string
  15941. expresscompany:
  15942. description: 物流公司
  15943. type: string
  15944. expressnum:
  15945. description: 物流单号
  15946. type: string
  15947. minivalue:
  15948. description: 现货商品最小变动值
  15949. type: integer
  15950. optioncompare:
  15951. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15952. type: string
  15953. qty:
  15954. description: 数量
  15955. type: integer
  15956. userid:
  15957. description: 用户id
  15958. type: integer
  15959. warehouseid:
  15960. description: 仓库ID
  15961. type: integer
  15962. warehousename:
  15963. description: 仓库名称
  15964. type: string
  15965. wrfactortypeid:
  15966. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15967. type: string
  15968. wrfactortypename:
  15969. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15970. type: string
  15971. wrstandardcode:
  15972. description: 现货商品代码
  15973. type: string
  15974. wrstandardid:
  15975. description: 现货商品ID
  15976. type: integer
  15977. wrstandardname:
  15978. description: 商品名称
  15979. type: string
  15980. wrtypename:
  15981. description: 商品
  15982. type: string
  15983. type: object
  15984. models.WrPerformancePlan:
  15985. properties:
  15986. activatemonth:
  15987. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15988. type: string
  15989. amount:
  15990. description: 履约金额(总金额)
  15991. type: number
  15992. buyaccountid:
  15993. description: 买方账号
  15994. type: integer
  15995. buyerfreezeamount:
  15996. description: 履约冻结(买履约)
  15997. type: number
  15998. buyerfreezeamountremain:
  15999. description: 履约冻结剩余(买履约)
  16000. type: number
  16001. buyorsell:
  16002. description: 买卖方向 0-买 1-卖
  16003. type: integer
  16004. buypaidamount:
  16005. description: 买方已冻/已扣金额 (已付金额)
  16006. type: number
  16007. buyusername:
  16008. description: 买方名字
  16009. type: string
  16010. contractid:
  16011. description: 合同ID
  16012. type: integer
  16013. createtime:
  16014. description: 创建时间
  16015. type: string
  16016. creatorid:
  16017. description: 创建人
  16018. type: integer
  16019. curstepdeadline:
  16020. description: 当前步骤到期时间
  16021. type: string
  16022. curstepid:
  16023. description: 当前步骤ID
  16024. type: string
  16025. curstepname:
  16026. description: 当前步骤名称
  16027. type: string
  16028. deliverygoodscode:
  16029. description: 品种代码
  16030. type: string
  16031. deliverygoodsid:
  16032. description: 品种ID
  16033. type: integer
  16034. deliverygoodsname:
  16035. description: 品种名称
  16036. type: string
  16037. enumdicname:
  16038. description: 单位名称
  16039. type: string
  16040. expressfee:
  16041. description: 运费
  16042. type: number
  16043. expressfeeconfirmed:
  16044. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16045. type: integer
  16046. hasovershort:
  16047. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16048. type: integer
  16049. haswr:
  16050. description: 类型 0-仓单预售 1-仓单贸易
  16051. type: integer
  16052. marketid:
  16053. description: 市场ID
  16054. type: integer
  16055. middleaccountid:
  16056. description: 中间商资金账号ID
  16057. type: integer
  16058. middleuserid:
  16059. description: 中间商用户ID
  16060. type: integer
  16061. minivalue:
  16062. description: 现货商品最小变动值
  16063. type: integer
  16064. optioncompare:
  16065. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16066. type: string
  16067. overshortamount:
  16068. description: 溢短金额
  16069. type: number
  16070. overshortqty:
  16071. description: 溢短数量
  16072. type: number
  16073. paymenttype:
  16074. description: 付款方式 - 1:冻结 2:扣款
  16075. type: integer
  16076. performanceplanid:
  16077. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16078. type: string
  16079. performancestatus:
  16080. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16081. type: integer
  16082. performancetype:
  16083. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16084. type: integer
  16085. qty:
  16086. description: 履约数量
  16087. type: number
  16088. relatedorderid:
  16089. description: 关联单号(履约类型的关联单号)
  16090. type: string
  16091. remark:
  16092. description: 备注
  16093. type: string
  16094. sellaccountid:
  16095. description: 卖方账号
  16096. type: integer
  16097. sellerfreezeamount:
  16098. description: 履约冻结(卖履约)
  16099. type: number
  16100. sellerfreezeamountremain:
  16101. description: 履约冻结剩余(卖履约)
  16102. type: number
  16103. sellreceivedamount:
  16104. description: 卖方已收金额
  16105. type: number
  16106. sellusername:
  16107. description: 卖方名字
  16108. type: string
  16109. shipremark:
  16110. description: 发货备注[物流单号]
  16111. type: string
  16112. starttime:
  16113. description: 开始时间
  16114. type: string
  16115. steptypeid:
  16116. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16117. type: integer
  16118. typename:
  16119. description: 履约类型 名称
  16120. type: string
  16121. unpaidamount:
  16122. description: 剩余款(待支付金额)
  16123. type: number
  16124. userid:
  16125. description: 用户id
  16126. type: integer
  16127. warehouseid:
  16128. description: 仓库ID
  16129. type: integer
  16130. warehousename:
  16131. description: 仓库名称
  16132. type: string
  16133. wrfactortypeid:
  16134. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16135. type: string
  16136. wrfactortypename:
  16137. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16138. type: string
  16139. wrstandardcode:
  16140. description: 现货商品代码
  16141. type: string
  16142. wrstandardid:
  16143. description: 现货商品ID
  16144. type: integer
  16145. wrstandardname:
  16146. description: 商品名称
  16147. type: string
  16148. wrtransferuserid:
  16149. description: 仓单受让用户
  16150. type: integer
  16151. wrtypename:
  16152. description: 商品
  16153. type: string
  16154. required:
  16155. - userid
  16156. type: object
  16157. models.WrPerformancePlanStep:
  16158. properties:
  16159. delaydays:
  16160. description: 延期申请天数
  16161. type: integer
  16162. deliverygoodscode:
  16163. description: 品种代码
  16164. type: string
  16165. deliverygoodsid:
  16166. description: 品种ID
  16167. type: integer
  16168. deliverygoodsname:
  16169. description: 品种名称
  16170. type: string
  16171. endtime:
  16172. description: 结束日期
  16173. type: string
  16174. enumdicname:
  16175. description: 单位名称
  16176. type: string
  16177. executeside:
  16178. description: 步骤执行方 - 1:买方 2:卖方
  16179. type: integer
  16180. handlestatus:
  16181. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16182. type: integer
  16183. isauto:
  16184. description: 是否自动 - 0:不自动 1:自动
  16185. type: integer
  16186. islastreceivestep:
  16187. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16188. type: integer
  16189. minivalue:
  16190. description: 现货商品最小变动值
  16191. type: integer
  16192. optioncompare:
  16193. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16194. type: string
  16195. overdays:
  16196. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16197. type: integer
  16198. performancestepid:
  16199. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16200. type: string
  16201. planid:
  16202. description: 所属履约计划ID
  16203. type: string
  16204. realamount:
  16205. description: 实际完成金额
  16206. type: number
  16207. relatedorderid:
  16208. description: 关联单号
  16209. type: string
  16210. remaindays:
  16211. description: 剩余天数
  16212. type: integer
  16213. remark:
  16214. description: 错误备注
  16215. type: string
  16216. starttime:
  16217. description: 开始日期
  16218. type: string
  16219. stepamount:
  16220. description: 步骤金额
  16221. type: number
  16222. stepdays:
  16223. description: 距离上一步天数(分钟)
  16224. type: integer
  16225. stepindex:
  16226. description: 步骤序号
  16227. type: integer
  16228. steplanchtype:
  16229. description: 步骤启动类型 - 1:系统自动 2:手动
  16230. type: integer
  16231. stepremark:
  16232. description: 步骤备注
  16233. type: string
  16234. stepstatus:
  16235. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16236. type: integer
  16237. steptypeid:
  16238. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16239. type: integer
  16240. steptypename:
  16241. description: 步骤名称
  16242. type: string
  16243. stepvalue:
  16244. description: 步骤值
  16245. type: number
  16246. warehouseid:
  16247. description: 仓库ID
  16248. type: integer
  16249. warehousename:
  16250. description: 仓库名称
  16251. type: string
  16252. wrfactortypeid:
  16253. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16254. type: string
  16255. wrfactortypename:
  16256. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16257. type: string
  16258. wrstandardcode:
  16259. description: 现货商品代码
  16260. type: string
  16261. wrstandardid:
  16262. description: 现货商品ID
  16263. type: integer
  16264. wrstandardname:
  16265. description: 商品名称
  16266. type: string
  16267. wrtypename:
  16268. description: 商品
  16269. type: string
  16270. type: object
  16271. models.WrPerformanceStepType:
  16272. properties:
  16273. canauto:
  16274. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16275. type: integer
  16276. steptypeid:
  16277. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16278. type: integer
  16279. steptypename:
  16280. description: 步骤类型名称
  16281. type: string
  16282. type: object
  16283. models.WrPerformanceTemplateEx:
  16284. properties:
  16285. autoid:
  16286. description: AutoID 模板id
  16287. type: integer
  16288. createtime:
  16289. description: 创建时间
  16290. type: string
  16291. creatorid:
  16292. description: 创建人
  16293. type: integer
  16294. lstStep:
  16295. description: 步骤信息列表
  16296. items:
  16297. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16298. type: array
  16299. paymenttype:
  16300. description: 支付方式 - 1:冻结 2:扣款
  16301. type: integer
  16302. takemode:
  16303. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16304. type: integer
  16305. templatename:
  16306. description: 模板名称
  16307. type: string
  16308. templatetype:
  16309. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16310. type: integer
  16311. userid:
  16312. description: 所属用户
  16313. type: integer
  16314. type: object
  16315. models.WrPosition:
  16316. properties:
  16317. accountid:
  16318. description: 帐户ID
  16319. type: integer
  16320. buyexcuteqty:
  16321. description: 采购履约中数量
  16322. type: number
  16323. creditcurqty:
  16324. description: 授信当前数量(预售仓单:预售当前量)
  16325. type: number
  16326. creditenableqty:
  16327. description: '授信可用数量(预售仓单: 可用数量)'
  16328. type: number
  16329. creditfreezeqty:
  16330. description: '授信冻结数量(预售仓单: 当前数量)'
  16331. type: number
  16332. credittotalqty:
  16333. description: 授信总数量(预售仓单:预售总量)
  16334. type: number
  16335. credittradeqty:
  16336. description: 授信成交数量(预售仓单:成交总量)
  16337. type: number
  16338. deliverygoodscode:
  16339. description: 品种代码
  16340. type: string
  16341. deliverygoodsid:
  16342. description: 品种ID
  16343. type: integer
  16344. deliverygoodsname:
  16345. description: 品种名称
  16346. type: string
  16347. enalbeqty:
  16348. description: 可用数量
  16349. type: number
  16350. enumdicname:
  16351. description: 单位名称
  16352. type: string
  16353. freezeqty:
  16354. description: 总冻结数量
  16355. type: number
  16356. haswr:
  16357. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16358. type: integer
  16359. minivalue:
  16360. description: 现货商品最小变动值
  16361. type: integer
  16362. modifytime:
  16363. description: 修改时间(过户时间)
  16364. type: string
  16365. optioncompare:
  16366. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16367. type: string
  16368. pledgeqty:
  16369. description: 质押数量
  16370. type: number
  16371. querytype:
  16372. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16373. type: integer
  16374. sellexcuteqty:
  16375. description: 销售履约中数量
  16376. type: number
  16377. totalqty:
  16378. description: 总数量(库存数量)
  16379. type: number
  16380. warehouseid:
  16381. description: 仓库ID
  16382. type: integer
  16383. warehousename:
  16384. description: 仓库名称
  16385. type: string
  16386. wrfactortypeid:
  16387. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16388. type: string
  16389. wrfactortypename:
  16390. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16391. type: string
  16392. wrpositionid:
  16393. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16394. type: string
  16395. wrpositionno:
  16396. description: 仓单编号
  16397. type: string
  16398. wrstandardcode:
  16399. description: 现货商品代码
  16400. type: string
  16401. wrstandardid:
  16402. description: 现货商品ID
  16403. type: integer
  16404. wrstandardname:
  16405. description: 商品名称
  16406. type: string
  16407. wrtypename:
  16408. description: 商品
  16409. type: string
  16410. wruserid:
  16411. description: 持有人ID
  16412. type: integer
  16413. type: object
  16414. models.WrQuoteOrderMyq:
  16415. properties:
  16416. buyorsell:
  16417. description: 买卖 - 0:买 1:卖
  16418. type: integer
  16419. canbargain:
  16420. description: 是否可议价 - 0:不可 1:可
  16421. type: integer
  16422. canpart:
  16423. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16424. type: integer
  16425. delistminqty:
  16426. description: 起摘数量
  16427. type: number
  16428. deliverygoodscode:
  16429. description: 品种代码
  16430. type: string
  16431. deliverygoodsid:
  16432. description: 品种ID
  16433. type: integer
  16434. deliverygoodsname:
  16435. description: 品种名称
  16436. type: string
  16437. deliverymonth:
  16438. description: 交收月
  16439. type: string
  16440. enumdicname:
  16441. description: 单位名称
  16442. type: string
  16443. fixedprice:
  16444. description: 买(卖)价
  16445. type: number
  16446. goodscode:
  16447. description: 商品合约代码
  16448. type: string
  16449. marginflag:
  16450. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16451. type: integer
  16452. marginvalue:
  16453. description: 保证金设置值
  16454. type: number
  16455. minivalue:
  16456. description: 现货商品最小变动值
  16457. type: integer
  16458. orderqty:
  16459. description: 买(卖)量(=委托量-成交量)
  16460. type: number
  16461. ordertime:
  16462. description: 委托时间
  16463. type: string
  16464. performancetemplateid:
  16465. description: 履约模板id
  16466. type: integer
  16467. pricemove:
  16468. description: 买(卖)升贴水- 基差
  16469. type: number
  16470. templatename:
  16471. description: 履约模板名称
  16472. type: string
  16473. userid:
  16474. description: 购买方(销售方)用户ID
  16475. type: integer
  16476. username:
  16477. description: 购买方(销售方)
  16478. type: string
  16479. validtime:
  16480. description: 有效期限
  16481. type: string
  16482. validtype:
  16483. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16484. type: integer
  16485. warehousename:
  16486. description: 仓库名称
  16487. type: string
  16488. wrfactortypeid:
  16489. description: 仓单要素id
  16490. type: string
  16491. wrstandardcode:
  16492. description: 现货商品代码
  16493. type: string
  16494. wrstandardid:
  16495. description: 现货商品ID
  16496. type: integer
  16497. wrstandardname:
  16498. description: 商品名称
  16499. type: string
  16500. wrtradeorderid:
  16501. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16502. type: string
  16503. wrtypename:
  16504. description: 商品
  16505. type: string
  16506. type: object
  16507. models.WrScfContract:
  16508. properties:
  16509. borroweruserid:
  16510. description: 借款用户ID
  16511. type: integer
  16512. buybackwrpositionqty:
  16513. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16514. type: number
  16515. closeinterest:
  16516. description: 已结利息 -> 已结费用
  16517. type: number
  16518. currisklevel:
  16519. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16520. type: integer
  16521. deadline:
  16522. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16523. type: string
  16524. deliverygoodscode:
  16525. description: 品种代码
  16526. type: string
  16527. deliverygoodsid:
  16528. description: 品种ID
  16529. type: integer
  16530. deliverygoodsname:
  16531. description: 品种名称
  16532. type: string
  16533. enumdicname:
  16534. description: 单位名称
  16535. type: string
  16536. financingdays:
  16537. description: 天数(天)
  16538. type: integer
  16539. initmargin:
  16540. description: 保证金 - [仓单回购]
  16541. type: number
  16542. interestamount:
  16543. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16544. type: number
  16545. interestdebt:
  16546. description: 利息欠款(记录负数) -> 费用欠款
  16547. type: number
  16548. interestminlen:
  16549. description: 最小起息天数
  16550. type: integer
  16551. interestrate:
  16552. description: 利率
  16553. type: number
  16554. interestratemode:
  16555. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16556. type: integer
  16557. interestsettlemode:
  16558. description: 结息方式 - 1:按日结息 3:按月结息
  16559. type: integer
  16560. interestsettlevalue:
  16561. description: 结息方式值
  16562. type: integer
  16563. isautoloan:
  16564. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16565. type: integer
  16566. lastcloseinterestday:
  16567. description: 最近结息日(yyyyMMdd)
  16568. type: string
  16569. lenderamount:
  16570. description: 贷款金额 -> 借款金额
  16571. type: number
  16572. lenderuserid:
  16573. description: 贷款方用户ID -> 融出方用户ID
  16574. type: integer
  16575. lenderusername:
  16576. description: 融出方
  16577. type: string
  16578. marginratio:
  16579. description: 保证金比率质押率 - [仓单质押]
  16580. type: number
  16581. marketid:
  16582. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16583. type: integer
  16584. minivalue:
  16585. description: 现货商品最小变动值
  16586. type: integer
  16587. optioncompare:
  16588. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16589. type: string
  16590. pricemove:
  16591. description: 估值升贴水值
  16592. type: number
  16593. productdetailid:
  16594. description: 产品组合ID
  16595. type: integer
  16596. productid:
  16597. description: 金融产品ID
  16598. type: integer
  16599. productname:
  16600. description: 产品名称
  16601. type: string
  16602. remainamount:
  16603. description: 合同剩余金额 -> 剩余金额
  16604. type: number
  16605. remainwrpositionqty:
  16606. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16607. type: number
  16608. remark:
  16609. description: 备注
  16610. type: string
  16611. scfcontractid:
  16612. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16613. type: string
  16614. scfcontractstatus:
  16615. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16616. type: integer
  16617. scfcontracttype:
  16618. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16619. type: integer
  16620. startinterestday:
  16621. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16622. type: string
  16623. totalinterest:
  16624. description: 已计利息 -> 已计费用
  16625. type: number
  16626. unpaidinterest:
  16627. description: 未结费用
  16628. type: number
  16629. updatetime:
  16630. description: 更新时间
  16631. type: string
  16632. warehouseid:
  16633. description: 仓库ID
  16634. type: integer
  16635. warehousename:
  16636. description: 仓库名称
  16637. type: string
  16638. wrfactortypeid:
  16639. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16640. type: string
  16641. wrfactortypename:
  16642. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16643. type: string
  16644. wrqty:
  16645. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16646. type: number
  16647. wrstandardcode:
  16648. description: 现货商品代码
  16649. type: string
  16650. wrstandardid:
  16651. description: 现货商品ID
  16652. type: integer
  16653. wrstandardname:
  16654. description: 商品名称
  16655. type: string
  16656. wrtypename:
  16657. description: 商品
  16658. type: string
  16659. type: object
  16660. models.WrScfContractInterest:
  16661. properties:
  16662. closeinterest:
  16663. description: 已结利息
  16664. type: number
  16665. closeintereststatus:
  16666. description: 结息状态 - 1:未结 2:已结
  16667. type: integer
  16668. closetime:
  16669. description: 结息时间
  16670. type: string
  16671. closetradedate:
  16672. description: 结息交易日
  16673. type: string
  16674. creatorid:
  16675. description: 操作人ID
  16676. type: integer
  16677. dayrate:
  16678. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16679. type: number
  16680. interest:
  16681. description: 利息
  16682. type: number
  16683. interestamount:
  16684. description: 计息金额
  16685. type: number
  16686. interestday:
  16687. description: 计息日(yyyyMMdd)
  16688. type: string
  16689. scfcontractid:
  16690. description: SCF合同ID
  16691. type: string
  16692. scfcontractinterestid:
  16693. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16694. type: integer
  16695. updatetime:
  16696. description: 更新时间
  16697. type: string
  16698. type: object
  16699. models.WrSiteColumnDetail:
  16700. properties:
  16701. brief:
  16702. description: 简介
  16703. type: string
  16704. context:
  16705. description: 内容
  16706. type: string
  16707. coverimage:
  16708. description: 封面图片
  16709. type: string
  16710. creaedate:
  16711. description: 创建时间
  16712. type: string
  16713. id:
  16714. description: ID(SEQ_SITE_COLUMNDETAIL)
  16715. type: integer
  16716. istop:
  16717. description: 是否置顶 - 0:不置 1:置顶
  16718. type: integer
  16719. publishdate:
  16720. description: 发布日期
  16721. type: string
  16722. title:
  16723. description: 标题
  16724. type: string
  16725. updatedate:
  16726. description: 修改时间
  16727. type: string
  16728. type: object
  16729. models.WrSpecialMatchOrder:
  16730. properties:
  16731. amount:
  16732. description: 金额 = 数量 * 价格
  16733. type: number
  16734. buyorsell:
  16735. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16736. type: integer
  16737. cancelqty:
  16738. description: 撤销数量
  16739. type: number
  16740. deliverygoodscode:
  16741. description: 品种代码
  16742. type: string
  16743. deliverygoodsid:
  16744. description: 品种ID
  16745. type: integer
  16746. deliverygoodsname:
  16747. description: 品种名称
  16748. type: string
  16749. enumdicname:
  16750. description: 单位名称
  16751. type: string
  16752. fixedprice:
  16753. description: 固定价格(价格)
  16754. type: number
  16755. haswr:
  16756. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16757. type: integer
  16758. isspecified:
  16759. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16760. type: integer
  16761. marketid:
  16762. description: 市场ID
  16763. type: integer
  16764. matchuserid:
  16765. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16766. type: integer
  16767. matchusername:
  16768. description: 指定方
  16769. type: string
  16770. minivalue:
  16771. description: 现货商品最小变动值
  16772. type: integer
  16773. optioncompare:
  16774. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16775. type: string
  16776. orderqty:
  16777. description: 委托数量
  16778. type: number
  16779. ordertime:
  16780. description: 委托时间
  16781. type: string
  16782. pricemove:
  16783. description: 升贴水(浮动价时填写) - [挂牌]
  16784. type: number
  16785. tradedate:
  16786. description: 交易日(yyyyMMdd)
  16787. type: string
  16788. tradeprice:
  16789. description: 成交价格
  16790. type: number
  16791. tradeqty:
  16792. description: 成交数量
  16793. type: number
  16794. userid:
  16795. description: 用户ID
  16796. type: integer
  16797. username:
  16798. description: 发起方
  16799. type: string
  16800. warehouseid:
  16801. description: 仓库ID
  16802. type: integer
  16803. warehousename:
  16804. description: 仓库名称
  16805. type: string
  16806. wrfactortypeid:
  16807. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16808. type: string
  16809. wrfactortypename:
  16810. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16811. type: string
  16812. wrpricetype:
  16813. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16814. type: integer
  16815. wrstandardcode:
  16816. description: 现货商品代码
  16817. type: string
  16818. wrstandardid:
  16819. description: 现货商品ID
  16820. type: integer
  16821. wrstandardname:
  16822. description: 商品名称
  16823. type: string
  16824. wrtradeorderid:
  16825. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16826. type: string
  16827. wrtradeorderstatus:
  16828. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16829. type: integer
  16830. wrtradetype:
  16831. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16832. type: integer
  16833. wrtypename:
  16834. description: 商品
  16835. type: string
  16836. type: object
  16837. models.WrSpotGroupTradeSum:
  16838. properties:
  16839. deliverygoodscode:
  16840. description: 现货品种代码
  16841. type: string
  16842. deliverygoodsid:
  16843. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16844. type: integer
  16845. deliverygoodsname:
  16846. description: 现货品种名称
  16847. type: string
  16848. lastavgprice:
  16849. description: 上上个交易日价格(前2天价格)
  16850. type: string
  16851. lastreckondate:
  16852. description: 上上个交易日(前2天交易日)
  16853. type: string
  16854. reckondate:
  16855. description: 上个交易日(前1天交易日)
  16856. type: string
  16857. todayavgprice:
  16858. description: 上个交易日价格(前1天价格)
  16859. type: string
  16860. updown:
  16861. description: 涨跌
  16862. type: string
  16863. updownratio:
  16864. description: 涨幅(已格式化, 直接显示即可)
  16865. type: string
  16866. type: object
  16867. models.WrSpotGroupTradeSumDetail:
  16868. properties:
  16869. deliverygoodsid:
  16870. description: 现货商品id
  16871. type: integer
  16872. price:
  16873. description: 价格
  16874. type: number
  16875. reckondate:
  16876. description: 日期(yyymmdd, 如:20211031)
  16877. type: string
  16878. type: object
  16879. models.WrSpotGroupTradeSumEx:
  16880. properties:
  16881. lst:
  16882. description: 指数列表
  16883. items:
  16884. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16885. type: array
  16886. prereckondate:
  16887. description: 上上个交易日(yyymmdd)
  16888. type: string
  16889. reckondate:
  16890. description: 上个交易日(yyyymmdd)
  16891. type: string
  16892. type: object
  16893. models.WrStandardFactoryItem:
  16894. properties:
  16895. dgfactoryitemid:
  16896. description: 选择项id
  16897. type: integer
  16898. dgfactoryitemvalue:
  16899. description: 要素项值
  16900. type: string
  16901. warehouseid:
  16902. description: 仓库id
  16903. type: integer
  16904. type: object
  16905. models.WrStandardFactoryItemEx:
  16906. properties:
  16907. dgfactoryitemtypeid:
  16908. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16909. type: integer
  16910. itemlst:
  16911. description: 要素项列表
  16912. items:
  16913. $ref: '#/definitions/models.WrStandardFactoryItem'
  16914. type: array
  16915. itemtypename:
  16916. description: 要素项类型名称
  16917. type: string
  16918. wrstandardid:
  16919. description: 品类
  16920. type: integer
  16921. type: object
  16922. models.WrTradeDetail:
  16923. properties:
  16924. accountid:
  16925. description: 资金账号
  16926. type: integer
  16927. begindate:
  16928. description: 开始交易日(yyyymmdd)
  16929. type: string
  16930. buyorsell:
  16931. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16932. type: integer
  16933. chargevalue:
  16934. description: 手续费
  16935. type: number
  16936. deliverygoodscode:
  16937. description: 品种代码
  16938. type: string
  16939. deliverygoodsid:
  16940. description: 品种ID
  16941. type: integer
  16942. deliverygoodsname:
  16943. description: 品种名称
  16944. type: string
  16945. deliverymonth:
  16946. description: 交收月
  16947. type: string
  16948. enddate:
  16949. description: 结束交易日(yyyymmdd)
  16950. type: string
  16951. enumdicname:
  16952. description: 单位名称
  16953. type: string
  16954. haswr:
  16955. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16956. type: integer
  16957. marketid:
  16958. description: 市场ID
  16959. type: integer
  16960. matchaccountid:
  16961. description: 对手账号
  16962. type: integer
  16963. matchusername:
  16964. description: 对手方
  16965. type: string
  16966. minivalue:
  16967. description: 现货商品最小变动值
  16968. type: integer
  16969. optioncompare:
  16970. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16971. type: string
  16972. tradedate:
  16973. description: 交易日(yyyyMMdd)
  16974. type: string
  16975. tradeprice:
  16976. description: 成交价格
  16977. type: number
  16978. tradeqty:
  16979. description: 成交数量
  16980. type: number
  16981. tradetime:
  16982. description: 成交时间
  16983. type: string
  16984. userid:
  16985. description: 用户ID
  16986. type: integer
  16987. warehouseid:
  16988. description: 仓库ID
  16989. type: integer
  16990. warehousename:
  16991. description: 仓库名称
  16992. type: string
  16993. wrfactortypeid:
  16994. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16995. type: string
  16996. wrfactortypename:
  16997. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16998. type: string
  16999. wrstandardcode:
  17000. description: 现货商品代码
  17001. type: string
  17002. wrstandardid:
  17003. description: 现货商品ID
  17004. type: integer
  17005. wrstandardname:
  17006. description: 商品名称
  17007. type: string
  17008. wrtradedetailid:
  17009. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17010. type: string
  17011. wrtradetype:
  17012. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17013. type: integer
  17014. wrtypename:
  17015. description: 商品
  17016. type: string
  17017. type: object
  17018. models.WrTradeOrderDetail:
  17019. properties:
  17020. buyorsell:
  17021. description: 买卖方向 0-买 1-卖
  17022. type: integer
  17023. goodsid:
  17024. description: 商品id
  17025. type: integer
  17026. orderid:
  17027. description: 委托单号
  17028. type: string
  17029. orderprice:
  17030. description: 委托价格
  17031. type: number
  17032. orderqty:
  17033. description: 委托数量
  17034. type: integer
  17035. userid:
  17036. description: 用户id
  17037. type: integer
  17038. username:
  17039. description: 用户名称(已脱敏)
  17040. type: string
  17041. type: object
  17042. models.WrTypeItem:
  17043. properties:
  17044. name:
  17045. description: 名称
  17046. type: string
  17047. value:
  17048. description: 值
  17049. type: string
  17050. type: object
  17051. models.WrUserFriend:
  17052. properties:
  17053. friendname:
  17054. description: 朋友名称(已脱敏)
  17055. type: string
  17056. frienduserid:
  17057. description: 朋友id
  17058. type: integer
  17059. isfriend:
  17060. description: 是否好友 0-不是 1-是
  17061. type: integer
  17062. userid:
  17063. description: 用户id
  17064. type: integer
  17065. type: object
  17066. models.WrUserReceiptInfo:
  17067. properties:
  17068. address:
  17069. description: 地址[发票类型:企业]
  17070. type: string
  17071. autoid:
  17072. description: AutoID
  17073. type: integer
  17074. contactinfo:
  17075. description: 联系方式
  17076. type: string
  17077. idnum:
  17078. description: 身份证号码[发票类型:个人]
  17079. type: string
  17080. isdefault:
  17081. description: 是否默认地址 - 0:否 1:是
  17082. type: integer
  17083. receiptaccount:
  17084. description: 发票帐号[发票类型:企业]
  17085. type: string
  17086. receiptbank:
  17087. description: 发票开户行[发票类型:企业]
  17088. type: string
  17089. receipttype:
  17090. description: 发票类型 - 1:个人 2:企业
  17091. type: integer
  17092. taxpayerid:
  17093. description: 纳税人识别号
  17094. type: string
  17095. userid:
  17096. description: 用户ID
  17097. type: integer
  17098. username:
  17099. description: 户名(个人姓名或企业名称)
  17100. type: string
  17101. type: object
  17102. models.XHBRAND:
  17103. properties:
  17104. brandid:
  17105. description: 品牌id
  17106. type: integer
  17107. brandname:
  17108. description: 品牌名称
  17109. type: string
  17110. isvalid:
  17111. description: 是否有效 0-无效 1-有效
  17112. type: integer
  17113. type: object
  17114. models.XHDeliveryGoods:
  17115. properties:
  17116. areauserid:
  17117. description: 所属机构
  17118. type: integer
  17119. bdlst:
  17120. description: 品牌列表
  17121. items:
  17122. $ref: '#/definitions/models.XHBRAND'
  17123. type: array
  17124. deliverygoodscode:
  17125. description: 现货品种代码
  17126. type: string
  17127. deliverygoodsid:
  17128. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17129. type: integer
  17130. deliverygoodsname:
  17131. description: 现货品种名称
  17132. type: string
  17133. dgstatus:
  17134. description: 品种状态 - 作废 - 0:未激活 1:正常
  17135. type: integer
  17136. isvalid:
  17137. description: 是否有效 - 0:无效 1:有效
  17138. type: integer
  17139. remark:
  17140. description: 备注
  17141. type: string
  17142. unitid:
  17143. description: 单位id(目前看,数据库中是空值)
  17144. type: integer
  17145. wdlst:
  17146. description: 品类(现货商品)列表
  17147. items:
  17148. $ref: '#/definitions/models.XHWrstandard'
  17149. type: array
  17150. type: object
  17151. models.XHMiddleGoods:
  17152. properties:
  17153. GPLST:
  17154. description: 期货品种列表
  17155. items:
  17156. $ref: '#/definitions/models.TBGoodsGroup'
  17157. type: array
  17158. convertratio:
  17159. description: 拆算系数
  17160. type: number
  17161. costratio:
  17162. description: 成本权重
  17163. type: number
  17164. deliverygoodsid:
  17165. description: 现货商品id
  17166. type: integer
  17167. enumdicname:
  17168. description: 单位名称
  17169. type: string
  17170. middlegoodscode:
  17171. description: 套保品种代码
  17172. type: string
  17173. middlegoodsid:
  17174. description: 套保品种id
  17175. type: integer
  17176. middlegoodsname:
  17177. description: 套保品种名称
  17178. type: string
  17179. unitid:
  17180. description: 单位id
  17181. type: integer
  17182. type: object
  17183. models.XHWrstandard:
  17184. properties:
  17185. deliverygoodsid:
  17186. description: 品种ID
  17187. type: integer
  17188. enumdicname:
  17189. description: 单位名称
  17190. type: string
  17191. mglst:
  17192. description: 套保品列表
  17193. items:
  17194. $ref: '#/definitions/models.XHMiddleGoods'
  17195. type: array
  17196. unitid:
  17197. description: 单位id
  17198. type: integer
  17199. vatrate:
  17200. description: 增值税率
  17201. type: number
  17202. wrstandardcode:
  17203. description: 现货商品代码
  17204. type: string
  17205. wrstandardid:
  17206. description: 现货商品ID(SEQ_WRSTANDARD)
  17207. type: integer
  17208. wrstandardname:
  17209. description: 现货商品名称
  17210. type: string
  17211. type: object
  17212. order.QueryHisTradeDetailRsp:
  17213. properties:
  17214. accountid:
  17215. description: 账户ID[报价币种]
  17216. type: integer
  17217. advanceratio:
  17218. description: 首付比率
  17219. type: number
  17220. buildtype:
  17221. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17222. type: integer
  17223. buyorsell:
  17224. description: 方向 - 0:买 1:卖
  17225. type: integer
  17226. charge:
  17227. description: 手续费
  17228. type: number
  17229. closecharge:
  17230. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17231. type: number
  17232. closeexchagechargevalue:
  17233. description: 平仓交易所手续费设置值
  17234. type: number
  17235. closefeealgorithm:
  17236. description: 平仓手续费收取方式 1:比率 2:固定
  17237. type: integer
  17238. closememberchargevalue:
  17239. description: 平仓会员手续费设置值
  17240. type: number
  17241. closepl:
  17242. description: 平仓盈亏
  17243. type: number
  17244. closepl2:
  17245. description: 平仓盈亏[逐笔]
  17246. type: number
  17247. closeqty:
  17248. description: 平仓数量(先建后平操作 需要记录)
  17249. type: number
  17250. creditamount:
  17251. description: 授信金额
  17252. type: number
  17253. decimalplace:
  17254. description: 商品报价小数位
  17255. type: integer
  17256. enumdicname:
  17257. description: 单位名称
  17258. type: string
  17259. gcaccountid:
  17260. description: 账户ID[合约币种]
  17261. type: integer
  17262. goodscode:
  17263. description: 商品代码
  17264. type: string
  17265. goodsid:
  17266. description: 商品ID
  17267. type: integer
  17268. goodsname:
  17269. description: 商品名称
  17270. type: string
  17271. goodunitid:
  17272. description: 商品单位id
  17273. type: integer
  17274. histradedate:
  17275. description: 历史交易日
  17276. type: string
  17277. intclosepl:
  17278. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17279. type: integer
  17280. isconfirmexercise:
  17281. description: 是否确认行权- 0:否 1:是
  17282. type: integer
  17283. ismain:
  17284. description: 是否主单 - 0:不是 1:是
  17285. type: integer
  17286. ispreexercise:
  17287. description: 是否预申报- 0:否 1:是
  17288. type: integer
  17289. isreckoned:
  17290. description: 是否结算 - 0:未结算 1:已结算
  17291. type: integer
  17292. isvaliddata:
  17293. description: 是否有效 - 0:无效 1:有效
  17294. type: integer
  17295. listingselecttype:
  17296. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17297. type: integer
  17298. marketid:
  17299. description: 市场ID
  17300. type: integer
  17301. marketname:
  17302. description: 市场名称
  17303. type: string
  17304. matchaccountid:
  17305. description: 对手账号id
  17306. type: integer
  17307. memberuserid:
  17308. description: 会员id 个人投资者 需要填写
  17309. type: integer
  17310. opencharge:
  17311. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17312. type: number
  17313. openexchagechargevalue:
  17314. description: 建仓交易所手续费设置值
  17315. type: number
  17316. openfeealgorithm:
  17317. description: 建仓手续费收取方式 1:比率 2:固定
  17318. type: integer
  17319. openmemberchargevalue:
  17320. description: 建仓会员手续费设置值
  17321. type: number
  17322. openqty:
  17323. description: 开仓数量(先建后平操作 需要记录)
  17324. type: number
  17325. optiontype:
  17326. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17327. type: integer
  17328. orderid:
  17329. description: 委托单号
  17330. type: string
  17331. payamount:
  17332. description: 支付金额(付款金额)
  17333. type: number
  17334. performanceplanid:
  17335. description: 履约计划ID[期权]
  17336. type: integer
  17337. performancestatus:
  17338. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17339. type: integer
  17340. preexerciseprice:
  17341. description: 预申报价格
  17342. type: number
  17343. premium:
  17344. description: 权利金 - [持仓单的权利金]
  17345. type: number
  17346. qtydecimalplace:
  17347. description: 商品报价小数位
  17348. type: integer
  17349. recvamount:
  17350. description: 到账金额 = 成交金额 - 手续费
  17351. type: number
  17352. relatedouttradeid:
  17353. description: 关联外部成交单ID
  17354. type: integer
  17355. status:
  17356. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17357. type: integer
  17358. totalamount:
  17359. description: 订单总额 = 成交金额 + 手续费
  17360. type: number
  17361. tradeamount:
  17362. description: 成交金额[账户币种,用于所有权]
  17363. type: number
  17364. tradedate:
  17365. description: 交易日(yyyyMMdd)
  17366. type: string
  17367. tradeid:
  17368. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17369. type: string
  17370. trademode:
  17371. description: 交易模式
  17372. type: integer
  17373. tradeprice:
  17374. description: 成交价格
  17375. type: number
  17376. tradeproperty:
  17377. description: 交易属性
  17378. type: integer
  17379. tradeqty:
  17380. description: 成交数量
  17381. type: number
  17382. tradetime:
  17383. description: 成交时间
  17384. type: string
  17385. tradetype:
  17386. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17387. type: integer
  17388. required:
  17389. - accountid
  17390. - buyorsell
  17391. - goodsid
  17392. - histradedate
  17393. - marketid
  17394. - memberuserid
  17395. - orderid
  17396. - tradeamount
  17397. - tradedate
  17398. - tradeid
  17399. - tradeprice
  17400. - tradeqty
  17401. - tradetime
  17402. type: object
  17403. order.QueryHisTradeOrderDetailRsp:
  17404. properties:
  17405. accountid:
  17406. description: 账户ID[报价币种]
  17407. type: integer
  17408. buildtype:
  17409. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17410. type: integer
  17411. buyorsell:
  17412. description: 买卖 - 0:买 1:卖
  17413. type: integer
  17414. cancelorderid:
  17415. description: 撤单单号(撤单时填写)
  17416. type: string
  17417. cancelqty:
  17418. description: 撤单数量
  17419. type: number
  17420. clientordertime:
  17421. description: 客户端委托时间
  17422. type: string
  17423. clientticket:
  17424. description: 客户端流水号
  17425. type: string
  17426. clienttype:
  17427. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17428. type: integer
  17429. closeexchagechargevalue:
  17430. description: 平仓交易所手续费设置值
  17431. type: number
  17432. closefeealgorithm:
  17433. description: 平仓手续费收取方式 1:比率 2:固定
  17434. type: integer
  17435. closefreezecharge:
  17436. description: 平仓冻结手续费(先建后平操作,需要记录)
  17437. type: number
  17438. closememberchargevalue:
  17439. description: 平仓会员手续费设置值
  17440. type: number
  17441. closeqty:
  17442. description: 平仓数量(先建后平操作 需要记录)
  17443. type: number
  17444. closetradeqty:
  17445. description: 平仓成交数量(先建后平操作,需要记录)
  17446. type: number
  17447. closeunfreezecharge:
  17448. description: 平仓解冻手续费(先建后平操作,需要记录)
  17449. type: number
  17450. decimalplace:
  17451. description: 商品报价小数位
  17452. type: integer
  17453. delistingtype:
  17454. description: 摘牌类型 - 1:价格最优 2:点选成交
  17455. type: integer
  17456. enumdicname:
  17457. description: 单位名称
  17458. type: string
  17459. freezecharge:
  17460. description: 冻结手续费
  17461. type: number
  17462. freezemargin:
  17463. description: 冻结保证金(冻结交易金额)
  17464. type: number
  17465. gcaccountid:
  17466. description: 账户ID[合约币种]
  17467. type: integer
  17468. goodscode:
  17469. description: 商品代码
  17470. type: string
  17471. goodsid:
  17472. description: 商品ID
  17473. type: integer
  17474. goodsname:
  17475. description: 商品名称
  17476. type: string
  17477. goodunitid:
  17478. description: 商品单位id
  17479. type: integer
  17480. histradedate:
  17481. description: 历史交易日
  17482. type: string
  17483. isconfirmexercise:
  17484. description: 是否确认行权- 0:否 1:是
  17485. type: integer
  17486. ispreexercise:
  17487. description: 是否预申报- 0:否 1:是
  17488. type: integer
  17489. isvaliddata:
  17490. description: 是否有效 - 0:无效 1:有效
  17491. type: integer
  17492. listingselecttype:
  17493. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17494. type: integer
  17495. marginalgorithm:
  17496. description: 保证金收取方式 1:比率 2:固定
  17497. type: integer
  17498. marginvalue:
  17499. description: 即市保证金设置值
  17500. type: number
  17501. marketid:
  17502. description: 市场ID
  17503. type: integer
  17504. marketmaxsub:
  17505. description: 市价最大偏移范围
  17506. type: number
  17507. marketname:
  17508. description: 市场名称
  17509. type: string
  17510. memberuserid:
  17511. description: 所属会员UserID
  17512. type: integer
  17513. openexchagechargevalue:
  17514. description: 建仓交易所手续费设置值
  17515. type: number
  17516. openfeealgorithm:
  17517. description: 建仓手续费收取方式 1:比率 2:固定
  17518. type: integer
  17519. openfreezecharge:
  17520. description: 开仓冻结手续费(先建后平操作,需要记录)
  17521. type: number
  17522. openmemberchargevalue:
  17523. description: 建仓会员手续费设置值
  17524. type: number
  17525. openqty:
  17526. description: 开仓数量(先建后平操作,需要记录)
  17527. type: number
  17528. opentradeqty:
  17529. description: 开仓成交数量(先建后平操作,需要记录)
  17530. type: number
  17531. openunfreezecharge:
  17532. description: 开仓解冻手续费(先建后平操作,需要记录)
  17533. type: number
  17534. operatetype:
  17535. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17536. type: integer
  17537. operatorid:
  17538. description: 登录账号(LoginID)
  17539. type: integer
  17540. optiontype:
  17541. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17542. type: integer
  17543. orderid:
  17544. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17545. type: string
  17546. orderprice:
  17547. description: 委托价格
  17548. type: number
  17549. orderqty:
  17550. description: 委托数量
  17551. type: number
  17552. ordersrc:
  17553. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17554. type: integer
  17555. orderstatus:
  17556. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17557. type: integer
  17558. ordertime:
  17559. description: 委托时间
  17560. type: string
  17561. preexerciseprice:
  17562. description: 预申报价格
  17563. type: number
  17564. premium:
  17565. description: 权利金
  17566. type: number
  17567. preorderid:
  17568. description: 关联预埋单号(止盈止损单时填写)
  17569. type: string
  17570. pricemode:
  17571. description: '取价方式 - 1:市价 2: 限价'
  17572. type: integer
  17573. qtydecimalplace:
  17574. description: 成交量小数位
  17575. type: integer
  17576. quoteid:
  17577. description: 报价单ID
  17578. type: integer
  17579. relatedid:
  17580. description: 关联单号(交割单)
  17581. type: string
  17582. retcode:
  17583. description: 错误代码
  17584. type: integer
  17585. sessionid:
  17586. description: 会话ID
  17587. type: integer
  17588. tradedate:
  17589. description: 交易日(yyyyMMdd)
  17590. type: string
  17591. trademode:
  17592. description: 交易模式
  17593. type: integer
  17594. tradeproperty:
  17595. description: 交易属性
  17596. type: integer
  17597. tradeqty:
  17598. description: 成交数量
  17599. type: number
  17600. unfreezecharge:
  17601. description: 解冻手续费
  17602. type: number
  17603. unfreezemargin:
  17604. description: 解冻保证金
  17605. type: number
  17606. updatetime:
  17607. description: 更新时间
  17608. type: string
  17609. uuid:
  17610. description: 发起端唯一id
  17611. type: string
  17612. validtime:
  17613. description: 有效期限
  17614. type: string
  17615. validtype:
  17616. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17617. type: integer
  17618. volumetype:
  17619. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17620. type: integer
  17621. required:
  17622. - accountid
  17623. - buildtype
  17624. - buyorsell
  17625. - goodsid
  17626. - histradedate
  17627. - marketid
  17628. - memberuserid
  17629. - operatetype
  17630. - orderid
  17631. - orderqty
  17632. - ordertime
  17633. - pricemode
  17634. - tradedate
  17635. - validtype
  17636. type: object
  17637. order.QueryTradeDetailRsp:
  17638. properties:
  17639. accountid:
  17640. description: 账户ID[报价币种]
  17641. type: integer
  17642. advanceratio:
  17643. description: 首付比率
  17644. type: number
  17645. buildtype:
  17646. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17647. type: integer
  17648. buyorsell:
  17649. description: 方向 - 0:买 1:卖
  17650. type: integer
  17651. charge:
  17652. description: 手续费
  17653. type: number
  17654. closecharge:
  17655. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17656. type: number
  17657. closeexchagechargevalue:
  17658. description: 平仓交易所手续费设置值
  17659. type: number
  17660. closefeealgorithm:
  17661. description: 平仓手续费收取方式 1:比率 2:固定
  17662. type: integer
  17663. closememberchargevalue:
  17664. description: 平仓会员手续费设置值
  17665. type: number
  17666. closepl:
  17667. description: 平仓盈亏
  17668. type: number
  17669. closepl2:
  17670. description: 平仓盈亏[逐笔]
  17671. type: number
  17672. closeqty:
  17673. description: 平仓数量(先建后平操作 需要记录)
  17674. type: number
  17675. creditamount:
  17676. description: 授信金额
  17677. type: number
  17678. decimalplace:
  17679. description: 商品报价小数位
  17680. type: integer
  17681. enumdicname:
  17682. description: 单位名称
  17683. type: string
  17684. gcaccountid:
  17685. description: 账户ID[合约币种]
  17686. type: integer
  17687. goodscode:
  17688. description: 商品代码
  17689. type: string
  17690. goodsid:
  17691. description: 商品ID
  17692. type: integer
  17693. goodsname:
  17694. description: 商品名称
  17695. type: string
  17696. goodunitid:
  17697. description: 商品单位id
  17698. type: integer
  17699. intclosepl:
  17700. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17701. type: integer
  17702. isconfirmexercise:
  17703. description: 是否确认行权- 0:否 1:是
  17704. type: integer
  17705. ismain:
  17706. description: 是否主单 - 0:不是 1:是
  17707. type: integer
  17708. ispreexercise:
  17709. description: 是否预申报- 0:否 1:是
  17710. type: integer
  17711. isreckoned:
  17712. description: 是否结算 - 0:未结算 1:已结算
  17713. type: integer
  17714. listingselecttype:
  17715. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17716. type: integer
  17717. marketid:
  17718. description: 市场ID
  17719. type: integer
  17720. marketname:
  17721. description: 市场名称
  17722. type: string
  17723. matchaccountid:
  17724. description: 对手账号id
  17725. type: integer
  17726. memberuserid:
  17727. description: 会员id 个人投资者 需要填写
  17728. type: integer
  17729. opencharge:
  17730. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17731. type: number
  17732. openexchagechargevalue:
  17733. description: 建仓交易所手续费设置值
  17734. type: number
  17735. openfeealgorithm:
  17736. description: 建仓手续费收取方式 1:比率 2:固定
  17737. type: integer
  17738. openmemberchargevalue:
  17739. description: 建仓会员手续费设置值
  17740. type: number
  17741. openqty:
  17742. description: 开仓数量(先建后平操作 需要记录)
  17743. type: number
  17744. optiontype:
  17745. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17746. type: integer
  17747. orderid:
  17748. description: 委托单号
  17749. type: string
  17750. payamount:
  17751. description: 支付金额(付款金额)
  17752. type: number
  17753. performanceplanid:
  17754. description: 履约计划ID[期权]
  17755. type: integer
  17756. performancestatus:
  17757. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17758. type: integer
  17759. preexerciseprice:
  17760. description: 预申报价格
  17761. type: number
  17762. premium:
  17763. description: 权利金 - [持仓单的权利金]
  17764. type: number
  17765. qtydecimalplace:
  17766. description: 商品报价小数位
  17767. type: integer
  17768. recvamount:
  17769. description: 到账金额 = 成交金额 - 手续费
  17770. type: number
  17771. relatedouttradeid:
  17772. description: 关联外部成交单ID
  17773. type: integer
  17774. status:
  17775. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17776. type: integer
  17777. totalamount:
  17778. description: 订单总额 = 成交金额 + 手续费
  17779. type: number
  17780. tradeamount:
  17781. description: 成交金额[账户币种,用于所有权]
  17782. type: number
  17783. tradedate:
  17784. description: 交易日(yyyyMMdd)
  17785. type: string
  17786. tradeid:
  17787. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17788. type: string
  17789. trademode:
  17790. description: 交易模式
  17791. type: integer
  17792. tradeprice:
  17793. description: 成交价格
  17794. type: number
  17795. tradeproperty:
  17796. description: 交易属性
  17797. type: integer
  17798. tradeqty:
  17799. description: 成交数量
  17800. type: number
  17801. tradetime:
  17802. description: 成交时间
  17803. type: string
  17804. tradetype:
  17805. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17806. type: integer
  17807. required:
  17808. - accountid
  17809. - buyorsell
  17810. - goodsid
  17811. - marketid
  17812. - memberuserid
  17813. - orderid
  17814. - tradeamount
  17815. - tradedate
  17816. - tradeid
  17817. - tradeprice
  17818. - tradeqty
  17819. - tradetime
  17820. type: object
  17821. order.QueryTradeOrderDetailRsp:
  17822. properties:
  17823. accountid:
  17824. description: 账户ID[报价币种]
  17825. type: integer
  17826. buildtype:
  17827. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17828. type: integer
  17829. buyorsell:
  17830. description: 买卖 - 0:买 1:卖
  17831. type: integer
  17832. cancelorderid:
  17833. description: 撤单单号(撤单时填写)
  17834. type: string
  17835. cancelqty:
  17836. description: 撤单数量
  17837. type: number
  17838. clienttype:
  17839. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17840. type: integer
  17841. closefreezecharge:
  17842. description: 平仓冻结手续费(先建后平操作,需要记录)
  17843. type: number
  17844. closeqty:
  17845. description: 平仓数量(先建后平操作 需要记录)
  17846. type: number
  17847. closetradeqty:
  17848. description: 平仓成交数量(先建后平操作,需要记录)
  17849. type: number
  17850. closeunfreezecharge:
  17851. description: 平仓解冻手续费(先建后平操作,需要记录)
  17852. type: number
  17853. decimalplace:
  17854. description: 商品报价小数位
  17855. type: integer
  17856. delistingtype:
  17857. description: 摘牌类型 - 1:价格最优 2:点选成交
  17858. type: integer
  17859. enableqty:
  17860. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17861. type: number
  17862. enumdicname:
  17863. description: 单位名称
  17864. type: string
  17865. freezecharge:
  17866. description: 冻结手续费
  17867. type: number
  17868. freezemargin:
  17869. description: 冻结保证金(冻结交易金额)
  17870. type: number
  17871. goodscode:
  17872. description: 商品代码
  17873. type: string
  17874. goodsid:
  17875. description: 商品ID
  17876. type: integer
  17877. goodsname:
  17878. description: 商品名称
  17879. type: string
  17880. goodunitid:
  17881. description: 商品单位id
  17882. type: integer
  17883. listingselecttype:
  17884. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17885. type: integer
  17886. marketid:
  17887. description: 市场ID
  17888. type: integer
  17889. marketname:
  17890. description: 市场名称
  17891. type: string
  17892. openfreezecharge:
  17893. description: 开仓冻结手续费(先建后平操作,需要记录)
  17894. type: number
  17895. openqty:
  17896. description: 开仓数量(先建后平操作,需要记录)
  17897. type: number
  17898. opentradeqty:
  17899. description: 开仓成交数量(先建后平操作,需要记录)
  17900. type: number
  17901. openunfreezecharge:
  17902. description: 开仓解冻手续费(先建后平操作,需要记录)
  17903. type: number
  17904. operatetype:
  17905. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17906. type: integer
  17907. operatorid:
  17908. description: 登录账号(LoginID)
  17909. type: integer
  17910. orderid:
  17911. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17912. type: string
  17913. orderprice:
  17914. description: 委托价格
  17915. type: number
  17916. orderqty:
  17917. description: 委托数量
  17918. type: number
  17919. ordersrc:
  17920. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17921. type: integer
  17922. orderstatus:
  17923. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17924. type: integer
  17925. ordertime:
  17926. description: 委托时间
  17927. type: string
  17928. preorderid:
  17929. description: 关联预埋单号(止盈止损单时填写)
  17930. type: string
  17931. pricemode:
  17932. description: '取价方式 - 1:市价 2: 限价'
  17933. type: integer
  17934. qtydecimalplace:
  17935. description: 商品报价小数位
  17936. type: integer
  17937. relatedid:
  17938. description: 关联单号(交割单)
  17939. type: string
  17940. tradedate:
  17941. description: 交易日(yyyyMMdd)
  17942. type: string
  17943. trademode:
  17944. description: 交易模式
  17945. type: integer
  17946. tradeqty:
  17947. description: 成交数量
  17948. type: number
  17949. unfreezecharge:
  17950. description: 解冻手续费
  17951. type: number
  17952. unfreezemargin:
  17953. description: 解冻保证金
  17954. type: number
  17955. validtime:
  17956. description: 有效期限
  17957. type: string
  17958. validtype:
  17959. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17960. type: integer
  17961. volumetype:
  17962. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17963. type: integer
  17964. required:
  17965. - accountid
  17966. - buildtype
  17967. - buyorsell
  17968. - goodsid
  17969. - marketid
  17970. - operatetype
  17971. - orderqty
  17972. - ordertime
  17973. - pricemode
  17974. - tradedate
  17975. - validtype
  17976. type: object
  17977. order.QueryTradePositionRsp:
  17978. properties:
  17979. accountid:
  17980. description: 资金账户
  17981. type: integer
  17982. agreeunit:
  17983. description: 合约单位
  17984. type: number
  17985. averageprice:
  17986. description: 持仓均价
  17987. type: number
  17988. buyorsell:
  17989. description: 方向 - 0:买 1:卖
  17990. type: integer
  17991. closetotalqty:
  17992. description: 平仓总数量
  17993. type: number
  17994. curholderamount:
  17995. description: 当前持仓总金额[商品币种]
  17996. type: number
  17997. curpositionqty:
  17998. description: 当前持仓总数量
  17999. type: number
  18000. currencyid:
  18001. description: 报价货币ID
  18002. type: integer
  18003. curtdposition:
  18004. description: 期末今日头寸
  18005. type: number
  18006. decimalplace:
  18007. description: 报价小数位
  18008. type: integer
  18009. enableqty:
  18010. description: 可用量
  18011. type: number
  18012. fretdposition:
  18013. description: 冻结今日头寸
  18014. type: number
  18015. frozenqty:
  18016. description: 持仓冻结数量
  18017. type: number
  18018. goodscode:
  18019. description: 商品代码
  18020. type: string
  18021. goodsid:
  18022. description: 商品Id
  18023. type: integer
  18024. goodsname:
  18025. description: 商品名称
  18026. type: string
  18027. goodunit:
  18028. description: 报价单位
  18029. type: string
  18030. goodunitid:
  18031. description: 报价单位ID
  18032. type: integer
  18033. holderamount:
  18034. description: 期初持仓总金额[商品币种]
  18035. type: number
  18036. lastprice:
  18037. description: 最新价
  18038. type: number
  18039. marketamount:
  18040. description: 市值
  18041. type: number
  18042. marketid:
  18043. description: 所属市场ID
  18044. type: integer
  18045. openreqqty:
  18046. description: 开仓申请数量(用于比较最大持仓数量)
  18047. type: number
  18048. opentotalqty:
  18049. description: 开仓总数量
  18050. type: number
  18051. otherfrozenqty:
  18052. description: 持仓其他冻结数量(交割冻结)
  18053. type: number
  18054. positionpl:
  18055. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18056. type: number
  18057. positionplrate:
  18058. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18059. type: number
  18060. positionqty:
  18061. description: 期初持仓数量
  18062. type: number
  18063. qtydecimalplace:
  18064. description: 成交量小数位
  18065. type: integer
  18066. refgoodscode:
  18067. description: 参考商品代码
  18068. type: string
  18069. refgoodsid:
  18070. description: 参考商品ID
  18071. type: integer
  18072. tnqty:
  18073. description: T+N冻结总量
  18074. type: number
  18075. tnusedqty:
  18076. description: T+N使用量(可以使用T+N的冻结数量)
  18077. type: number
  18078. trademode:
  18079. description: 交易模式
  18080. type: integer
  18081. tradeproperty:
  18082. description: 交易属性
  18083. type: integer
  18084. usedmargin:
  18085. description: 占用保证金[商品币种]
  18086. type: number
  18087. required:
  18088. - goodsid
  18089. type: object
  18090. pb.GoodsMarginCfgStruct:
  18091. properties:
  18092. CustomerTypeID:
  18093. description: 投资者客户类型
  18094. type: integer
  18095. GoodsID:
  18096. description: 商品ID
  18097. type: integer
  18098. IsDefault:
  18099. description: 是否默认标志位
  18100. type: integer
  18101. LockMarginValue:
  18102. description: 锁仓保证金
  18103. type: number
  18104. MarginAlgorithm:
  18105. description: 保证金计算方式
  18106. type: integer
  18107. MarketMarginValue:
  18108. description: 即市保证金值
  18109. type: number
  18110. RealMarginAlgorithm:
  18111. description: 实付保证金计算方式
  18112. type: integer
  18113. RealMarginValue:
  18114. description: 实付比例
  18115. type: number
  18116. ReckonMarginValue:
  18117. description: 结算保证金值
  18118. type: number
  18119. type: object
  18120. quote.HistoryData:
  18121. properties:
  18122. c:
  18123. description: 收盘价
  18124. type: number
  18125. f:
  18126. description: 是否补充数据
  18127. type: boolean
  18128. h:
  18129. description: 最高价
  18130. type: number
  18131. hv:
  18132. description: 持仓量
  18133. type: integer
  18134. l:
  18135. description: 最低价
  18136. type: number
  18137. o:
  18138. description: 开盘价
  18139. type: number
  18140. s:
  18141. description: 结算价,日线周期(包括)以上才有
  18142. type: number
  18143. ts:
  18144. description: 时间
  18145. type: string
  18146. tt:
  18147. description: 总金额
  18148. type: number
  18149. tv:
  18150. description: 总量(成交量)
  18151. type: integer
  18152. type: object
  18153. quote.HistoryTikData:
  18154. properties:
  18155. AV:
  18156. description: 卖量
  18157. type: integer
  18158. Ask:
  18159. description: 卖价
  18160. type: number
  18161. BV:
  18162. description: 买量
  18163. type: integer
  18164. Bid:
  18165. description: 买价
  18166. type: number
  18167. HI:
  18168. description: 单笔持仓
  18169. type: integer
  18170. HV:
  18171. description: 持仓量
  18172. type: integer
  18173. PE:
  18174. description: 现价
  18175. type: number
  18176. TDR:
  18177. description: 交易方向,0:买 1:卖
  18178. type: integer
  18179. TK:
  18180. description: 交易类型
  18181. type: integer
  18182. TS:
  18183. description: 行情时间文本
  18184. type: string
  18185. TT:
  18186. description: 现金额
  18187. type: number
  18188. Vol:
  18189. description: 现量
  18190. type: integer
  18191. type: object
  18192. quote.QueryQuoteDayRsp:
  18193. properties:
  18194. ask:
  18195. description: 卖1
  18196. type: number
  18197. ask2:
  18198. description: 卖2
  18199. type: number
  18200. ask3:
  18201. description: 卖3
  18202. type: number
  18203. ask4:
  18204. description: 卖4
  18205. type: number
  18206. ask5:
  18207. description: 卖5
  18208. type: number
  18209. ask6:
  18210. description: 卖6
  18211. type: number
  18212. ask7:
  18213. description: 卖7
  18214. type: number
  18215. ask8:
  18216. description: 卖8
  18217. type: number
  18218. ask9:
  18219. description: 卖9
  18220. type: number
  18221. ask10:
  18222. description: 卖10
  18223. type: number
  18224. askorderid:
  18225. description: 卖单号1
  18226. type: integer
  18227. askorderid2:
  18228. description: 卖单号2
  18229. type: integer
  18230. askorderid3:
  18231. description: 卖单号3
  18232. type: integer
  18233. askorderid4:
  18234. description: 卖单号4
  18235. type: integer
  18236. askorderid5:
  18237. description: 卖单号5
  18238. type: integer
  18239. askordervolume:
  18240. description: 卖单量1
  18241. type: integer
  18242. askordervolume2:
  18243. description: 卖单量2
  18244. type: integer
  18245. askordervolume3:
  18246. description: 卖单量3
  18247. type: integer
  18248. askordervolume4:
  18249. description: 卖单量4
  18250. type: integer
  18251. askordervolume5:
  18252. description: 卖单量5
  18253. type: integer
  18254. askordervolume6:
  18255. description: 卖单量6
  18256. type: integer
  18257. askordervolume7:
  18258. description: 卖单量7
  18259. type: integer
  18260. askordervolume8:
  18261. description: 卖单量8
  18262. type: integer
  18263. askordervolume9:
  18264. description: 卖单量9
  18265. type: integer
  18266. askordervolume10:
  18267. description: 卖单量10
  18268. type: integer
  18269. askqueueinfo:
  18270. description: 大利市卖港股用
  18271. type: string
  18272. askvolume:
  18273. description: 卖量1
  18274. type: integer
  18275. askvolume2:
  18276. description: 卖量2
  18277. type: integer
  18278. askvolume3:
  18279. description: 卖量3
  18280. type: integer
  18281. askvolume4:
  18282. description: 卖量4
  18283. type: integer
  18284. askvolume5:
  18285. description: 卖量5
  18286. type: integer
  18287. askvolume6:
  18288. description: 卖量6
  18289. type: integer
  18290. askvolume7:
  18291. description: 卖量7
  18292. type: integer
  18293. askvolume8:
  18294. description: 卖量8
  18295. type: integer
  18296. askvolume9:
  18297. description: 卖量9
  18298. type: integer
  18299. askvolume10:
  18300. description: 卖量10
  18301. type: integer
  18302. averageprice:
  18303. description: 均价
  18304. type: number
  18305. bid:
  18306. description: 买1
  18307. type: number
  18308. bid2:
  18309. description: 买2
  18310. type: number
  18311. bid3:
  18312. description: 买3
  18313. type: number
  18314. bid4:
  18315. description: 买4
  18316. type: number
  18317. bid5:
  18318. description: 买5
  18319. type: number
  18320. bid6:
  18321. description: 买6
  18322. type: number
  18323. bid7:
  18324. description: 买7
  18325. type: number
  18326. bid8:
  18327. description: 买8
  18328. type: number
  18329. bid9:
  18330. description: 买9
  18331. type: number
  18332. bid10:
  18333. description: 买10
  18334. type: number
  18335. bidorderid:
  18336. description: 买单号1
  18337. type: integer
  18338. bidorderid2:
  18339. description: 买单号2
  18340. type: integer
  18341. bidorderid3:
  18342. description: 买单号3
  18343. type: integer
  18344. bidorderid4:
  18345. description: 买单号4
  18346. type: integer
  18347. bidorderid5:
  18348. description: 买单号5
  18349. type: integer
  18350. bidordervolume:
  18351. description: 买单量1
  18352. type: integer
  18353. bidordervolume2:
  18354. description: 买单量2
  18355. type: integer
  18356. bidordervolume3:
  18357. description: 买单量3
  18358. type: integer
  18359. bidordervolume4:
  18360. description: 买单量4
  18361. type: integer
  18362. bidordervolume5:
  18363. description: 买单量5
  18364. type: integer
  18365. bidordervolume6:
  18366. description: 买单量6
  18367. type: integer
  18368. bidordervolume7:
  18369. description: 买单量7
  18370. type: integer
  18371. bidordervolume8:
  18372. description: 买单量8
  18373. type: integer
  18374. bidordervolume9:
  18375. description: 买单量9
  18376. type: integer
  18377. bidordervolume10:
  18378. description: 买单量10
  18379. type: integer
  18380. bidqueueinfo:
  18381. description: 大利市买港股用
  18382. type: string
  18383. bidvolume:
  18384. description: 买量1
  18385. type: integer
  18386. bidvolume2:
  18387. description: 买量2
  18388. type: integer
  18389. bidvolume3:
  18390. description: 买量3
  18391. type: integer
  18392. bidvolume4:
  18393. description: 买量4
  18394. type: integer
  18395. bidvolume5:
  18396. description: 买量5
  18397. type: integer
  18398. bidvolume6:
  18399. description: 买量6
  18400. type: integer
  18401. bidvolume7:
  18402. description: 买量7
  18403. type: integer
  18404. bidvolume8:
  18405. description: 买量8
  18406. type: integer
  18407. bidvolume9:
  18408. description: 买量9
  18409. type: integer
  18410. bidvolume10:
  18411. description: 买量10
  18412. type: integer
  18413. calloptionpremiums:
  18414. description: 认购期权1
  18415. type: integer
  18416. calloptionpremiums2:
  18417. description: 认购期权2
  18418. type: integer
  18419. calloptionpremiums3:
  18420. description: 认购期权3
  18421. type: integer
  18422. calloptionpremiums4:
  18423. description: 认购期权4
  18424. type: integer
  18425. calloptionpremiums5:
  18426. description: 认购期权5
  18427. type: integer
  18428. cleartime:
  18429. description: 清盘时间
  18430. type: integer
  18431. exchangecode:
  18432. description: 交易所代码
  18433. type: integer
  18434. exchangedate:
  18435. description: 交易日
  18436. type: integer
  18437. goodscode:
  18438. description: 商品代码
  18439. type: string
  18440. grepmarketprice:
  18441. description: 暗盘价 港股专用
  18442. type: number
  18443. highest:
  18444. description: 最高价
  18445. type: number
  18446. holdincrement:
  18447. description: 单笔持仓
  18448. type: integer
  18449. holdvolume:
  18450. description: 持仓
  18451. type: integer
  18452. iep:
  18453. description: 平衡价 港股专用
  18454. type: number
  18455. iev:
  18456. description: 平衡量 港股专用
  18457. type: number
  18458. inventory:
  18459. description: 库存
  18460. type: integer
  18461. iscleared:
  18462. description: 是否清盘标志
  18463. type: integer
  18464. issettled:
  18465. description: 是否结算标志
  18466. type: integer
  18467. last:
  18468. description: 最新价
  18469. type: number
  18470. lastlot:
  18471. description: 最新成交手数
  18472. type: integer
  18473. lasttime:
  18474. description: 行情时间(只有现价变化行情时间才变化)
  18475. type: string
  18476. lastturnover:
  18477. description: 最新成交金额
  18478. type: number
  18479. lastvolume:
  18480. description: 最新成交量
  18481. type: integer
  18482. limitdown:
  18483. description: 跌停价
  18484. type: number
  18485. limitup:
  18486. description: 涨停价
  18487. type: number
  18488. lowest:
  18489. description: 最低价
  18490. type: number
  18491. nontotalholdervolume:
  18492. description: 非交易持仓量
  18493. type: integer
  18494. nontotallot:
  18495. description: 非交易总手数
  18496. type: integer
  18497. nontotalturnover:
  18498. description: 非交易总金额
  18499. type: integer
  18500. nontotalvolume:
  18501. description: 非交易总量
  18502. type: integer
  18503. opened:
  18504. description: 开盘价
  18505. type: number
  18506. opentime:
  18507. description: 开盘时间
  18508. type: string
  18509. orderid:
  18510. description: 序号
  18511. type: integer
  18512. preclose:
  18513. description: 昨收
  18514. type: number
  18515. preholdvolume:
  18516. description: 昨持仓
  18517. type: integer
  18518. presettle:
  18519. description: 昨结价
  18520. type: number
  18521. publictradetype:
  18522. description: 公共交易标志类型 港股专用
  18523. type: string
  18524. putoptionpremiums:
  18525. description: 认沽期权1
  18526. type: integer
  18527. putoptionpremiums2:
  18528. description: 认沽期权2
  18529. type: integer
  18530. putoptionpremiums3:
  18531. description: 认沽期权3
  18532. type: integer
  18533. putoptionpremiums4:
  18534. description: 认沽期权4
  18535. type: integer
  18536. putoptionpremiums5:
  18537. description: 认沽期权5
  18538. type: integer
  18539. settle:
  18540. description: 结算价
  18541. type: number
  18542. strikeprice:
  18543. description: 发行价
  18544. type: number
  18545. totalaskvolume:
  18546. description: 内盘
  18547. type: integer
  18548. totalbidvolume:
  18549. description: 外盘
  18550. type: integer
  18551. totallot:
  18552. description: 总手数
  18553. type: integer
  18554. totalturnover:
  18555. description: 总金额
  18556. type: number
  18557. totalvolume:
  18558. description: 总量
  18559. type: integer
  18560. utclasttime:
  18561. description: utc的行情时间
  18562. type: string
  18563. type: object
  18564. quote.QueryTSDataRsp:
  18565. properties:
  18566. Count:
  18567. description: 交易日应有数据个数
  18568. type: integer
  18569. decimalPlace:
  18570. description: 小数位
  18571. type: integer
  18572. endTime:
  18573. description: 结束时间
  18574. type: string
  18575. goodsCode:
  18576. description: 商品代码
  18577. type: string
  18578. historyDatas:
  18579. description: 历史数据
  18580. items:
  18581. $ref: '#/definitions/quote.HistoryData'
  18582. type: array
  18583. outGoodsCode:
  18584. description: 外部商品代码
  18585. type: string
  18586. preSettle:
  18587. description: 昨结价
  18588. type: number
  18589. runSteps:
  18590. description: 交易日开休市计划
  18591. items:
  18592. $ref: '#/definitions/quote.TSDataRunStep'
  18593. type: array
  18594. startTime:
  18595. description: 开始时间
  18596. type: string
  18597. tradeDate:
  18598. description: 交易日
  18599. type: string
  18600. type: object
  18601. quote.TSDataRunStep:
  18602. properties:
  18603. end:
  18604. description: 真实结束时间
  18605. type: string
  18606. endflag:
  18607. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18608. type: integer
  18609. endtime:
  18610. description: 结束时间(HH:mm)
  18611. type: string
  18612. endweekday:
  18613. description: 结束周几
  18614. type: integer
  18615. groupid:
  18616. description: 分组ID
  18617. type: integer
  18618. runstep:
  18619. description: 运行阶段 - 2:连续交易
  18620. type: integer
  18621. sectionid:
  18622. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18623. type: integer
  18624. start:
  18625. description: 真实开始时间
  18626. type: string
  18627. startflag:
  18628. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18629. type: integer
  18630. starttime:
  18631. description: 起始时间(HH:mm)
  18632. type: string
  18633. startweekday:
  18634. description: 起始周几
  18635. type: integer
  18636. tradeweekday:
  18637. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18638. type: integer
  18639. type: object
  18640. szdz.QueryConvertLogRsp:
  18641. properties:
  18642. accountid:
  18643. description: 资金账户ID
  18644. type: integer
  18645. clientticket:
  18646. description: 客户端流水号
  18647. type: string
  18648. converttype:
  18649. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18650. type: integer
  18651. createtime:
  18652. description: 记账时间
  18653. type: string
  18654. daymaxvalue:
  18655. description: 配置当日最大转入限制
  18656. type: number
  18657. daymaxvalue2:
  18658. description: 配置当日最大转入限制(转入)
  18659. type: number
  18660. goodscode:
  18661. description: 商品代码
  18662. type: string
  18663. goodsname:
  18664. description: 商品名称
  18665. type: string
  18666. handlestatus:
  18667. description: 处理状态
  18668. type: integer
  18669. innergoodsid:
  18670. description: 内部商品ID
  18671. type: integer
  18672. inratio:
  18673. description: 配置转入比值
  18674. type: integer
  18675. invalue:
  18676. description: 目标值
  18677. type: number
  18678. logid:
  18679. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18680. type: integer
  18681. mobile:
  18682. description: 手机号码(加密存储)
  18683. type: string
  18684. outergoodscode:
  18685. description: 外部商品代码[JD\PD]
  18686. type: string
  18687. outratio:
  18688. description: 配置转出比值
  18689. type: integer
  18690. outvalue:
  18691. description: 源值
  18692. type: number
  18693. pddecimalplace:
  18694. description: PD小数位
  18695. type: integer
  18696. qty:
  18697. description: 数量
  18698. type: string
  18699. remark:
  18700. description: 备注
  18701. type: string
  18702. sessionid:
  18703. description: 会话ID
  18704. type: integer
  18705. timemaxvalue:
  18706. description: 配置单次最大转入限制
  18707. type: number
  18708. timemaxvalue2:
  18709. description: 配置单次最大转入限制(转入)
  18710. type: number
  18711. timeminvalue:
  18712. description: 配置单次最小数量限制
  18713. type: number
  18714. timeminvalue2:
  18715. description: 配置单次最小数量限制(转入)
  18716. type: number
  18717. tradedate:
  18718. description: 交易日(yyyyMMdd)
  18719. type: string
  18720. userid:
  18721. description: 用户ID
  18722. type: integer
  18723. required:
  18724. - logid
  18725. type: object
  18726. szdz.QueryGoodsPickupRsp:
  18727. properties:
  18728. accountid:
  18729. description: 账户ID
  18730. type: integer
  18731. address:
  18732. description: 提货人详细地址
  18733. type: string
  18734. auditer:
  18735. description: 审核人
  18736. type: integer
  18737. audittime:
  18738. description: 审核时间
  18739. type: string
  18740. cardnum:
  18741. description: 提货人证件号码
  18742. type: string
  18743. cardtypeid:
  18744. description: 提货人证件类型
  18745. type: integer
  18746. checkremark:
  18747. description: 审核备注
  18748. type: string
  18749. goodscode:
  18750. description: 商品代码
  18751. type: string
  18752. goodsid:
  18753. description: 商品ID
  18754. type: integer
  18755. goodsname:
  18756. description: 商品名称
  18757. type: string
  18758. handlestatus:
  18759. description: 处理状态
  18760. type: integer
  18761. marketid:
  18762. description: 市场ID
  18763. type: integer
  18764. phonenum:
  18765. description: 提货人联系方式
  18766. type: string
  18767. qty:
  18768. description: 提货数量
  18769. type: number
  18770. recivername:
  18771. description: 提货人姓名
  18772. type: string
  18773. reqtime:
  18774. description: 更新时间
  18775. type: string
  18776. takemode:
  18777. description: 提货方式 - 2:自提 3:配送
  18778. type: integer
  18779. takeorderid:
  18780. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18781. type: string
  18782. takeorderstatus:
  18783. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18784. type: integer
  18785. takeremark:
  18786. description: 提货备注
  18787. type: string
  18788. tradedate:
  18789. description: 交易日(yyyyMMdd)
  18790. type: string
  18791. userid:
  18792. description: 用户ID
  18793. type: integer
  18794. required:
  18795. - takeorderid
  18796. type: object
  18797. szdz.QueryRecieptOrderRsp:
  18798. properties:
  18799. accountName:
  18800. description: 所属账号名称(已脱敏)
  18801. type: string
  18802. accountid:
  18803. description: 资金账号
  18804. type: integer
  18805. buyorsell:
  18806. description: 方向 - 0:买 1:卖
  18807. type: integer
  18808. enableqty:
  18809. description: 可摘数量
  18810. type: integer
  18811. goodscode:
  18812. description: 商品代码
  18813. type: string
  18814. goodsid:
  18815. description: 商品ID
  18816. type: integer
  18817. goodsname:
  18818. description: 商品名称
  18819. type: string
  18820. orderid:
  18821. description: 委托单号
  18822. type: string
  18823. orderprice:
  18824. description: 委托价格
  18825. type: number
  18826. ordertime:
  18827. description: 委托时间
  18828. type: string
  18829. tradedate:
  18830. description: 交易日(yyyyMMdd)
  18831. type: string
  18832. required:
  18833. - ordertime
  18834. type: object
  18835. szdz.QuerySZDZTradePositionRsp:
  18836. properties:
  18837. accountid:
  18838. description: 账号Id
  18839. type: integer
  18840. agreeunit:
  18841. description: 合约单位
  18842. type: number
  18843. averageprice:
  18844. description: 持仓均价
  18845. type: number
  18846. buyorsell:
  18847. description: 方向 - 0:买 1:卖
  18848. type: integer
  18849. closetotalqty:
  18850. description: 平仓总数量
  18851. type: integer
  18852. curholderamount:
  18853. description: 当前持仓总金额
  18854. type: number
  18855. curpositionqty:
  18856. description: 当前持仓总数量
  18857. type: integer
  18858. currencyid:
  18859. description: 报价货币ID
  18860. type: integer
  18861. curtdposition:
  18862. description: 期末今日头寸
  18863. type: integer
  18864. decimalplace:
  18865. description: 报价小数位
  18866. type: integer
  18867. enableqty:
  18868. description: 可用量
  18869. type: integer
  18870. fretdposition:
  18871. description: 冻结今日头寸
  18872. type: integer
  18873. frozenqty:
  18874. description: 持仓冻结数量
  18875. type: integer
  18876. goodscode:
  18877. description: 商品代码(内部)
  18878. type: string
  18879. goodsid:
  18880. description: 商品Id
  18881. type: integer
  18882. goodsname:
  18883. description: 商品名称
  18884. type: string
  18885. goodunit:
  18886. description: 报价单位
  18887. type: string
  18888. goodunitid:
  18889. description: 报价单位ID
  18890. type: integer
  18891. holderamount:
  18892. description: 期初持仓总金额
  18893. type: number
  18894. marketid:
  18895. description: 市场ID
  18896. type: integer
  18897. openreqqty:
  18898. description: 开仓申请数量
  18899. type: integer
  18900. opentotalqty:
  18901. description: 开仓总数量
  18902. type: integer
  18903. otherfrozenqty:
  18904. description: 持仓其他冻结数量(交割冻结)
  18905. type: integer
  18906. positionqty:
  18907. description: 期初持仓数量
  18908. type: integer
  18909. szdz3freezqty:
  18910. description: 尚志大宗转换冻结总数量
  18911. type: integer
  18912. tnqty:
  18913. description: T+N冻结总量
  18914. type: integer
  18915. tnusedqty:
  18916. description: T+N使用量
  18917. type: integer
  18918. trademode:
  18919. description: 交易模式
  18920. type: integer
  18921. usedmargin:
  18922. description: 占用保证金
  18923. type: number
  18924. type: object
  18925. taaccount.QueryAmountLogRsp:
  18926. properties:
  18927. OPERATETYPENAME:
  18928. description: 资金操作类型名称
  18929. type: string
  18930. accountid:
  18931. description: 资金账户ID
  18932. type: integer
  18933. agoodscode:
  18934. description: 竞拍商品代码
  18935. type: string
  18936. agoodsname:
  18937. description: 竞拍商品名称
  18938. type: string
  18939. amount:
  18940. description: 资金金额
  18941. type: number
  18942. amountadjusttype:
  18943. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18944. type: integer
  18945. autoid:
  18946. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18947. type: integer
  18948. balance:
  18949. description: 期初余额
  18950. type: number
  18951. businesscode:
  18952. description: 业务编号
  18953. type: integer
  18954. createtime:
  18955. description: 发生时间
  18956. type: string
  18957. currencyid:
  18958. description: 币种ID
  18959. type: integer
  18960. currentbalance:
  18961. description: 期末余额(变动后金额)
  18962. type: number
  18963. dgoodscode:
  18964. description: 交割商品代码
  18965. type: string
  18966. dgoodsname:
  18967. description: 交割商品名称
  18968. type: string
  18969. goodscode:
  18970. description: 商品代码
  18971. type: string
  18972. goodsid:
  18973. description: 商品ID
  18974. type: integer
  18975. goodsname:
  18976. description: 商品名称
  18977. type: string
  18978. marketid:
  18979. description: 市场ID
  18980. type: integer
  18981. marketname:
  18982. description: 市场名称
  18983. type: string
  18984. moneyticket:
  18985. description: 资金流水号:银行端流水号
  18986. type: integer
  18987. operatetype:
  18988. 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:营销收款
  18989. type: integer
  18990. relationorderid:
  18991. description: 关联单号
  18992. type: string
  18993. remark:
  18994. description: 备注
  18995. type: string
  18996. trademode:
  18997. description: 交易模式
  18998. type: integer
  18999. required:
  19000. - accountid
  19001. - amount
  19002. - amountadjusttype
  19003. - autoid
  19004. - balance
  19005. - createtime
  19006. - currentbalance
  19007. - operatetype
  19008. type: object
  19009. taaccount.QueryHisAmountLogRsp:
  19010. properties:
  19011. OPERATETYPENAME:
  19012. description: 资金操作类型名称
  19013. type: string
  19014. accountid:
  19015. description: 资金账户ID
  19016. type: integer
  19017. agoodscode:
  19018. description: 竞拍商品代码
  19019. type: string
  19020. agoodsname:
  19021. description: 竞拍商品名称
  19022. type: string
  19023. amount:
  19024. description: 资金金额
  19025. type: number
  19026. amountadjusttype:
  19027. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19028. type: integer
  19029. autoid:
  19030. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19031. type: integer
  19032. balance:
  19033. description: 期初余额
  19034. type: number
  19035. businesscode:
  19036. description: 业务编号
  19037. type: integer
  19038. createtime:
  19039. description: 发生时间
  19040. type: string
  19041. currencyid:
  19042. description: 币种ID
  19043. type: integer
  19044. currentbalance:
  19045. description: 期末余额(变动后金额)
  19046. type: number
  19047. dgoodscode:
  19048. description: 交割商品代码
  19049. type: string
  19050. dgoodsname:
  19051. description: 交割商品名称
  19052. type: string
  19053. goodscode:
  19054. description: 商品代码
  19055. type: string
  19056. goodsid:
  19057. description: 商品ID
  19058. type: integer
  19059. goodsname:
  19060. description: 商品名称
  19061. type: string
  19062. histradedate:
  19063. description: 历史交易日
  19064. type: string
  19065. isvaliddata:
  19066. description: 是否有效 - 0:无效 1:有效
  19067. type: integer
  19068. marketid:
  19069. description: 市场ID
  19070. type: integer
  19071. marketname:
  19072. description: 市场名称
  19073. type: string
  19074. moneyticket:
  19075. description: 资金流水号:银行端流水号
  19076. type: integer
  19077. operatetype:
  19078. 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:营销收款
  19079. type: integer
  19080. relationorderid:
  19081. description: 关联单号
  19082. type: string
  19083. remark:
  19084. description: 备注
  19085. type: string
  19086. trademode:
  19087. description: 交易模式
  19088. type: integer
  19089. required:
  19090. - accountid
  19091. - amount
  19092. - amountadjusttype
  19093. - autoid
  19094. - balance
  19095. - createtime
  19096. - currentbalance
  19097. - histradedate
  19098. - operatetype
  19099. type: object
  19100. trade.QueryRecieptOrderRsp:
  19101. properties:
  19102. accountName:
  19103. description: 所属账号名称(已脱敏)
  19104. type: string
  19105. accountid:
  19106. description: 资金账号
  19107. type: integer
  19108. buyorsell:
  19109. description: 方向 - 0:买 1:卖
  19110. type: integer
  19111. enableqty:
  19112. description: 可摘数量
  19113. type: integer
  19114. goodscode:
  19115. description: 商品代码
  19116. type: string
  19117. goodsid:
  19118. description: 商品ID
  19119. type: integer
  19120. goodsname:
  19121. description: 商品名称
  19122. type: string
  19123. orderid:
  19124. description: 委托单号
  19125. type: string
  19126. orderprice:
  19127. description: 委托价格
  19128. type: number
  19129. ordertime:
  19130. description: 委托时间
  19131. type: string
  19132. tradedate:
  19133. description: 交易日(yyyyMMdd)
  19134. type: string
  19135. required:
  19136. - ordertime
  19137. type: object
  19138. user.LoginQueryRsp:
  19139. properties:
  19140. areaRoles:
  19141. description: 所属角色信息
  19142. items:
  19143. $ref: '#/definitions/models.Arearole'
  19144. type: array
  19145. externalExchanges:
  19146. description: 外部交易所
  19147. items:
  19148. $ref: '#/definitions/models.Externalexchange'
  19149. type: array
  19150. goodsgroups:
  19151. description: 商品组
  19152. items:
  19153. $ref: '#/definitions/models.Goodsgroup'
  19154. type: array
  19155. loginAccount:
  19156. $ref: '#/definitions/models.Loginaccount'
  19157. description: 登录账号
  19158. markets:
  19159. description: 市场
  19160. items:
  19161. $ref: '#/definitions/models.Market'
  19162. type: array
  19163. systemParams:
  19164. description: 系统参数
  19165. items:
  19166. $ref: '#/definitions/models.Systemparam'
  19167. type: array
  19168. userAccount:
  19169. $ref: '#/definitions/models.Useraccount'
  19170. description: 用户账号
  19171. userInfo:
  19172. $ref: '#/definitions/models.Userinfo'
  19173. description: 用户信息
  19174. username:
  19175. description: 用户姓名
  19176. type: string
  19177. type: object
  19178. info:
  19179. contact: {}
  19180. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19181. termsOfService: http://www.muchinfo.cn
  19182. title: MTP2.0 查询服务 API
  19183. version: "1.0"
  19184. paths:
  19185. /CPTrade/QueryCPTradeMyBidInfos:
  19186. get:
  19187. parameters:
  19188. - description: 资金账户
  19189. in: query
  19190. name: accountid
  19191. required: true
  19192. type: integer
  19193. - description: 预售市场ID
  19194. in: query
  19195. name: marketid
  19196. type: integer
  19197. - description: 预售商品ID
  19198. in: query
  19199. name: goodsid
  19200. type: integer
  19201. produces:
  19202. - application/json
  19203. responses:
  19204. "200":
  19205. description: OK
  19206. schema:
  19207. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19208. "500":
  19209. description: Internal Server Error
  19210. schema:
  19211. $ref: '#/definitions/app.Response'
  19212. security:
  19213. - ApiKeyAuth: []
  19214. summary: 查询产能预售我的出价信息
  19215. tags:
  19216. - 产能预售
  19217. /CPTrade/QueryCPTradeOrderDetail:
  19218. get:
  19219. parameters:
  19220. - description: 预售商品ID
  19221. in: query
  19222. name: goodsid
  19223. type: integer
  19224. - description: 预售市场ID
  19225. in: query
  19226. name: marketid
  19227. type: integer
  19228. - description: 预售商品ID列表 - 格式:1,2,3
  19229. in: query
  19230. name: goodsids
  19231. type: string
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19239. "500":
  19240. description: Internal Server Error
  19241. schema:
  19242. $ref: '#/definitions/app.Response'
  19243. security:
  19244. - ApiKeyAuth: []
  19245. summary: 查询产能预售委托单信息
  19246. tags:
  19247. - 产能预售
  19248. /CPTrade/QueryMyCPTradeGoods:
  19249. get:
  19250. parameters:
  19251. - description: 资金账户
  19252. in: query
  19253. name: accountid
  19254. required: true
  19255. type: integer
  19256. produces:
  19257. - application/json
  19258. responses:
  19259. "200":
  19260. description: OK
  19261. schema:
  19262. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19263. "500":
  19264. description: Internal Server Error
  19265. schema:
  19266. $ref: '#/definitions/app.Response'
  19267. security:
  19268. - ApiKeyAuth: []
  19269. summary: 查询我的预售信息
  19270. tags:
  19271. - 产能预售
  19272. /CPTrade/QueryPositionCancel:
  19273. get:
  19274. parameters:
  19275. - description: 账户ID
  19276. in: query
  19277. name: userid
  19278. required: true
  19279. type: integer
  19280. - description: 注销ID
  19281. in: query
  19282. name: cancelid
  19283. type: integer
  19284. - description: 资金账户ID
  19285. in: query
  19286. name: accountid
  19287. type: integer
  19288. produces:
  19289. - application/json
  19290. responses:
  19291. "200":
  19292. description: OK
  19293. schema:
  19294. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19295. "500":
  19296. description: Internal Server Error
  19297. schema:
  19298. $ref: '#/definitions/app.Response'
  19299. security:
  19300. - ApiKeyAuth: []
  19301. summary: 查询远期订单注销申请信息
  19302. tags:
  19303. - 产能预售
  19304. /CPTrade/QueryPreasleApply:
  19305. get:
  19306. parameters:
  19307. - description: 账户ID
  19308. in: query
  19309. name: userid
  19310. required: true
  19311. type: integer
  19312. - description: 申请ID
  19313. in: query
  19314. name: applyid
  19315. type: integer
  19316. - description: 资金账户ID
  19317. in: query
  19318. name: accountid
  19319. type: integer
  19320. produces:
  19321. - application/json
  19322. responses:
  19323. "200":
  19324. description: OK
  19325. schema:
  19326. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19327. "500":
  19328. description: Internal Server Error
  19329. schema:
  19330. $ref: '#/definitions/app.Response'
  19331. security:
  19332. - ApiKeyAuth: []
  19333. summary: 查询产能预售申请信息
  19334. tags:
  19335. - 产能预售
  19336. /CPTrade/QueryPresaleGoodsEx:
  19337. get:
  19338. parameters:
  19339. - description: 预售商品ID
  19340. in: query
  19341. name: goodsid
  19342. type: integer
  19343. - description: 预售市场ID
  19344. in: query
  19345. name: marketid
  19346. type: integer
  19347. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19348. in: query
  19349. name: presalemode
  19350. type: integer
  19351. - description: 预售商品ID列表 - 格式:1,2,3
  19352. in: query
  19353. name: goodsids
  19354. type: string
  19355. - description: 预售商品代码
  19356. in: query
  19357. name: goodscode
  19358. type: string
  19359. produces:
  19360. - application/json
  19361. responses:
  19362. "200":
  19363. description: OK
  19364. schema:
  19365. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19366. "500":
  19367. description: Internal Server Error
  19368. schema:
  19369. $ref: '#/definitions/app.Response'
  19370. security:
  19371. - ApiKeyAuth: []
  19372. summary: 查询产能预售商品扩展信息
  19373. tags:
  19374. - 产能预售
  19375. /CPTrade/QueryUserGoodsData:
  19376. get:
  19377. parameters:
  19378. - description: 资金账户ID
  19379. in: query
  19380. name: accountid
  19381. required: true
  19382. type: integer
  19383. produces:
  19384. - application/json
  19385. responses:
  19386. "200":
  19387. description: OK
  19388. schema:
  19389. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19390. "500":
  19391. description: Internal Server Error
  19392. schema:
  19393. $ref: '#/definitions/app.Response'
  19394. security:
  19395. - ApiKeyAuth: []
  19396. summary: 查询远期订单信息
  19397. tags:
  19398. - 产能预售
  19399. /Common/GetAllEnums:
  19400. get:
  19401. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19402. parameters:
  19403. - description: 起始自增ID
  19404. in: query
  19405. name: autoid
  19406. type: integer
  19407. produces:
  19408. - application/json
  19409. responses:
  19410. "200":
  19411. description: OK
  19412. schema:
  19413. $ref: '#/definitions/models.Enumdicitem'
  19414. "500":
  19415. description: Internal Server Error
  19416. schema:
  19417. $ref: '#/definitions/app.Response'
  19418. summary: 获取所有枚举信息
  19419. tags:
  19420. - 通用服务
  19421. /Common/GetClientMenus:
  19422. get:
  19423. parameters:
  19424. - description: 登录账号
  19425. in: query
  19426. name: loginID
  19427. required: true
  19428. type: integer
  19429. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19430. in: query
  19431. name: clientType
  19432. type: integer
  19433. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19434. in: query
  19435. name: name
  19436. type: string
  19437. produces:
  19438. - application/json
  19439. responses:
  19440. "200":
  19441. description: OK
  19442. schema:
  19443. items:
  19444. $ref: '#/definitions/common.ClientMenu'
  19445. type: array
  19446. "500":
  19447. description: Internal Server Error
  19448. schema:
  19449. $ref: '#/definitions/app.Response'
  19450. security:
  19451. - ApiKeyAuth: []
  19452. summary: 获取交易端菜单
  19453. tags:
  19454. - 通用服务
  19455. /Common/GetDivisions:
  19456. get:
  19457. produces:
  19458. - application/json
  19459. responses:
  19460. "200":
  19461. description: OK
  19462. schema:
  19463. $ref: '#/definitions/models.Division'
  19464. "500":
  19465. description: Internal Server Error
  19466. schema:
  19467. $ref: '#/definitions/app.Response'
  19468. summary: 查询区域信息
  19469. tags:
  19470. - 通用服务
  19471. /Common/GetPCWebMenus:
  19472. get:
  19473. parameters:
  19474. - description: 登录账号
  19475. in: query
  19476. name: loginID
  19477. required: true
  19478. type: integer
  19479. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19480. in: query
  19481. name: name
  19482. type: string
  19483. produces:
  19484. - application/json
  19485. responses:
  19486. "200":
  19487. description: OK
  19488. schema:
  19489. items:
  19490. $ref: '#/definitions/common.PCWebMenu'
  19491. type: array
  19492. "500":
  19493. description: Internal Server Error
  19494. schema:
  19495. $ref: '#/definitions/app.Response'
  19496. security:
  19497. - ApiKeyAuth: []
  19498. summary: 获取PCWeb交易端菜单
  19499. tags:
  19500. - 通用服务
  19501. /Common/GetServerTime:
  19502. get:
  19503. produces:
  19504. - application/json
  19505. responses:
  19506. "200":
  19507. description: OK
  19508. schema:
  19509. $ref: '#/definitions/app.Response'
  19510. "500":
  19511. description: Internal Server Error
  19512. schema:
  19513. $ref: '#/definitions/app.Response'
  19514. summary: 获取服务器时间
  19515. tags:
  19516. - 通用服务
  19517. /Common/NoticeReaded:
  19518. post:
  19519. parameters:
  19520. - description: 登录账号
  19521. in: query
  19522. name: loginID
  19523. required: true
  19524. type: integer
  19525. - description: 通知公告ID
  19526. in: query
  19527. name: noticeID
  19528. required: true
  19529. type: integer
  19530. produces:
  19531. - application/json
  19532. responses:
  19533. "200":
  19534. description: OK
  19535. schema:
  19536. $ref: '#/definitions/app.Response'
  19537. "500":
  19538. description: Internal Server Error
  19539. schema:
  19540. $ref: '#/definitions/app.Response'
  19541. security:
  19542. - ApiKeyAuth: []
  19543. summary: 通知公告设置已读请求
  19544. tags:
  19545. - 通用服务
  19546. /Common/QueryErrorInfos:
  19547. get:
  19548. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19549. parameters:
  19550. - description: 起始行号前索引
  19551. in: query
  19552. name: rowNumber
  19553. type: string
  19554. produces:
  19555. - application/json
  19556. responses:
  19557. "200":
  19558. description: OK
  19559. schema:
  19560. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19561. "500":
  19562. description: Internal Server Error
  19563. schema:
  19564. $ref: '#/definitions/app.Response'
  19565. summary: 获取数据库错误信息
  19566. tags:
  19567. - 通用服务
  19568. /Common/QueryImageConfigs:
  19569. get:
  19570. parameters:
  19571. - description: 用户id
  19572. in: query
  19573. name: userId
  19574. type: integer
  19575. - description: 类型 - 1:App首页轮播 2:我的
  19576. in: query
  19577. name: imageType
  19578. type: integer
  19579. produces:
  19580. - application/json
  19581. responses:
  19582. "200":
  19583. description: OK
  19584. schema:
  19585. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19586. "500":
  19587. description: Internal Server Error
  19588. schema:
  19589. $ref: '#/definitions/app.Response'
  19590. summary: 查询轮播图配置信息
  19591. tags:
  19592. - 通用服务
  19593. /Common/QueryNotice:
  19594. get:
  19595. parameters:
  19596. - description: 页码
  19597. in: query
  19598. name: page
  19599. type: integer
  19600. - description: 每页条数
  19601. in: query
  19602. name: pagesize
  19603. type: integer
  19604. - description: 登录账号
  19605. in: query
  19606. name: loginID
  19607. required: true
  19608. type: integer
  19609. - description: 消息类型 - 1:公告通知 2:系统消息
  19610. in: query
  19611. name: msgType
  19612. type: integer
  19613. - description: 是否只获取未读信息
  19614. in: query
  19615. name: onlyUnRead
  19616. type: boolean
  19617. - description: 自增ID,传入后会返回这个ID后面的记录
  19618. in: query
  19619. name: lastID
  19620. type: integer
  19621. produces:
  19622. - application/json
  19623. responses:
  19624. "200":
  19625. description: OK
  19626. schema:
  19627. $ref: '#/definitions/common.QueryNoticeRsp'
  19628. "500":
  19629. description: Internal Server Error
  19630. schema:
  19631. $ref: '#/definitions/app.Response'
  19632. security:
  19633. - ApiKeyAuth: []
  19634. summary: 通知公告系统消息查询
  19635. tags:
  19636. - 通用服务
  19637. /Common/QueryProvincesAndCities:
  19638. get:
  19639. parameters:
  19640. - description: 省ID
  19641. in: query
  19642. name: provinceID
  19643. type: integer
  19644. produces:
  19645. - application/json
  19646. responses:
  19647. "200":
  19648. description: OK
  19649. schema:
  19650. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19651. "500":
  19652. description: Internal Server Error
  19653. schema:
  19654. $ref: '#/definitions/app.Response'
  19655. summary: 查询省市信息(不包括区)
  19656. tags:
  19657. - 通用服务
  19658. /Common/QueryTableDefine:
  19659. get:
  19660. parameters:
  19661. - description: 表key
  19662. in: query
  19663. name: tableKey
  19664. type: string
  19665. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19666. in: query
  19667. name: tableType
  19668. type: integer
  19669. produces:
  19670. - application/json
  19671. responses:
  19672. "200":
  19673. description: OK
  19674. schema:
  19675. $ref: '#/definitions/common.QueryTableDefineRsp'
  19676. "500":
  19677. description: Internal Server Error
  19678. schema:
  19679. $ref: '#/definitions/app.Response'
  19680. summary: 查询交易端列表头信息
  19681. tags:
  19682. - 通用服务
  19683. /Common/QueryTraderMenu:
  19684. get:
  19685. parameters:
  19686. - description: 登录账号
  19687. in: query
  19688. name: loginid
  19689. required: true
  19690. type: integer
  19691. produces:
  19692. - application/json
  19693. responses:
  19694. "200":
  19695. description: OK
  19696. schema:
  19697. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19698. "500":
  19699. description: Internal Server Error
  19700. schema:
  19701. $ref: '#/definitions/app.Response'
  19702. summary: 查询交易端菜单
  19703. tags:
  19704. - 通用服务
  19705. /Delivery/QueryDeliveryRelation:
  19706. get:
  19707. parameters:
  19708. - description: 商品ID
  19709. in: query
  19710. name: goodsid
  19711. type: integer
  19712. - description: 品种ID
  19713. in: query
  19714. name: deliverygoodsid
  19715. type: integer
  19716. - description: 市场ID
  19717. in: query
  19718. name: marketid
  19719. type: integer
  19720. produces:
  19721. - application/json
  19722. responses:
  19723. "200":
  19724. description: OK
  19725. schema:
  19726. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19727. "500":
  19728. description: Internal Server Error
  19729. schema:
  19730. $ref: '#/definitions/app.Response'
  19731. security:
  19732. - ApiKeyAuth: []
  19733. summary: 查询商品交割关系表
  19734. tags:
  19735. - 交割服务
  19736. /Ermcp/GetErmcpGoods:
  19737. get:
  19738. parameters:
  19739. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19740. in: query
  19741. name: lastUpdateTime
  19742. type: string
  19743. produces:
  19744. - application/json
  19745. responses:
  19746. "200":
  19747. description: OK
  19748. schema:
  19749. $ref: '#/definitions/models.ErmcpGoods'
  19750. "500":
  19751. description: Internal Server Error
  19752. schema:
  19753. $ref: '#/definitions/app.Response'
  19754. security:
  19755. - ApiKeyAuth: []
  19756. summary: 查询企业风管期货商品信息
  19757. tags:
  19758. - 企业风险管理(app)
  19759. /Ermcp/GetErmcpGoodsSortByPosition:
  19760. get:
  19761. parameters:
  19762. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19763. in: query
  19764. name: sortIndex
  19765. type: string
  19766. produces:
  19767. - application/json
  19768. responses:
  19769. "200":
  19770. description: OK
  19771. schema:
  19772. $ref: '#/definitions/models.Goodssortbypreposition'
  19773. "500":
  19774. description: Internal Server Error
  19775. schema:
  19776. $ref: '#/definitions/app.Response'
  19777. security:
  19778. - ApiKeyAuth: []
  19779. summary: 查询企业风管期货主力、次主力商品信息
  19780. tags:
  19781. - 企业风险管理(app)
  19782. /Ermcp/GetErmcpOutAccountStatus:
  19783. get:
  19784. parameters:
  19785. - description: 登录账号
  19786. in: query
  19787. name: loginID
  19788. required: true
  19789. type: integer
  19790. produces:
  19791. - application/json
  19792. responses:
  19793. "200":
  19794. description: OK
  19795. schema:
  19796. $ref: '#/definitions/models.Hedgemarketopenlog'
  19797. "500":
  19798. description: Internal Server Error
  19799. schema:
  19800. $ref: '#/definitions/app.Response'
  19801. security:
  19802. - ApiKeyAuth: []
  19803. summary: 获取目标登录账号当前对冲账号在线状态
  19804. tags:
  19805. - 企业风险管理(app)
  19806. /Ermcp/GetErmcpRoleFuncMenuLists:
  19807. get:
  19808. parameters:
  19809. - description: 登录账号
  19810. in: query
  19811. name: loginID
  19812. required: true
  19813. type: integer
  19814. produces:
  19815. - application/json
  19816. responses:
  19817. "200":
  19818. description: OK
  19819. schema:
  19820. $ref: '#/definitions/models.Funcmenulist'
  19821. "500":
  19822. description: Internal Server Error
  19823. schema:
  19824. $ref: '#/definitions/app.Response'
  19825. security:
  19826. - ApiKeyAuth: []
  19827. summary: 获取企业风管终端权限
  19828. tags:
  19829. - 企业风险管理(app)
  19830. /Ermcp/QueryAccMgrBizGroupSet:
  19831. get:
  19832. parameters:
  19833. - description: 用户ID
  19834. in: query
  19835. name: userid
  19836. required: true
  19837. type: integer
  19838. - description: 现货商品id
  19839. in: query
  19840. name: deliverygoodsid
  19841. type: integer
  19842. produces:
  19843. - application/json
  19844. responses:
  19845. "200":
  19846. description: OK
  19847. schema:
  19848. items:
  19849. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19850. type: array
  19851. "500":
  19852. description: Internal Server Error
  19853. schema:
  19854. $ref: '#/definitions/app.Response'
  19855. security:
  19856. - ApiKeyAuth: []
  19857. summary: 查询业务类型分组(账户管理/账户设置)
  19858. tags:
  19859. - 企业风险管理(app)
  19860. /Ermcp/QueryAccMgrLoginUser:
  19861. get:
  19862. parameters:
  19863. - description: 用户ID
  19864. in: query
  19865. name: userid
  19866. required: true
  19867. type: integer
  19868. - description: 用户类型 2-机构 7-企业成员
  19869. in: query
  19870. name: usertype
  19871. type: integer
  19872. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19873. in: query
  19874. name: querytype
  19875. required: true
  19876. type: integer
  19877. produces:
  19878. - application/json
  19879. responses:
  19880. "200":
  19881. description: OK
  19882. schema:
  19883. items:
  19884. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19885. type: array
  19886. "500":
  19887. description: Internal Server Error
  19888. schema:
  19889. $ref: '#/definitions/app.Response'
  19890. security:
  19891. - ApiKeyAuth: []
  19892. summary: 查询账户管理登录账号(账户管理/登录账号)
  19893. tags:
  19894. - 企业风险管理(app)
  19895. /Ermcp/QueryAccMgrMainAccountInfo:
  19896. get:
  19897. parameters:
  19898. - description: 用户ID
  19899. in: query
  19900. name: userid
  19901. type: integer
  19902. - description: 主账号id
  19903. in: query
  19904. name: accountid
  19905. type: integer
  19906. produces:
  19907. - application/json
  19908. responses:
  19909. "200":
  19910. description: OK
  19911. schema:
  19912. items:
  19913. $ref: '#/definitions/models.MainAccountInfo'
  19914. type: array
  19915. "500":
  19916. description: Internal Server Error
  19917. schema:
  19918. $ref: '#/definitions/app.Response'
  19919. security:
  19920. - ApiKeyAuth: []
  19921. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19922. tags:
  19923. - 企业风险管理(app)
  19924. /Ermcp/QueryAccMgrRole:
  19925. get:
  19926. parameters:
  19927. - description: 用户ID
  19928. in: query
  19929. name: userid
  19930. required: true
  19931. type: integer
  19932. produces:
  19933. - application/json
  19934. responses:
  19935. "200":
  19936. description: OK
  19937. schema:
  19938. items:
  19939. $ref: '#/definitions/models.ErmcpRole'
  19940. type: array
  19941. "500":
  19942. description: Internal Server Error
  19943. schema:
  19944. $ref: '#/definitions/app.Response'
  19945. security:
  19946. - ApiKeyAuth: []
  19947. summary: 查询账户管理角色设置(账户管理/角色设置)
  19948. tags:
  19949. - 企业风险管理(app)
  19950. /Ermcp/QueryAccMgrRoleMenu:
  19951. get:
  19952. parameters:
  19953. - description: 用户ID
  19954. in: query
  19955. name: userid
  19956. required: true
  19957. type: integer
  19958. - description: 角色id(可多个,逗号隔开)
  19959. in: query
  19960. name: roleid
  19961. type: string
  19962. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19963. in: query
  19964. name: menutype
  19965. type: integer
  19966. produces:
  19967. - application/json
  19968. responses:
  19969. "200":
  19970. description: OK
  19971. schema:
  19972. items:
  19973. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19974. type: array
  19975. "500":
  19976. description: Internal Server Error
  19977. schema:
  19978. $ref: '#/definitions/app.Response'
  19979. security:
  19980. - ApiKeyAuth: []
  19981. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19982. tags:
  19983. - 企业风险管理(app)
  19984. /Ermcp/QueryAccMgrTaAccountInfo:
  19985. get:
  19986. parameters:
  19987. - description: 用户ID
  19988. in: query
  19989. name: userid
  19990. required: true
  19991. type: integer
  19992. - description: 账号id
  19993. in: query
  19994. name: accountid
  19995. type: integer
  19996. produces:
  19997. - application/json
  19998. responses:
  19999. "200":
  20000. description: OK
  20001. schema:
  20002. items:
  20003. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20004. type: array
  20005. "500":
  20006. description: Internal Server Error
  20007. schema:
  20008. $ref: '#/definitions/app.Response'
  20009. security:
  20010. - ApiKeyAuth: []
  20011. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20012. tags:
  20013. - 企业风险管理(app)
  20014. /Ermcp/QueryAccMgrTaaccount:
  20015. get:
  20016. parameters:
  20017. - description: 用户ID
  20018. in: query
  20019. name: userid
  20020. required: true
  20021. type: integer
  20022. produces:
  20023. - application/json
  20024. responses:
  20025. "200":
  20026. description: OK
  20027. schema:
  20028. items:
  20029. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20030. type: array
  20031. "500":
  20032. description: Internal Server Error
  20033. schema:
  20034. $ref: '#/definitions/app.Response'
  20035. security:
  20036. - ApiKeyAuth: []
  20037. summary: 查询账户管理期货账号(账户管理/期货账号)
  20038. tags:
  20039. - 企业风险管理(app)
  20040. /Ermcp/QueryAvaildGoodsGroup:
  20041. get:
  20042. parameters:
  20043. - description: 所属机构ID
  20044. in: query
  20045. name: userid
  20046. required: true
  20047. type: integer
  20048. produces:
  20049. - application/json
  20050. responses:
  20051. "200":
  20052. description: OK
  20053. schema:
  20054. items:
  20055. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20056. type: array
  20057. "500":
  20058. description: Internal Server Error
  20059. schema:
  20060. $ref: '#/definitions/app.Response'
  20061. security:
  20062. - ApiKeyAuth: []
  20063. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20064. tags:
  20065. - 企业风险管理(app)
  20066. /Ermcp/QueryBusinessDj:
  20067. get:
  20068. parameters:
  20069. - description: 用户ID
  20070. in: query
  20071. name: UserId
  20072. required: true
  20073. type: integer
  20074. - description: 用户类型 2-机构 7-企业成员
  20075. in: query
  20076. name: usertype
  20077. type: integer
  20078. - description: 现货合同ID, 不填则查所有
  20079. in: query
  20080. name: relatedid
  20081. type: string
  20082. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20083. in: query
  20084. name: applystatus
  20085. type: string
  20086. produces:
  20087. - application/json
  20088. responses:
  20089. "200":
  20090. description: OK
  20091. schema:
  20092. items:
  20093. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20094. type: array
  20095. "500":
  20096. description: Internal Server Error
  20097. schema:
  20098. $ref: '#/definitions/app.Response'
  20099. security:
  20100. - ApiKeyAuth: []
  20101. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20102. tags:
  20103. - 企业风险管理(app)
  20104. /Ermcp/QueryBusinessFp:
  20105. get:
  20106. parameters:
  20107. - description: 用户ID
  20108. in: query
  20109. name: UserId
  20110. required: true
  20111. type: integer
  20112. - description: 用户类型 2-机构 7-企业成员
  20113. in: query
  20114. name: usertype
  20115. type: integer
  20116. - description: 现货合同ID, 不填则查所有
  20117. in: query
  20118. name: relatedid
  20119. type: string
  20120. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20121. in: query
  20122. name: applystatus
  20123. type: string
  20124. produces:
  20125. - application/json
  20126. responses:
  20127. "200":
  20128. description: OK
  20129. schema:
  20130. items:
  20131. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20132. type: array
  20133. "500":
  20134. description: Internal Server Error
  20135. schema:
  20136. $ref: '#/definitions/app.Response'
  20137. security:
  20138. - ApiKeyAuth: []
  20139. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20140. tags:
  20141. - 企业风险管理(app)
  20142. /Ermcp/QueryBusinessJs:
  20143. get:
  20144. parameters:
  20145. - description: 用户ID
  20146. in: query
  20147. name: UserId
  20148. required: true
  20149. type: integer
  20150. - description: 用户类型 2-机构 7-企业成员
  20151. in: query
  20152. name: usertype
  20153. type: integer
  20154. - description: 现货合同ID, 不填则查所有
  20155. in: query
  20156. name: relatedid
  20157. type: string
  20158. - description: 操作申请id
  20159. in: query
  20160. name: operateapplyid
  20161. type: string
  20162. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20163. in: query
  20164. name: applystatus
  20165. type: string
  20166. produces:
  20167. - application/json
  20168. responses:
  20169. "200":
  20170. description: OK
  20171. schema:
  20172. items:
  20173. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20174. type: array
  20175. "500":
  20176. description: Internal Server Error
  20177. schema:
  20178. $ref: '#/definitions/app.Response'
  20179. security:
  20180. - ApiKeyAuth: []
  20181. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20182. tags:
  20183. - 企业风险管理(app)
  20184. /Ermcp/QueryBusinessJsEx:
  20185. get:
  20186. parameters:
  20187. - description: 用户ID
  20188. in: query
  20189. name: UserId
  20190. required: true
  20191. type: integer
  20192. - description: 用户类型 2-机构 7-企业成员
  20193. in: query
  20194. name: usertype
  20195. type: integer
  20196. - description: 现货合同ID, 不填则查所有
  20197. in: query
  20198. name: relatedid
  20199. type: string
  20200. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20201. in: query
  20202. name: applystatus
  20203. type: string
  20204. produces:
  20205. - application/json
  20206. responses:
  20207. "200":
  20208. description: OK
  20209. schema:
  20210. items:
  20211. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20212. type: array
  20213. "500":
  20214. description: Internal Server Error
  20215. schema:
  20216. $ref: '#/definitions/app.Response'
  20217. security:
  20218. - ApiKeyAuth: []
  20219. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20220. tags:
  20221. - 企业风险管理(app)
  20222. /Ermcp/QueryBusinessKx:
  20223. get:
  20224. parameters:
  20225. - description: 用户ID
  20226. in: query
  20227. name: UserId
  20228. required: true
  20229. type: integer
  20230. - description: 用户类型 2-机构 7-企业成员
  20231. in: query
  20232. name: usertype
  20233. type: integer
  20234. - description: 现货合同ID, 不填则查所有
  20235. in: query
  20236. name: relatedid
  20237. type: string
  20238. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20239. in: query
  20240. name: applystatus
  20241. type: string
  20242. produces:
  20243. - application/json
  20244. responses:
  20245. "200":
  20246. description: OK
  20247. schema:
  20248. items:
  20249. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20250. type: array
  20251. "500":
  20252. description: Internal Server Error
  20253. schema:
  20254. $ref: '#/definitions/app.Response'
  20255. security:
  20256. - ApiKeyAuth: []
  20257. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20258. tags:
  20259. - 企业风险管理(app)
  20260. /Ermcp/QueryChangeLog:
  20261. get:
  20262. parameters:
  20263. - description: 合同ID
  20264. in: query
  20265. name: RelatedId
  20266. required: true
  20267. type: string
  20268. produces:
  20269. - application/json
  20270. responses:
  20271. "200":
  20272. description: OK
  20273. schema:
  20274. items:
  20275. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20276. type: array
  20277. "500":
  20278. description: Internal Server Error
  20279. schema:
  20280. $ref: '#/definitions/app.Response'
  20281. security:
  20282. - ApiKeyAuth: []
  20283. summary: 查询变更记录
  20284. tags:
  20285. - 企业风险管理(app)
  20286. /Ermcp/QueryErmcpHisOrderDetails:
  20287. get:
  20288. parameters:
  20289. - description: 资金账户ID
  20290. in: query
  20291. name: accountID
  20292. required: true
  20293. type: integer
  20294. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20295. in: query
  20296. name: startDate
  20297. type: string
  20298. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20299. in: query
  20300. name: endDate
  20301. type: string
  20302. produces:
  20303. - application/json
  20304. responses:
  20305. "200":
  20306. description: OK
  20307. schema:
  20308. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20309. "500":
  20310. description: Internal Server Error
  20311. schema:
  20312. $ref: '#/definitions/app.Response'
  20313. security:
  20314. - ApiKeyAuth: []
  20315. summary: 获取企业风管期货历史委托单信息
  20316. tags:
  20317. - 企业风险管理(app)
  20318. /Ermcp/QueryErmcpHisTradeDetails:
  20319. get:
  20320. parameters:
  20321. - description: 资金账户ID
  20322. in: query
  20323. name: accountID
  20324. required: true
  20325. type: integer
  20326. - description: 商品ID
  20327. in: query
  20328. name: goodsID
  20329. type: integer
  20330. - description: 买卖方向,0:买 1:卖
  20331. in: query
  20332. name: buyOrSell
  20333. type: integer
  20334. - description: 关联委托单号
  20335. in: query
  20336. name: orderID
  20337. type: integer
  20338. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20339. in: query
  20340. name: startDate
  20341. type: string
  20342. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20343. in: query
  20344. name: endDate
  20345. type: string
  20346. produces:
  20347. - application/json
  20348. responses:
  20349. "200":
  20350. description: OK
  20351. schema:
  20352. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20353. "500":
  20354. description: Internal Server Error
  20355. schema:
  20356. $ref: '#/definitions/app.Response'
  20357. security:
  20358. - ApiKeyAuth: []
  20359. summary: 获取企业风管期货历史成交单信息
  20360. tags:
  20361. - 企业风险管理(app)
  20362. /Ermcp/QueryErmcpInnerHolderDetails:
  20363. get:
  20364. parameters:
  20365. - description: 资金账户ID
  20366. in: query
  20367. name: accountID
  20368. required: true
  20369. type: integer
  20370. - description: 商品ID
  20371. in: query
  20372. name: goodsID
  20373. type: integer
  20374. - description: 买卖方向,0:买 1:卖
  20375. in: query
  20376. name: buyOrSell
  20377. type: integer
  20378. produces:
  20379. - application/json
  20380. responses:
  20381. "200":
  20382. description: OK
  20383. schema:
  20384. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20385. "500":
  20386. description: Internal Server Error
  20387. schema:
  20388. $ref: '#/definitions/app.Response'
  20389. security:
  20390. - ApiKeyAuth: []
  20391. summary: 获取企业风管期货内部持仓单信息
  20392. tags:
  20393. - 企业风险管理(app)
  20394. /Ermcp/QueryErmcpOrderDetails:
  20395. get:
  20396. parameters:
  20397. - description: 资金账户ID
  20398. in: query
  20399. name: accountID
  20400. required: true
  20401. type: integer
  20402. produces:
  20403. - application/json
  20404. responses:
  20405. "200":
  20406. description: OK
  20407. schema:
  20408. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20409. "500":
  20410. description: Internal Server Error
  20411. schema:
  20412. $ref: '#/definitions/app.Response'
  20413. security:
  20414. - ApiKeyAuth: []
  20415. summary: 获取企业风管期货委托单信息
  20416. tags:
  20417. - 企业风险管理(app)
  20418. /Ermcp/QueryErmcpTradeDetails:
  20419. get:
  20420. parameters:
  20421. - description: 资金账户ID
  20422. in: query
  20423. name: accountID
  20424. required: true
  20425. type: integer
  20426. - description: 商品ID
  20427. in: query
  20428. name: goodsID
  20429. type: integer
  20430. - description: 买卖方向,0:买 1:卖
  20431. in: query
  20432. name: buyOrSell
  20433. type: integer
  20434. - description: 关联委托单号
  20435. in: query
  20436. name: orderID
  20437. type: integer
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 获取企业风管期货成交单信息
  20452. tags:
  20453. - 企业风险管理(app)
  20454. /Ermcp/QueryErmcpTradePosition:
  20455. get:
  20456. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20457. parameters:
  20458. - description: 资金账户ID
  20459. in: query
  20460. name: accountID
  20461. required: true
  20462. type: integer
  20463. - description: 所属市场ID
  20464. in: query
  20465. name: marketID
  20466. type: integer
  20467. produces:
  20468. - application/json
  20469. responses:
  20470. "200":
  20471. description: OK
  20472. schema:
  20473. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20474. "500":
  20475. description: Internal Server Error
  20476. schema:
  20477. $ref: '#/definitions/app.Response'
  20478. security:
  20479. - ApiKeyAuth: []
  20480. summary: 获取企业风管期货持仓头寸信息
  20481. tags:
  20482. - 企业风险管理(app)
  20483. /Ermcp/QueryExposureDetail:
  20484. get:
  20485. parameters:
  20486. - description: 所属机构ID
  20487. in: query
  20488. name: areaUserId
  20489. required: true
  20490. type: integer
  20491. - description: 套保商品
  20492. in: query
  20493. name: middleGoodsId
  20494. required: true
  20495. type: integer
  20496. produces:
  20497. - application/json
  20498. responses:
  20499. "200":
  20500. description: OK
  20501. schema:
  20502. items:
  20503. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20504. type: array
  20505. "500":
  20506. description: Internal Server Error
  20507. schema:
  20508. $ref: '#/definitions/app.Response'
  20509. security:
  20510. - ApiKeyAuth: []
  20511. summary: 查询敞口现货明细
  20512. tags:
  20513. - 企业风险管理(app)
  20514. /Ermcp/QueryExposureGoods:
  20515. get:
  20516. parameters:
  20517. - description: 套保商品id
  20518. in: query
  20519. name: middlegoodsid
  20520. required: true
  20521. type: integer
  20522. produces:
  20523. - application/json
  20524. responses:
  20525. "200":
  20526. description: OK
  20527. schema:
  20528. items:
  20529. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20530. type: array
  20531. "500":
  20532. description: Internal Server Error
  20533. schema:
  20534. $ref: '#/definitions/app.Response'
  20535. security:
  20536. - ApiKeyAuth: []
  20537. summary: 查询敞口主力合约
  20538. tags:
  20539. - 企业风险管理(app)
  20540. /Ermcp/QueryExposureHedgePosition:
  20541. get:
  20542. parameters:
  20543. - description: 用户id
  20544. in: query
  20545. name: userid
  20546. required: true
  20547. type: integer
  20548. produces:
  20549. - application/json
  20550. responses:
  20551. "200":
  20552. description: OK
  20553. schema:
  20554. items:
  20555. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20556. type: array
  20557. "500":
  20558. description: Internal Server Error
  20559. schema:
  20560. $ref: '#/definitions/app.Response'
  20561. security:
  20562. - ApiKeyAuth: []
  20563. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20564. tags:
  20565. - 企业风险管理(app)
  20566. /Ermcp/QueryExposureHedgePositionDetail:
  20567. get:
  20568. parameters:
  20569. - description: 所属机构ID
  20570. in: query
  20571. name: userid
  20572. required: true
  20573. type: integer
  20574. - description: 商品id
  20575. in: query
  20576. name: goodsId
  20577. required: true
  20578. type: integer
  20579. produces:
  20580. - application/json
  20581. responses:
  20582. "200":
  20583. description: OK
  20584. schema:
  20585. items:
  20586. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20587. type: array
  20588. "500":
  20589. description: Internal Server Error
  20590. schema:
  20591. $ref: '#/definitions/app.Response'
  20592. security:
  20593. - ApiKeyAuth: []
  20594. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20595. tags:
  20596. - 企业风险管理(app)
  20597. /Ermcp/QueryExposureSpot:
  20598. get:
  20599. parameters:
  20600. - description: 所属机构ID
  20601. in: query
  20602. name: areaUserId
  20603. required: true
  20604. type: integer
  20605. produces:
  20606. - application/json
  20607. responses:
  20608. "200":
  20609. description: OK
  20610. schema:
  20611. items:
  20612. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20613. type: array
  20614. "500":
  20615. description: Internal Server Error
  20616. schema:
  20617. $ref: '#/definitions/app.Response'
  20618. security:
  20619. - ApiKeyAuth: []
  20620. summary: 查询敞口现货头寸(敞口/现货头寸)
  20621. tags:
  20622. - 企业风险管理(app)
  20623. /Ermcp/QueryExposureSpotDetail:
  20624. get:
  20625. parameters:
  20626. - description: 所属机构ID
  20627. in: query
  20628. name: areaUserId
  20629. required: true
  20630. type: integer
  20631. - description: 现货品种ID
  20632. in: query
  20633. name: wrstandardId
  20634. required: true
  20635. type: integer
  20636. produces:
  20637. - application/json
  20638. responses:
  20639. "200":
  20640. description: OK
  20641. schema:
  20642. items:
  20643. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20644. type: array
  20645. "500":
  20646. description: Internal Server Error
  20647. schema:
  20648. $ref: '#/definitions/app.Response'
  20649. security:
  20650. - ApiKeyAuth: []
  20651. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20652. tags:
  20653. - 企业风险管理(app)
  20654. /Ermcp/QueryFuturesCompany:
  20655. get:
  20656. produces:
  20657. - application/json
  20658. responses:
  20659. "200":
  20660. description: OK
  20661. schema:
  20662. items:
  20663. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20664. type: array
  20665. "500":
  20666. description: Internal Server Error
  20667. schema:
  20668. $ref: '#/definitions/app.Response'
  20669. security:
  20670. - ApiKeyAuth: []
  20671. summary: 查询期货公司
  20672. tags:
  20673. - 企业风险管理(app)
  20674. /Ermcp/QueryGGConvertConfig:
  20675. get:
  20676. parameters:
  20677. - description: 品种id(不填则查所有)
  20678. in: query
  20679. name: goodsgroupid
  20680. type: integer
  20681. produces:
  20682. - application/json
  20683. responses:
  20684. "200":
  20685. description: OK
  20686. schema:
  20687. items:
  20688. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20689. type: array
  20690. "500":
  20691. description: Internal Server Error
  20692. schema:
  20693. $ref: '#/definitions/app.Response'
  20694. security:
  20695. - ApiKeyAuth: []
  20696. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20697. tags:
  20698. - 企业风险管理(app)
  20699. /Ermcp/QueryGoodsBrand:
  20700. get:
  20701. parameters:
  20702. - description: 用户ID
  20703. in: query
  20704. name: userid
  20705. required: true
  20706. type: integer
  20707. - description: 现货商品ID
  20708. in: query
  20709. name: wrstandardid
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. items:
  20718. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20719. type: array
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 查询商品品牌
  20727. tags:
  20728. - 企业风险管理(app)
  20729. /Ermcp/QueryGoodsModel:
  20730. get:
  20731. parameters:
  20732. - description: 用户ID
  20733. in: query
  20734. name: userid
  20735. required: true
  20736. type: integer
  20737. produces:
  20738. - application/json
  20739. responses:
  20740. "200":
  20741. description: OK
  20742. schema:
  20743. items:
  20744. $ref: '#/definitions/models.ErmcpGoodsModel'
  20745. type: array
  20746. "500":
  20747. description: Internal Server Error
  20748. schema:
  20749. $ref: '#/definitions/app.Response'
  20750. security:
  20751. - ApiKeyAuth: []
  20752. summary: 查询商品型号
  20753. tags:
  20754. - 企业风险管理(app)
  20755. /Ermcp/QueryHisExposure:
  20756. get:
  20757. parameters:
  20758. - description: 用户id
  20759. in: query
  20760. name: userid
  20761. required: true
  20762. type: integer
  20763. - description: 每个品种记录数
  20764. in: query
  20765. name: lastNum
  20766. required: true
  20767. type: integer
  20768. produces:
  20769. - application/json
  20770. responses:
  20771. "200":
  20772. description: OK
  20773. schema:
  20774. items:
  20775. $ref: '#/definitions/ermcp.HisExposureRsp'
  20776. type: array
  20777. "500":
  20778. description: Internal Server Error
  20779. schema:
  20780. $ref: '#/definitions/app.Response'
  20781. security:
  20782. - ApiKeyAuth: []
  20783. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20784. tags:
  20785. - 企业风险管理(app)
  20786. /Ermcp/QueryMiddleGoods:
  20787. get:
  20788. parameters:
  20789. - description: 所属机构ID
  20790. in: query
  20791. name: userid
  20792. required: true
  20793. type: integer
  20794. - description: 状态 0-停用 1-正常
  20795. in: query
  20796. name: status
  20797. required: true
  20798. type: integer
  20799. produces:
  20800. - application/json
  20801. responses:
  20802. "200":
  20803. description: OK
  20804. schema:
  20805. items:
  20806. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20807. type: array
  20808. "500":
  20809. description: Internal Server Error
  20810. schema:
  20811. $ref: '#/definitions/app.Response'
  20812. security:
  20813. - ApiKeyAuth: []
  20814. summary: 查询套保品种(菜单:套保品种)
  20815. tags:
  20816. - 企业风险管理(app)
  20817. /Ermcp/QueryMiddleGoodsChangeLog:
  20818. get:
  20819. parameters:
  20820. - description: 所属机构ID
  20821. in: query
  20822. name: userid
  20823. required: true
  20824. type: integer
  20825. - description: 套保品种id
  20826. in: query
  20827. name: middlegoodsid
  20828. required: true
  20829. type: integer
  20830. produces:
  20831. - application/json
  20832. responses:
  20833. "200":
  20834. description: OK
  20835. schema:
  20836. items:
  20837. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20838. type: array
  20839. "500":
  20840. description: Internal Server Error
  20841. schema:
  20842. $ref: '#/definitions/app.Response'
  20843. security:
  20844. - ApiKeyAuth: []
  20845. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20846. tags:
  20847. - 企业风险管理(app)
  20848. /Ermcp/QueryMiddleGoodsDetail:
  20849. get:
  20850. parameters:
  20851. - description: 所属机构ID
  20852. in: query
  20853. name: userid
  20854. required: true
  20855. type: integer
  20856. - description: 套保品种id
  20857. in: query
  20858. name: middlegoodsid
  20859. type: integer
  20860. produces:
  20861. - application/json
  20862. responses:
  20863. "200":
  20864. description: OK
  20865. schema:
  20866. items:
  20867. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20868. type: array
  20869. "500":
  20870. description: Internal Server Error
  20871. schema:
  20872. $ref: '#/definitions/app.Response'
  20873. security:
  20874. - ApiKeyAuth: []
  20875. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20876. tags:
  20877. - 企业风险管理(app)
  20878. /Ermcp/QueryPendingAuditInfo:
  20879. get:
  20880. parameters:
  20881. - description: 用户ID
  20882. in: query
  20883. name: UserId
  20884. required: true
  20885. type: integer
  20886. produces:
  20887. - application/json
  20888. responses:
  20889. "200":
  20890. description: OK
  20891. schema:
  20892. items:
  20893. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20894. type: array
  20895. "500":
  20896. description: Internal Server Error
  20897. schema:
  20898. $ref: '#/definitions/app.Response'
  20899. security:
  20900. - ApiKeyAuth: []
  20901. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20902. tags:
  20903. - 企业风险管理(app)
  20904. /Ermcp/QueryRealtimeExposure:
  20905. get:
  20906. parameters:
  20907. - description: 所属机构ID
  20908. in: query
  20909. name: userid
  20910. required: true
  20911. type: integer
  20912. produces:
  20913. - application/json
  20914. responses:
  20915. "200":
  20916. description: OK
  20917. schema:
  20918. items:
  20919. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20920. type: array
  20921. "500":
  20922. description: Internal Server Error
  20923. schema:
  20924. $ref: '#/definitions/app.Response'
  20925. security:
  20926. - ApiKeyAuth: []
  20927. summary: 查询实时敞口
  20928. tags:
  20929. - 企业风险管理(app)
  20930. /Ermcp/QueryRealtimeExposurePosition:
  20931. get:
  20932. parameters:
  20933. - description: 用户id
  20934. in: query
  20935. name: userid
  20936. required: true
  20937. type: integer
  20938. - description: 套保商品ID
  20939. in: query
  20940. name: middleGoodsId
  20941. required: true
  20942. type: integer
  20943. produces:
  20944. - application/json
  20945. responses:
  20946. "200":
  20947. description: OK
  20948. schema:
  20949. items:
  20950. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20951. type: array
  20952. "500":
  20953. description: Internal Server Error
  20954. schema:
  20955. $ref: '#/definitions/app.Response'
  20956. security:
  20957. - ApiKeyAuth: []
  20958. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20959. tags:
  20960. - 企业风险管理(app)
  20961. /Ermcp/QueryRoleMenu:
  20962. get:
  20963. parameters:
  20964. - description: 登录ID
  20965. in: query
  20966. name: loginid
  20967. required: true
  20968. type: integer
  20969. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20970. in: query
  20971. name: menutype
  20972. type: integer
  20973. produces:
  20974. - application/json
  20975. responses:
  20976. "200":
  20977. description: OK
  20978. schema:
  20979. items:
  20980. $ref: '#/definitions/models.RoleMenu'
  20981. type: array
  20982. "500":
  20983. description: Internal Server Error
  20984. schema:
  20985. $ref: '#/definitions/app.Response'
  20986. security:
  20987. - ApiKeyAuth: []
  20988. summary: 查询角色菜单和权限
  20989. tags:
  20990. - 企业风险管理(app)
  20991. /Ermcp/QueryTradeConfigTMP:
  20992. get:
  20993. parameters:
  20994. - description: 所属机构id
  20995. in: query
  20996. name: areauserid
  20997. type: integer
  20998. produces:
  20999. - application/json
  21000. responses:
  21001. "200":
  21002. description: OK
  21003. schema:
  21004. items:
  21005. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21006. type: array
  21007. "500":
  21008. description: Internal Server Error
  21009. schema:
  21010. $ref: '#/definitions/app.Response'
  21011. security:
  21012. - ApiKeyAuth: []
  21013. summary: 查询交易模板配置
  21014. tags:
  21015. - 企业风险管理(app)
  21016. /Ermcp/QueryUserInfo:
  21017. get:
  21018. parameters:
  21019. - description: 所属机构用户ID
  21020. in: query
  21021. name: MemberUserID
  21022. required: true
  21023. type: integer
  21024. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21025. in: query
  21026. name: queryType
  21027. required: true
  21028. type: integer
  21029. produces:
  21030. - application/json
  21031. responses:
  21032. "200":
  21033. description: OK
  21034. schema:
  21035. items:
  21036. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21037. type: array
  21038. "500":
  21039. description: Internal Server Error
  21040. schema:
  21041. $ref: '#/definitions/app.Response'
  21042. security:
  21043. - ApiKeyAuth: []
  21044. summary: 查询客户资料
  21045. tags:
  21046. - 企业风险管理(app)
  21047. /Ermcp/QueryWarehouseInfo:
  21048. get:
  21049. parameters:
  21050. - description: 用户ID
  21051. in: query
  21052. name: userid
  21053. required: true
  21054. type: integer
  21055. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21056. in: query
  21057. name: status
  21058. type: string
  21059. produces:
  21060. - application/json
  21061. responses:
  21062. "200":
  21063. description: OK
  21064. schema:
  21065. items:
  21066. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21067. type: array
  21068. "500":
  21069. description: Internal Server Error
  21070. schema:
  21071. $ref: '#/definitions/app.Response'
  21072. security:
  21073. - ApiKeyAuth: []
  21074. summary: 查询仓库信息
  21075. tags:
  21076. - 企业风险管理(app)
  21077. /Ermcp3/QryAreaExpourseContractDetail:
  21078. get:
  21079. parameters:
  21080. - description: 用户ID
  21081. in: query
  21082. name: userid
  21083. required: true
  21084. type: integer
  21085. - description: 套保商品id
  21086. in: query
  21087. name: middlegoodsid
  21088. required: true
  21089. type: integer
  21090. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21091. in: query
  21092. name: cycletype
  21093. required: true
  21094. type: integer
  21095. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21096. in: query
  21097. name: cycletime
  21098. required: true
  21099. type: string
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. items:
  21107. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21108. type: array
  21109. "500":
  21110. description: Internal Server Error
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. security:
  21114. - ApiKeyAuth: []
  21115. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21116. tags:
  21117. - 企业风险管理v3(app)
  21118. /Ermcp3/QryAreaExpourseFutuDetail:
  21119. get:
  21120. parameters:
  21121. - description: 用户ID
  21122. in: query
  21123. name: userid
  21124. required: true
  21125. type: integer
  21126. - description: 套保商品id
  21127. in: query
  21128. name: middlegoodsid
  21129. required: true
  21130. type: integer
  21131. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21132. in: query
  21133. name: cycletype
  21134. required: true
  21135. type: integer
  21136. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21137. in: query
  21138. name: cycletime
  21139. required: true
  21140. type: string
  21141. produces:
  21142. - application/json
  21143. responses:
  21144. "200":
  21145. description: OK
  21146. schema:
  21147. items:
  21148. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21149. type: array
  21150. "500":
  21151. description: Internal Server Error
  21152. schema:
  21153. $ref: '#/definitions/app.Response'
  21154. security:
  21155. - ApiKeyAuth: []
  21156. summary: 查询敞口期货明细(敞口报表/期货明细)
  21157. tags:
  21158. - 企业风险管理v3(app)
  21159. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21160. get:
  21161. parameters:
  21162. - description: 用户ID
  21163. in: query
  21164. name: userid
  21165. required: true
  21166. type: integer
  21167. - description: 套保商品id
  21168. in: query
  21169. name: middlegoodsid
  21170. required: true
  21171. type: integer
  21172. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21173. in: query
  21174. name: cycletype
  21175. required: true
  21176. type: integer
  21177. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21178. in: query
  21179. name: cycletime
  21180. required: true
  21181. type: string
  21182. produces:
  21183. - application/json
  21184. responses:
  21185. "200":
  21186. description: OK
  21187. schema:
  21188. items:
  21189. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21190. type: array
  21191. "500":
  21192. description: Internal Server Error
  21193. schema:
  21194. $ref: '#/definitions/app.Response'
  21195. security:
  21196. - ApiKeyAuth: []
  21197. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21198. tags:
  21199. - 企业风险管理v3(app)
  21200. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21201. get:
  21202. parameters:
  21203. - description: 用户ID
  21204. in: query
  21205. name: userid
  21206. required: true
  21207. type: integer
  21208. - description: 套保商品id
  21209. in: query
  21210. name: middlegoodsid
  21211. required: true
  21212. type: integer
  21213. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21214. in: query
  21215. name: cycletype
  21216. required: true
  21217. type: integer
  21218. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21219. in: query
  21220. name: cycletime
  21221. required: true
  21222. type: string
  21223. produces:
  21224. - application/json
  21225. responses:
  21226. "200":
  21227. description: OK
  21228. schema:
  21229. items:
  21230. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21231. type: array
  21232. "500":
  21233. description: Internal Server Error
  21234. schema:
  21235. $ref: '#/definitions/app.Response'
  21236. security:
  21237. - ApiKeyAuth: []
  21238. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21239. tags:
  21240. - 企业风险管理v3(app)
  21241. /Ermcp3/QryAreaExpourseReport:
  21242. get:
  21243. parameters:
  21244. - description: 用户ID
  21245. in: query
  21246. name: userid
  21247. required: true
  21248. type: integer
  21249. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21250. in: query
  21251. name: querytype
  21252. required: true
  21253. type: integer
  21254. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21255. in: query
  21256. name: cycletype
  21257. required: true
  21258. type: integer
  21259. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21260. in: query
  21261. name: cycletime
  21262. required: true
  21263. type: string
  21264. produces:
  21265. - application/json
  21266. responses:
  21267. "200":
  21268. description: OK
  21269. schema:
  21270. items:
  21271. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21272. type: array
  21273. "500":
  21274. description: Internal Server Error
  21275. schema:
  21276. $ref: '#/definitions/app.Response'
  21277. security:
  21278. - ApiKeyAuth: []
  21279. summary: 查询敞口报表
  21280. tags:
  21281. - 企业风险管理v3(app)
  21282. /Ermcp3/QryAreaSpotplReport:
  21283. get:
  21284. parameters:
  21285. - description: 用户ID
  21286. in: query
  21287. name: userid
  21288. required: true
  21289. type: integer
  21290. - description: 查询类型 1-报表 2-报表明细
  21291. in: query
  21292. name: querytype
  21293. required: true
  21294. type: integer
  21295. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21296. in: query
  21297. name: cycletype
  21298. required: true
  21299. type: integer
  21300. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21301. in: query
  21302. name: cycletime
  21303. required: true
  21304. type: string
  21305. - description: 现货品种id(明细必填)
  21306. in: query
  21307. name: deliverygoodsid
  21308. type: integer
  21309. - description: 币种id(明细必填)
  21310. in: query
  21311. name: currencyid
  21312. type: integer
  21313. produces:
  21314. - application/json
  21315. responses:
  21316. "200":
  21317. description: OK
  21318. schema:
  21319. items:
  21320. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21321. type: array
  21322. "500":
  21323. description: Internal Server Error
  21324. schema:
  21325. $ref: '#/definitions/app.Response'
  21326. security:
  21327. - ApiKeyAuth: []
  21328. summary: 查询现货报表
  21329. tags:
  21330. - 企业风险管理v3(app)
  21331. /Ermcp3/QryAreaStockReport:
  21332. get:
  21333. parameters:
  21334. - description: 用户ID
  21335. in: query
  21336. name: userid
  21337. required: true
  21338. type: integer
  21339. - description: 查询类型 1-报表 2-报表明细
  21340. in: query
  21341. name: querytype
  21342. required: true
  21343. type: integer
  21344. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21345. in: query
  21346. name: cycletype
  21347. required: true
  21348. type: integer
  21349. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21350. in: query
  21351. name: cycletime
  21352. required: true
  21353. type: string
  21354. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21355. in: query
  21356. name: sumfields
  21357. type: string
  21358. - description: 品种ID
  21359. in: query
  21360. name: deliverygoodsid
  21361. type: integer
  21362. - description: 品类ID
  21363. in: query
  21364. name: wrstandardid
  21365. type: integer
  21366. - description: 品牌ID
  21367. in: query
  21368. name: spotgoodsbrandid
  21369. type: integer
  21370. - description: 仓库ID
  21371. in: query
  21372. name: warehouseinfoid
  21373. type: integer
  21374. produces:
  21375. - application/json
  21376. responses:
  21377. "200":
  21378. description: OK
  21379. schema:
  21380. items:
  21381. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21382. type: array
  21383. "500":
  21384. description: Internal Server Error
  21385. schema:
  21386. $ref: '#/definitions/app.Response'
  21387. security:
  21388. - ApiKeyAuth: []
  21389. summary: 查询库存报表
  21390. tags:
  21391. - 企业风险管理v3(app)
  21392. /Ermcp3/QryAreaSumPL:
  21393. get:
  21394. parameters:
  21395. - description: 用户ID
  21396. in: query
  21397. name: userid
  21398. required: true
  21399. type: integer
  21400. - description: 查询类型 1-报表 2-报表明细
  21401. in: query
  21402. name: querytype
  21403. required: true
  21404. type: integer
  21405. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21406. in: query
  21407. name: cycletype
  21408. required: true
  21409. type: integer
  21410. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21411. in: query
  21412. name: cycletime
  21413. required: true
  21414. type: string
  21415. - description: 币种id(明细必填)
  21416. in: query
  21417. name: currencyid
  21418. type: integer
  21419. produces:
  21420. - application/json
  21421. responses:
  21422. "200":
  21423. description: OK
  21424. schema:
  21425. items:
  21426. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21427. type: array
  21428. "500":
  21429. description: Internal Server Error
  21430. schema:
  21431. $ref: '#/definitions/app.Response'
  21432. security:
  21433. - ApiKeyAuth: []
  21434. summary: 查询汇总损益表
  21435. tags:
  21436. - 企业风险管理v3(app)
  21437. /Ermcp3/QryFinanceReport:
  21438. get:
  21439. parameters:
  21440. - description: 用户ID
  21441. in: query
  21442. name: userid
  21443. required: true
  21444. type: integer
  21445. - description: 查询类型 1-报表 2-报表明细
  21446. in: query
  21447. name: querytype
  21448. required: true
  21449. type: integer
  21450. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21451. in: query
  21452. name: cycletype
  21453. required: true
  21454. type: integer
  21455. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21456. in: query
  21457. name: cycletime
  21458. required: true
  21459. type: string
  21460. - description: 币种id(报表明细必填)
  21461. in: query
  21462. name: currencyid
  21463. type: integer
  21464. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21465. in: query
  21466. name: sumfields
  21467. type: string
  21468. produces:
  21469. - application/json
  21470. responses:
  21471. "200":
  21472. description: OK
  21473. schema:
  21474. items:
  21475. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21476. type: array
  21477. "500":
  21478. description: Internal Server Error
  21479. schema:
  21480. $ref: '#/definitions/app.Response'
  21481. security:
  21482. - ApiKeyAuth: []
  21483. summary: 查询财务报表
  21484. tags:
  21485. - 企业风险管理v3(app)
  21486. /Ermcp3/QrySCMiddleGoodsReport:
  21487. get:
  21488. parameters:
  21489. - description: 用户ID
  21490. in: query
  21491. name: userid
  21492. required: true
  21493. type: integer
  21494. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21495. in: query
  21496. name: cycletype
  21497. required: true
  21498. type: integer
  21499. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21500. in: query
  21501. name: cycletime
  21502. required: true
  21503. type: string
  21504. - description: 合同id
  21505. in: query
  21506. name: spotcontractid
  21507. type: integer
  21508. - description: 套保品种id
  21509. in: query
  21510. name: middlegoodsid
  21511. type: integer
  21512. - description: 现货品种id
  21513. in: query
  21514. name: deliverygoodsid
  21515. type: integer
  21516. - description: 现货商品id
  21517. in: query
  21518. name: wrstandardid
  21519. type: integer
  21520. - description: 合同编号(模糊匹配)
  21521. in: query
  21522. name: contractno
  21523. type: string
  21524. produces:
  21525. - application/json
  21526. responses:
  21527. "200":
  21528. description: OK
  21529. schema:
  21530. items:
  21531. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21532. type: array
  21533. "500":
  21534. description: Internal Server Error
  21535. schema:
  21536. $ref: '#/definitions/app.Response'
  21537. security:
  21538. - ApiKeyAuth: []
  21539. summary: 查询定价报表
  21540. tags:
  21541. - 企业风险管理v3(app)
  21542. /Ermcp3/QryTaFutureDataReport:
  21543. get:
  21544. parameters:
  21545. - description: 用户ID
  21546. in: query
  21547. name: userid
  21548. required: true
  21549. type: integer
  21550. - description: 查询类型 1-报表 2-报表明细
  21551. in: query
  21552. name: querytype
  21553. required: true
  21554. type: integer
  21555. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21556. in: query
  21557. name: cycletype
  21558. required: true
  21559. type: integer
  21560. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21561. in: query
  21562. name: cycletime
  21563. required: true
  21564. type: string
  21565. - description: 币种id(查明细必填)
  21566. in: query
  21567. name: currencyid
  21568. type: integer
  21569. - description: 品种id(查明细必填)
  21570. in: query
  21571. name: goodsgroupid
  21572. type: integer
  21573. - description: 商品id(查明细必填)
  21574. in: query
  21575. name: goodsid
  21576. type: integer
  21577. - description: 买卖方向(查明细必填)
  21578. in: query
  21579. name: buyorsell
  21580. type: integer
  21581. produces:
  21582. - application/json
  21583. responses:
  21584. "200":
  21585. description: OK
  21586. schema:
  21587. items:
  21588. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21589. type: array
  21590. "500":
  21591. description: Internal Server Error
  21592. schema:
  21593. $ref: '#/definitions/app.Response'
  21594. security:
  21595. - ApiKeyAuth: []
  21596. summary: 查询期货报表
  21597. tags:
  21598. - 企业风险管理v3(app)
  21599. /Ermcp3/QueryAreaStock:
  21600. get:
  21601. parameters:
  21602. - description: 用户ID
  21603. in: query
  21604. name: userid
  21605. required: true
  21606. type: integer
  21607. produces:
  21608. - application/json
  21609. responses:
  21610. "200":
  21611. description: OK
  21612. schema:
  21613. items:
  21614. $ref: '#/definitions/models.Ermcp3AreaStock'
  21615. type: array
  21616. "500":
  21617. description: Internal Server Error
  21618. schema:
  21619. $ref: '#/definitions/app.Response'
  21620. security:
  21621. - ApiKeyAuth: []
  21622. summary: 查询机构库存(库存管理/当前库存)
  21623. tags:
  21624. - 企业风险管理v3(app)
  21625. /Ermcp3/QueryAreaStockApply:
  21626. get:
  21627. parameters:
  21628. - description: 用户ID
  21629. in: query
  21630. name: userid
  21631. required: true
  21632. type: integer
  21633. - description: 用户类型 2-机构 7-企业成员
  21634. in: query
  21635. name: usertype
  21636. type: integer
  21637. - description: 现货商品ID
  21638. in: query
  21639. name: deliverygoodsid
  21640. type: integer
  21641. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21642. in: query
  21643. name: inouttype
  21644. type: string
  21645. - description: 合同ID
  21646. in: query
  21647. name: spotcontractid
  21648. type: integer
  21649. - description: 品类ID
  21650. in: query
  21651. name: wrstandardid
  21652. type: integer
  21653. - description: 品牌ID
  21654. in: query
  21655. name: spotgoodsbrandid
  21656. type: integer
  21657. - description: 仓库ID
  21658. in: query
  21659. name: warehouseinfoid
  21660. type: integer
  21661. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21662. in: query
  21663. name: applystatus
  21664. type: string
  21665. produces:
  21666. - application/json
  21667. responses:
  21668. "200":
  21669. description: OK
  21670. schema:
  21671. items:
  21672. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21673. type: array
  21674. "500":
  21675. description: Internal Server Error
  21676. schema:
  21677. $ref: '#/definitions/app.Response'
  21678. security:
  21679. - ApiKeyAuth: []
  21680. summary: 查询库存申请(出入库记录|库存审核)
  21681. tags:
  21682. - 企业风险管理v3(app)
  21683. /Ermcp3/QueryAreaStockApplySum:
  21684. get:
  21685. parameters:
  21686. - description: 合同ID
  21687. in: query
  21688. name: spotcontractid
  21689. required: true
  21690. type: integer
  21691. produces:
  21692. - application/json
  21693. responses:
  21694. "200":
  21695. description: OK
  21696. schema:
  21697. items:
  21698. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21699. type: array
  21700. "500":
  21701. description: Internal Server Error
  21702. schema:
  21703. $ref: '#/definitions/app.Response'
  21704. security:
  21705. - ApiKeyAuth: []
  21706. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21707. tags:
  21708. - 企业风险管理v3(app)
  21709. /Ermcp3/QueryDGFactoryItem:
  21710. get:
  21711. parameters:
  21712. - description: 用户id
  21713. in: query
  21714. name: userid
  21715. type: integer
  21716. - description: 用户类型 2-机构 7-企业成员
  21717. in: query
  21718. name: usertype
  21719. type: integer
  21720. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21721. in: query
  21722. name: dgfactoryitemid
  21723. type: integer
  21724. - description: 现货品种ID
  21725. in: query
  21726. name: deliverygoodsid
  21727. type: integer
  21728. - description: 要素项类型
  21729. in: query
  21730. name: dgfactoryitemtypeid
  21731. type: integer
  21732. - description: 顺序
  21733. in: query
  21734. name: orderindex
  21735. type: integer
  21736. produces:
  21737. - application/json
  21738. responses:
  21739. "200":
  21740. description: OK
  21741. schema:
  21742. items:
  21743. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21744. type: array
  21745. "500":
  21746. description: Internal Server Error
  21747. schema:
  21748. $ref: '#/definitions/app.Response'
  21749. security:
  21750. - ApiKeyAuth: []
  21751. summary: 查询品种要素定义项
  21752. tags:
  21753. - 企业风险管理v3(app)
  21754. /Ermcp3/QueryDeliveryGoods:
  21755. get:
  21756. parameters:
  21757. - description: 用户id
  21758. in: query
  21759. name: userid
  21760. required: true
  21761. type: integer
  21762. - description: 用户类型 2-机构 7-企业成员
  21763. in: query
  21764. name: usertype
  21765. type: integer
  21766. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21767. in: query
  21768. name: excludecfg
  21769. type: integer
  21770. produces:
  21771. - application/json
  21772. responses:
  21773. "200":
  21774. description: OK
  21775. schema:
  21776. items:
  21777. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21778. type: array
  21779. "500":
  21780. description: Internal Server Error
  21781. schema:
  21782. $ref: '#/definitions/app.Response'
  21783. security:
  21784. - ApiKeyAuth: []
  21785. summary: 查询现货商品
  21786. tags:
  21787. - 企业风险管理v3(app)
  21788. /Ermcp3/QueryDeliveryGoodsDetail:
  21789. get:
  21790. parameters:
  21791. - description: 用户id
  21792. in: query
  21793. name: userid
  21794. required: true
  21795. type: integer
  21796. - description: 用户类型 2-机构 7-企业成员
  21797. in: query
  21798. name: usertype
  21799. type: integer
  21800. - description: 现货商品id
  21801. in: query
  21802. name: deliverygoodsid
  21803. type: integer
  21804. produces:
  21805. - application/json
  21806. responses:
  21807. "200":
  21808. description: OK
  21809. schema:
  21810. items:
  21811. $ref: '#/definitions/models.XHDeliveryGoods'
  21812. type: array
  21813. "500":
  21814. description: Internal Server Error
  21815. schema:
  21816. $ref: '#/definitions/app.Response'
  21817. security:
  21818. - ApiKeyAuth: []
  21819. summary: 查询现货商品详情
  21820. tags:
  21821. - 企业风险管理v3(app)
  21822. /Ermcp3/QueryExposureDetail:
  21823. get:
  21824. parameters:
  21825. - description: 用户id
  21826. in: query
  21827. name: userid
  21828. required: true
  21829. type: integer
  21830. - description: 用户类型 2-机构 7-企业成员
  21831. in: query
  21832. name: usertype
  21833. type: integer
  21834. - description: 套保商品
  21835. in: query
  21836. name: middlegoodsid
  21837. required: true
  21838. type: integer
  21839. produces:
  21840. - application/json
  21841. responses:
  21842. "200":
  21843. description: OK
  21844. schema:
  21845. items:
  21846. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21847. type: array
  21848. "500":
  21849. description: Internal Server Error
  21850. schema:
  21851. $ref: '#/definitions/app.Response'
  21852. security:
  21853. - ApiKeyAuth: []
  21854. summary: 查询敞口现货明细
  21855. tags:
  21856. - 企业风险管理v3(app)
  21857. /Ermcp3/QueryExposureSpot:
  21858. get:
  21859. parameters:
  21860. - description: 用户id
  21861. in: query
  21862. name: userid
  21863. required: true
  21864. type: integer
  21865. - description: 用户类型 2-机构 7-企业成员
  21866. in: query
  21867. name: usertype
  21868. type: integer
  21869. produces:
  21870. - application/json
  21871. responses:
  21872. "200":
  21873. description: OK
  21874. schema:
  21875. items:
  21876. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21877. type: array
  21878. "500":
  21879. description: Internal Server Error
  21880. schema:
  21881. $ref: '#/definitions/app.Response'
  21882. security:
  21883. - ApiKeyAuth: []
  21884. summary: 查询敞口现货头寸(敞口/现货头寸)
  21885. tags:
  21886. - 企业风险管理v3(app)
  21887. /Ermcp3/QueryExposureSpotDetail:
  21888. get:
  21889. parameters:
  21890. - description: 用户id
  21891. in: query
  21892. name: userid
  21893. required: true
  21894. type: integer
  21895. - description: 用户类型 2-机构 7-企业成员
  21896. in: query
  21897. name: usertype
  21898. type: integer
  21899. - description: 现货商品ID
  21900. in: query
  21901. name: wrstandardid
  21902. required: true
  21903. type: integer
  21904. produces:
  21905. - application/json
  21906. responses:
  21907. "200":
  21908. description: OK
  21909. schema:
  21910. items:
  21911. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21912. type: array
  21913. "500":
  21914. description: Internal Server Error
  21915. schema:
  21916. $ref: '#/definitions/app.Response'
  21917. security:
  21918. - ApiKeyAuth: []
  21919. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21920. tags:
  21921. - 企业风险管理v3(app)
  21922. /Ermcp3/QueryGoodsGroup:
  21923. get:
  21924. parameters:
  21925. - description: 用户id
  21926. in: query
  21927. name: userid
  21928. required: true
  21929. type: integer
  21930. - description: 用户类型 2-机构 7-企业成员
  21931. in: query
  21932. name: usertype
  21933. type: integer
  21934. - description: 排除套保品中已关联的商品组 1-排除
  21935. in: query
  21936. name: excludecfg
  21937. type: integer
  21938. produces:
  21939. - application/json
  21940. responses:
  21941. "200":
  21942. description: OK
  21943. schema:
  21944. items:
  21945. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21946. type: array
  21947. "500":
  21948. description: Internal Server Error
  21949. schema:
  21950. $ref: '#/definitions/app.Response'
  21951. security:
  21952. - ApiKeyAuth: []
  21953. summary: 查询期货商品组
  21954. tags:
  21955. - 企业风险管理v3(app)
  21956. /Ermcp3/QueryGoodsWrstandard:
  21957. get:
  21958. parameters:
  21959. - description: 用户id
  21960. in: query
  21961. name: userid
  21962. required: true
  21963. type: integer
  21964. - description: 用户类型 2-机构 7-企业成员
  21965. in: query
  21966. name: usertype
  21967. type: integer
  21968. - description: 现货商品id
  21969. in: query
  21970. name: deliverygoodsid
  21971. type: integer
  21972. produces:
  21973. - application/json
  21974. responses:
  21975. "200":
  21976. description: OK
  21977. schema:
  21978. items:
  21979. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21980. type: array
  21981. "500":
  21982. description: Internal Server Error
  21983. schema:
  21984. $ref: '#/definitions/app.Response'
  21985. security:
  21986. - ApiKeyAuth: []
  21987. summary: 查询商品品类
  21988. tags:
  21989. - 企业风险管理v3(app)
  21990. /Ermcp3/QueryGoodsbrand:
  21991. get:
  21992. parameters:
  21993. - description: 用户id
  21994. in: query
  21995. name: userid
  21996. required: true
  21997. type: integer
  21998. - description: 用户类型 2-机构 7-企业成员
  21999. in: query
  22000. name: usertype
  22001. type: integer
  22002. produces:
  22003. - application/json
  22004. responses:
  22005. "200":
  22006. description: OK
  22007. schema:
  22008. items:
  22009. $ref: '#/definitions/models.Ermcp3Brand'
  22010. type: array
  22011. "500":
  22012. description: Internal Server Error
  22013. schema:
  22014. $ref: '#/definitions/app.Response'
  22015. security:
  22016. - ApiKeyAuth: []
  22017. summary: 查询商品品牌
  22018. tags:
  22019. - 企业风险管理v3(app)
  22020. /Ermcp3/QueryHedgePlan:
  22021. get:
  22022. parameters:
  22023. - description: 用户ID
  22024. in: query
  22025. name: userid
  22026. required: true
  22027. type: integer
  22028. - description: 用户类型 2-机构 7-企业成员
  22029. in: query
  22030. name: usertype
  22031. type: integer
  22032. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22033. in: query
  22034. name: hedgeplanstatus
  22035. required: true
  22036. type: string
  22037. produces:
  22038. - application/json
  22039. responses:
  22040. "200":
  22041. description: OK
  22042. schema:
  22043. items:
  22044. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22045. type: array
  22046. "500":
  22047. description: Internal Server Error
  22048. schema:
  22049. $ref: '#/definitions/app.Response'
  22050. security:
  22051. - ApiKeyAuth: []
  22052. summary: 查询套保计划
  22053. tags:
  22054. - 企业风险管理v3(app)
  22055. /Ermcp3/QueryInnerTradeLink:
  22056. get:
  22057. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22058. parameters:
  22059. - description: 外部成交单号
  22060. in: query
  22061. name: outtradeid
  22062. required: true
  22063. type: integer
  22064. produces:
  22065. - application/json
  22066. responses:
  22067. "200":
  22068. description: OK
  22069. schema:
  22070. items:
  22071. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22072. type: array
  22073. "500":
  22074. description: Internal Server Error
  22075. schema:
  22076. $ref: '#/definitions/app.Response'
  22077. security:
  22078. - ApiKeyAuth: []
  22079. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22080. tags:
  22081. - 企业风险管理v3(app)
  22082. /Ermcp3/QueryMiddleGoodsDetail:
  22083. get:
  22084. parameters:
  22085. - description: 用户id
  22086. in: query
  22087. name: userid
  22088. required: true
  22089. type: integer
  22090. - description: 用户类型 2-机构 7-企业成员
  22091. in: query
  22092. name: usertype
  22093. type: integer
  22094. - description: 套保品种id
  22095. in: query
  22096. name: middlegoodsid
  22097. type: integer
  22098. produces:
  22099. - application/json
  22100. responses:
  22101. "200":
  22102. description: OK
  22103. schema:
  22104. items:
  22105. $ref: '#/definitions/models.TBMiddleGoods'
  22106. type: array
  22107. "500":
  22108. description: Internal Server Error
  22109. schema:
  22110. $ref: '#/definitions/app.Response'
  22111. security:
  22112. - ApiKeyAuth: []
  22113. summary: 查询套保品种详情(套保品种/商品详情)
  22114. tags:
  22115. - 企业风险管理v3(app)
  22116. /Ermcp3/QueryOutTradeLink:
  22117. get:
  22118. description: 页面 app 现货->期现关联->外部成交单关联
  22119. parameters:
  22120. - description: 用户ID(填登录用户的userid)
  22121. in: query
  22122. name: userid
  22123. required: true
  22124. type: integer
  22125. - description: 外部订单号(模糊匹配)
  22126. in: query
  22127. name: outtradeid
  22128. type: string
  22129. - description: 合约名称/代码(模糊匹配)
  22130. in: query
  22131. name: goodsname
  22132. type: string
  22133. - description: 关联状态 0-未关联 1-已关联
  22134. in: query
  22135. name: hasinnerorder
  22136. type: integer
  22137. produces:
  22138. - application/json
  22139. responses:
  22140. "200":
  22141. description: OK
  22142. schema:
  22143. items:
  22144. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22145. type: array
  22146. "500":
  22147. description: Internal Server Error
  22148. schema:
  22149. $ref: '#/definitions/app.Response'
  22150. security:
  22151. - ApiKeyAuth: []
  22152. summary: 查询外部成交单关联
  22153. tags:
  22154. - 企业风险管理v3(app)
  22155. /Ermcp3/QueryPaAreaAuditCfg:
  22156. get:
  22157. parameters:
  22158. - description: 用户id
  22159. in: query
  22160. name: userid
  22161. required: true
  22162. type: integer
  22163. produces:
  22164. - application/json
  22165. responses:
  22166. "200":
  22167. description: OK
  22168. schema:
  22169. items:
  22170. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22171. type: array
  22172. "500":
  22173. description: Internal Server Error
  22174. schema:
  22175. $ref: '#/definitions/app.Response'
  22176. security:
  22177. - ApiKeyAuth: []
  22178. summary: 查询审核设置
  22179. tags:
  22180. - 企业风险管理v3(app)
  22181. /Ermcp3/QueryPaAreaSubject:
  22182. get:
  22183. parameters:
  22184. - description: 用户id
  22185. in: query
  22186. name: userid
  22187. required: true
  22188. type: integer
  22189. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22190. in: query
  22191. name: subjectid
  22192. type: integer
  22193. - description: 主体类型 - 1:交易主体 2:业务部门
  22194. in: query
  22195. name: subjecttype
  22196. type: integer
  22197. - description: '主体状态 - 1:正常 2: 停用'
  22198. in: query
  22199. name: subjectstatus
  22200. type: integer
  22201. produces:
  22202. - application/json
  22203. responses:
  22204. "200":
  22205. description: OK
  22206. schema:
  22207. items:
  22208. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22209. type: array
  22210. "500":
  22211. description: Internal Server Error
  22212. schema:
  22213. $ref: '#/definitions/app.Response'
  22214. security:
  22215. - ApiKeyAuth: []
  22216. summary: 查询交易主体
  22217. tags:
  22218. - 企业风险管理v3(app)
  22219. /Ermcp3/QueryPaTradeLink:
  22220. get:
  22221. description: 页面 app 现货->期现关联->期现单据关联
  22222. parameters:
  22223. - description: 用户ID
  22224. in: query
  22225. name: userid
  22226. required: true
  22227. type: integer
  22228. produces:
  22229. - application/json
  22230. responses:
  22231. "200":
  22232. description: OK
  22233. schema:
  22234. items:
  22235. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22236. type: array
  22237. "500":
  22238. description: Internal Server Error
  22239. schema:
  22240. $ref: '#/definitions/app.Response'
  22241. security:
  22242. - ApiKeyAuth: []
  22243. summary: 查询期现单据关联
  22244. tags:
  22245. - 企业风险管理v3(app)
  22246. /Ermcp3/QueryPaTradeLinkDetail:
  22247. get:
  22248. description: 页面 app 现货->期现关联->关联记录
  22249. parameters:
  22250. - description: 用户ID(填登录用户的userid)
  22251. in: query
  22252. name: userid
  22253. required: true
  22254. type: integer
  22255. - description: 关联状态 1:成功 2:失败 3:解绑
  22256. in: query
  22257. name: linkstatus
  22258. type: integer
  22259. - description: 期货订单号(模糊匹配)
  22260. in: query
  22261. name: tradeid
  22262. type: string
  22263. - description: 现货编号(模糊匹配)
  22264. in: query
  22265. name: contractno
  22266. type: string
  22267. - description: 期货账户(模糊匹配)
  22268. in: query
  22269. name: taname
  22270. type: string
  22271. produces:
  22272. - application/json
  22273. responses:
  22274. "200":
  22275. description: OK
  22276. schema:
  22277. items:
  22278. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22279. type: array
  22280. "500":
  22281. description: Internal Server Error
  22282. schema:
  22283. $ref: '#/definitions/app.Response'
  22284. security:
  22285. - ApiKeyAuth: []
  22286. summary: 查询期现关联记录
  22287. tags:
  22288. - 企业风险管理v3(app)
  22289. /Ermcp3/QueryParamChangeApp:
  22290. get:
  22291. description: |-
  22292. 原型页面:
  22293. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22294. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22295. parameters:
  22296. - description: 用户ID
  22297. in: query
  22298. name: userid
  22299. required: true
  22300. type: integer
  22301. - description: 现货品种id
  22302. in: query
  22303. name: deliverygoodsid
  22304. type: integer
  22305. - description: 现货商品id
  22306. in: query
  22307. name: wrstandardid
  22308. type: integer
  22309. - description: 套保商品id
  22310. in: query
  22311. name: middlegoodsid
  22312. type: integer
  22313. - description: 操作类型 1:新增 2:修改
  22314. in: query
  22315. name: operatetype
  22316. type: integer
  22317. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22318. in: query
  22319. name: paramchangetype
  22320. type: integer
  22321. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22322. in: query
  22323. name: ftstatus
  22324. type: string
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询现货商品参数变更申请(流水)
  22341. tags:
  22342. - 企业风险管理v3(app)
  22343. /Ermcp3/QueryRootUserAccount:
  22344. get:
  22345. parameters:
  22346. - description: 用户ID
  22347. in: query
  22348. name: userid
  22349. required: true
  22350. type: integer
  22351. produces:
  22352. - application/json
  22353. responses:
  22354. "200":
  22355. description: OK
  22356. schema:
  22357. items:
  22358. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22359. type: array
  22360. "500":
  22361. description: Internal Server Error
  22362. schema:
  22363. $ref: '#/definitions/app.Response'
  22364. security:
  22365. - ApiKeyAuth: []
  22366. summary: 查询顶级用户信息
  22367. tags:
  22368. - 企业风险管理v3(app)
  22369. /Ermcp3/QuerySCMiddleGoods:
  22370. get:
  22371. description: |-
  22372. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22373. 现货编号 即 合同编号
  22374. parameters:
  22375. - description: 用户ID(填登录用户的userid)
  22376. in: query
  22377. name: userid
  22378. required: true
  22379. type: integer
  22380. - description: 买卖方向 0-买 1-卖
  22381. in: query
  22382. name: buyorsell
  22383. required: true
  22384. type: integer
  22385. - description: 商品组id
  22386. in: query
  22387. name: goodsgroupid
  22388. required: true
  22389. type: integer
  22390. - description: 业务类型 1:套保 2:套利
  22391. in: query
  22392. name: biztype
  22393. type: integer
  22394. - description: 现货编号(模糊匹配)
  22395. in: query
  22396. name: contractno
  22397. type: string
  22398. - description: 对手方(模糊匹配)
  22399. in: query
  22400. name: customername
  22401. type: string
  22402. - description: 现货商品名称(模糊匹配)
  22403. in: query
  22404. name: wrstandardname
  22405. type: string
  22406. produces:
  22407. - application/json
  22408. responses:
  22409. "200":
  22410. description: OK
  22411. schema:
  22412. items:
  22413. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22414. type: array
  22415. "500":
  22416. description: Internal Server Error
  22417. schema:
  22418. $ref: '#/definitions/app.Response'
  22419. security:
  22420. - ApiKeyAuth: []
  22421. summary: 查询现货订单
  22422. tags:
  22423. - 企业风险管理v3(app)
  22424. /Ermcp3/QuerySpotContract:
  22425. get:
  22426. parameters:
  22427. - description: 用户id(当指定contractid, userid可不填)
  22428. in: query
  22429. name: userid
  22430. required: true
  22431. type: integer
  22432. - description: 用户类型 2-机构 7-企业成员
  22433. in: query
  22434. name: usertype
  22435. type: integer
  22436. - description: 合同类型 1-采购, -1-销售
  22437. in: query
  22438. name: contracttype
  22439. type: integer
  22440. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22441. in: query
  22442. name: querytype
  22443. type: string
  22444. - description: 合同ID(SpotContractId)
  22445. in: query
  22446. name: contractid
  22447. type: string
  22448. - description: 合同编号(模糊匹配)
  22449. in: query
  22450. name: contractno
  22451. type: string
  22452. - description: 商品名称(模糊匹配)
  22453. in: query
  22454. name: wrstandardname
  22455. type: string
  22456. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22457. in: query
  22458. name: status
  22459. type: string
  22460. - description: 是否只查今日的合同 1-查今日合同
  22461. in: query
  22462. name: istoday
  22463. type: integer
  22464. produces:
  22465. - application/json
  22466. responses:
  22467. "200":
  22468. description: OK
  22469. schema:
  22470. items:
  22471. $ref: '#/definitions/models.Ermcp3Contract'
  22472. type: array
  22473. "500":
  22474. description: Internal Server Error
  22475. schema:
  22476. $ref: '#/definitions/app.Response'
  22477. security:
  22478. - ApiKeyAuth: []
  22479. summary: 查询现货合同
  22480. tags:
  22481. - 企业风险管理v3(app)
  22482. /Ermcp3/QuerySpotContractBS:
  22483. get:
  22484. parameters:
  22485. - description: 用户id
  22486. in: query
  22487. name: userid
  22488. required: true
  22489. type: integer
  22490. - description: 用户类型 2-机构 7-企业成员
  22491. in: query
  22492. name: usertype
  22493. type: integer
  22494. - description: 合同类型 1-采购, -1-销售
  22495. in: query
  22496. name: contracttype
  22497. required: true
  22498. type: integer
  22499. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22500. in: query
  22501. name: querytype
  22502. type: integer
  22503. - description: 合同ID(SpotContractId)
  22504. in: query
  22505. name: contractid
  22506. type: string
  22507. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22508. in: query
  22509. name: status
  22510. type: string
  22511. - description: 是否只查今日的合同 1-查今日合同
  22512. in: query
  22513. name: istoday
  22514. type: integer
  22515. produces:
  22516. - application/json
  22517. responses:
  22518. "200":
  22519. description: OK
  22520. schema:
  22521. items:
  22522. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22523. type: array
  22524. "500":
  22525. description: Internal Server Error
  22526. schema:
  22527. $ref: '#/definitions/app.Response'
  22528. security:
  22529. - ApiKeyAuth: []
  22530. summary: 查询合同(采购/销售)
  22531. tags:
  22532. - 企业风险管理v3(app)
  22533. /Ermcp3/QuerySpotGoodsPrice:
  22534. get:
  22535. parameters:
  22536. - description: 用户ID
  22537. in: query
  22538. name: userid
  22539. required: true
  22540. type: integer
  22541. produces:
  22542. - application/json
  22543. responses:
  22544. "200":
  22545. description: OK
  22546. schema:
  22547. items:
  22548. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22549. type: array
  22550. "500":
  22551. description: Internal Server Error
  22552. schema:
  22553. $ref: '#/definitions/app.Response'
  22554. security:
  22555. - ApiKeyAuth: []
  22556. summary: 查询现货市价(现货市价)
  22557. tags:
  22558. - 企业风险管理v3(app)
  22559. /Ermcp3/QuerySpotGoodsPriceLog:
  22560. get:
  22561. parameters:
  22562. - description: 用户ID
  22563. in: query
  22564. name: userid
  22565. required: true
  22566. type: integer
  22567. - description: 现货商品ID
  22568. in: query
  22569. name: deliverygoodsid
  22570. required: true
  22571. type: integer
  22572. - description: 品牌ID
  22573. in: query
  22574. name: brandid
  22575. type: integer
  22576. - description: 品类ID
  22577. in: query
  22578. name: wrstandardid
  22579. type: integer
  22580. produces:
  22581. - application/json
  22582. responses:
  22583. "200":
  22584. description: OK
  22585. schema:
  22586. items:
  22587. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22588. type: array
  22589. "500":
  22590. description: Internal Server Error
  22591. schema:
  22592. $ref: '#/definitions/app.Response'
  22593. security:
  22594. - ApiKeyAuth: []
  22595. summary: 查询现货市价详情(现货市价/详情)
  22596. tags:
  22597. - 企业风险管理v3(app)
  22598. /Ermcp3/QuerySubTaaccount:
  22599. get:
  22600. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22601. parameters:
  22602. - description: 母账号id
  22603. in: query
  22604. name: parentaccountid
  22605. type: integer
  22606. - description: 母账号代码
  22607. in: query
  22608. name: parentaccountcode
  22609. type: string
  22610. produces:
  22611. - application/json
  22612. responses:
  22613. "200":
  22614. description: OK
  22615. schema:
  22616. items:
  22617. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22618. type: array
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 查询期货子账户
  22626. tags:
  22627. - 企业风险管理v3(app)
  22628. /Erms2/QueryArbitrageStrategy:
  22629. get:
  22630. parameters:
  22631. - description: 账户ID
  22632. in: query
  22633. name: userid
  22634. required: true
  22635. type: integer
  22636. - description: 商品组ID(品种ID)
  22637. in: query
  22638. name: goodsgroupid
  22639. type: string
  22640. produces:
  22641. - application/json
  22642. responses:
  22643. "200":
  22644. description: OK
  22645. schema:
  22646. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22647. "500":
  22648. description: Internal Server Error
  22649. schema:
  22650. $ref: '#/definitions/app.Response'
  22651. security:
  22652. - ApiKeyAuth: []
  22653. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22654. tags:
  22655. - 风险管理
  22656. /Erms2/QueryInnerTradeDetail:
  22657. get:
  22658. parameters:
  22659. - description: 资金账户
  22660. in: query
  22661. name: accountid
  22662. required: true
  22663. type: integer
  22664. produces:
  22665. - application/json
  22666. responses:
  22667. "200":
  22668. description: OK
  22669. schema:
  22670. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22671. "500":
  22672. description: Internal Server Error
  22673. schema:
  22674. $ref: '#/definitions/app.Response'
  22675. security:
  22676. - ApiKeyAuth: []
  22677. summary: 查询内部成交单信息
  22678. tags:
  22679. - 风险管理
  22680. /Erms2/QuerySpotContract:
  22681. get:
  22682. parameters:
  22683. - description: 策略申请ID
  22684. in: query
  22685. name: asapplyid
  22686. required: true
  22687. type: integer
  22688. - description: 现货合同ID
  22689. in: query
  22690. name: spotcontractid
  22691. type: integer
  22692. produces:
  22693. - application/json
  22694. responses:
  22695. "200":
  22696. description: OK
  22697. schema:
  22698. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22699. "500":
  22700. description: Internal Server Error
  22701. schema:
  22702. $ref: '#/definitions/app.Response'
  22703. security:
  22704. - ApiKeyAuth: []
  22705. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22706. tags:
  22707. - 风险管理
  22708. /Erms3/AddErms2ASApply:
  22709. post:
  22710. parameters:
  22711. - description: 申请参数
  22712. in: body
  22713. name: jsonBody
  22714. required: true
  22715. schema:
  22716. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22717. produces:
  22718. - application/json
  22719. responses:
  22720. "200":
  22721. description: OK
  22722. schema:
  22723. $ref: '#/definitions/app.Response'
  22724. "500":
  22725. description: Internal Server Error
  22726. schema:
  22727. $ref: '#/definitions/app.Response'
  22728. security:
  22729. - ApiKeyAuth: []
  22730. summary: 新增期现套利业务申请
  22731. tags:
  22732. - 风险管理v3
  22733. /Erms3/AddErms2SpotTradeApply:
  22734. post:
  22735. parameters:
  22736. - description: 申请参数
  22737. in: body
  22738. name: jsonBody
  22739. required: true
  22740. schema:
  22741. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. $ref: '#/definitions/app.Response'
  22749. "500":
  22750. description: Internal Server Error
  22751. schema:
  22752. $ref: '#/definitions/app.Response'
  22753. security:
  22754. - ApiKeyAuth: []
  22755. summary: 新增现货贸易业务申请
  22756. tags:
  22757. - 风险管理v3
  22758. /Erms3/AddSpotContractApply:
  22759. post:
  22760. parameters:
  22761. - description: 申请参数
  22762. in: body
  22763. name: jsonBody
  22764. required: true
  22765. schema:
  22766. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22767. produces:
  22768. - application/json
  22769. responses:
  22770. "200":
  22771. description: OK
  22772. schema:
  22773. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22774. "500":
  22775. description: Internal Server Error
  22776. schema:
  22777. $ref: '#/definitions/app.Response'
  22778. security:
  22779. - ApiKeyAuth: []
  22780. summary: 新增现货合同申请
  22781. tags:
  22782. - 风险管理v3
  22783. /Erms3/AddUserInfoApply:
  22784. post:
  22785. parameters:
  22786. - description: 用户信息
  22787. in: body
  22788. name: jsonBody
  22789. required: true
  22790. schema:
  22791. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/app.Response'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. security:
  22804. - ApiKeyAuth: []
  22805. summary: 新增客户申请
  22806. tags:
  22807. - 风险管理v3
  22808. /Erms3/DeleteUserInfoApply:
  22809. get:
  22810. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22811. parameters:
  22812. - description: 用户ID
  22813. in: query
  22814. name: userID
  22815. required: true
  22816. type: integer
  22817. produces:
  22818. - application/json
  22819. responses:
  22820. "200":
  22821. description: OK
  22822. schema:
  22823. $ref: '#/definitions/app.Response'
  22824. "500":
  22825. description: Internal Server Error
  22826. schema:
  22827. $ref: '#/definitions/app.Response'
  22828. security:
  22829. - ApiKeyAuth: []
  22830. summary: 删除客户申请
  22831. tags:
  22832. - 风险管理v3
  22833. /Erms3/ModifyUserInfoApply:
  22834. post:
  22835. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22836. parameters:
  22837. - description: 用户信息
  22838. in: body
  22839. name: jsonBody
  22840. required: true
  22841. schema:
  22842. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22843. produces:
  22844. - application/json
  22845. responses:
  22846. "200":
  22847. description: OK
  22848. schema:
  22849. $ref: '#/definitions/app.Response'
  22850. "500":
  22851. description: Internal Server Error
  22852. schema:
  22853. $ref: '#/definitions/app.Response'
  22854. security:
  22855. - ApiKeyAuth: []
  22856. summary: 修改客户申请
  22857. tags:
  22858. - 风险管理v3
  22859. /Erms3/QueryBusinessInfo:
  22860. get:
  22861. parameters:
  22862. - description: 资金账号ID列表,用逗号分隔
  22863. in: query
  22864. name: accountids
  22865. required: true
  22866. type: string
  22867. - description: 状态,0为未结束 1为已结束
  22868. in: query
  22869. name: status
  22870. required: true
  22871. type: integer
  22872. produces:
  22873. - application/json
  22874. responses:
  22875. "200":
  22876. description: OK
  22877. schema:
  22878. items:
  22879. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22880. type: array
  22881. "500":
  22882. description: Internal Server Error
  22883. schema:
  22884. $ref: '#/definitions/app.Response'
  22885. security:
  22886. - ApiKeyAuth: []
  22887. summary: 查询业务表单数据
  22888. tags:
  22889. - 风险管理v3
  22890. /Erms3/QueryPendingAuditContract:
  22891. get:
  22892. parameters:
  22893. - description: 资金账号ID列表,逗号隔开
  22894. in: query
  22895. name: accountids
  22896. required: true
  22897. type: string
  22898. - description: 合同类型 1-采购 -1-销售
  22899. in: query
  22900. name: contracttype
  22901. required: true
  22902. type: integer
  22903. - description: 合同模式 1-普通 2-回购
  22904. in: query
  22905. name: contractmode
  22906. required: true
  22907. type: integer
  22908. produces:
  22909. - application/json
  22910. responses:
  22911. "200":
  22912. description: OK
  22913. schema:
  22914. items:
  22915. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22916. type: array
  22917. "500":
  22918. description: Internal Server Error
  22919. schema:
  22920. $ref: '#/definitions/app.Response'
  22921. security:
  22922. - ApiKeyAuth: []
  22923. summary: 查询待审核合同
  22924. tags:
  22925. - 风险管理v3
  22926. /Erms3/QueryPendingBusiness:
  22927. get:
  22928. parameters:
  22929. - description: 资金账号ID列表,逗号隔开
  22930. in: query
  22931. name: accountids
  22932. required: true
  22933. type: string
  22934. produces:
  22935. - application/json
  22936. responses:
  22937. "200":
  22938. description: OK
  22939. schema:
  22940. items:
  22941. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22942. type: array
  22943. "500":
  22944. description: Internal Server Error
  22945. schema:
  22946. $ref: '#/definitions/app.Response'
  22947. security:
  22948. - ApiKeyAuth: []
  22949. summary: 查询待审核基差贸易业务
  22950. tags:
  22951. - 风险管理v3
  22952. /Erms3/QuerySpotContractAppleForm:
  22953. get:
  22954. parameters:
  22955. - description: 登录账号
  22956. in: query
  22957. name: loginID
  22958. required: true
  22959. type: integer
  22960. produces:
  22961. - application/json
  22962. responses:
  22963. "200":
  22964. description: OK
  22965. schema:
  22966. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22967. "500":
  22968. description: Internal Server Error
  22969. schema:
  22970. $ref: '#/definitions/app.Response'
  22971. security:
  22972. - ApiKeyAuth: []
  22973. summary: 查询合同申请表单数据
  22974. tags:
  22975. - 风险管理v3
  22976. /Erms3/QuerySpotContractDetail:
  22977. get:
  22978. parameters:
  22979. - description: 资金账号ID列表,用逗号分隔
  22980. in: query
  22981. name: accountids
  22982. required: true
  22983. type: string
  22984. - description: 合同类型,1为采购合同 -1为销售合同
  22985. in: query
  22986. name: contracttype
  22987. required: true
  22988. type: integer
  22989. - description: 合同模式,1为普通合同 2为回购销售合同
  22990. in: query
  22991. name: contractmode
  22992. required: true
  22993. type: integer
  22994. - description: 状态,0为履约中 1为已完成
  22995. in: query
  22996. name: status
  22997. required: true
  22998. type: integer
  22999. produces:
  23000. - application/json
  23001. responses:
  23002. "200":
  23003. description: OK
  23004. schema:
  23005. items:
  23006. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23007. type: array
  23008. "500":
  23009. description: Internal Server Error
  23010. schema:
  23011. $ref: '#/definitions/app.Response'
  23012. security:
  23013. - ApiKeyAuth: []
  23014. summary: 查询合同详细信息
  23015. tags:
  23016. - 风险管理v3
  23017. /Erms3/QueryUserInfoApplies:
  23018. get:
  23019. parameters:
  23020. - description: 页码
  23021. in: query
  23022. name: page
  23023. type: integer
  23024. - description: 每页条数
  23025. in: query
  23026. name: pagesize
  23027. type: integer
  23028. - description: 客户名称,支持模糊查询
  23029. in: query
  23030. name: userName
  23031. type: string
  23032. produces:
  23033. - application/json
  23034. responses:
  23035. "200":
  23036. description: OK
  23037. schema:
  23038. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23039. "500":
  23040. description: Internal Server Error
  23041. schema:
  23042. $ref: '#/definitions/app.Response'
  23043. security:
  23044. - ApiKeyAuth: []
  23045. summary: 客户申请信息查询
  23046. tags:
  23047. - 风险管理v3
  23048. /Erms3/QueryUserInfos:
  23049. get:
  23050. parameters:
  23051. - description: 页码
  23052. in: query
  23053. name: page
  23054. type: integer
  23055. - description: 每页条数
  23056. in: query
  23057. name: pagesize
  23058. type: integer
  23059. - description: 客户名称,支持模糊查询
  23060. in: query
  23061. name: userName
  23062. type: string
  23063. produces:
  23064. - application/json
  23065. responses:
  23066. "200":
  23067. description: OK
  23068. schema:
  23069. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23070. "500":
  23071. description: Internal Server Error
  23072. schema:
  23073. $ref: '#/definitions/app.Response'
  23074. security:
  23075. - ApiKeyAuth: []
  23076. summary: 客户信息查询
  23077. tags:
  23078. - 风险管理v3
  23079. /HSBY/GetHsbyMyCount:
  23080. get:
  23081. description: 说明: 不包括已完成的数量。
  23082. parameters:
  23083. - description: 资金账户列表,格式:1,2,3
  23084. in: query
  23085. name: accountIDs
  23086. required: true
  23087. type: string
  23088. produces:
  23089. - application/json
  23090. responses:
  23091. "200":
  23092. description: OK
  23093. schema:
  23094. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 获取我的订单与包裹数量
  23102. tags:
  23103. - 定制【海商报业】
  23104. /HSBY/QueryClientFixedADConfigs:
  23105. get:
  23106. produces:
  23107. - application/json
  23108. responses:
  23109. "200":
  23110. description: OK
  23111. schema:
  23112. $ref: '#/definitions/models.Clientfixedadconfig'
  23113. "500":
  23114. description: Internal Server Error
  23115. schema:
  23116. $ref: '#/definitions/app.Response'
  23117. security:
  23118. - ApiKeyAuth: []
  23119. summary: 获取终端固定广告配置
  23120. tags:
  23121. - 定制【海商报业】
  23122. /HSBY/QueryHsbyBuyMyTradeDetail:
  23123. get:
  23124. parameters:
  23125. - description: 页码
  23126. in: query
  23127. name: page
  23128. type: integer
  23129. - description: 每页条数
  23130. in: query
  23131. name: pagesize
  23132. type: integer
  23133. - description: 资金账户列表,格式:1,2,3
  23134. in: query
  23135. name: accountIDs
  23136. required: true
  23137. type: string
  23138. produces:
  23139. - application/json
  23140. responses:
  23141. "200":
  23142. description: OK
  23143. schema:
  23144. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23145. "500":
  23146. description: Internal Server Error
  23147. schema:
  23148. $ref: '#/definitions/app.Response'
  23149. security:
  23150. - ApiKeyAuth: []
  23151. summary: 查询"我的订单 - 已完成"单据信息
  23152. tags:
  23153. - 定制【海商报业】
  23154. /HSBY/QueryHsbyGoodsOrderDetails:
  23155. get:
  23156. description: 说明:查询结果已按委托价格和委托时间排序
  23157. parameters:
  23158. - description: 商品ID
  23159. in: query
  23160. name: goodsID
  23161. required: true
  23162. type: integer
  23163. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23164. in: query
  23165. name: accountIDs
  23166. type: string
  23167. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23168. in: query
  23169. name: buyOrSell
  23170. type: integer
  23171. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23172. in: query
  23173. name: price
  23174. type: number
  23175. - description: 档位,不传则默认为3档
  23176. in: query
  23177. name: speed
  23178. type: integer
  23179. produces:
  23180. - application/json
  23181. responses:
  23182. "200":
  23183. description: OK
  23184. schema:
  23185. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23186. "500":
  23187. description: Internal Server Error
  23188. schema:
  23189. $ref: '#/definitions/app.Response'
  23190. security:
  23191. - ApiKeyAuth: []
  23192. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23193. tags:
  23194. - 定制【海商报业】
  23195. /HSBY/QueryHsbyListingGoodsDetail:
  23196. get:
  23197. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23198. parameters:
  23199. - description: 商品ID
  23200. in: query
  23201. name: goodsID
  23202. required: true
  23203. type: integer
  23204. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23205. in: query
  23206. name: accountID
  23207. type: integer
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23215. "500":
  23216. description: Internal Server Error
  23217. schema:
  23218. $ref: '#/definitions/app.Response'
  23219. security:
  23220. - ApiKeyAuth: []
  23221. summary: 查询二级市场(挂牌点选)商品信息详情
  23222. tags:
  23223. - 定制【海商报业】
  23224. /HSBY/QueryHsbyMarketGoodsDetail:
  23225. get:
  23226. parameters:
  23227. - description: 委托单号
  23228. in: query
  23229. name: orderID
  23230. required: true
  23231. type: integer
  23232. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23233. in: query
  23234. name: accountID
  23235. type: integer
  23236. produces:
  23237. - application/json
  23238. responses:
  23239. "200":
  23240. description: OK
  23241. schema:
  23242. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23243. "500":
  23244. description: Internal Server Error
  23245. schema:
  23246. $ref: '#/definitions/app.Response'
  23247. security:
  23248. - ApiKeyAuth: []
  23249. summary: 查询三级市场(商城)商品信息详情
  23250. tags:
  23251. - 定制【海商报业】
  23252. /HSBY/QueryHsbyMarketGoodses:
  23253. get:
  23254. parameters:
  23255. - description: 页码
  23256. in: query
  23257. name: page
  23258. type: integer
  23259. - description: 每页条数
  23260. in: query
  23261. name: pagesize
  23262. type: integer
  23263. - description: 市场ID列表,格式:1,2,3
  23264. in: query
  23265. name: marketIDs
  23266. required: true
  23267. type: string
  23268. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23269. in: query
  23270. name: accountID
  23271. required: true
  23272. type: integer
  23273. - description: 类别ID
  23274. in: query
  23275. name: categoryID
  23276. type: integer
  23277. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23278. in: query
  23279. name: goodsIDs
  23280. type: string
  23281. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23282. in: query
  23283. name: couponTypeID
  23284. type: integer
  23285. produces:
  23286. - application/json
  23287. responses:
  23288. "200":
  23289. description: OK
  23290. schema:
  23291. $ref: '#/definitions/models.HsbyMarketGoods'
  23292. "500":
  23293. description: Internal Server Error
  23294. schema:
  23295. $ref: '#/definitions/app.Response'
  23296. security:
  23297. - ApiKeyAuth: []
  23298. summary: 查询特卖商品列表(三级商城)
  23299. tags:
  23300. - 定制【海商报业】
  23301. /HSBY/QueryHsbyMarkets:
  23302. get:
  23303. produces:
  23304. - application/json
  23305. responses:
  23306. "200":
  23307. description: OK
  23308. schema:
  23309. $ref: '#/definitions/models.HsbyMarketInfo'
  23310. "500":
  23311. description: Internal Server Error
  23312. schema:
  23313. $ref: '#/definitions/app.Response'
  23314. security:
  23315. - ApiKeyAuth: []
  23316. summary: 查询海商报业相关市场信息
  23317. tags:
  23318. - 定制【海商报业】
  23319. /HSBY/QueryHsbyMyBuyOrderDetails:
  23320. get:
  23321. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23322. parameters:
  23323. - description: 资金账户列表,格式:1,2,3
  23324. in: query
  23325. name: accountIDs
  23326. required: true
  23327. type: string
  23328. produces:
  23329. - application/json
  23330. responses:
  23331. "200":
  23332. description: OK
  23333. schema:
  23334. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23335. "500":
  23336. description: Internal Server Error
  23337. schema:
  23338. $ref: '#/definitions/app.Response'
  23339. security:
  23340. - ApiKeyAuth: []
  23341. summary: 查询“我的订单”信息
  23342. tags:
  23343. - 定制【海商报业】
  23344. /HSBY/QueryHsbyMyGoods:
  23345. get:
  23346. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23347. parameters:
  23348. - description: 资金账户列表,格式:1,2,3
  23349. in: query
  23350. name: accountIDs
  23351. required: true
  23352. type: string
  23353. produces:
  23354. - application/json
  23355. responses:
  23356. "200":
  23357. description: OK
  23358. schema:
  23359. $ref: '#/definitions/models.HsbyMyGoods'
  23360. "500":
  23361. description: Internal Server Error
  23362. schema:
  23363. $ref: '#/definitions/app.Response'
  23364. security:
  23365. - ApiKeyAuth: []
  23366. summary: 查询“我的商品”信息
  23367. tags:
  23368. - 定制【海商报业】
  23369. /HSBY/QueryHsbyMyPackages:
  23370. get:
  23371. parameters:
  23372. - description: 资金账户列表,格式:1,2,3
  23373. in: query
  23374. name: accountIDs
  23375. required: true
  23376. type: string
  23377. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23378. in: query
  23379. name: takeOrderStatus
  23380. type: integer
  23381. produces:
  23382. - application/json
  23383. responses:
  23384. "200":
  23385. description: OK
  23386. schema:
  23387. $ref: '#/definitions/models.HsbyMyPackage'
  23388. "500":
  23389. description: Internal Server Error
  23390. schema:
  23391. $ref: '#/definitions/app.Response'
  23392. security:
  23393. - ApiKeyAuth: []
  23394. summary: 查询我的包裹信息
  23395. tags:
  23396. - 定制【海商报业】
  23397. /HSBY/QueryHsbyPreGoodsDetail:
  23398. get:
  23399. parameters:
  23400. - description: 商品ID
  23401. in: query
  23402. name: goodsID
  23403. required: true
  23404. type: integer
  23405. - description: 资金账户,主要用于获取预售商品购买上限
  23406. in: query
  23407. name: accountID
  23408. type: integer
  23409. produces:
  23410. - application/json
  23411. responses:
  23412. "200":
  23413. description: OK
  23414. schema:
  23415. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23416. "500":
  23417. description: Internal Server Error
  23418. schema:
  23419. $ref: '#/definitions/app.Response'
  23420. security:
  23421. - ApiKeyAuth: []
  23422. summary: 查询一级市场(预售)商品信息详情
  23423. tags:
  23424. - 定制【海商报业】
  23425. /HSBY/QueryHsbyPreGoodses:
  23426. get:
  23427. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23428. parameters:
  23429. - description: 页码
  23430. in: query
  23431. name: page
  23432. type: integer
  23433. - description: 每页条数
  23434. in: query
  23435. name: pagesize
  23436. type: integer
  23437. - description: 市场ID列表,格式:1,2,3
  23438. in: query
  23439. name: marketIDs
  23440. required: true
  23441. type: string
  23442. - description: 目的地(省)ID
  23443. in: query
  23444. name: descProvinceID
  23445. type: integer
  23446. - description: 目的地(市)ID
  23447. in: query
  23448. name: descCityID
  23449. type: integer
  23450. produces:
  23451. - application/json
  23452. responses:
  23453. "200":
  23454. description: OK
  23455. schema:
  23456. $ref: '#/definitions/models.HsbyPreGoods'
  23457. "500":
  23458. description: Internal Server Error
  23459. schema:
  23460. $ref: '#/definitions/app.Response'
  23461. security:
  23462. - ApiKeyAuth: []
  23463. summary: 查询新品上市商品列表(一级市场预售)
  23464. tags:
  23465. - 定制【海商报业】
  23466. /HSBY/QueryHsbySellMyDetails:
  23467. get:
  23468. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23469. parameters:
  23470. - description: 页码
  23471. in: query
  23472. name: page
  23473. type: integer
  23474. - description: 每页条数
  23475. in: query
  23476. name: pagesize
  23477. type: integer
  23478. - description: 资金账户列表,格式:1,2,3
  23479. in: query
  23480. name: accountIDs
  23481. required: true
  23482. type: string
  23483. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23484. in: query
  23485. name: orderType
  23486. type: integer
  23487. produces:
  23488. - application/json
  23489. responses:
  23490. "200":
  23491. description: OK
  23492. schema:
  23493. $ref: '#/definitions/models.HsbySellMyDetail'
  23494. "500":
  23495. description: Internal Server Error
  23496. schema:
  23497. $ref: '#/definitions/app.Response'
  23498. security:
  23499. - ApiKeyAuth: []
  23500. summary: 查询"我的闲置"单据信息
  23501. tags:
  23502. - 定制【海商报业】
  23503. /HSBY/QueryHsbyTopGoodses:
  23504. get:
  23505. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23506. parameters:
  23507. - description: 页码
  23508. in: query
  23509. name: page
  23510. type: integer
  23511. - description: 每页条数
  23512. in: query
  23513. name: pagesize
  23514. type: integer
  23515. - description: 市场ID列表,格式:1,2,3
  23516. in: query
  23517. name: marketIDs
  23518. required: true
  23519. type: string
  23520. - description: 目的地(省)ID
  23521. in: query
  23522. name: descProvinceID
  23523. type: integer
  23524. - description: 目的地(市)ID
  23525. in: query
  23526. name: descCityID
  23527. type: integer
  23528. produces:
  23529. - application/json
  23530. responses:
  23531. "200":
  23532. description: OK
  23533. schema:
  23534. $ref: '#/definitions/models.HsbyTopGoods'
  23535. "500":
  23536. description: Internal Server Error
  23537. schema:
  23538. $ref: '#/definitions/app.Response'
  23539. security:
  23540. - ApiKeyAuth: []
  23541. summary: 查询热卖商品列表(二级市场挂牌点选)
  23542. tags:
  23543. - 定制【海商报业】
  23544. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23545. get:
  23546. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23547. parameters:
  23548. - description: 商品ID
  23549. in: query
  23550. name: goodsID
  23551. required: true
  23552. type: integer
  23553. produces:
  23554. - application/json
  23555. responses:
  23556. "200":
  23557. description: OK
  23558. schema:
  23559. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23560. "500":
  23561. description: Internal Server Error
  23562. schema:
  23563. $ref: '#/definitions/app.Response'
  23564. security:
  23565. - ApiKeyAuth: []
  23566. summary: 查询游客三级市场(商城)商品信息详情
  23567. tags:
  23568. - 定制【海商报业】
  23569. /HSBY/QueryHsbyVisitorMarketGoodses:
  23570. get:
  23571. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23572. parameters:
  23573. - description: 页码
  23574. in: query
  23575. name: page
  23576. type: integer
  23577. - description: 每页条数
  23578. in: query
  23579. name: pagesize
  23580. type: integer
  23581. - description: 市场ID列表,格式:1,2,3
  23582. in: query
  23583. name: marketIDs
  23584. required: true
  23585. type: string
  23586. - description: 类别ID
  23587. in: query
  23588. name: categoryID
  23589. type: integer
  23590. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23591. in: query
  23592. name: goodsIDs
  23593. type: string
  23594. produces:
  23595. - application/json
  23596. responses:
  23597. "200":
  23598. description: OK
  23599. schema:
  23600. $ref: '#/definitions/models.HsbyMarketGoods'
  23601. "500":
  23602. description: Internal Server Error
  23603. schema:
  23604. $ref: '#/definitions/app.Response'
  23605. security:
  23606. - ApiKeyAuth: []
  23607. summary: 查询游客特卖商品列表(三级商城)
  23608. tags:
  23609. - 定制【海商报业】
  23610. /HSBY/QueryMyCollectionOrders:
  23611. get:
  23612. parameters:
  23613. - description: 页码
  23614. in: query
  23615. name: page
  23616. type: integer
  23617. - description: 每页条数
  23618. in: query
  23619. name: pagesize
  23620. type: integer
  23621. - description: 资金账户,格式:1,2,3
  23622. in: query
  23623. name: accountIDs
  23624. required: true
  23625. type: string
  23626. produces:
  23627. - application/json
  23628. responses:
  23629. "200":
  23630. description: OK
  23631. schema:
  23632. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23633. "500":
  23634. description: Internal Server Error
  23635. schema:
  23636. $ref: '#/definitions/app.Response'
  23637. security:
  23638. - ApiKeyAuth: []
  23639. summary: 我的闲置中收款信息查询
  23640. tags:
  23641. - 定制【海商报业】
  23642. /HSBY/QueryMyCouponHolds:
  23643. get:
  23644. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23645. parameters:
  23646. - description: 资金账户列表,格式:1,2,3
  23647. in: query
  23648. name: accountIDs
  23649. required: true
  23650. type: string
  23651. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23652. in: query
  23653. name: holdStatus
  23654. type: string
  23655. produces:
  23656. - application/json
  23657. responses:
  23658. "200":
  23659. description: OK
  23660. schema:
  23661. $ref: '#/definitions/models.MyCouponHold'
  23662. "500":
  23663. description: Internal Server Error
  23664. schema:
  23665. $ref: '#/definitions/app.Response'
  23666. security:
  23667. - ApiKeyAuth: []
  23668. summary: 我的优惠卷持仓查询
  23669. tags:
  23670. - 定制【海商报业】
  23671. /HSBY/QueryMyCoupons:
  23672. get:
  23673. parameters:
  23674. - description: 资金账户列表,格式:1,2,3
  23675. in: query
  23676. name: accountIDs
  23677. required: true
  23678. type: string
  23679. - description: 商品ID, 一般与sellUserID配套传入
  23680. in: query
  23681. name: goodsID
  23682. type: integer
  23683. - description: 卖方UserID
  23684. in: query
  23685. name: sellUserID
  23686. type: integer
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. $ref: '#/definitions/models.MyCoupon'
  23694. "500":
  23695. description: Internal Server Error
  23696. schema:
  23697. $ref: '#/definitions/app.Response'
  23698. security:
  23699. - ApiKeyAuth: []
  23700. summary: 我的优惠卷查询
  23701. tags:
  23702. - 定制【海商报业】
  23703. /HSBY/QueryMyPayOrders:
  23704. get:
  23705. parameters:
  23706. - description: 页码
  23707. in: query
  23708. name: page
  23709. type: integer
  23710. - description: 每页条数
  23711. in: query
  23712. name: pagesize
  23713. type: integer
  23714. - description: 资金账户列表,格式:1,2,3
  23715. in: query
  23716. name: accountIDs
  23717. required: true
  23718. type: string
  23719. - description: 买方委托单号
  23720. in: query
  23721. name: buyOrderID
  23722. type: integer
  23723. - description: 卖方委托单号
  23724. in: query
  23725. name: sellOrderID
  23726. type: integer
  23727. produces:
  23728. - application/json
  23729. responses:
  23730. "200":
  23731. description: OK
  23732. schema:
  23733. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23734. "500":
  23735. description: Internal Server Error
  23736. schema:
  23737. $ref: '#/definitions/app.Response'
  23738. security:
  23739. - ApiKeyAuth: []
  23740. summary: 获取我的订单中待付款信息
  23741. tags:
  23742. - 定制【海商报业】
  23743. /HSBY/QueryMyUsedCoupon:
  23744. get:
  23745. parameters:
  23746. - description: 资金账户列表,格式:1,2,3
  23747. in: query
  23748. name: accountIDs
  23749. required: true
  23750. type: string
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. $ref: '#/definitions/models.MyUsedCoupon'
  23758. "500":
  23759. description: Internal Server Error
  23760. schema:
  23761. $ref: '#/definitions/app.Response'
  23762. security:
  23763. - ApiKeyAuth: []
  23764. summary: 已使用优惠卷查询
  23765. tags:
  23766. - 定制【海商报业】
  23767. /HSBY/QueryProvincesAndCities:
  23768. get:
  23769. description: 查询结果只包括二级市场商品已关连的省市信息。
  23770. parameters:
  23771. - description: 省ID
  23772. in: query
  23773. name: provinceID
  23774. type: integer
  23775. produces:
  23776. - application/json
  23777. responses:
  23778. "200":
  23779. description: OK
  23780. schema:
  23781. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23782. "500":
  23783. description: Internal Server Error
  23784. schema:
  23785. $ref: '#/definitions/app.Response'
  23786. security:
  23787. - ApiKeyAuth: []
  23788. summary: 查询省市信息(不包括区)
  23789. tags:
  23790. - 定制【海商报业】
  23791. /HSBY/SetHsbyMyPackagesStatus:
  23792. post:
  23793. parameters:
  23794. - description: 提货单号
  23795. in: query
  23796. name: takeOrderID
  23797. required: true
  23798. type: string
  23799. - description: 资金账号
  23800. in: query
  23801. name: accountID
  23802. required: true
  23803. type: integer
  23804. produces:
  23805. - application/json
  23806. responses:
  23807. "200":
  23808. description: OK
  23809. schema:
  23810. $ref: '#/definitions/app.Response'
  23811. "500":
  23812. description: Internal Server Error
  23813. schema:
  23814. $ref: '#/definitions/app.Response'
  23815. security:
  23816. - ApiKeyAuth: []
  23817. summary: 设置我的包裹已收货状态
  23818. tags:
  23819. - 定制【海商报业】
  23820. /Market/GetAllExExchanges:
  23821. get:
  23822. produces:
  23823. - application/json
  23824. responses:
  23825. "200":
  23826. description: OK
  23827. schema:
  23828. $ref: '#/definitions/models.Goods'
  23829. "500":
  23830. description: Internal Server Error
  23831. schema:
  23832. $ref: '#/definitions/app.Response'
  23833. security:
  23834. - ApiKeyAuth: []
  23835. summary: 获取所有外部交易所信息
  23836. tags:
  23837. - 通用市场
  23838. /Market/QueryGoodsesByLoginID:
  23839. get:
  23840. parameters:
  23841. - description: 登录账号
  23842. in: query
  23843. name: loginID
  23844. required: true
  23845. type: integer
  23846. - description: 市场ID列表,格式:1,2,3
  23847. in: query
  23848. name: marketIDs
  23849. type: string
  23850. produces:
  23851. - application/json
  23852. responses:
  23853. "200":
  23854. description: OK
  23855. schema:
  23856. $ref: '#/definitions/models.Goods'
  23857. "500":
  23858. description: Internal Server Error
  23859. schema:
  23860. $ref: '#/definitions/app.Response'
  23861. security:
  23862. - ApiKeyAuth: []
  23863. summary: 获取登录账号有权限的商品信息
  23864. tags:
  23865. - 通用市场
  23866. /Market/QueryMarketRun:
  23867. get:
  23868. parameters:
  23869. - description: 市场ID,不传返回所有
  23870. in: query
  23871. name: marketID
  23872. type: integer
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. $ref: '#/definitions/models.Marketrun'
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. security:
  23885. - ApiKeyAuth: []
  23886. summary: 查询市场运行信息
  23887. tags:
  23888. - 通用市场
  23889. /Market/QueryMarketsByLoginID:
  23890. get:
  23891. parameters:
  23892. - description: 登录账号
  23893. in: query
  23894. name: loginID
  23895. required: true
  23896. type: integer
  23897. produces:
  23898. - application/json
  23899. responses:
  23900. "200":
  23901. description: OK
  23902. schema:
  23903. $ref: '#/definitions/models.Market'
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. summary: 获取登录账号有权限的市场信息
  23911. tags:
  23912. - 通用市场
  23913. /Order/QueryHisTradeDetail:
  23914. get:
  23915. parameters:
  23916. - description: 资金账户 - 格式:1,2,3
  23917. in: query
  23918. name: accountID
  23919. required: true
  23920. type: string
  23921. - description: 成交单号
  23922. in: query
  23923. name: tradeID
  23924. type: integer
  23925. - description: 委托单号
  23926. in: query
  23927. name: orderID
  23928. type: integer
  23929. - description: 商品ID
  23930. in: query
  23931. name: goodsID
  23932. type: integer
  23933. - description: 交易模式 - 格式:1,2,3
  23934. in: query
  23935. name: tradeMode
  23936. type: string
  23937. - description: 委托单据类型
  23938. in: query
  23939. name: buildType
  23940. type: integer
  23941. - description: 成交类别 - 格式:1,2,3
  23942. in: query
  23943. name: tradeType
  23944. type: string
  23945. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23946. in: query
  23947. name: startDate
  23948. type: string
  23949. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23950. in: query
  23951. name: endDate
  23952. type: string
  23953. produces:
  23954. - application/json
  23955. responses:
  23956. "200":
  23957. description: OK
  23958. schema:
  23959. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23960. "500":
  23961. description: Internal Server Error
  23962. schema:
  23963. $ref: '#/definitions/app.Response'
  23964. security:
  23965. - ApiKeyAuth: []
  23966. summary: 历史成交单查询(合约市场)
  23967. tags:
  23968. - 通用单据
  23969. /Order/QueryHisTradeOrderDetail:
  23970. get:
  23971. parameters:
  23972. - description: 资金账户 - 格式:1,2,3
  23973. in: query
  23974. name: accountID
  23975. required: true
  23976. type: string
  23977. - description: 交易模式 - 格式:1,2,3
  23978. in: query
  23979. name: tradeMode
  23980. type: string
  23981. - description: 委托状态 - 格式:1,2,3
  23982. in: query
  23983. name: orderStatus
  23984. type: string
  23985. - description: 委托单号
  23986. in: query
  23987. name: orderID
  23988. type: integer
  23989. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23990. in: query
  23991. name: startDate
  23992. type: string
  23993. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23994. in: query
  23995. name: endDate
  23996. type: string
  23997. produces:
  23998. - application/json
  23999. responses:
  24000. "200":
  24001. description: OK
  24002. schema:
  24003. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24004. "500":
  24005. description: Internal Server Error
  24006. schema:
  24007. $ref: '#/definitions/app.Response'
  24008. security:
  24009. - ApiKeyAuth: []
  24010. summary: 历史委托单查询请求(合约市场)
  24011. tags:
  24012. - 通用单据
  24013. /Order/QueryTradeDetail:
  24014. get:
  24015. parameters:
  24016. - description: 资金账户 - 格式:1,2,3
  24017. in: query
  24018. name: accountID
  24019. required: true
  24020. type: string
  24021. - description: 成交单号
  24022. in: query
  24023. name: tradeID
  24024. type: integer
  24025. - description: 委托单号
  24026. in: query
  24027. name: orderID
  24028. type: integer
  24029. - description: 交易模式 - 格式:1,2,3
  24030. in: query
  24031. name: tradeMode
  24032. type: string
  24033. - description: 委托单据类型
  24034. in: query
  24035. name: buildType
  24036. type: integer
  24037. - description: 成交类别 - 格式:1,2,3
  24038. in: query
  24039. name: tradeType
  24040. type: string
  24041. - description: 商品ID
  24042. in: query
  24043. name: goodsID
  24044. type: integer
  24045. produces:
  24046. - application/json
  24047. responses:
  24048. "200":
  24049. description: OK
  24050. schema:
  24051. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24052. "500":
  24053. description: Internal Server Error
  24054. schema:
  24055. $ref: '#/definitions/app.Response'
  24056. security:
  24057. - ApiKeyAuth: []
  24058. summary: 成交单查询(合约市场)
  24059. tags:
  24060. - 通用单据
  24061. /Order/QueryTradeHolderDetail:
  24062. get:
  24063. parameters:
  24064. - description: 用户id
  24065. in: query
  24066. name: userid
  24067. type: integer
  24068. - description: 资金账号, 格式 1,2,3
  24069. in: query
  24070. name: accids
  24071. type: string
  24072. - description: 交易模式, 格式 1,2,3
  24073. in: query
  24074. name: trademodes
  24075. type: string
  24076. - description: 市场id, 格式 1,2,3
  24077. in: query
  24078. name: marketids
  24079. type: string
  24080. - description: 商品id
  24081. in: query
  24082. name: goodsid
  24083. type: integer
  24084. - description: 买卖方向 0-买 1-卖
  24085. in: query
  24086. name: buyorsell
  24087. type: integer
  24088. produces:
  24089. - application/json
  24090. responses:
  24091. "200":
  24092. description: OK
  24093. schema:
  24094. items:
  24095. $ref: '#/definitions/models.TradeHolderDetail'
  24096. type: array
  24097. "500":
  24098. description: Internal Server Error
  24099. schema:
  24100. $ref: '#/definitions/app.Response'
  24101. security:
  24102. - ApiKeyAuth: []
  24103. summary: 查询持仓明细
  24104. tags:
  24105. - 通用单据
  24106. /Order/QueryTradeOrderDetail:
  24107. get:
  24108. parameters:
  24109. - description: 资金账户 - 格式:1,2,3
  24110. in: query
  24111. name: accountID
  24112. required: true
  24113. type: string
  24114. - description: 交易模式 - 格式:1,2,3
  24115. in: query
  24116. name: tradeMode
  24117. type: string
  24118. - description: 委托状态 - 格式:1,2,3
  24119. in: query
  24120. name: orderStatus
  24121. type: string
  24122. - description: 委托单号
  24123. in: query
  24124. name: orderID
  24125. type: integer
  24126. produces:
  24127. - application/json
  24128. responses:
  24129. "200":
  24130. description: OK
  24131. schema:
  24132. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24133. "500":
  24134. description: Internal Server Error
  24135. schema:
  24136. $ref: '#/definitions/app.Response'
  24137. security:
  24138. - ApiKeyAuth: []
  24139. summary: 委托单查询请求(合约市场)
  24140. tags:
  24141. - 通用单据
  24142. /Order/QueryTradePosition:
  24143. get:
  24144. parameters:
  24145. - description: 资金账户 - 格式:1,2,3
  24146. in: query
  24147. name: accountID
  24148. required: true
  24149. type: string
  24150. - description: 交易模式 - 格式:1,2,3
  24151. in: query
  24152. name: tradeMode
  24153. type: string
  24154. produces:
  24155. - application/json
  24156. responses:
  24157. "200":
  24158. description: OK
  24159. schema:
  24160. $ref: '#/definitions/order.QueryTradePositionRsp'
  24161. "500":
  24162. description: Internal Server Error
  24163. schema:
  24164. $ref: '#/definitions/app.Response'
  24165. security:
  24166. - ApiKeyAuth: []
  24167. summary: 持仓汇总查询(合约市场)
  24168. tags:
  24169. - 通用单据
  24170. /Qhj/QueryAccountInOutApply:
  24171. get:
  24172. parameters:
  24173. - description: 用户ID
  24174. in: query
  24175. name: userid
  24176. required: true
  24177. type: integer
  24178. - description: 申请起始日期(格式yyyymmdd)
  24179. in: query
  24180. name: begindate
  24181. type: string
  24182. - description: 申请截止日期(格式yyyymmdd)
  24183. in: query
  24184. name: enddate
  24185. type: string
  24186. - description: 模糊搜索名称
  24187. in: query
  24188. name: likename
  24189. type: string
  24190. produces:
  24191. - application/json
  24192. responses:
  24193. "200":
  24194. description: OK
  24195. schema:
  24196. items:
  24197. $ref: '#/definitions/models.QhjAccountOutInApply'
  24198. type: array
  24199. "500":
  24200. description: Internal Server Error
  24201. schema:
  24202. $ref: '#/definitions/app.Response'
  24203. security:
  24204. - ApiKeyAuth: []
  24205. summary: 查询充值提现
  24206. tags:
  24207. - 大连千海金
  24208. /Qhj/QueryAreaFinanceConfig:
  24209. get:
  24210. parameters:
  24211. - description: 机构用户ID 其他做市关系,都设置为 1
  24212. in: query
  24213. name: userid
  24214. type: integer
  24215. produces:
  24216. - application/json
  24217. responses:
  24218. "200":
  24219. description: OK
  24220. schema:
  24221. items:
  24222. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24223. type: array
  24224. "500":
  24225. description: Internal Server Error
  24226. schema:
  24227. $ref: '#/definitions/app.Response'
  24228. security:
  24229. - ApiKeyAuth: []
  24230. summary: 查询企业配置表
  24231. tags:
  24232. - 大连千海金
  24233. /Qhj/QueryBankAccountSign:
  24234. get:
  24235. parameters:
  24236. - description: 用户ID
  24237. in: query
  24238. name: userid
  24239. required: true
  24240. type: integer
  24241. produces:
  24242. - application/json
  24243. responses:
  24244. "200":
  24245. description: OK
  24246. schema:
  24247. items:
  24248. $ref: '#/definitions/models.QhjBankAccountSign'
  24249. type: array
  24250. "500":
  24251. description: Internal Server Error
  24252. schema:
  24253. $ref: '#/definitions/app.Response'
  24254. security:
  24255. - ApiKeyAuth: []
  24256. summary: 查询签约银行信息(提现账户管理)
  24257. tags:
  24258. - 大连千海金
  24259. /Qhj/QueryBankInfo:
  24260. get:
  24261. produces:
  24262. - application/json
  24263. responses:
  24264. "200":
  24265. description: OK
  24266. schema:
  24267. items:
  24268. $ref: '#/definitions/models.QhjBankInfo'
  24269. type: array
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 查询开户行
  24277. tags:
  24278. - 大连千海金
  24279. /Qhj/QueryBrokerApply:
  24280. get:
  24281. parameters:
  24282. - description: 所属机构ID
  24283. in: query
  24284. name: userid
  24285. type: integer
  24286. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24287. in: query
  24288. name: filterstatus
  24289. type: string
  24290. produces:
  24291. - application/json
  24292. responses:
  24293. "200":
  24294. description: OK
  24295. schema:
  24296. items:
  24297. $ref: '#/definitions/models.QhjBrokerApply'
  24298. type: array
  24299. "500":
  24300. description: Internal Server Error
  24301. schema:
  24302. $ref: '#/definitions/app.Response'
  24303. security:
  24304. - ApiKeyAuth: []
  24305. summary: 查询经纪人申请
  24306. tags:
  24307. - 大连千海金
  24308. /Qhj/QueryBrokerApplyEx:
  24309. get:
  24310. parameters:
  24311. - description: 所属机构ID
  24312. in: query
  24313. name: userid
  24314. type: integer
  24315. produces:
  24316. - application/json
  24317. responses:
  24318. "200":
  24319. description: OK
  24320. schema:
  24321. items:
  24322. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24323. type: array
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 查询经纪人信息和申请记录
  24331. tags:
  24332. - 大连千海金
  24333. /Qhj/QueryBrokerRewardLog:
  24334. get:
  24335. parameters:
  24336. - description: 用户ID
  24337. in: query
  24338. name: userid
  24339. required: true
  24340. type: integer
  24341. - description: 开始交易日(yyyymmdd)
  24342. in: query
  24343. name: begindate
  24344. type: string
  24345. - description: 结束交易日(yyyymmdd)
  24346. in: query
  24347. name: enddate
  24348. type: string
  24349. produces:
  24350. - application/json
  24351. responses:
  24352. "200":
  24353. description: OK
  24354. schema:
  24355. items:
  24356. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24357. type: array
  24358. "500":
  24359. description: Internal Server Error
  24360. schema:
  24361. $ref: '#/definitions/app.Response'
  24362. security:
  24363. - ApiKeyAuth: []
  24364. summary: 查询奖励流水(我的奖励)
  24365. tags:
  24366. - 大连千海金
  24367. /Qhj/QueryContract:
  24368. get:
  24369. parameters:
  24370. - description: 用户ID
  24371. in: query
  24372. name: userid
  24373. type: integer
  24374. - description: scf合同id
  24375. in: query
  24376. name: scfcontractid
  24377. type: integer
  24378. produces:
  24379. - application/json
  24380. responses:
  24381. "200":
  24382. description: OK
  24383. schema:
  24384. items:
  24385. $ref: '#/definitions/models.QhjContract'
  24386. type: array
  24387. "500":
  24388. description: Internal Server Error
  24389. schema:
  24390. $ref: '#/definitions/app.Response'
  24391. security:
  24392. - ApiKeyAuth: []
  24393. summary: 查询融资明细(合同)
  24394. tags:
  24395. - 大连千海金
  24396. /Qhj/QueryContractLog:
  24397. get:
  24398. parameters:
  24399. - description: scf合同id
  24400. in: query
  24401. name: scfcontractid
  24402. required: true
  24403. type: integer
  24404. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24405. in: query
  24406. name: amounttype
  24407. type: string
  24408. produces:
  24409. - application/json
  24410. responses:
  24411. "200":
  24412. description: OK
  24413. schema:
  24414. items:
  24415. $ref: '#/definitions/models.QhjContractLog'
  24416. type: array
  24417. "500":
  24418. description: Internal Server Error
  24419. schema:
  24420. $ref: '#/definitions/app.Response'
  24421. security:
  24422. - ApiKeyAuth: []
  24423. summary: 查询融资明细流水(融资明细详情页中的流水)
  24424. tags:
  24425. - 大连千海金
  24426. /Qhj/QueryCusBankSignBank:
  24427. get:
  24428. produces:
  24429. - application/json
  24430. responses:
  24431. "200":
  24432. description: OK
  24433. schema:
  24434. items:
  24435. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24436. type: array
  24437. "500":
  24438. description: Internal Server Error
  24439. schema:
  24440. $ref: '#/definitions/app.Response'
  24441. security:
  24442. - ApiKeyAuth: []
  24443. summary: 查询托管银行
  24444. tags:
  24445. - 大连千海金
  24446. /Qhj/QueryCustomerInfo:
  24447. get:
  24448. parameters:
  24449. - description: 用户ID
  24450. in: query
  24451. name: userid
  24452. required: true
  24453. type: integer
  24454. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24455. in: query
  24456. name: querytype
  24457. required: true
  24458. type: integer
  24459. - description: 客户类型 1-个人 2-企业
  24460. in: query
  24461. name: userinfotype
  24462. type: integer
  24463. - description: 客户名称(模糊匹配)
  24464. in: query
  24465. name: customername
  24466. type: string
  24467. - description: 昵称(模糊匹配)
  24468. in: query
  24469. name: nickname
  24470. type: string
  24471. - description: 是否包含子级 1-包含
  24472. in: query
  24473. name: includesub
  24474. type: integer
  24475. produces:
  24476. - application/json
  24477. responses:
  24478. "200":
  24479. description: OK
  24480. schema:
  24481. items:
  24482. $ref: '#/definitions/models.QhjCustomer'
  24483. type: array
  24484. "500":
  24485. description: Internal Server Error
  24486. schema:
  24487. $ref: '#/definitions/app.Response'
  24488. security:
  24489. - ApiKeyAuth: []
  24490. summary: 查询客户资料
  24491. tags:
  24492. - 大连千海金
  24493. /Qhj/QueryGoodsEx:
  24494. get:
  24495. parameters:
  24496. - description: 商品id
  24497. in: query
  24498. name: goodsid
  24499. type: integer
  24500. produces:
  24501. - application/json
  24502. responses:
  24503. "200":
  24504. description: OK
  24505. schema:
  24506. items:
  24507. $ref: '#/definitions/models.Qhjgoodsex'
  24508. type: array
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 交易商品扩展表
  24516. tags:
  24517. - 大连千海金
  24518. /Qhj/QueryMyTeam:
  24519. get:
  24520. parameters:
  24521. - description: 用户ID
  24522. in: query
  24523. name: userid
  24524. required: true
  24525. type: integer
  24526. produces:
  24527. - application/json
  24528. responses:
  24529. "200":
  24530. description: OK
  24531. schema:
  24532. items:
  24533. $ref: '#/definitions/models.QhjMyTeamEx'
  24534. type: array
  24535. "500":
  24536. description: Internal Server Error
  24537. schema:
  24538. $ref: '#/definitions/app.Response'
  24539. security:
  24540. - ApiKeyAuth: []
  24541. summary: 查询我的团队
  24542. tags:
  24543. - 大连千海金
  24544. /Qhj/QueryMyTeamOrder:
  24545. get:
  24546. parameters:
  24547. - description: 页码
  24548. in: query
  24549. name: page
  24550. type: integer
  24551. - description: 每页条数
  24552. in: query
  24553. name: pagesize
  24554. type: integer
  24555. - description: 用户ID
  24556. in: query
  24557. name: userid
  24558. required: true
  24559. type: integer
  24560. - description: 交易模式
  24561. in: query
  24562. name: trademode
  24563. type: integer
  24564. - description: 名称(模糊搜索账户)
  24565. in: query
  24566. name: filtername
  24567. type: string
  24568. produces:
  24569. - application/json
  24570. responses:
  24571. "200":
  24572. description: OK
  24573. schema:
  24574. items:
  24575. $ref: '#/definitions/models.QhjTeamOrder'
  24576. type: array
  24577. "500":
  24578. description: Internal Server Error
  24579. schema:
  24580. $ref: '#/definitions/app.Response'
  24581. security:
  24582. - ApiKeyAuth: []
  24583. summary: 查询团队订单(我的团队/团队订单)
  24584. tags:
  24585. - 大连千海金
  24586. /Qhj/QueryParentAreaList:
  24587. get:
  24588. parameters:
  24589. - description: 用户ID
  24590. in: query
  24591. name: userid
  24592. required: true
  24593. type: integer
  24594. produces:
  24595. - application/json
  24596. responses:
  24597. "200":
  24598. description: OK
  24599. schema:
  24600. items:
  24601. $ref: '#/definitions/models.QhjParentAreaList'
  24602. type: array
  24603. "500":
  24604. description: Internal Server Error
  24605. schema:
  24606. $ref: '#/definitions/app.Response'
  24607. security:
  24608. - ApiKeyAuth: []
  24609. summary: 查询所属机构列表
  24610. tags:
  24611. - 大连千海金
  24612. /Qhj/QueryPayOrder:
  24613. get:
  24614. parameters:
  24615. - description: 资金账号id
  24616. in: query
  24617. name: accountid
  24618. required: true
  24619. type: integer
  24620. - description: 成交单号
  24621. in: query
  24622. name: tradeid
  24623. type: integer
  24624. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24625. in: query
  24626. name: payflag
  24627. type: string
  24628. produces:
  24629. - application/json
  24630. responses:
  24631. "200":
  24632. description: OK
  24633. schema:
  24634. items:
  24635. $ref: '#/definitions/models.QhjPayOrder'
  24636. type: array
  24637. "500":
  24638. description: Internal Server Error
  24639. schema:
  24640. $ref: '#/definitions/app.Response'
  24641. security:
  24642. - ApiKeyAuth: []
  24643. summary: 查询待付款单据
  24644. tags:
  24645. - 大连千海金
  24646. /Qhj/QueryPickArea:
  24647. get:
  24648. parameters:
  24649. - description: 用户ID
  24650. in: query
  24651. name: userid
  24652. type: integer
  24653. produces:
  24654. - application/json
  24655. responses:
  24656. "200":
  24657. description: OK
  24658. schema:
  24659. items:
  24660. $ref: '#/definitions/models.QhjPickArea'
  24661. type: array
  24662. "500":
  24663. description: Internal Server Error
  24664. schema:
  24665. $ref: '#/definitions/app.Response'
  24666. security:
  24667. - ApiKeyAuth: []
  24668. summary: 查询提货门店
  24669. tags:
  24670. - 大连千海金
  24671. /Qhj/QueryPickGoods:
  24672. get:
  24673. parameters:
  24674. - description: 交易商品id
  24675. in: query
  24676. name: goodsid
  24677. required: true
  24678. type: integer
  24679. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24680. in: query
  24681. name: status
  24682. type: string
  24683. produces:
  24684. - application/json
  24685. responses:
  24686. "200":
  24687. description: OK
  24688. schema:
  24689. items:
  24690. $ref: '#/definitions/models.QhjPickGoods'
  24691. type: array
  24692. "500":
  24693. description: Internal Server Error
  24694. schema:
  24695. $ref: '#/definitions/app.Response'
  24696. security:
  24697. - ApiKeyAuth: []
  24698. summary: 查询提货商品
  24699. tags:
  24700. - 大连千海金
  24701. /Qhj/QueryRSTriggerLog:
  24702. get:
  24703. parameters:
  24704. - description: 用户ID
  24705. in: query
  24706. name: userid
  24707. type: integer
  24708. - description: 定投策略id
  24709. in: query
  24710. name: regularlystrategyid
  24711. type: integer
  24712. - description: 商品id
  24713. in: query
  24714. name: goodsid
  24715. type: integer
  24716. - description: 开始交易日(yyyymmdd)
  24717. in: query
  24718. name: begindate
  24719. type: string
  24720. - description: 结束交易日(yyyymmdd)
  24721. in: query
  24722. name: enddate
  24723. type: string
  24724. - description: 名称(模糊搜索账户)
  24725. in: query
  24726. name: filtername
  24727. type: string
  24728. produces:
  24729. - application/json
  24730. responses:
  24731. "200":
  24732. description: OK
  24733. schema:
  24734. items:
  24735. $ref: '#/definitions/models.QhjRSTriggerLog'
  24736. type: array
  24737. "500":
  24738. description: Internal Server Error
  24739. schema:
  24740. $ref: '#/definitions/app.Response'
  24741. security:
  24742. - ApiKeyAuth: []
  24743. summary: 查询定投记录(定投管理/详情/定投记录)
  24744. tags:
  24745. - 大连千海金
  24746. /Qhj/QueryRStrategy:
  24747. get:
  24748. parameters:
  24749. - description: 用户ID
  24750. in: query
  24751. name: userid
  24752. type: integer
  24753. - description: 商品id
  24754. in: query
  24755. name: goodsid
  24756. type: integer
  24757. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24758. in: query
  24759. name: status
  24760. type: string
  24761. - description: 名称(模糊搜索账户)
  24762. in: query
  24763. name: filtername
  24764. type: string
  24765. produces:
  24766. - application/json
  24767. responses:
  24768. "200":
  24769. description: OK
  24770. schema:
  24771. items:
  24772. $ref: '#/definitions/models.QhjRStrategy'
  24773. type: array
  24774. "500":
  24775. description: Internal Server Error
  24776. schema:
  24777. $ref: '#/definitions/app.Response'
  24778. security:
  24779. - ApiKeyAuth: []
  24780. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24781. tags:
  24782. - 大连千海金
  24783. /Qhj/QueryReckonPriceLog:
  24784. get:
  24785. parameters:
  24786. - description: 商品ID
  24787. in: query
  24788. name: goodsid
  24789. type: integer
  24790. - description: 交易日 格式(yyyymmdd)
  24791. in: query
  24792. name: tradedate
  24793. type: string
  24794. produces:
  24795. - application/json
  24796. responses:
  24797. "200":
  24798. description: OK
  24799. schema:
  24800. items:
  24801. $ref: '#/definitions/models.QhjReckonPriceLog'
  24802. type: array
  24803. "500":
  24804. description: Internal Server Error
  24805. schema:
  24806. $ref: '#/definitions/app.Response'
  24807. security:
  24808. - ApiKeyAuth: []
  24809. summary: 查询定投价(结算价)
  24810. tags:
  24811. - 大连千海金
  24812. /Qhj/QueryScoreLog:
  24813. get:
  24814. parameters:
  24815. - description: 用户ID
  24816. in: query
  24817. name: userid
  24818. required: true
  24819. type: integer
  24820. - description: 开始交易日(yyyymmdd)
  24821. in: query
  24822. name: begindate
  24823. type: string
  24824. - description: 结束交易日(yyyymmdd)
  24825. in: query
  24826. name: enddate
  24827. type: string
  24828. - description: 最近多少条
  24829. in: query
  24830. name: lastnum
  24831. type: integer
  24832. produces:
  24833. - application/json
  24834. responses:
  24835. "200":
  24836. description: OK
  24837. schema:
  24838. items:
  24839. $ref: '#/definitions/models.QhjScoreLog'
  24840. type: array
  24841. "500":
  24842. description: Internal Server Error
  24843. schema:
  24844. $ref: '#/definitions/app.Response'
  24845. security:
  24846. - ApiKeyAuth: []
  24847. summary: 查询积分流水(我的积分)
  24848. tags:
  24849. - 大连千海金
  24850. /Qhj/QuerySiteColumnDetail:
  24851. get:
  24852. parameters:
  24853. - description: 用户ID
  24854. in: query
  24855. name: userid
  24856. required: true
  24857. type: integer
  24858. produces:
  24859. - application/json
  24860. responses:
  24861. "200":
  24862. description: OK
  24863. schema:
  24864. items:
  24865. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24866. type: array
  24867. "500":
  24868. description: Internal Server Error
  24869. schema:
  24870. $ref: '#/definitions/app.Response'
  24871. security:
  24872. - ApiKeyAuth: []
  24873. summary: 查询资讯
  24874. tags:
  24875. - 大连千海金
  24876. /Qhj/QueryTradeGoodsPickup:
  24877. get:
  24878. parameters:
  24879. - description: 用户ID
  24880. in: query
  24881. name: userid
  24882. required: true
  24883. type: integer
  24884. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24885. in: query
  24886. name: takeorderstatus
  24887. type: integer
  24888. produces:
  24889. - application/json
  24890. responses:
  24891. "200":
  24892. description: OK
  24893. schema:
  24894. items:
  24895. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24896. type: array
  24897. "500":
  24898. description: Internal Server Error
  24899. schema:
  24900. $ref: '#/definitions/app.Response'
  24901. security:
  24902. - ApiKeyAuth: []
  24903. summary: 查询提货
  24904. tags:
  24905. - 大连千海金
  24906. /Qhj/QueryUserCollectConfig:
  24907. get:
  24908. parameters:
  24909. - description: 用户ID
  24910. in: query
  24911. name: userid
  24912. required: true
  24913. type: integer
  24914. produces:
  24915. - application/json
  24916. responses:
  24917. "200":
  24918. description: OK
  24919. schema:
  24920. items:
  24921. $ref: '#/definitions/models.UserCollectConfig'
  24922. type: array
  24923. "500":
  24924. description: Internal Server Error
  24925. schema:
  24926. $ref: '#/definitions/app.Response'
  24927. security:
  24928. - ApiKeyAuth: []
  24929. summary: 查询提现账户设置
  24930. tags:
  24931. - 大连千海金
  24932. /Qhj/QueryUserReceiveInfo:
  24933. get:
  24934. parameters:
  24935. - description: 用户ID
  24936. in: query
  24937. name: userid
  24938. required: true
  24939. type: integer
  24940. produces:
  24941. - application/json
  24942. responses:
  24943. "200":
  24944. description: OK
  24945. schema:
  24946. items:
  24947. $ref: '#/definitions/models.UserReceiveInfo'
  24948. type: array
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 查询收货地址信息
  24956. tags:
  24957. - 大连千海金
  24958. /QhjMgr/QueryAccountInOutApply:
  24959. get:
  24960. parameters:
  24961. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24962. in: query
  24963. name: querytype
  24964. required: true
  24965. type: integer
  24966. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24967. in: query
  24968. name: applystatus
  24969. type: integer
  24970. - description: 申请起始日期(格式yyyymmdd)
  24971. in: query
  24972. name: begindate
  24973. type: string
  24974. - description: 申请截止日期(格式yyyymmdd)
  24975. in: query
  24976. name: enddate
  24977. type: string
  24978. - description: 模糊搜索名称
  24979. in: query
  24980. name: likename
  24981. type: string
  24982. produces:
  24983. - application/json
  24984. responses:
  24985. "200":
  24986. description: OK
  24987. schema:
  24988. items:
  24989. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24990. type: array
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 查询充值提现
  24998. tags:
  24999. - 大连千海金(PCWeb)
  25000. /QhjMgr/QueryBrokerApply:
  25001. get:
  25002. parameters:
  25003. - description: 所属机构ID
  25004. in: query
  25005. name: userid
  25006. type: integer
  25007. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25008. in: query
  25009. name: filterstatus
  25010. type: string
  25011. - description: 名称(模糊匹配)
  25012. in: query
  25013. name: filtername
  25014. type: string
  25015. - description: 是否包含子级 1-包含
  25016. in: query
  25017. name: includesub
  25018. type: integer
  25019. produces:
  25020. - application/json
  25021. responses:
  25022. "200":
  25023. description: OK
  25024. schema:
  25025. items:
  25026. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25027. type: array
  25028. "500":
  25029. description: Internal Server Error
  25030. schema:
  25031. $ref: '#/definitions/app.Response'
  25032. security:
  25033. - ApiKeyAuth: []
  25034. summary: 查询经纪人申请
  25035. tags:
  25036. - 大连千海金(PCWeb)
  25037. /QhjMgr/QueryBrokerRewardReport:
  25038. get:
  25039. parameters:
  25040. - description: 所属机构ID
  25041. in: query
  25042. name: userid
  25043. required: true
  25044. type: integer
  25045. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25046. in: query
  25047. name: cycletype
  25048. required: true
  25049. type: integer
  25050. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25051. in: query
  25052. name: cycletime
  25053. required: true
  25054. type: string
  25055. - description: 名称(模糊匹配)
  25056. in: query
  25057. name: filtername
  25058. type: string
  25059. - description: 是否包含子级 1-包含
  25060. in: query
  25061. name: includesub
  25062. type: integer
  25063. produces:
  25064. - application/json
  25065. responses:
  25066. "200":
  25067. description: OK
  25068. schema:
  25069. items:
  25070. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25071. type: array
  25072. "500":
  25073. description: Internal Server Error
  25074. schema:
  25075. $ref: '#/definitions/app.Response'
  25076. security:
  25077. - ApiKeyAuth: []
  25078. summary: 查询经纪人奖励报表(废弃)
  25079. tags:
  25080. - 大连千海金(PCWeb)
  25081. /QhjMgr/QueryContract:
  25082. get:
  25083. parameters:
  25084. - description: 用户ID
  25085. in: query
  25086. name: userid
  25087. type: integer
  25088. - description: 商品id
  25089. in: query
  25090. name: goodsid
  25091. type: integer
  25092. - description: 名称(模糊搜索账户)
  25093. in: query
  25094. name: filtername
  25095. type: string
  25096. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25097. in: query
  25098. name: risklevel
  25099. type: string
  25100. - description: 开始交易日(yyyymmdd)
  25101. in: query
  25102. name: begindate
  25103. type: string
  25104. - description: 结束交易日(yyyymmdd)
  25105. in: query
  25106. name: enddate
  25107. type: string
  25108. produces:
  25109. - application/json
  25110. responses:
  25111. "200":
  25112. description: OK
  25113. schema:
  25114. items:
  25115. $ref: '#/definitions/models.QhjMgrContract'
  25116. type: array
  25117. "500":
  25118. description: Internal Server Error
  25119. schema:
  25120. $ref: '#/definitions/app.Response'
  25121. security:
  25122. - ApiKeyAuth: []
  25123. summary: 查询融资信息(合同)
  25124. tags:
  25125. - 大连千海金(PCWeb)
  25126. /QhjMgr/QueryCustomerInfo:
  25127. get:
  25128. parameters:
  25129. - description: 用户ID
  25130. in: query
  25131. name: userid
  25132. required: true
  25133. type: integer
  25134. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25135. in: query
  25136. name: querytype
  25137. required: true
  25138. type: integer
  25139. - description: 客户类型 1-个人 2-企业
  25140. in: query
  25141. name: userinfotype
  25142. type: integer
  25143. - description: 客户名称(模糊匹配)
  25144. in: query
  25145. name: customername
  25146. type: string
  25147. - description: 昵称(模糊匹配)
  25148. in: query
  25149. name: nickname
  25150. type: string
  25151. - description: 所属客户经理(模糊匹配)
  25152. in: query
  25153. name: brokername
  25154. type: string
  25155. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25156. in: query
  25157. name: birthday
  25158. type: string
  25159. - description: 是否包含子级 1-包含
  25160. in: query
  25161. name: includesub
  25162. type: integer
  25163. produces:
  25164. - application/json
  25165. responses:
  25166. "200":
  25167. description: OK
  25168. schema:
  25169. items:
  25170. $ref: '#/definitions/models.QhjMgrCustomer'
  25171. type: array
  25172. "500":
  25173. description: Internal Server Error
  25174. schema:
  25175. $ref: '#/definitions/app.Response'
  25176. security:
  25177. - ApiKeyAuth: []
  25178. summary: 查询客户资料
  25179. tags:
  25180. - 大连千海金(PCWeb)
  25181. /QhjMgr/QueryPickGoods:
  25182. get:
  25183. parameters:
  25184. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25185. in: query
  25186. name: status
  25187. type: string
  25188. produces:
  25189. - application/json
  25190. responses:
  25191. "200":
  25192. description: OK
  25193. schema:
  25194. items:
  25195. $ref: '#/definitions/models.QhjMgrPickGoods'
  25196. type: array
  25197. "500":
  25198. description: Internal Server Error
  25199. schema:
  25200. $ref: '#/definitions/app.Response'
  25201. security:
  25202. - ApiKeyAuth: []
  25203. summary: 查询提货商品
  25204. tags:
  25205. - 大连千海金(PCWeb)
  25206. /QhjMgr/QuerySubArea:
  25207. get:
  25208. parameters:
  25209. - description: 用户ID
  25210. in: query
  25211. name: userid
  25212. required: true
  25213. type: integer
  25214. produces:
  25215. - application/json
  25216. responses:
  25217. "200":
  25218. description: OK
  25219. schema:
  25220. items:
  25221. $ref: '#/definitions/models.QhjMgrSubArea'
  25222. type: array
  25223. "500":
  25224. description: Internal Server Error
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. security:
  25228. - ApiKeyAuth: []
  25229. summary: 查询子机构列表
  25230. tags:
  25231. - 大连千海金(PCWeb)
  25232. /QhjMgr/QueryTradeDetail:
  25233. get:
  25234. parameters:
  25235. - description: 用户ID
  25236. in: query
  25237. name: userid
  25238. required: true
  25239. type: integer
  25240. - description: 用户类型 1-个人 2-企业
  25241. in: query
  25242. name: userinfotype
  25243. type: integer
  25244. - description: 交易模式
  25245. in: query
  25246. name: trademode
  25247. type: integer
  25248. - description: 商品id
  25249. in: query
  25250. name: goodsid
  25251. type: integer
  25252. - description: 名称(模糊搜索账户)
  25253. in: query
  25254. name: filtername
  25255. type: string
  25256. - description: 开始交易日(yyyymmdd)
  25257. in: query
  25258. name: begindate
  25259. type: string
  25260. - description: 结束交易日(yyyymmdd)
  25261. in: query
  25262. name: enddate
  25263. type: string
  25264. - description: 是否包含子级 1-包含
  25265. in: query
  25266. name: includesub
  25267. type: integer
  25268. produces:
  25269. - application/json
  25270. responses:
  25271. "200":
  25272. description: OK
  25273. schema:
  25274. items:
  25275. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25276. type: array
  25277. "500":
  25278. description: Internal Server Error
  25279. schema:
  25280. $ref: '#/definitions/app.Response'
  25281. security:
  25282. - ApiKeyAuth: []
  25283. summary: 查询成交明细
  25284. tags:
  25285. - 大连千海金(PCWeb)
  25286. /QhjMgr/QueryTradeOrderDetail:
  25287. get:
  25288. parameters:
  25289. - description: 用户ID
  25290. in: query
  25291. name: userid
  25292. required: true
  25293. type: integer
  25294. - description: 用户类型 1-个人 2-企业
  25295. in: query
  25296. name: userinfotype
  25297. type: integer
  25298. - description: 交易模式
  25299. in: query
  25300. name: trademode
  25301. type: integer
  25302. - description: 商品id
  25303. in: query
  25304. name: goodsid
  25305. type: integer
  25306. - description: 名称(模糊搜索账户)
  25307. in: query
  25308. name: filtername
  25309. type: string
  25310. - description: 开始交易日(yyyymmdd)
  25311. in: query
  25312. name: begindate
  25313. type: string
  25314. - description: 结束交易日(yyyymmdd)
  25315. in: query
  25316. name: enddate
  25317. type: string
  25318. - description: 是否包含子级 1-包含
  25319. in: query
  25320. name: includesub
  25321. type: integer
  25322. produces:
  25323. - application/json
  25324. responses:
  25325. "200":
  25326. description: OK
  25327. schema:
  25328. items:
  25329. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25330. type: array
  25331. "500":
  25332. description: Internal Server Error
  25333. schema:
  25334. $ref: '#/definitions/app.Response'
  25335. security:
  25336. - ApiKeyAuth: []
  25337. summary: 查询委托明细
  25338. tags:
  25339. - 大连千海金(PCWeb)
  25340. /QhjMgr/QueryTradePayOrder:
  25341. get:
  25342. parameters:
  25343. - description: 用户ID
  25344. in: query
  25345. name: userid
  25346. required: true
  25347. type: integer
  25348. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25349. in: query
  25350. name: payflag
  25351. type: string
  25352. - description: 用户类型 1-个人 2-企业
  25353. in: query
  25354. name: userinfotype
  25355. type: integer
  25356. - description: 交易模式
  25357. in: query
  25358. name: trademode
  25359. type: integer
  25360. - description: 商品id
  25361. in: query
  25362. name: goodsid
  25363. type: integer
  25364. - description: 名称(模糊搜索账户)
  25365. in: query
  25366. name: filtername
  25367. type: string
  25368. - description: 开始交易日(yyyymmdd)
  25369. in: query
  25370. name: begindate
  25371. type: string
  25372. - description: 结束交易日(yyyymmdd)
  25373. in: query
  25374. name: enddate
  25375. type: string
  25376. - description: 是否包含子级 1-包含
  25377. in: query
  25378. name: includesub
  25379. type: integer
  25380. produces:
  25381. - application/json
  25382. responses:
  25383. "200":
  25384. description: OK
  25385. schema:
  25386. items:
  25387. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25388. type: array
  25389. "500":
  25390. description: Internal Server Error
  25391. schema:
  25392. $ref: '#/definitions/app.Response'
  25393. security:
  25394. - ApiKeyAuth: []
  25395. summary: 查询待付款单
  25396. tags:
  25397. - 大连千海金(PCWeb)
  25398. /QhjMgr/QueryTradePosition:
  25399. get:
  25400. parameters:
  25401. - description: 用户ID
  25402. in: query
  25403. name: userid
  25404. required: true
  25405. type: integer
  25406. - description: 用户类型 1-个人 2-企业
  25407. in: query
  25408. name: userinfotype
  25409. type: integer
  25410. - description: 交易模式
  25411. in: query
  25412. name: trademode
  25413. type: integer
  25414. - description: 商品id
  25415. in: query
  25416. name: goodsid
  25417. type: integer
  25418. - description: 名称(模糊搜索账户)
  25419. in: query
  25420. name: filtername
  25421. type: string
  25422. - description: 是否包含子级 1-包含
  25423. in: query
  25424. name: includesub
  25425. type: integer
  25426. produces:
  25427. - application/json
  25428. responses:
  25429. "200":
  25430. description: OK
  25431. schema:
  25432. items:
  25433. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25434. type: array
  25435. "500":
  25436. description: Internal Server Error
  25437. schema:
  25438. $ref: '#/definitions/app.Response'
  25439. security:
  25440. - ApiKeyAuth: []
  25441. summary: 查询持仓汇总
  25442. tags:
  25443. - 大连千海金(PCWeb)
  25444. /QhjSys/QueryAgreementChangeLog:
  25445. get:
  25446. parameters:
  25447. - description: 协议ID
  25448. in: query
  25449. name: agreementid
  25450. type: integer
  25451. - description: 协议版本号
  25452. in: query
  25453. name: agreementversion
  25454. type: integer
  25455. - description: 协议类型 - 1:注册 2:登录 3:交易
  25456. in: query
  25457. name: agreementtype
  25458. type: integer
  25459. - description: 协议编号(模糊匹配)
  25460. in: query
  25461. name: agreementno
  25462. type: string
  25463. - description: 协议名称(模糊匹配)
  25464. in: query
  25465. name: agreementname
  25466. type: string
  25467. produces:
  25468. - application/json
  25469. responses:
  25470. "200":
  25471. description: OK
  25472. schema:
  25473. items:
  25474. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25475. type: array
  25476. "500":
  25477. description: Internal Server Error
  25478. schema:
  25479. $ref: '#/definitions/app.Response'
  25480. security:
  25481. - ApiKeyAuth: []
  25482. summary: 查询协议配置变更流水
  25483. tags:
  25484. - 大连千海金(协议和签约信息)
  25485. /QhjSys/QueryAgreementConfig:
  25486. get:
  25487. parameters:
  25488. - description: 协议ID
  25489. in: query
  25490. name: agreementid
  25491. type: integer
  25492. - description: 协议版本号
  25493. in: query
  25494. name: agreementversion
  25495. type: integer
  25496. - description: 协议类型 - 1:注册 2:登录 3:交易
  25497. in: query
  25498. name: agreementtype
  25499. type: integer
  25500. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25501. in: query
  25502. name: isvalid
  25503. type: integer
  25504. - description: 协议编号(模糊匹配)
  25505. in: query
  25506. name: agreementno
  25507. type: string
  25508. - description: 协议名称(模糊匹配)
  25509. in: query
  25510. name: agreementname
  25511. type: string
  25512. produces:
  25513. - application/json
  25514. responses:
  25515. "200":
  25516. description: OK
  25517. schema:
  25518. items:
  25519. $ref: '#/definitions/models.QhjAgreementConfig'
  25520. type: array
  25521. "500":
  25522. description: Internal Server Error
  25523. schema:
  25524. $ref: '#/definitions/app.Response'
  25525. security:
  25526. - ApiKeyAuth: []
  25527. summary: 查询协议配置
  25528. tags:
  25529. - 大连千海金(协议和签约信息)
  25530. /QhjSys/QueryCustomerSignStatus:
  25531. get:
  25532. parameters:
  25533. - description: 客户ID
  25534. in: query
  25535. name: userid
  25536. type: integer
  25537. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25538. in: query
  25539. name: nodetype
  25540. type: integer
  25541. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25542. in: query
  25543. name: goodsid
  25544. type: integer
  25545. - description: 创建交易日(yyyyMMdd)
  25546. in: query
  25547. name: tradedate
  25548. type: string
  25549. - description: 用户名称(模糊匹配)
  25550. in: query
  25551. name: username
  25552. type: string
  25553. produces:
  25554. - application/json
  25555. responses:
  25556. "200":
  25557. description: OK
  25558. schema:
  25559. items:
  25560. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25561. type: array
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 查询客户协议签约状态
  25569. tags:
  25570. - 大连千海金(协议和签约信息)
  25571. /QhjSys/QueryNodeAgreementConfig:
  25572. get:
  25573. parameters:
  25574. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25575. in: query
  25576. name: configid
  25577. type: integer
  25578. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25579. in: query
  25580. name: nodetype
  25581. type: integer
  25582. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25583. in: query
  25584. name: goodsid
  25585. type: integer
  25586. - description: 协议ID
  25587. in: query
  25588. name: agreementid
  25589. type: integer
  25590. - description: 协议类型 - 1:注册 2:登录 3:交易
  25591. in: query
  25592. name: agreementtype
  25593. type: integer
  25594. - description: 协议版本号
  25595. in: query
  25596. name: agreementversion
  25597. type: integer
  25598. - description: 协议编号(模糊匹配)
  25599. in: query
  25600. name: agreementno
  25601. type: string
  25602. - description: 协议名称(模糊匹配)
  25603. in: query
  25604. name: agreementname
  25605. type: string
  25606. produces:
  25607. - application/json
  25608. responses:
  25609. "200":
  25610. description: OK
  25611. schema:
  25612. items:
  25613. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25614. type: array
  25615. "500":
  25616. description: Internal Server Error
  25617. schema:
  25618. $ref: '#/definitions/app.Response'
  25619. security:
  25620. - ApiKeyAuth: []
  25621. summary: 查询协议节点配置
  25622. tags:
  25623. - 大连千海金(协议和签约信息)
  25624. /QhjSys/QueryQhjCustomerSignLog:
  25625. get:
  25626. parameters:
  25627. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25628. in: query
  25629. name: logid
  25630. type: integer
  25631. - description: 客户ID
  25632. in: query
  25633. name: userid
  25634. type: integer
  25635. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25636. in: query
  25637. name: nodetype
  25638. type: integer
  25639. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25640. in: query
  25641. name: goodsid
  25642. type: integer
  25643. - description: 协议ID
  25644. in: query
  25645. name: agreementid
  25646. type: integer
  25647. - description: 用户名称(模糊匹配)
  25648. in: query
  25649. name: username
  25650. type: string
  25651. - description: 协议编号(模糊匹配)
  25652. in: query
  25653. name: agreementno
  25654. type: string
  25655. - description: 协议名称(模糊匹配)
  25656. in: query
  25657. name: agreementname
  25658. type: string
  25659. produces:
  25660. - application/json
  25661. responses:
  25662. "200":
  25663. description: OK
  25664. schema:
  25665. items:
  25666. $ref: '#/definitions/models.QhjCustomerSignLog'
  25667. type: array
  25668. "500":
  25669. description: Internal Server Error
  25670. schema:
  25671. $ref: '#/definitions/app.Response'
  25672. security:
  25673. - ApiKeyAuth: []
  25674. summary: 查询客户协议签约流水
  25675. tags:
  25676. - 大连千海金(协议和签约信息)
  25677. /QhjSys/QueryUserNodeCfgAndStatus:
  25678. get:
  25679. parameters:
  25680. - description: 客户ID
  25681. in: query
  25682. name: userid
  25683. type: integer
  25684. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25685. in: query
  25686. name: configid
  25687. type: integer
  25688. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25689. in: query
  25690. name: nodetype
  25691. type: string
  25692. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25693. in: query
  25694. name: goodsid
  25695. type: integer
  25696. - description: 协议ID
  25697. in: query
  25698. name: agreementid
  25699. type: integer
  25700. - description: 协议类型 - 1:注册 2:登录 3:交易
  25701. in: query
  25702. name: agreementtype
  25703. type: integer
  25704. - description: 协议版本号
  25705. in: query
  25706. name: agreementversion
  25707. type: integer
  25708. - description: 协议编号(模糊匹配)
  25709. in: query
  25710. name: agreementno
  25711. type: string
  25712. - description: 协议名称(模糊匹配)
  25713. in: query
  25714. name: agreementname
  25715. type: string
  25716. produces:
  25717. - application/json
  25718. responses:
  25719. "200":
  25720. description: OK
  25721. schema:
  25722. items:
  25723. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25724. type: array
  25725. "500":
  25726. description: Internal Server Error
  25727. schema:
  25728. $ref: '#/definitions/app.Response'
  25729. security:
  25730. - ApiKeyAuth: []
  25731. summary: 查询用户协议节点配置和状态
  25732. tags:
  25733. - 大连千海金(协议和签约信息)
  25734. /Quote/QueryHistoryDatas:
  25735. get:
  25736. parameters:
  25737. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25738. in: query
  25739. name: cycleType
  25740. required: true
  25741. type: integer
  25742. - description: 商品代码
  25743. in: query
  25744. name: goodsCode
  25745. required: true
  25746. type: string
  25747. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25748. in: query
  25749. name: startTime
  25750. type: string
  25751. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25752. in: query
  25753. name: endTime
  25754. type: string
  25755. - description: 条数
  25756. in: query
  25757. name: count
  25758. type: integer
  25759. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25760. in: query
  25761. name: isAsc
  25762. type: boolean
  25763. produces:
  25764. - application/json
  25765. responses:
  25766. "200":
  25767. description: OK
  25768. schema:
  25769. $ref: '#/definitions/quote.HistoryData'
  25770. "500":
  25771. description: Internal Server Error
  25772. schema:
  25773. $ref: '#/definitions/app.Response'
  25774. security:
  25775. - ApiKeyAuth: []
  25776. summary: 查询行情历史数据
  25777. tags:
  25778. - 行情服务
  25779. /Quote/QueryHistoryTikDatas:
  25780. get:
  25781. parameters:
  25782. - description: 商品代码
  25783. in: query
  25784. name: goodsCode
  25785. required: true
  25786. type: string
  25787. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25788. in: query
  25789. name: startTime
  25790. type: string
  25791. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25792. in: query
  25793. name: endTime
  25794. type: string
  25795. - description: 条数
  25796. in: query
  25797. name: count
  25798. type: integer
  25799. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25800. in: query
  25801. name: isAsc
  25802. type: boolean
  25803. produces:
  25804. - application/json
  25805. responses:
  25806. "200":
  25807. description: OK
  25808. schema:
  25809. $ref: '#/definitions/quote.HistoryTikData'
  25810. "500":
  25811. description: Internal Server Error
  25812. schema:
  25813. $ref: '#/definitions/app.Response'
  25814. security:
  25815. - ApiKeyAuth: []
  25816. summary: 查询行情Tik数据
  25817. tags:
  25818. - 行情服务
  25819. /Quote/QueryQuoteDay:
  25820. get:
  25821. parameters:
  25822. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25823. in: query
  25824. name: goodsCodes
  25825. required: true
  25826. type: string
  25827. produces:
  25828. - application/json
  25829. responses:
  25830. "200":
  25831. description: OK
  25832. schema:
  25833. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25834. "500":
  25835. description: Internal Server Error
  25836. schema:
  25837. $ref: '#/definitions/app.Response'
  25838. security:
  25839. - ApiKeyAuth: []
  25840. summary: 获取商品盘面信息
  25841. tags:
  25842. - 行情服务
  25843. /Quote/QueryTSData:
  25844. get:
  25845. parameters:
  25846. - description: 商品代码
  25847. in: query
  25848. name: goodsCode
  25849. required: true
  25850. type: string
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. $ref: '#/definitions/quote.QueryTSDataRsp'
  25858. "500":
  25859. description: Internal Server Error
  25860. schema:
  25861. $ref: '#/definitions/app.Response'
  25862. security:
  25863. - ApiKeyAuth: []
  25864. summary: 分时图数据查询
  25865. tags:
  25866. - 行情服务
  25867. /SZDZ/QueryConvertConfig:
  25868. get:
  25869. parameters:
  25870. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25871. in: query
  25872. name: convertType
  25873. type: integer
  25874. - description: 外部商品代码[JD\PD]
  25875. in: query
  25876. name: outerGoodsCode
  25877. type: string
  25878. - description: 内部商品ID列表[交易],格式:1,2,3
  25879. in: query
  25880. name: innerGoodsIDs
  25881. type: string
  25882. produces:
  25883. - application/json
  25884. responses:
  25885. "200":
  25886. description: OK
  25887. schema:
  25888. $ref: '#/definitions/models.Szdz3convertconfig'
  25889. "500":
  25890. description: Internal Server Error
  25891. schema:
  25892. $ref: '#/definitions/app.Response'
  25893. security:
  25894. - ApiKeyAuth: []
  25895. summary: 查询交易系统转换设置
  25896. tags:
  25897. - 定制【尚志大宗】
  25898. /SZDZ/QueryConvertLog:
  25899. get:
  25900. parameters:
  25901. - description: 资金账户 - 格式:1,2,3
  25902. in: query
  25903. name: accountID
  25904. required: true
  25905. type: string
  25906. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25907. in: query
  25908. name: startDate
  25909. type: string
  25910. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25911. in: query
  25912. name: endDate
  25913. type: string
  25914. produces:
  25915. - application/json
  25916. responses:
  25917. "200":
  25918. description: OK
  25919. schema:
  25920. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25921. "500":
  25922. description: Internal Server Error
  25923. schema:
  25924. $ref: '#/definitions/app.Response'
  25925. security:
  25926. - ApiKeyAuth: []
  25927. summary: 交易系统转换流水查询
  25928. tags:
  25929. - 定制【尚志大宗】
  25930. /SZDZ/QueryGoodsPickup:
  25931. get:
  25932. parameters:
  25933. - description: 资金账户 - 格式:1,2,3
  25934. in: query
  25935. name: accountID
  25936. required: true
  25937. type: string
  25938. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25939. in: query
  25940. name: takeOrderStatus
  25941. type: integer
  25942. produces:
  25943. - application/json
  25944. responses:
  25945. "200":
  25946. description: OK
  25947. schema:
  25948. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25949. "500":
  25950. description: Internal Server Error
  25951. schema:
  25952. $ref: '#/definitions/app.Response'
  25953. security:
  25954. - ApiKeyAuth: []
  25955. summary: 商品提货单查询
  25956. tags:
  25957. - 定制【尚志大宗】
  25958. /SZDZ/QueryRecieptOrder:
  25959. get:
  25960. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25961. parameters:
  25962. - description: 页码
  25963. in: query
  25964. name: page
  25965. type: integer
  25966. - description: 每页条数
  25967. in: query
  25968. name: pagesize
  25969. type: integer
  25970. - description: 商品ID
  25971. in: query
  25972. name: goodsID
  25973. required: true
  25974. type: integer
  25975. - description: 所属账户名称
  25976. in: query
  25977. name: accountName
  25978. type: string
  25979. - description: 市场ID
  25980. in: query
  25981. name: marketID
  25982. type: integer
  25983. - description: 方向 - 0:买 1:卖
  25984. in: query
  25985. name: buyorsell
  25986. required: true
  25987. type: integer
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25995. "500":
  25996. description: Internal Server Error
  25997. schema:
  25998. $ref: '#/definitions/app.Response'
  25999. security:
  26000. - ApiKeyAuth: []
  26001. summary: 点选挂牌委托单据查询(摘牌大厅)
  26002. tags:
  26003. - 定制【尚志大宗】
  26004. /SZDZ/QuerySZDZTradePosition:
  26005. get:
  26006. parameters:
  26007. - description: 资金账户
  26008. in: query
  26009. name: accountID
  26010. required: true
  26011. type: integer
  26012. produces:
  26013. - application/json
  26014. responses:
  26015. "200":
  26016. description: OK
  26017. schema:
  26018. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 持仓汇总查询(尚志大宗)
  26026. tags:
  26027. - 定制【尚志大宗】
  26028. /SZDZ/SearchWhite:
  26029. get:
  26030. parameters:
  26031. - description: 用户ID
  26032. in: query
  26033. name: userID
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. security:
  26048. - ApiKeyAuth: []
  26049. summary: 搜索白名单
  26050. tags:
  26051. - 定制【尚志大宗】
  26052. /Search/SearchGoodses:
  26053. get:
  26054. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26055. parameters:
  26056. - description: 检索内容
  26057. in: query
  26058. name: content
  26059. required: true
  26060. type: string
  26061. - description: 交易模式,格式:1,2,3
  26062. in: query
  26063. name: tradeModes
  26064. type: string
  26065. produces:
  26066. - application/json
  26067. responses:
  26068. "200":
  26069. description: OK
  26070. schema:
  26071. $ref: '#/definitions/models.SearchGoods'
  26072. "500":
  26073. description: Internal Server Error
  26074. schema:
  26075. $ref: '#/definitions/app.Response'
  26076. summary: 检索商品信息
  26077. tags:
  26078. - 检索服务
  26079. /TaAccount/GetTaAccounts:
  26080. get:
  26081. parameters:
  26082. - description: 登录账户
  26083. in: query
  26084. name: loginID
  26085. required: true
  26086. type: integer
  26087. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26088. in: query
  26089. name: taAccountType
  26090. type: integer
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. $ref: '#/definitions/models.Taaccount'
  26098. "500":
  26099. description: Internal Server Error
  26100. schema:
  26101. $ref: '#/definitions/app.Response'
  26102. security:
  26103. - ApiKeyAuth: []
  26104. summary: 获取资金账户信息
  26105. tags:
  26106. - 资金账户
  26107. /TaAccount/QueryAmountLog:
  26108. get:
  26109. parameters:
  26110. - description: 页码
  26111. in: query
  26112. name: page
  26113. type: integer
  26114. - description: 每页条数
  26115. in: query
  26116. name: pagesize
  26117. type: integer
  26118. - description: 资金账户 - 格式:1,2,3
  26119. in: query
  26120. name: accountID
  26121. required: true
  26122. type: string
  26123. - description: 资金操作类型 - 格式:1,2,3
  26124. in: query
  26125. name: OperateType
  26126. type: string
  26127. produces:
  26128. - application/json
  26129. responses:
  26130. "200":
  26131. description: OK
  26132. schema:
  26133. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26134. "500":
  26135. description: Internal Server Error
  26136. schema:
  26137. $ref: '#/definitions/app.Response'
  26138. security:
  26139. - ApiKeyAuth: []
  26140. summary: 资金流水查询(当前)
  26141. tags:
  26142. - 资金账户
  26143. /TaAccount/QueryHisAmountLog:
  26144. get:
  26145. parameters:
  26146. - description: 页码
  26147. in: query
  26148. name: page
  26149. type: integer
  26150. - description: 每页条数
  26151. in: query
  26152. name: pagesize
  26153. type: integer
  26154. - description: 资金账户 - 格式:1,2,3
  26155. in: query
  26156. name: accountID
  26157. required: true
  26158. type: string
  26159. - description: 资金操作类型 - 格式:1,2,3
  26160. in: query
  26161. name: OperateType
  26162. type: string
  26163. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26164. in: query
  26165. name: startDate
  26166. type: string
  26167. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26168. in: query
  26169. name: endDate
  26170. type: string
  26171. produces:
  26172. - application/json
  26173. responses:
  26174. "200":
  26175. description: OK
  26176. schema:
  26177. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26178. "500":
  26179. description: Internal Server Error
  26180. schema:
  26181. $ref: '#/definitions/app.Response'
  26182. security:
  26183. - ApiKeyAuth: []
  26184. summary: 资金流水查询(历史)
  26185. tags:
  26186. - 资金账户
  26187. /Tjmd/QueryQuoteGoodsList:
  26188. get:
  26189. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26190. parameters:
  26191. - description: 用户类型
  26192. in: query
  26193. name: usertype
  26194. required: true
  26195. type: integer
  26196. - description: 市场id, 格式 1,2,3
  26197. in: query
  26198. name: marketids
  26199. type: string
  26200. - description: 商品组id
  26201. in: query
  26202. name: goodsgroupid
  26203. type: integer
  26204. - description: 商品id
  26205. in: query
  26206. name: goodsid
  26207. type: integer
  26208. produces:
  26209. - application/json
  26210. responses:
  26211. "200":
  26212. description: OK
  26213. schema:
  26214. items:
  26215. $ref: '#/definitions/models.TjmdQuoteGoods'
  26216. type: array
  26217. "500":
  26218. description: Internal Server Error
  26219. schema:
  26220. $ref: '#/definitions/app.Response'
  26221. security:
  26222. - ApiKeyAuth: []
  26223. summary: 查询掉期报价列表
  26224. tags:
  26225. - 天津麦顿
  26226. /Tjmd/QueryTjmdMarketSection:
  26227. get:
  26228. produces:
  26229. - application/json
  26230. responses:
  26231. "200":
  26232. description: OK
  26233. schema:
  26234. items:
  26235. $ref: '#/definitions/models.TjmdMarketSection'
  26236. type: array
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. security:
  26242. - ApiKeyAuth: []
  26243. summary: 查询市场板块
  26244. tags:
  26245. - 天津麦顿
  26246. /Tjmd/QueryTjmdTodayAccountMargin:
  26247. get:
  26248. parameters:
  26249. - description: 市场id
  26250. in: query
  26251. name: marketid
  26252. type: string
  26253. - description: 商品id
  26254. in: query
  26255. name: goodsid
  26256. type: string
  26257. - description: 资金账号
  26258. in: query
  26259. name: accountid
  26260. type: string
  26261. produces:
  26262. - application/json
  26263. responses:
  26264. "200":
  26265. description: OK
  26266. schema:
  26267. items:
  26268. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26269. type: array
  26270. "500":
  26271. description: Internal Server Error
  26272. schema:
  26273. $ref: '#/definitions/app.Response'
  26274. security:
  26275. - ApiKeyAuth: []
  26276. summary: 查询今日账户保证金配置
  26277. tags:
  26278. - 天津麦顿
  26279. /Tjmd/QueryTjmdTradeOrderDetail:
  26280. get:
  26281. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26282. parameters:
  26283. - description: 页码
  26284. in: query
  26285. name: page
  26286. type: integer
  26287. - description: 每页条数
  26288. in: query
  26289. name: pagesize
  26290. type: integer
  26291. - description: 用户id
  26292. in: query
  26293. name: userid
  26294. required: true
  26295. type: integer
  26296. - description: 用户类型
  26297. in: query
  26298. name: usertype
  26299. required: true
  26300. type: integer
  26301. - description: 市场id, 格式 1,2,3
  26302. in: query
  26303. name: marketids
  26304. type: string
  26305. - description: 商品id
  26306. in: query
  26307. name: goodsid
  26308. required: true
  26309. type: integer
  26310. - description: 买卖方向 0-买 1-卖
  26311. in: query
  26312. name: buyorsell
  26313. required: true
  26314. type: integer
  26315. produces:
  26316. - application/json
  26317. responses:
  26318. "200":
  26319. description: OK
  26320. schema:
  26321. items:
  26322. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26323. type: array
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 查询掉期买卖大厅
  26331. tags:
  26332. - 天津麦顿
  26333. /Tjmd/QueryTjmdTransferApply:
  26334. get:
  26335. parameters:
  26336. - description: 类型 1-我的申请 2-对方申请
  26337. in: query
  26338. name: applytype
  26339. required: true
  26340. type: integer
  26341. - description: 市场id, 格式 1,2,3
  26342. in: query
  26343. name: marketids
  26344. type: string
  26345. - description: 资金账号, 格式 25000000001,25000000003
  26346. in: query
  26347. name: accountids
  26348. type: string
  26349. - description: 开始交易日(yyyymmdd)
  26350. in: query
  26351. name: begindate
  26352. type: string
  26353. - description: 结束交易日(yyyymmdd)
  26354. in: query
  26355. name: enddate
  26356. type: string
  26357. produces:
  26358. - application/json
  26359. responses:
  26360. "200":
  26361. description: OK
  26362. schema:
  26363. items:
  26364. $ref: '#/definitions/models.TjmdTransferApply'
  26365. type: array
  26366. "500":
  26367. description: Internal Server Error
  26368. schema:
  26369. $ref: '#/definitions/app.Response'
  26370. security:
  26371. - ApiKeyAuth: []
  26372. summary: 查询掉期协议单
  26373. tags:
  26374. - 天津麦顿
  26375. /Trade/QueryRecieptOrder:
  26376. get:
  26377. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26378. parameters:
  26379. - description: 页码
  26380. in: query
  26381. name: page
  26382. type: integer
  26383. - description: 每页条数
  26384. in: query
  26385. name: pagesize
  26386. type: integer
  26387. - description: 商品ID
  26388. in: query
  26389. name: goodsID
  26390. required: true
  26391. type: integer
  26392. - description: 所属账户名称
  26393. in: query
  26394. name: accountName
  26395. type: string
  26396. - description: 市场ID
  26397. in: query
  26398. name: marketID
  26399. type: integer
  26400. - description: 方向 - 0:买 1:卖
  26401. in: query
  26402. name: buyorsell
  26403. required: true
  26404. type: integer
  26405. produces:
  26406. - application/json
  26407. responses:
  26408. "200":
  26409. description: OK
  26410. schema:
  26411. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26412. "500":
  26413. description: Internal Server Error
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. security:
  26417. - ApiKeyAuth: []
  26418. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26419. tags:
  26420. - 通用交易
  26421. /User/AddMessageBoard:
  26422. post:
  26423. parameters:
  26424. - description: 用户ID
  26425. in: query
  26426. name: userID
  26427. required: true
  26428. type: integer
  26429. - description: 留言信息
  26430. in: query
  26431. name: message
  26432. required: true
  26433. type: string
  26434. - description: 联系电话
  26435. in: query
  26436. name: contactNum
  26437. required: true
  26438. type: string
  26439. produces:
  26440. - application/json
  26441. responses:
  26442. "200":
  26443. description: OK
  26444. schema:
  26445. $ref: '#/definitions/app.Response'
  26446. "500":
  26447. description: Internal Server Error
  26448. schema:
  26449. $ref: '#/definitions/app.Response'
  26450. security:
  26451. - ApiKeyAuth: []
  26452. summary: 添加用户留言板信息
  26453. tags:
  26454. - 用户信息
  26455. /User/AddUserFavoriteGoods:
  26456. post:
  26457. parameters:
  26458. - description: 用户ID
  26459. in: query
  26460. name: userID
  26461. required: true
  26462. type: integer
  26463. - description: 商品ID
  26464. in: query
  26465. name: goodsID
  26466. required: true
  26467. type: integer
  26468. produces:
  26469. - application/json
  26470. responses:
  26471. "200":
  26472. description: OK
  26473. schema:
  26474. $ref: '#/definitions/app.Response'
  26475. "500":
  26476. description: Internal Server Error
  26477. schema:
  26478. $ref: '#/definitions/app.Response'
  26479. security:
  26480. - ApiKeyAuth: []
  26481. summary: 添加用户商品收藏信息
  26482. tags:
  26483. - 用户信息
  26484. /User/GetLoginID:
  26485. get:
  26486. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26487. parameters:
  26488. - description: 登录代码
  26489. in: query
  26490. name: username
  26491. required: true
  26492. type: string
  26493. produces:
  26494. - application/json
  26495. responses:
  26496. "200":
  26497. description: OK
  26498. schema:
  26499. $ref: '#/definitions/app.Response'
  26500. "500":
  26501. description: Internal Server Error
  26502. schema:
  26503. $ref: '#/definitions/app.Response'
  26504. summary: 获取登录ID
  26505. tags:
  26506. - 用户信息
  26507. /User/GetUserAccount:
  26508. get:
  26509. parameters:
  26510. - description: 用户ID
  26511. in: query
  26512. name: userID
  26513. required: true
  26514. type: integer
  26515. produces:
  26516. - application/json
  26517. responses:
  26518. "200":
  26519. description: OK
  26520. schema:
  26521. $ref: '#/definitions/models.Useraccount'
  26522. "500":
  26523. description: Internal Server Error
  26524. schema:
  26525. $ref: '#/definitions/app.Response'
  26526. security:
  26527. - ApiKeyAuth: []
  26528. summary: 获取用户账号信息
  26529. tags:
  26530. - 用户信息
  26531. /User/GetUserAuthStatus:
  26532. get:
  26533. parameters:
  26534. - description: 用户ID
  26535. in: query
  26536. name: userID
  26537. required: true
  26538. type: integer
  26539. produces:
  26540. - application/json
  26541. responses:
  26542. "200":
  26543. description: OK
  26544. schema:
  26545. $ref: '#/definitions/app.Response'
  26546. "500":
  26547. description: Internal Server Error
  26548. schema:
  26549. $ref: '#/definitions/app.Response'
  26550. security:
  26551. - ApiKeyAuth: []
  26552. summary: 获取用户实名认证状态
  26553. tags:
  26554. - 用户信息
  26555. /User/LoginQuery:
  26556. get:
  26557. parameters:
  26558. - description: 登录账号
  26559. in: query
  26560. name: loginID
  26561. required: true
  26562. type: integer
  26563. produces:
  26564. - application/json
  26565. responses:
  26566. "200":
  26567. description: OK
  26568. schema:
  26569. $ref: '#/definitions/user.LoginQueryRsp'
  26570. "500":
  26571. description: Internal Server Error
  26572. schema:
  26573. $ref: '#/definitions/app.Response'
  26574. security:
  26575. - ApiKeyAuth: []
  26576. summary: 账户登录后信息查询
  26577. tags:
  26578. - 用户信息
  26579. /User/QueryMessageBoard:
  26580. get:
  26581. parameters:
  26582. - description: 用户ID
  26583. in: query
  26584. name: userID
  26585. required: true
  26586. type: integer
  26587. produces:
  26588. - application/json
  26589. responses:
  26590. "200":
  26591. description: OK
  26592. schema:
  26593. $ref: '#/definitions/models.Messageboard'
  26594. "500":
  26595. description: Internal Server Error
  26596. schema:
  26597. $ref: '#/definitions/app.Response'
  26598. security:
  26599. - ApiKeyAuth: []
  26600. summary: 获取用户留言板信息
  26601. tags:
  26602. - 用户信息
  26603. /User/QueryUserFavoriteGoodses:
  26604. get:
  26605. parameters:
  26606. - description: 用户ID
  26607. in: query
  26608. name: userID
  26609. required: true
  26610. type: integer
  26611. produces:
  26612. - application/json
  26613. responses:
  26614. "200":
  26615. description: OK
  26616. schema:
  26617. $ref: '#/definitions/models.Userfavoritegoods'
  26618. "500":
  26619. description: Internal Server Error
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. security:
  26623. - ApiKeyAuth: []
  26624. summary: 获取用户商品收藏信息
  26625. tags:
  26626. - 用户信息
  26627. /User/QueryUserInfo:
  26628. get:
  26629. parameters:
  26630. - description: 用户ID
  26631. in: query
  26632. name: userID
  26633. required: true
  26634. type: integer
  26635. - description: 是否解密
  26636. in: query
  26637. name: isDecrypt
  26638. type: boolean
  26639. produces:
  26640. - application/json
  26641. responses:
  26642. "200":
  26643. description: OK
  26644. schema:
  26645. $ref: '#/definitions/models.Userinfo'
  26646. "500":
  26647. description: Internal Server Error
  26648. schema:
  26649. $ref: '#/definitions/app.Response'
  26650. security:
  26651. - ApiKeyAuth: []
  26652. summary: 获取用户信息
  26653. tags:
  26654. - 用户信息
  26655. /User/QueryUserReferNum:
  26656. get:
  26657. parameters:
  26658. - description: 用户ID
  26659. in: query
  26660. name: userID
  26661. required: true
  26662. type: integer
  26663. produces:
  26664. - application/json
  26665. responses:
  26666. "200":
  26667. description: OK
  26668. schema:
  26669. $ref: '#/definitions/app.Response'
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. summary: 获取用户邀请码
  26675. tags:
  26676. - 用户信息
  26677. /User/RemoveUserFavoriteGoods:
  26678. post:
  26679. parameters:
  26680. - description: 用户ID
  26681. in: query
  26682. name: userID
  26683. required: true
  26684. type: integer
  26685. - description: 商品ID
  26686. in: query
  26687. name: goodsID
  26688. required: true
  26689. type: integer
  26690. produces:
  26691. - application/json
  26692. responses:
  26693. "200":
  26694. description: OK
  26695. schema:
  26696. $ref: '#/definitions/app.Response'
  26697. "500":
  26698. description: Internal Server Error
  26699. schema:
  26700. $ref: '#/definitions/app.Response'
  26701. security:
  26702. - ApiKeyAuth: []
  26703. summary: 移除用户商品收藏信息
  26704. tags:
  26705. - 用户信息
  26706. /User/UpdateUserAccountStatus:
  26707. post:
  26708. parameters:
  26709. - description: 用户ID
  26710. in: query
  26711. name: userID
  26712. required: true
  26713. type: integer
  26714. - description: 账户状态 - 4:正常 6:注销(停用)
  26715. in: query
  26716. name: accountStatus
  26717. required: true
  26718. type: integer
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. $ref: '#/definitions/app.Response'
  26726. "500":
  26727. description: Internal Server Error
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. security:
  26731. - ApiKeyAuth: []
  26732. summary: 更新用户状态
  26733. tags:
  26734. - 用户信息
  26735. /WRTrade/GetAllDeliveryGoods:
  26736. get:
  26737. produces:
  26738. - application/json
  26739. - application/json
  26740. responses:
  26741. "200":
  26742. description: OK
  26743. schema:
  26744. $ref: '#/definitions/app.Response'
  26745. "500":
  26746. description: Internal Server Error
  26747. schema:
  26748. $ref: '#/definitions/app.Response'
  26749. security:
  26750. - ApiKeyAuth: []
  26751. - ApiKeyAuth: []
  26752. summary: 获取带仓单分类的种类信息
  26753. tags:
  26754. - 仓单贸易
  26755. - 仓单贸易
  26756. /WrTrade2/QueryDeliveryGoodsSection:
  26757. get:
  26758. produces:
  26759. - application/json
  26760. responses:
  26761. "200":
  26762. description: OK
  26763. schema:
  26764. items:
  26765. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26766. type: array
  26767. "500":
  26768. description: Internal Server Error
  26769. schema:
  26770. $ref: '#/definitions/app.Response'
  26771. security:
  26772. - ApiKeyAuth: []
  26773. summary: 查询板块(分类)
  26774. tags:
  26775. - 仓单贸易v2
  26776. /WrTrade2/QueryFaProductDetail:
  26777. get:
  26778. description: 页面 买卖大厅 -> 选择融资方案
  26779. parameters:
  26780. - description: 仓单要素id
  26781. in: query
  26782. name: wrfactortypeid
  26783. required: true
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.WrFAProductDetail'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询融资产品列表
  26801. tags:
  26802. - 仓单贸易v2
  26803. /WrTrade2/QueryFilterItem:
  26804. get:
  26805. parameters:
  26806. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26807. in: query
  26808. name: itype
  26809. required: true
  26810. type: string
  26811. produces:
  26812. - application/json
  26813. responses:
  26814. "200":
  26815. description: OK
  26816. schema:
  26817. items:
  26818. $ref: '#/definitions/models.WrFilterItem'
  26819. type: array
  26820. "500":
  26821. description: Internal Server Error
  26822. schema:
  26823. $ref: '#/definitions/app.Response'
  26824. security:
  26825. - ApiKeyAuth: []
  26826. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26827. tags:
  26828. - 仓单贸易v2
  26829. /WrTrade2/QueryFtDeliveryGoods:
  26830. get:
  26831. produces:
  26832. - application/json
  26833. responses:
  26834. "200":
  26835. description: OK
  26836. schema:
  26837. items:
  26838. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26839. type: array
  26840. "500":
  26841. description: Internal Server Error
  26842. schema:
  26843. $ref: '#/definitions/app.Response'
  26844. security:
  26845. - ApiKeyAuth: []
  26846. summary: 查询品种品类筛选框列表
  26847. tags:
  26848. - 仓单贸易v2
  26849. /WrTrade2/QueryHoldLB:
  26850. get:
  26851. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26852. parameters:
  26853. - description: 资金账号
  26854. in: query
  26855. name: accountid
  26856. required: true
  26857. type: integer
  26858. - description: 仓库id
  26859. in: query
  26860. name: warehouseid
  26861. type: integer
  26862. - description: 品种id
  26863. in: query
  26864. name: deliverygoodsid
  26865. type: integer
  26866. - description: 品类id
  26867. in: query
  26868. name: wrstandardid
  26869. type: integer
  26870. - description: 仓单要素id
  26871. in: query
  26872. name: wrfactortypeid
  26873. type: integer
  26874. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26875. in: query
  26876. name: dgitemname
  26877. type: string
  26878. produces:
  26879. - application/json
  26880. responses:
  26881. "200":
  26882. description: OK
  26883. schema:
  26884. items:
  26885. $ref: '#/definitions/models.WrHoldLB'
  26886. type: array
  26887. "500":
  26888. description: Internal Server Error
  26889. schema:
  26890. $ref: '#/definitions/app.Response'
  26891. security:
  26892. - ApiKeyAuth: []
  26893. summary: 查询仓单持有记录
  26894. tags:
  26895. - 仓单贸易v2
  26896. /WrTrade2/QueryOrderQuote:
  26897. get:
  26898. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26899. parameters:
  26900. - description: 页码
  26901. in: query
  26902. name: page
  26903. type: integer
  26904. - description: 每页条数
  26905. in: query
  26906. name: pagesize
  26907. type: integer
  26908. - description: 仓单贸易市场id
  26909. in: query
  26910. name: marketid
  26911. type: integer
  26912. - description: 价格方式 - 1:固定价 2-浮动价
  26913. in: query
  26914. name: wrpricetype
  26915. required: true
  26916. type: integer
  26917. - description: 0:仓单预售 1:仓单贸易
  26918. in: query
  26919. name: haswr
  26920. type: integer
  26921. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26922. in: query
  26923. name: dgitemname
  26924. type: string
  26925. - description: 仓库id(筛选条件)
  26926. in: query
  26927. name: warehouseid
  26928. type: integer
  26929. - description: 品种id
  26930. in: query
  26931. name: deliverygoodsid
  26932. type: integer
  26933. - description: 品类id
  26934. in: query
  26935. name: wrstandardid
  26936. type: integer
  26937. - description: 仓单要素id
  26938. in: query
  26939. name: wrfactortypeid
  26940. type: integer
  26941. - description: 交收月(yyyy-mm) 仓单预售填写
  26942. in: query
  26943. name: deliverymonth
  26944. type: string
  26945. produces:
  26946. - application/json
  26947. responses:
  26948. "200":
  26949. description: OK
  26950. schema:
  26951. items:
  26952. $ref: '#/definitions/models.WrOrderQuote'
  26953. type: array
  26954. "500":
  26955. description: Internal Server Error
  26956. schema:
  26957. $ref: '#/definitions/app.Response'
  26958. security:
  26959. - ApiKeyAuth: []
  26960. summary: 查询大厅行情列表
  26961. tags:
  26962. - 仓单贸易v2
  26963. /WrTrade2/QueryOrderQuoteDetail:
  26964. get:
  26965. parameters:
  26966. - description: 页码
  26967. in: query
  26968. name: page
  26969. type: integer
  26970. - description: 每页条数
  26971. in: query
  26972. name: pagesize
  26973. type: integer
  26974. - description: 仓单贸易市场id
  26975. in: query
  26976. name: marketid
  26977. type: integer
  26978. - description: 价格方式 - 1:固定价 2-浮动价
  26979. in: query
  26980. name: wrpricetype
  26981. required: true
  26982. type: integer
  26983. - description: 0:仓单预售 1:仓单贸易
  26984. in: query
  26985. name: haswr
  26986. type: integer
  26987. - description: 仓单要素id
  26988. in: query
  26989. name: wrfactortypeid
  26990. required: true
  26991. type: integer
  26992. - description: 期货商品id(浮动价方式时填)
  26993. in: query
  26994. name: goodsid
  26995. type: integer
  26996. - description: 买卖方向 0-买 1-卖
  26997. in: query
  26998. name: buyorsell
  26999. required: true
  27000. type: integer
  27001. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27002. in: query
  27003. name: deliverymonth
  27004. type: string
  27005. produces:
  27006. - application/json
  27007. responses:
  27008. "200":
  27009. description: OK
  27010. schema:
  27011. items:
  27012. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27013. type: array
  27014. "500":
  27015. description: Internal Server Error
  27016. schema:
  27017. $ref: '#/definitions/app.Response'
  27018. security:
  27019. - ApiKeyAuth: []
  27020. summary: 查询买卖大厅
  27021. tags:
  27022. - 仓单贸易v2
  27023. /WrTrade2/QueryOrderQuoteMyq:
  27024. get:
  27025. parameters:
  27026. - description: 页码
  27027. in: query
  27028. name: page
  27029. type: integer
  27030. - description: 每页条数
  27031. in: query
  27032. name: pagesize
  27033. type: integer
  27034. - description: 用户id
  27035. in: query
  27036. name: userid
  27037. required: true
  27038. type: integer
  27039. - description: 仓单贸易市场id
  27040. in: query
  27041. name: marketid
  27042. type: integer
  27043. - description: 0:仓单预售 1:仓单贸易
  27044. in: query
  27045. name: haswr
  27046. type: integer
  27047. - description: 买卖方向 0-买 1-卖
  27048. in: query
  27049. name: buyorsell
  27050. required: true
  27051. type: integer
  27052. - description: 品种id
  27053. in: query
  27054. name: deliverygoodsid
  27055. type: integer
  27056. - description: 品类id
  27057. in: query
  27058. name: wrstandardid
  27059. type: integer
  27060. - description: 交收月(yyyy-mm) 仓单预售填写
  27061. in: query
  27062. name: deliverymonth
  27063. type: string
  27064. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27065. in: query
  27066. name: dgitemname
  27067. type: string
  27068. produces:
  27069. - application/json
  27070. responses:
  27071. "200":
  27072. description: OK
  27073. schema:
  27074. items:
  27075. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27076. type: array
  27077. "500":
  27078. description: Internal Server Error
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. security:
  27082. - ApiKeyAuth: []
  27083. summary: 查询贸易圈挂牌大厅
  27084. tags:
  27085. - 仓单贸易v2
  27086. /WrTrade2/QueryPerformancePlan:
  27087. get:
  27088. parameters:
  27089. - description: 用户id
  27090. in: query
  27091. name: userid
  27092. required: true
  27093. type: integer
  27094. - description: 买卖方向 0-买 1-卖
  27095. in: query
  27096. name: buyorsell
  27097. required: true
  27098. type: integer
  27099. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  27100. in: query
  27101. name: status
  27102. type: string
  27103. produces:
  27104. - application/json
  27105. responses:
  27106. "200":
  27107. description: OK
  27108. schema:
  27109. items:
  27110. $ref: '#/definitions/models.WrPerformancePlan'
  27111. type: array
  27112. "500":
  27113. description: Internal Server Error
  27114. schema:
  27115. $ref: '#/definitions/app.Response'
  27116. security:
  27117. - ApiKeyAuth: []
  27118. summary: 查询履约信息
  27119. tags:
  27120. - 仓单贸易v2
  27121. /WrTrade2/QueryPermancePlanTmp:
  27122. get:
  27123. description: |-
  27124. 返回指定用户的模板和公共模板(用户id为空)
  27125. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27126. parameters:
  27127. - description: 用户id
  27128. in: query
  27129. name: userid
  27130. type: integer
  27131. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27132. in: query
  27133. name: tmptype
  27134. type: string
  27135. - description: 是否包含公共模板(用户id为空的) 1-包含
  27136. in: query
  27137. name: includepub
  27138. type: integer
  27139. - description: 市场id(天津麦顿指定此参数,其它不用)
  27140. in: query
  27141. name: marketid
  27142. type: integer
  27143. produces:
  27144. - application/json
  27145. responses:
  27146. "200":
  27147. description: OK
  27148. schema:
  27149. items:
  27150. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27151. type: array
  27152. "500":
  27153. description: Internal Server Error
  27154. schema:
  27155. $ref: '#/definitions/app.Response'
  27156. security:
  27157. - ApiKeyAuth: []
  27158. summary: 查询履约模板
  27159. tags:
  27160. - 仓单贸易v2
  27161. /WrTrade2/QuerySiteColumnDetail:
  27162. get:
  27163. parameters:
  27164. - description: 页码
  27165. in: query
  27166. name: page
  27167. type: integer
  27168. - description: 每页条数
  27169. in: query
  27170. name: pagesize
  27171. type: integer
  27172. produces:
  27173. - application/json
  27174. responses:
  27175. "200":
  27176. description: OK
  27177. schema:
  27178. items:
  27179. $ref: '#/definitions/models.WrSiteColumnDetail'
  27180. type: array
  27181. "500":
  27182. description: Internal Server Error
  27183. schema:
  27184. $ref: '#/definitions/app.Response'
  27185. security:
  27186. - ApiKeyAuth: []
  27187. summary: 查询资讯
  27188. tags:
  27189. - 仓单贸易v2
  27190. /WrTrade2/QuerySpotGroupTradeSum:
  27191. get:
  27192. produces:
  27193. - application/json
  27194. responses:
  27195. "200":
  27196. description: OK
  27197. schema:
  27198. items:
  27199. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27200. type: array
  27201. "500":
  27202. description: Internal Server Error
  27203. schema:
  27204. $ref: '#/definitions/app.Response'
  27205. security:
  27206. - ApiKeyAuth: []
  27207. summary: 查询指数
  27208. tags:
  27209. - 仓单贸易v2
  27210. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27211. get:
  27212. description: 查询的结果将会按日期 从小到大 排序
  27213. parameters:
  27214. - description: 现货商品id
  27215. in: query
  27216. name: deliverygoodsid
  27217. required: true
  27218. type: integer
  27219. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27220. in: query
  27221. name: lastnum
  27222. type: integer
  27223. produces:
  27224. - application/json
  27225. responses:
  27226. "200":
  27227. description: OK
  27228. schema:
  27229. items:
  27230. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27231. type: array
  27232. "500":
  27233. description: Internal Server Error
  27234. schema:
  27235. $ref: '#/definitions/app.Response'
  27236. security:
  27237. - ApiKeyAuth: []
  27238. summary: 查询指数详细(价格走势图)
  27239. tags:
  27240. - 仓单贸易v2
  27241. /WrTrade2/QueryWrAverageTradePrice:
  27242. get:
  27243. parameters:
  27244. - description: 页码
  27245. in: query
  27246. name: page
  27247. type: integer
  27248. - description: 每页条数
  27249. in: query
  27250. name: pagesize
  27251. type: integer
  27252. - description: 0:仓单预售 1:仓单贸易
  27253. in: query
  27254. name: haswr
  27255. required: true
  27256. type: integer
  27257. - description: 仓单要素id
  27258. in: query
  27259. name: wrfactortypeid
  27260. required: true
  27261. type: integer
  27262. produces:
  27263. - application/json
  27264. responses:
  27265. "200":
  27266. description: OK
  27267. schema:
  27268. items:
  27269. $ref: '#/definitions/models.WrAverageTradePrice'
  27270. type: array
  27271. "500":
  27272. description: Internal Server Error
  27273. schema:
  27274. $ref: '#/definitions/app.Response'
  27275. security:
  27276. - ApiKeyAuth: []
  27277. summary: 查询成交价(历史走势)
  27278. tags:
  27279. - 仓单贸易v2
  27280. /WrTrade2/QueryWrBsGoodsInfo:
  27281. get:
  27282. description: 合约交易/买卖大厅/详情
  27283. parameters:
  27284. - description: 商品id
  27285. in: query
  27286. name: goodsid
  27287. required: true
  27288. type: integer
  27289. produces:
  27290. - application/json
  27291. responses:
  27292. "200":
  27293. description: OK
  27294. schema:
  27295. items:
  27296. $ref: '#/definitions/models.WrBsGoodsInfo'
  27297. type: array
  27298. "500":
  27299. description: Internal Server Error
  27300. schema:
  27301. $ref: '#/definitions/app.Response'
  27302. security:
  27303. - ApiKeyAuth: []
  27304. summary: 查询合约交易买卖大厅详情
  27305. tags:
  27306. - 仓单贸易v2
  27307. /WrTrade2/QueryWrBuybackDetail:
  27308. get:
  27309. parameters:
  27310. - description: 融资合同id
  27311. in: query
  27312. name: scfcontractid
  27313. type: integer
  27314. produces:
  27315. - application/json
  27316. responses:
  27317. "200":
  27318. description: OK
  27319. schema:
  27320. items:
  27321. $ref: '#/definitions/models.WrBuybackDetail'
  27322. type: array
  27323. "500":
  27324. description: Internal Server Error
  27325. schema:
  27326. $ref: '#/definitions/app.Response'
  27327. security:
  27328. - ApiKeyAuth: []
  27329. summary: 查询仓单回购明细
  27330. tags:
  27331. - 仓单贸易v2
  27332. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27333. get:
  27334. parameters:
  27335. - description: 资金账号
  27336. in: query
  27337. name: accountid
  27338. required: true
  27339. type: integer
  27340. - description: 商品id
  27341. in: query
  27342. name: goodsid
  27343. required: true
  27344. type: integer
  27345. produces:
  27346. - application/json
  27347. responses:
  27348. "200":
  27349. description: OK
  27350. schema:
  27351. items:
  27352. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27353. type: array
  27354. "500":
  27355. description: Internal Server Error
  27356. schema:
  27357. $ref: '#/definitions/app.Response'
  27358. security:
  27359. - ApiKeyAuth: []
  27360. summary: 查询合约交收可点选仓单
  27361. tags:
  27362. - 仓单贸易v2
  27363. /WrTrade2/QueryWrDeliveryDetail:
  27364. get:
  27365. parameters:
  27366. - description: 用户id
  27367. in: query
  27368. name: userid
  27369. required: true
  27370. type: integer
  27371. - description: 资金账号id
  27372. in: query
  27373. name: accountid
  27374. type: integer
  27375. - description: 开始交易日(yyyymmdd)
  27376. in: query
  27377. name: begindate
  27378. type: string
  27379. - description: 结束交易日(yyyymmdd)
  27380. in: query
  27381. name: enddate
  27382. type: string
  27383. produces:
  27384. - application/json
  27385. responses:
  27386. "200":
  27387. description: OK
  27388. schema:
  27389. items:
  27390. $ref: '#/definitions/models.WrDeliveryDetail'
  27391. type: array
  27392. "500":
  27393. description: Internal Server Error
  27394. schema:
  27395. $ref: '#/definitions/app.Response'
  27396. security:
  27397. - ApiKeyAuth: []
  27398. summary: 查询交收
  27399. tags:
  27400. - 仓单贸易v2
  27401. /WrTrade2/QueryWrFactorTypeInfo:
  27402. get:
  27403. parameters:
  27404. - description: 仓单要素id
  27405. in: query
  27406. name: wrfactortypeid
  27407. required: true
  27408. type: integer
  27409. produces:
  27410. - application/json
  27411. responses:
  27412. "200":
  27413. description: OK
  27414. schema:
  27415. items:
  27416. $ref: '#/definitions/models.WrFactorTypeInfo'
  27417. type: array
  27418. "500":
  27419. description: Internal Server Error
  27420. schema:
  27421. $ref: '#/definitions/app.Response'
  27422. security:
  27423. - ApiKeyAuth: []
  27424. summary: 查询仓单要素详细信息
  27425. tags:
  27426. - 仓单贸易v2
  27427. /WrTrade2/QueryWrFactorTypeInfoEx:
  27428. get:
  27429. parameters:
  27430. - description: 仓单要素id
  27431. in: query
  27432. name: wrfactortypeid
  27433. required: true
  27434. type: integer
  27435. produces:
  27436. - application/json
  27437. responses:
  27438. "200":
  27439. description: OK
  27440. schema:
  27441. items:
  27442. $ref: '#/definitions/models.WrTypeItem'
  27443. type: array
  27444. "500":
  27445. description: Internal Server Error
  27446. schema:
  27447. $ref: '#/definitions/app.Response'
  27448. security:
  27449. - ApiKeyAuth: []
  27450. summary: 查询仓单要素详细信息列表项
  27451. tags:
  27452. - 仓单贸易v2
  27453. /WrTrade2/QueryWrFinanceBuyApply:
  27454. get:
  27455. description: 页面 融资信息+ / 申请单
  27456. parameters:
  27457. - description: 用户id
  27458. in: query
  27459. name: userid
  27460. required: true
  27461. type: integer
  27462. produces:
  27463. - application/json
  27464. responses:
  27465. "200":
  27466. description: OK
  27467. schema:
  27468. items:
  27469. $ref: '#/definitions/models.WrFinanceBuyApply'
  27470. type: array
  27471. "500":
  27472. description: Internal Server Error
  27473. schema:
  27474. $ref: '#/definitions/app.Response'
  27475. security:
  27476. - ApiKeyAuth: []
  27477. summary: 查询融资购买申请
  27478. tags:
  27479. - 仓单贸易v2
  27480. /WrTrade2/QueryWrFriendApply:
  27481. get:
  27482. parameters:
  27483. - description: 用户id
  27484. in: query
  27485. name: userid
  27486. required: true
  27487. type: integer
  27488. produces:
  27489. - application/json
  27490. responses:
  27491. "200":
  27492. description: OK
  27493. schema:
  27494. items:
  27495. $ref: '#/definitions/models.WrFriendApply'
  27496. type: array
  27497. "500":
  27498. description: Internal Server Error
  27499. schema:
  27500. $ref: '#/definitions/app.Response'
  27501. security:
  27502. - ApiKeyAuth: []
  27503. summary: 查询好友申请记录
  27504. tags:
  27505. - 仓单贸易v2
  27506. /WrTrade2/QueryWrGoodsInfo:
  27507. get:
  27508. parameters:
  27509. - description: 仓单贸易市场id
  27510. in: query
  27511. name: marketid
  27512. type: integer
  27513. - description: 0:仓单预售 1:仓单贸易
  27514. in: query
  27515. name: haswr
  27516. required: true
  27517. type: integer
  27518. - description: 仓单要素id
  27519. in: query
  27520. name: wrfactortypeid
  27521. required: true
  27522. type: integer
  27523. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27524. in: query
  27525. name: tmplateid
  27526. type: integer
  27527. produces:
  27528. - application/json
  27529. responses:
  27530. "200":
  27531. description: OK
  27532. schema:
  27533. items:
  27534. $ref: '#/definitions/models.WrGoodsInfo'
  27535. type: array
  27536. "500":
  27537. description: Internal Server Error
  27538. schema:
  27539. $ref: '#/definitions/app.Response'
  27540. security:
  27541. - ApiKeyAuth: []
  27542. summary: 查询仓单商品信息
  27543. tags:
  27544. - 仓单贸易v2
  27545. /WrTrade2/QueryWrMarketTradeConfig:
  27546. get:
  27547. parameters:
  27548. - description: 市场id
  27549. in: query
  27550. name: marketid
  27551. type: integer
  27552. produces:
  27553. - application/json
  27554. responses:
  27555. "200":
  27556. description: OK
  27557. schema:
  27558. items:
  27559. $ref: '#/definitions/models.WrMarketTradeConfig'
  27560. type: array
  27561. "500":
  27562. description: Internal Server Error
  27563. schema:
  27564. $ref: '#/definitions/app.Response'
  27565. security:
  27566. - ApiKeyAuth: []
  27567. summary: 查询市场交易参数配置
  27568. tags:
  27569. - 仓单贸易v2
  27570. /WrTrade2/QueryWrOrderDetail:
  27571. get:
  27572. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27573. parameters:
  27574. - description: 页码
  27575. in: query
  27576. name: page
  27577. type: integer
  27578. - description: 每页条数
  27579. in: query
  27580. name: pagesize
  27581. type: integer
  27582. - description: 用户id
  27583. in: query
  27584. name: userid
  27585. required: true
  27586. type: integer
  27587. - description: 仓单贸易市场id
  27588. in: query
  27589. name: marketid
  27590. type: integer
  27591. - description: 0:仓单预售 1:仓单贸易
  27592. in: query
  27593. name: haswr
  27594. required: true
  27595. type: integer
  27596. - description: 开始交易日(yyyymmdd)
  27597. in: query
  27598. name: begindate
  27599. type: string
  27600. - description: 结束交易日(yyyymmdd)
  27601. in: query
  27602. name: enddate
  27603. type: string
  27604. produces:
  27605. - application/json
  27606. responses:
  27607. "200":
  27608. description: OK
  27609. schema:
  27610. items:
  27611. $ref: '#/definitions/models.WrOrderDetail'
  27612. type: array
  27613. "500":
  27614. description: Internal Server Error
  27615. schema:
  27616. $ref: '#/definitions/app.Response'
  27617. security:
  27618. - ApiKeyAuth: []
  27619. summary: 查询仓单委托单(挂单)
  27620. tags:
  27621. - 仓单贸易v2
  27622. /WrTrade2/QueryWrOutInApply:
  27623. get:
  27624. parameters:
  27625. - description: 用户id
  27626. in: query
  27627. name: userid
  27628. required: true
  27629. type: integer
  27630. - description: 开始交易日(yyyymmdd)
  27631. in: query
  27632. name: begindate
  27633. type: string
  27634. - description: 结束交易日(yyyymmdd)
  27635. in: query
  27636. name: enddate
  27637. type: string
  27638. produces:
  27639. - application/json
  27640. responses:
  27641. "200":
  27642. description: OK
  27643. schema:
  27644. items:
  27645. $ref: '#/definitions/models.WrOutInApply'
  27646. type: array
  27647. "500":
  27648. description: Internal Server Error
  27649. schema:
  27650. $ref: '#/definitions/app.Response'
  27651. security:
  27652. - ApiKeyAuth: []
  27653. summary: 查询提货申请
  27654. tags:
  27655. - 仓单贸易v2
  27656. /WrTrade2/QueryWrPerformancePlanStep:
  27657. get:
  27658. parameters:
  27659. - description: 履约计划id(performanceplanid)
  27660. in: query
  27661. name: planid
  27662. required: true
  27663. type: integer
  27664. - description: 当前步骤id
  27665. in: query
  27666. name: curstepid
  27667. type: integer
  27668. produces:
  27669. - application/json
  27670. responses:
  27671. "200":
  27672. description: OK
  27673. schema:
  27674. items:
  27675. $ref: '#/definitions/models.WrPerformancePlanStep'
  27676. type: array
  27677. "500":
  27678. description: Internal Server Error
  27679. schema:
  27680. $ref: '#/definitions/app.Response'
  27681. security:
  27682. - ApiKeyAuth: []
  27683. summary: 查询履约信息详情
  27684. tags:
  27685. - 仓单贸易v2
  27686. /WrTrade2/QueryWrPerformanceStepType:
  27687. get:
  27688. produces:
  27689. - application/json
  27690. responses:
  27691. "200":
  27692. description: OK
  27693. schema:
  27694. items:
  27695. $ref: '#/definitions/models.WrPerformanceStepType'
  27696. type: array
  27697. "500":
  27698. description: Internal Server Error
  27699. schema:
  27700. $ref: '#/definitions/app.Response'
  27701. security:
  27702. - ApiKeyAuth: []
  27703. summary: 查询履约步骤枚举
  27704. tags:
  27705. - 仓单贸易v2
  27706. /WrTrade2/QueryWrPosition:
  27707. get:
  27708. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27709. parameters:
  27710. - description: 用户id
  27711. in: query
  27712. name: userid
  27713. required: true
  27714. type: integer
  27715. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27716. in: query
  27717. name: querytype
  27718. required: true
  27719. type: integer
  27720. - description: 0:仓单预售 1:仓单贸易
  27721. in: query
  27722. name: haswr
  27723. required: true
  27724. type: integer
  27725. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27726. in: query
  27727. name: dgitemname
  27728. type: string
  27729. - description: 仓库id(筛选条件)
  27730. in: query
  27731. name: warehouseid
  27732. type: integer
  27733. - description: 品种id
  27734. in: query
  27735. name: deliverygoodsid
  27736. type: integer
  27737. - description: 品类id
  27738. in: query
  27739. name: wrstandardid
  27740. type: integer
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. items:
  27748. $ref: '#/definitions/models.WrPosition'
  27749. type: array
  27750. "500":
  27751. description: Internal Server Error
  27752. schema:
  27753. $ref: '#/definitions/app.Response'
  27754. security:
  27755. - ApiKeyAuth: []
  27756. summary: 查询现货(预售)仓单持仓
  27757. tags:
  27758. - 仓单贸易v2
  27759. /WrTrade2/QueryWrScfContract:
  27760. get:
  27761. parameters:
  27762. - description: 用户id
  27763. in: query
  27764. name: userid
  27765. required: true
  27766. type: integer
  27767. - description: 融资合同id
  27768. in: query
  27769. name: scfcontractid
  27770. type: integer
  27771. produces:
  27772. - application/json
  27773. responses:
  27774. "200":
  27775. description: OK
  27776. schema:
  27777. items:
  27778. $ref: '#/definitions/models.WrScfContract'
  27779. type: array
  27780. "500":
  27781. description: Internal Server Error
  27782. schema:
  27783. $ref: '#/definitions/app.Response'
  27784. security:
  27785. - ApiKeyAuth: []
  27786. summary: 查询仓单贸易融资合同
  27787. tags:
  27788. - 仓单贸易v2
  27789. /WrTrade2/QueryWrScfContractInterest:
  27790. get:
  27791. parameters:
  27792. - description: 融资合同id
  27793. in: query
  27794. name: scfcontractid
  27795. type: integer
  27796. produces:
  27797. - application/json
  27798. responses:
  27799. "200":
  27800. description: OK
  27801. schema:
  27802. items:
  27803. $ref: '#/definitions/models.WrScfContractInterest'
  27804. type: array
  27805. "500":
  27806. description: Internal Server Error
  27807. schema:
  27808. $ref: '#/definitions/app.Response'
  27809. security:
  27810. - ApiKeyAuth: []
  27811. summary: 查询融资合同费用明细
  27812. tags:
  27813. - 仓单贸易v2
  27814. /WrTrade2/QueryWrSpecialMatchOrder:
  27815. get:
  27816. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27817. parameters:
  27818. - description: 页码
  27819. in: query
  27820. name: page
  27821. type: integer
  27822. - description: 每页条数
  27823. in: query
  27824. name: pagesize
  27825. type: integer
  27826. - description: 用户id
  27827. in: query
  27828. name: userid
  27829. required: true
  27830. type: integer
  27831. - description: 仓单贸易市场id
  27832. in: query
  27833. name: marketid
  27834. type: integer
  27835. - description: 0:仓单预售 1:仓单贸易
  27836. in: query
  27837. name: haswr
  27838. required: true
  27839. type: integer
  27840. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27841. in: query
  27842. name: isspecified
  27843. type: integer
  27844. produces:
  27845. - application/json
  27846. responses:
  27847. "200":
  27848. description: OK
  27849. schema:
  27850. items:
  27851. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27852. type: array
  27853. "500":
  27854. description: Internal Server Error
  27855. schema:
  27856. $ref: '#/definitions/app.Response'
  27857. security:
  27858. - ApiKeyAuth: []
  27859. summary: 查询指定成交
  27860. tags:
  27861. - 仓单贸易v2
  27862. /WrTrade2/QueryWrStandardFactoryItem:
  27863. get:
  27864. parameters:
  27865. - description: 品类id
  27866. in: query
  27867. name: wrstandardid
  27868. required: true
  27869. type: integer
  27870. produces:
  27871. - application/json
  27872. responses:
  27873. "200":
  27874. description: OK
  27875. schema:
  27876. items:
  27877. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27878. type: array
  27879. "500":
  27880. description: Internal Server Error
  27881. schema:
  27882. $ref: '#/definitions/app.Response'
  27883. security:
  27884. - ApiKeyAuth: []
  27885. summary: 查询品类要素定义项
  27886. tags:
  27887. - 仓单贸易v2
  27888. /WrTrade2/QueryWrTradeBargainApply:
  27889. get:
  27890. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27891. parameters:
  27892. - description: 议价人id(摘牌方)
  27893. in: query
  27894. name: userid
  27895. type: integer
  27896. - description: 挂牌方id(查对方议价时,填写此项)
  27897. in: query
  27898. name: matchuserid
  27899. type: integer
  27900. - description: 关联委托单id
  27901. in: query
  27902. name: wrtradeorderid
  27903. type: integer
  27904. - description: 0:仓单预售 1:仓单贸易
  27905. in: query
  27906. name: haswr
  27907. required: true
  27908. type: integer
  27909. - description: 开始交易日(yyyymmdd)
  27910. in: query
  27911. name: begindate
  27912. type: string
  27913. - description: 结束交易日(yyyymmdd)
  27914. in: query
  27915. name: enddate
  27916. type: string
  27917. produces:
  27918. - application/json
  27919. responses:
  27920. "200":
  27921. description: OK
  27922. schema:
  27923. items:
  27924. $ref: '#/definitions/models.WRTradeBargainApply'
  27925. type: array
  27926. "500":
  27927. description: Internal Server Error
  27928. schema:
  27929. $ref: '#/definitions/app.Response'
  27930. security:
  27931. - ApiKeyAuth: []
  27932. summary: 查询议价单
  27933. tags:
  27934. - 仓单贸易v2
  27935. /WrTrade2/QueryWrTradeDetail:
  27936. get:
  27937. parameters:
  27938. - description: 页码
  27939. in: query
  27940. name: page
  27941. type: integer
  27942. - description: 每页条数
  27943. in: query
  27944. name: pagesize
  27945. type: integer
  27946. - description: 用户id
  27947. in: query
  27948. name: userid
  27949. required: true
  27950. type: integer
  27951. - description: 仓单贸易市场id
  27952. in: query
  27953. name: marketid
  27954. type: integer
  27955. - description: 0:仓单预售 1:仓单贸易
  27956. in: query
  27957. name: haswr
  27958. required: true
  27959. type: integer
  27960. - description: 开始交易日(yyyymmdd)
  27961. in: query
  27962. name: begindate
  27963. type: string
  27964. - description: 结束交易日(yyyymmdd)
  27965. in: query
  27966. name: enddate
  27967. type: string
  27968. produces:
  27969. - application/json
  27970. responses:
  27971. "200":
  27972. description: OK
  27973. schema:
  27974. items:
  27975. $ref: '#/definitions/models.WrTradeDetail'
  27976. type: array
  27977. "500":
  27978. description: Internal Server Error
  27979. schema:
  27980. $ref: '#/definitions/app.Response'
  27981. security:
  27982. - ApiKeyAuth: []
  27983. summary: 查询仓单成交明细
  27984. tags:
  27985. - 仓单贸易v2
  27986. /WrTrade2/QueryWrTradeOrderDetail:
  27987. get:
  27988. parameters:
  27989. - description: 页码
  27990. in: query
  27991. name: page
  27992. type: integer
  27993. - description: 每页条数
  27994. in: query
  27995. name: pagesize
  27996. type: integer
  27997. - description: 商品id
  27998. in: query
  27999. name: goodsid
  28000. required: true
  28001. type: integer
  28002. - description: 买卖方向 0-买 1-卖
  28003. in: query
  28004. name: buyorsell
  28005. required: true
  28006. type: integer
  28007. produces:
  28008. - application/json
  28009. responses:
  28010. "200":
  28011. description: OK
  28012. schema:
  28013. items:
  28014. $ref: '#/definitions/models.WrTradeOrderDetail'
  28015. type: array
  28016. "500":
  28017. description: Internal Server Error
  28018. schema:
  28019. $ref: '#/definitions/app.Response'
  28020. security:
  28021. - ApiKeyAuth: []
  28022. summary: 查询合约交易买卖大厅
  28023. tags:
  28024. - 仓单贸易v2
  28025. /WrTrade2/QueryWrUserFriend:
  28026. get:
  28027. parameters:
  28028. - description: 用户id
  28029. in: query
  28030. name: userid
  28031. required: true
  28032. type: integer
  28033. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28034. in: query
  28035. name: newuserid
  28036. type: integer
  28037. produces:
  28038. - application/json
  28039. responses:
  28040. "200":
  28041. description: OK
  28042. schema:
  28043. items:
  28044. $ref: '#/definitions/models.WrUserFriend'
  28045. type: array
  28046. "500":
  28047. description: Internal Server Error
  28048. schema:
  28049. $ref: '#/definitions/app.Response'
  28050. security:
  28051. - ApiKeyAuth: []
  28052. summary: 查询我的朋友
  28053. tags:
  28054. - 仓单贸易v2
  28055. /WrTrade2/QueryWrUserReceiptInfo:
  28056. get:
  28057. parameters:
  28058. - description: 用户id
  28059. in: query
  28060. name: userid
  28061. type: integer
  28062. - description: 发票类型 - 1:个人 2:企业
  28063. in: query
  28064. name: receipttype
  28065. type: integer
  28066. produces:
  28067. - application/json
  28068. responses:
  28069. "200":
  28070. description: OK
  28071. schema:
  28072. items:
  28073. $ref: '#/definitions/models.WrUserReceiptInfo'
  28074. type: array
  28075. "500":
  28076. description: Internal Server Error
  28077. schema:
  28078. $ref: '#/definitions/app.Response'
  28079. security:
  28080. - ApiKeyAuth: []
  28081. summary: 查询发票信息
  28082. tags:
  28083. - 仓单贸易v2
  28084. /ZJ/GetBankTip:
  28085. get:
  28086. produces:
  28087. - application/json
  28088. responses:
  28089. "200":
  28090. description: OK
  28091. schema:
  28092. type: string
  28093. "500":
  28094. description: Internal Server Error
  28095. schema:
  28096. $ref: '#/definitions/app.Response'
  28097. summary: 获取中江网银端出入金提示信息
  28098. tags:
  28099. - 中江
  28100. /ZJ/GetCusBankChannels:
  28101. get:
  28102. produces:
  28103. - application/json
  28104. responses:
  28105. "200":
  28106. description: OK
  28107. schema:
  28108. items:
  28109. type: string
  28110. type: array
  28111. "500":
  28112. description: Internal Server Error
  28113. schema:
  28114. $ref: '#/definitions/app.Response'
  28115. summary: 获取中江出入金渠道显示列表
  28116. tags:
  28117. - 中江
  28118. securityDefinitions:
  28119. ApiKeyAuth:
  28120. in: header
  28121. name: Authorization
  28122. type: apiKey
  28123. swagger: "2.0"