swagger.yaml 784 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259
  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:微信客户端
  535. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  536. type: integer
  537. closeexchagechargevalue:
  538. description: 平仓交易所手续费设置值
  539. type: number
  540. closefeealgorithm:
  541. description: 平仓手续费收取方式 1:比率 2:固定
  542. type: integer
  543. closefreezecharge:
  544. description: 平仓冻结手续费(先建后平操作,需要记录)
  545. type: number
  546. closememberchargevalue:
  547. description: 平仓会员手续费设置值
  548. type: number
  549. closeqty:
  550. description: 平仓数量(先建后平操作 需要记录)
  551. type: integer
  552. closetradeqty:
  553. description: 平仓成交数量(先建后平操作,需要记录)
  554. type: integer
  555. closeunfreezecharge:
  556. description: 平仓解冻手续费(先建后平操作,需要记录)
  557. type: number
  558. delistingtype:
  559. description: 摘牌类型 - 1:价格最优 2:点选成交
  560. type: integer
  561. freezecharge:
  562. description: 冻结手续费
  563. type: number
  564. freezemargin:
  565. description: 冻结保证金(冻结交易金额)
  566. type: number
  567. gcaccountid:
  568. description: 账户ID[合约币种]
  569. type: integer
  570. goodsid:
  571. description: 商品ID
  572. type: integer
  573. isconfirmexercise:
  574. description: 是否确认行权- 0:否 1:是
  575. type: integer
  576. ispreexercise:
  577. description: 是否预申报- 0:否 1:是
  578. type: integer
  579. listingselecttype:
  580. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  581. type: integer
  582. marginalgorithm:
  583. description: 保证金收取方式 1:比率 2:固定
  584. type: integer
  585. marginvalue:
  586. description: 即市保证金设置值
  587. type: number
  588. marketid:
  589. description: 市场ID
  590. type: integer
  591. marketmaxsub:
  592. description: 市价最大偏移范围
  593. type: number
  594. memberuserid:
  595. description: 所属会员UserID
  596. type: integer
  597. openexchagechargevalue:
  598. description: 建仓交易所手续费设置值
  599. type: number
  600. openfeealgorithm:
  601. description: 建仓手续费收取方式 1:比率 2:固定
  602. type: integer
  603. openfreezecharge:
  604. description: 开仓冻结手续费(先建后平操作,需要记录)
  605. type: number
  606. openmemberchargevalue:
  607. description: 建仓会员手续费设置值
  608. type: number
  609. openqty:
  610. description: 开仓数量(先建后平操作,需要记录)
  611. type: integer
  612. opentradeqty:
  613. description: 开仓成交数量(先建后平操作,需要记录)
  614. type: integer
  615. openunfreezecharge:
  616. description: 开仓解冻手续费(先建后平操作,需要记录)
  617. type: number
  618. operatetype:
  619. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  620. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  621. 15:管理端协议转让
  622. type: integer
  623. operatorid:
  624. description: 登录账号(LoginID)
  625. type: integer
  626. optiontype:
  627. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  628. type: integer
  629. orderprice:
  630. description: 委托价格
  631. type: number
  632. orderqty:
  633. description: 委托数量
  634. type: integer
  635. ordersrc:
  636. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  637. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  638. type: integer
  639. orderstatus:
  640. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  641. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  642. 16:成交失败违约(荷兰式竞拍专用)
  643. type: integer
  644. ordertime:
  645. description: 委托时间
  646. type: string
  647. preexerciseprice:
  648. description: 预申报价格
  649. type: number
  650. premium:
  651. description: 权利金
  652. type: number
  653. preorderid:
  654. description: 关联预埋单号(止盈止损单时填写)
  655. type: integer
  656. pricemode:
  657. description: '取价方式 - 1:市价 2: 限价'
  658. type: integer
  659. quoteid:
  660. description: 报价单ID
  661. type: integer
  662. relatedid:
  663. description: 关联单号(交割单)
  664. type: integer
  665. retcode:
  666. description: 错误代码
  667. type: integer
  668. sessionid:
  669. description: 会话ID
  670. type: integer
  671. strorderid:
  672. description: 委托单号
  673. type: string
  674. tradedate:
  675. description: 交易日(yyyyMMdd)
  676. type: string
  677. tradeproperty:
  678. description: 交易属性
  679. type: integer
  680. tradeqty:
  681. description: 成交数量
  682. type: integer
  683. unfreezecharge:
  684. description: 解冻手续费
  685. type: number
  686. unfreezemargin:
  687. description: 解冻保证金
  688. type: number
  689. updatetime:
  690. description: 更新时间
  691. type: string
  692. uuid:
  693. description: 发起端唯一id
  694. type: string
  695. validtime:
  696. description: 有效期限
  697. type: string
  698. validtype:
  699. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  700. type: integer
  701. volumetype:
  702. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  703. type: integer
  704. required:
  705. - accountid
  706. - buildtype
  707. - buyorsell
  708. - goodsid
  709. - marketid
  710. - memberuserid
  711. - operatetype
  712. - orderqty
  713. - ordertime
  714. - pricemode
  715. - strorderid
  716. - tradedate
  717. - validtype
  718. type: object
  719. cptrade.QueryMyCPTradeGoodsRsp:
  720. properties:
  721. accountid:
  722. description: 卖方账户ID
  723. type: integer
  724. agreeunit:
  725. description: 合约单位
  726. type: number
  727. applyid:
  728. description: 关联申请ID
  729. type: integer
  730. attachmenturl:
  731. description: 附件地址
  732. type: string
  733. createtime:
  734. description: 创建时间
  735. type: string
  736. currencyid:
  737. description: 报价货币ID
  738. type: integer
  739. decimalplace:
  740. description: 报价小数位
  741. type: integer
  742. endtime:
  743. description: 预售结束时间
  744. type: string
  745. floorprice:
  746. description: 底价[大宗式竞拍]
  747. type: number
  748. goodscode:
  749. description: 商品代码(预售)
  750. type: string
  751. goodsdetail:
  752. description: 详情[大宗]
  753. type: string
  754. goodsid:
  755. description: 商品ID(自增ID SEQ_GOODS)
  756. type: integer
  757. goodsname:
  758. description: 商品名称(预售)
  759. type: string
  760. goodunit:
  761. description: 报价单位
  762. type: string
  763. goodunitid:
  764. description: 报价单位ID
  765. type: integer
  766. marketid:
  767. description: 所属市场ID
  768. type: integer
  769. marketname:
  770. description: 预售市场名称
  771. type: string
  772. presaledamount:
  773. description: 已预售总金额(预售结束时更新)
  774. type: number
  775. presaledqty:
  776. description: 已预售量(预售结束时更新)
  777. type: integer
  778. presalemode:
  779. description: 预售模式 - 1:一口价 2:大宗式竞拍
  780. type: integer
  781. presaleqty:
  782. description: 预售数量
  783. type: integer
  784. refprice:
  785. description: 参考价格[一口价]
  786. type: number
  787. relatedgoodscode:
  788. description: 商品代码(订单)
  789. type: string
  790. relatedgoodsid:
  791. description: 关联交易合约ID
  792. type: integer
  793. relatedgoodsname:
  794. description: 商品名称(订单)
  795. type: string
  796. relatedmarketid:
  797. description: 关联交易合约市场ID
  798. type: integer
  799. sellstatus:
  800. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  801. type: integer
  802. startprice:
  803. description: 起拍价[大宗式竞拍]
  804. type: number
  805. starttime:
  806. description: 预售开始时间
  807. type: string
  808. tradedate:
  809. description: 交易日(yyyyMMdd)
  810. type: string
  811. tradeprice:
  812. description: 成交价[大宗]
  813. type: number
  814. userid:
  815. description: 卖方用户ID
  816. type: integer
  817. required:
  818. - goodscode
  819. - goodsid
  820. - goodsname
  821. - marketid
  822. - relatedgoodscode
  823. - relatedgoodsname
  824. type: object
  825. cptrade.QueryPresaleGoodsExRsp:
  826. properties:
  827. attachmenturl:
  828. description: 附件地址
  829. type: string
  830. createtime:
  831. description: 创建时间
  832. type: string
  833. endtime:
  834. description: 预售结束时间
  835. type: string
  836. floorprice:
  837. description: 底价[大宗式竞拍]
  838. type: number
  839. goodsdetail:
  840. description: 详情[大宗]
  841. type: string
  842. goodsid:
  843. description: 商品ID(预售)
  844. type: integer
  845. goodunit:
  846. description: 报价单位
  847. type: string
  848. marketid:
  849. description: 预售市场ID - 根据预售模式选择市场
  850. type: integer
  851. presaledamount:
  852. description: 已预售总金额(预售结束时更新)
  853. type: number
  854. presaledqty:
  855. description: 已预售量(预售结束时更新)
  856. type: integer
  857. presalemode:
  858. description: 预售模式 - 1:一口价 2:大宗式竞拍
  859. type: integer
  860. presaleqty:
  861. description: 预售数量
  862. type: integer
  863. refprice:
  864. description: 参考价格[一口价]
  865. type: number
  866. relatedgoodsid:
  867. description: 关联交易合约ID
  868. type: integer
  869. relatedmarketid:
  870. description: 关联交易合约市场ID
  871. type: integer
  872. sellstatus:
  873. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  874. type: integer
  875. startprice:
  876. description: 起拍价[大宗式竞拍]
  877. type: number
  878. starttime:
  879. description: 预售开始时间
  880. type: string
  881. tradedate:
  882. description: 交易日(yyyyMMdd)
  883. type: string
  884. tradeprice:
  885. description: 成交价[大宗]
  886. type: number
  887. required:
  888. - goodsid
  889. type: object
  890. delivery.QueryDeliveryRelationRsp:
  891. properties:
  892. begindate:
  893. description: 起始日期(yyyyMMdd)
  894. type: string
  895. buytemplateid:
  896. description: 买履约计划模板ID
  897. type: integer
  898. deliverygoodscode:
  899. description: 品种代码
  900. type: string
  901. deliverygoodsid:
  902. description: 交割商品
  903. type: integer
  904. deliverygoodsname:
  905. description: 品种名称
  906. type: string
  907. deliverymode:
  908. description: 交割方式 - 1:点选式 2:申报式
  909. type: integer
  910. deliverypricerule:
  911. description: 交割价规则- 1:行情价 2:建仓价
  912. type: integer
  913. deliverytype:
  914. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  915. type: integer
  916. enddate:
  917. description: 结束日期(yyyyMMdd)
  918. type: string
  919. enumdicname:
  920. description: 品类单位名称
  921. type: string
  922. goodscode:
  923. description: 商品代码
  924. type: string
  925. goodsid:
  926. description: 交易合约ID
  927. type: integer
  928. goodsname:
  929. description: 商品名称
  930. type: string
  931. marketid:
  932. description: 市场ID
  933. type: integer
  934. mindeliveryqty:
  935. description: 最小交割系数(K)
  936. type: integer
  937. p2deliveryprice:
  938. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  939. type: number
  940. p2deliveryratio:
  941. description: P2合约系数(p)
  942. type: integer
  943. p2goodsid:
  944. description: P2合约ID
  945. type: integer
  946. p2pricemode:
  947. description: P2合约价格方式 - 1:商品价 2:固定值
  948. type: integer
  949. pdeliveryprice:
  950. description: P合约价格(商品价时填写0,固定值时填写固定值)
  951. type: number
  952. pdeliveryratio:
  953. description: P合约系数(n)
  954. type: integer
  955. pgoodscode:
  956. description: p合约代码
  957. type: string
  958. pgoodsid:
  959. description: P合约ID
  960. type: integer
  961. ppricemode:
  962. description: P合约价格方式 - 1:商品价 2:固定值
  963. type: integer
  964. rratio:
  965. description: 兑换系数(R)
  966. type: integer
  967. rratio1:
  968. description: 兑换系数(交易合约)(R1)
  969. type: integer
  970. rratio2:
  971. description: 兑换系数(仓单标准)(R2)
  972. type: integer
  973. selltemplateid:
  974. description: 卖履约计划模板ID
  975. type: integer
  976. wrstandardid:
  977. description: 仓单标准ID
  978. type: integer
  979. xdeliveryratio:
  980. description: 交易合约系数(m)
  981. type: integer
  982. required:
  983. - begindate
  984. - enddate
  985. - goodsid
  986. - mindeliveryqty
  987. - xdeliveryratio
  988. type: object
  989. ermcp.ExposureDetailRsp:
  990. properties:
  991. areauserid:
  992. description: 机构ID
  993. type: integer
  994. changeQty:
  995. description: 套保变动量
  996. type: number
  997. contracttype:
  998. description: 现货合同类型 - 1:采购 -1:销售
  999. type: integer
  1000. convertfactor:
  1001. description: 标仓系数
  1002. type: number
  1003. convertratio:
  1004. description: 套保系数
  1005. type: number
  1006. createtime:
  1007. description: 时间
  1008. type: string
  1009. enumdicname:
  1010. description: 现货商品单位名称
  1011. type: string
  1012. logtype:
  1013. description: 类型 - 1:套保计划 2:现货合同
  1014. type: integer
  1015. middlegoodsId:
  1016. description: 套保商品id
  1017. type: integer
  1018. middlegoodscode:
  1019. description: 套保商品代码
  1020. type: string
  1021. middlegoodsname:
  1022. description: 套保商品名称
  1023. type: string
  1024. qty:
  1025. description: 数量
  1026. type: number
  1027. relateNo:
  1028. description: 现货合同/套保计划编号
  1029. type: string
  1030. wrstandardcode:
  1031. description: 现货商品代码
  1032. type: string
  1033. wrstandardid:
  1034. description: 现货商品ID
  1035. type: integer
  1036. wrstandardname:
  1037. description: 现货商品名称
  1038. type: string
  1039. type: object
  1040. ermcp.ExposureHedgePosDetailRsp:
  1041. properties:
  1042. buyorsell:
  1043. description: 买卖方向 0-买 1-卖
  1044. type: integer
  1045. channelbuildtype:
  1046. description: 开平方向 1-建仓 2-平仓
  1047. type: integer
  1048. goodscode:
  1049. description: 商品代码
  1050. type: string
  1051. goodsname:
  1052. description: 商品名称
  1053. type: string
  1054. hedgegoodsid:
  1055. description: 商品id
  1056. type: integer
  1057. tradeqty:
  1058. description: 数量(成交数量)
  1059. type: integer
  1060. tradetime:
  1061. description: 时间(成交时间)
  1062. type: string
  1063. type: object
  1064. ermcp.ExposureHedgePositionRsp:
  1065. properties:
  1066. accountid:
  1067. description: 资金账号[外部母账户]
  1068. type: integer
  1069. curbuyposition:
  1070. description: 期末买头寸
  1071. type: integer
  1072. cursellposition:
  1073. description: 期末卖头寸
  1074. type: integer
  1075. curtdbuyposition:
  1076. description: 期末今日买头寸
  1077. type: integer
  1078. curtdsellposition:
  1079. description: 期末今日卖头寸
  1080. type: integer
  1081. curydbuyposition:
  1082. description: 期末上日买头寸
  1083. type: integer
  1084. curydsellposition:
  1085. description: 期末上日卖头寸
  1086. type: integer
  1087. decreaseqty:
  1088. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1089. type: integer
  1090. fretdbuyposition:
  1091. description: 冻结今日买头寸
  1092. type: integer
  1093. fretdsellposition:
  1094. description: 冻结今日卖头寸
  1095. type: integer
  1096. freydbuyposition:
  1097. description: 冻结上日买头寸
  1098. type: integer
  1099. freydsellposition:
  1100. description: 冻结上日卖头寸
  1101. type: integer
  1102. goodscode:
  1103. description: 商品代码
  1104. type: string
  1105. goodsid:
  1106. description: 商品id
  1107. type: integer
  1108. goodsname:
  1109. description: 商品名称
  1110. type: string
  1111. hedgeaccountcode:
  1112. description: 对冲账号
  1113. type: string
  1114. hedgegoodsid:
  1115. description: 对冲合约ID
  1116. type: integer
  1117. increaseqty:
  1118. description: 增加数量 = 期末买头寸 - 期初买头寸
  1119. type: integer
  1120. marketid:
  1121. description: 市场ID
  1122. type: integer
  1123. relateduserid:
  1124. description: 关联用户id
  1125. type: integer
  1126. totalcurqty:
  1127. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1128. type: integer
  1129. totalydqty:
  1130. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1131. type: integer
  1132. tradedate:
  1133. description: 交易日(yyyyMMdd)
  1134. type: string
  1135. ydbuyposition:
  1136. description: 期初买头寸
  1137. type: integer
  1138. ydsellposition:
  1139. description: 期初卖头寸
  1140. type: integer
  1141. type: object
  1142. ermcp.ExposureSpotDetailRsp:
  1143. properties:
  1144. contracttype:
  1145. description: 合同类型 1-采购 -1-销售
  1146. type: integer
  1147. createtime:
  1148. description: 创建时间
  1149. type: string
  1150. enumdicname:
  1151. description: 现货商品单位名称
  1152. type: string
  1153. logtype:
  1154. description: 记录类型 1-套保 2-现货合同
  1155. type: integer
  1156. qty:
  1157. description: 数量
  1158. type: number
  1159. recordname:
  1160. description: 类型名称
  1161. type: string
  1162. relatedid:
  1163. description: 套保计划ID/现货合同ID
  1164. type: string
  1165. relatedno:
  1166. description: 编号
  1167. type: string
  1168. strtime:
  1169. description: 时间
  1170. type: string
  1171. wrstandardcode:
  1172. description: 现货商品代码
  1173. type: string
  1174. wrstandardname:
  1175. description: 现货商品名称
  1176. type: string
  1177. type: object
  1178. ermcp.ExposureSpotRsp:
  1179. properties:
  1180. areauserid:
  1181. description: 所属机构
  1182. type: integer
  1183. decreaseqty:
  1184. description: 减少数量=-(销售已定价数量+采购计划数量)
  1185. type: number
  1186. increaseqty:
  1187. description: 增加数量=销售计划数量+采购已定价数量
  1188. type: number
  1189. oritoalspotqty:
  1190. description: 昨日数量
  1191. type: number
  1192. totalspotqty:
  1193. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1194. type: number
  1195. updatetime:
  1196. description: 更新时间
  1197. type: string
  1198. wrstandardcode:
  1199. description: 现货品种代码
  1200. type: string
  1201. wrstandardid:
  1202. description: 现货商品ID
  1203. type: integer
  1204. wrstandardname:
  1205. description: 现货品种
  1206. type: string
  1207. type: object
  1208. ermcp.HisExposureRsp:
  1209. properties:
  1210. data:
  1211. description: 历史敞口
  1212. items:
  1213. $ref: '#/definitions/models.ErmcpHisExposure'
  1214. type: array
  1215. enumdicname:
  1216. description: 单位名称
  1217. type: string
  1218. middlegoodscode:
  1219. description: 套保品种代码
  1220. type: string
  1221. middlegoodsid:
  1222. description: 套保品种ID
  1223. type: integer
  1224. middlegoodsname:
  1225. description: 套保品种名称
  1226. type: string
  1227. type: object
  1228. ermcp.PendingAuditCntRsp:
  1229. properties:
  1230. areastockqty:
  1231. description: '待审核数量: 库存申请'
  1232. type: integer
  1233. businessdjqty:
  1234. description: '待审核数量: 点价'
  1235. type: integer
  1236. businessfpqty:
  1237. description: '待审核数量: 发票'
  1238. type: integer
  1239. businessjsqty:
  1240. description: '待审核数量: 结算'
  1241. type: integer
  1242. businesskxqty:
  1243. description: '待审核数量: 款项'
  1244. type: integer
  1245. hedgeplanqty:
  1246. description: '待审核数量: 套保计划'
  1247. type: integer
  1248. spotcontractqty:
  1249. description: '待审核数量: 现货合同'
  1250. type: integer
  1251. userqty:
  1252. description: '待审核数量: 用户'
  1253. type: integer
  1254. type: object
  1255. ermcp.QryAvalidGPRsp:
  1256. properties:
  1257. goodsgroupid:
  1258. description: 期货品种id
  1259. type: integer
  1260. goodsgroupname:
  1261. description: 期货品种名称
  1262. type: string
  1263. goodunitid:
  1264. description: 品种单位id
  1265. type: integer
  1266. goodunitname:
  1267. description: 品种单位名称
  1268. type: string
  1269. outergroupcode:
  1270. description: 期货品种代码
  1271. type: string
  1272. type: object
  1273. ermcp.QryBusinessDjRsp:
  1274. properties:
  1275. amount:
  1276. description: 点价金额=(点价价格+升贴水)*点价数量
  1277. type: number
  1278. applyid:
  1279. description: 申请人
  1280. type: string
  1281. applyname:
  1282. description: 申请人名称
  1283. type: string
  1284. applystatus:
  1285. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1286. type: integer
  1287. applytime:
  1288. description: 申请时间
  1289. type: string
  1290. attachurl:
  1291. description: 附件
  1292. type: string
  1293. auditid:
  1294. description: 审核人ID
  1295. type: string
  1296. auditname:
  1297. description: 审核人名称
  1298. type: string
  1299. auditremark:
  1300. description: 审核备注
  1301. type: string
  1302. audittime:
  1303. description: 审核时间
  1304. type: string
  1305. buyusername:
  1306. description: 采购方名称
  1307. type: string
  1308. contractno:
  1309. description: 合同编号
  1310. type: string
  1311. contractstatus:
  1312. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1313. type: integer
  1314. contracttype:
  1315. description: 现货合同类型 - 1:采购 -1:销售
  1316. type: integer
  1317. deliverygoodscode:
  1318. description: 现货品种代码
  1319. type: string
  1320. deliverygoodsid:
  1321. description: 现货商品ID
  1322. type: integer
  1323. deliverygoodsname:
  1324. description: 现货品种名称
  1325. type: string
  1326. enumdicname:
  1327. description: 单位名称
  1328. type: string
  1329. goodscode:
  1330. description: 点价合约
  1331. type: string
  1332. goodsname:
  1333. description: 商品名称
  1334. type: string
  1335. operateapplyid:
  1336. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1337. type: string
  1338. operateapplytype:
  1339. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1340. type: integer
  1341. pricedPrice:
  1342. description: 点价价格(非必填)
  1343. type: number
  1344. pricedQty:
  1345. description: 点价数量(非必填)
  1346. type: number
  1347. pricemove:
  1348. description: 升贴水
  1349. type: number
  1350. pricetype:
  1351. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1352. type: integer
  1353. relatedid:
  1354. description: 现货合同ID
  1355. type: string
  1356. sellusername:
  1357. description: 销售方名字
  1358. type: string
  1359. userid:
  1360. description: 用户ID
  1361. type: integer
  1362. wrstandardcode:
  1363. description: 品类代码
  1364. type: string
  1365. wrstandardid:
  1366. description: 品类id
  1367. type: integer
  1368. wrstandardname:
  1369. description: 品类名称
  1370. type: string
  1371. type: object
  1372. ermcp.QryBussinessFpRsp:
  1373. properties:
  1374. applyid:
  1375. description: 申请人
  1376. type: string
  1377. applyname:
  1378. description: 申请人名称
  1379. type: string
  1380. applystatus:
  1381. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1382. type: integer
  1383. applytime:
  1384. description: 申请时间
  1385. type: string
  1386. attachurl:
  1387. description: 附件
  1388. type: string
  1389. auditid:
  1390. description: 审核人ID
  1391. type: string
  1392. auditname:
  1393. description: 审核人名称
  1394. type: string
  1395. auditremark:
  1396. description: 审核备注
  1397. type: string
  1398. audittime:
  1399. description: 审核时间
  1400. type: string
  1401. buyusername:
  1402. description: 采购方名称
  1403. type: string
  1404. contractno:
  1405. description: 合同编号
  1406. type: string
  1407. contractstatus:
  1408. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1409. type: integer
  1410. contracttype:
  1411. description: 现货合同类型 - 1:采购 -1:销售
  1412. type: integer
  1413. deliverygoodscode:
  1414. description: 现货品种代码
  1415. type: string
  1416. deliverygoodsid:
  1417. description: 现货商品ID
  1418. type: integer
  1419. deliverygoodsname:
  1420. description: 现货品种名称
  1421. type: string
  1422. enumdicname:
  1423. description: 单位名称
  1424. type: string
  1425. goodscode:
  1426. description: 点价合约
  1427. type: string
  1428. goodsname:
  1429. description: 商品名称
  1430. type: string
  1431. invoiceAmount:
  1432. description: 已开收票金额(销售为开票,采购为收票)
  1433. type: number
  1434. operateapplyid:
  1435. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1436. type: string
  1437. operateapplytype:
  1438. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1439. type: integer
  1440. pricemove:
  1441. description: 升贴水
  1442. type: number
  1443. pricetype:
  1444. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1445. type: integer
  1446. relatedid:
  1447. description: 现货合同ID
  1448. type: string
  1449. sellusername:
  1450. description: 销售方名字
  1451. type: string
  1452. userid:
  1453. description: 用户ID
  1454. type: integer
  1455. wrstandardcode:
  1456. description: 品类代码
  1457. type: string
  1458. wrstandardid:
  1459. description: 品类id
  1460. type: integer
  1461. wrstandardname:
  1462. description: 品类名称
  1463. type: string
  1464. type: object
  1465. ermcp.QryBussinessJsExRsp:
  1466. properties:
  1467. applyid:
  1468. description: 申请人
  1469. type: string
  1470. applyname:
  1471. description: 申请人名称
  1472. type: string
  1473. applystatus:
  1474. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1475. type: integer
  1476. applytime:
  1477. description: 申请时间
  1478. type: string
  1479. attachurl:
  1480. description: 附件
  1481. type: string
  1482. auditid:
  1483. description: 审核人ID
  1484. type: string
  1485. auditname:
  1486. description: 审核人名称
  1487. type: string
  1488. auditremark:
  1489. description: 审核备注
  1490. type: string
  1491. audittime:
  1492. description: 审核时间
  1493. type: string
  1494. buyusername:
  1495. description: 采购方名称
  1496. type: string
  1497. contractno:
  1498. description: 合同编号
  1499. type: string
  1500. contractstatus:
  1501. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1502. type: integer
  1503. contracttype:
  1504. description: 现货合同类型 - 1:采购 -1:销售
  1505. type: integer
  1506. deliverygoodscode:
  1507. description: 现货品种代码
  1508. type: string
  1509. deliverygoodsid:
  1510. description: 现货商品ID
  1511. type: integer
  1512. deliverygoodsname:
  1513. description: 现货品种名称
  1514. type: string
  1515. enumdicname:
  1516. description: 单位名称
  1517. type: string
  1518. goodscode:
  1519. description: 点价合约
  1520. type: string
  1521. goodsname:
  1522. description: 商品名称
  1523. type: string
  1524. operateapplyid:
  1525. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1526. type: string
  1527. operateapplytype:
  1528. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1529. type: integer
  1530. pricemove:
  1531. description: 升贴水
  1532. type: number
  1533. pricetype:
  1534. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1535. type: integer
  1536. reckontype:
  1537. description: 结算类型
  1538. type: string
  1539. reckonvalue:
  1540. description: 值
  1541. type: number
  1542. relatedid:
  1543. description: 现货合同ID
  1544. type: string
  1545. sellusername:
  1546. description: 销售方名字
  1547. type: string
  1548. userid:
  1549. description: 用户ID
  1550. type: integer
  1551. wrstandardcode:
  1552. description: 品类代码
  1553. type: string
  1554. wrstandardid:
  1555. description: 品类id
  1556. type: integer
  1557. wrstandardname:
  1558. description: 品类名称
  1559. type: string
  1560. type: object
  1561. ermcp.QryBussinessJsRsp:
  1562. properties:
  1563. addmargin:
  1564. description: 追加保证金(非必填)
  1565. type: number
  1566. applyid:
  1567. description: 申请人
  1568. type: string
  1569. applyname:
  1570. description: 申请人名称
  1571. type: string
  1572. applystatus:
  1573. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1574. type: integer
  1575. applytime:
  1576. description: 申请时间
  1577. type: string
  1578. attachurl:
  1579. description: 附件
  1580. type: string
  1581. auditid:
  1582. description: 审核人ID
  1583. type: string
  1584. auditname:
  1585. description: 审核人名称
  1586. type: string
  1587. auditremark:
  1588. description: 审核备注
  1589. type: string
  1590. audittime:
  1591. description: 审核时间
  1592. type: string
  1593. buyusername:
  1594. description: 采购方名称
  1595. type: string
  1596. contractno:
  1597. description: 合同编号
  1598. type: string
  1599. contractstatus:
  1600. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1601. type: integer
  1602. contracttype:
  1603. description: 现货合同类型 - 1:采购 -1:销售
  1604. type: integer
  1605. decmargin:
  1606. description: 减少保证金(非必填)
  1607. type: number
  1608. deliverygoodscode:
  1609. description: 现货品种代码
  1610. type: string
  1611. deliverygoodsid:
  1612. description: 现货商品ID
  1613. type: integer
  1614. deliverygoodsname:
  1615. description: 现货品种名称
  1616. type: string
  1617. enumdicname:
  1618. description: 单位名称
  1619. type: string
  1620. goodscode:
  1621. description: 点价合约
  1622. type: string
  1623. goodsname:
  1624. description: 商品名称
  1625. type: string
  1626. operateapplyid:
  1627. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1628. type: string
  1629. operateapplytype:
  1630. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1631. type: integer
  1632. pricemove:
  1633. description: 升贴水
  1634. type: number
  1635. pricetype:
  1636. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1637. type: integer
  1638. reckonadjustamount:
  1639. description: 结算调整金额(非必填)
  1640. type: number
  1641. reckonosamount:
  1642. description: 结算溢短金额(非必填)
  1643. type: number
  1644. reckonotheramount:
  1645. description: 结算其他费用(非必填)
  1646. type: number
  1647. reckonrealqty:
  1648. description: 结算实际数量(非必填)
  1649. type: number
  1650. relatedid:
  1651. description: 现货合同ID
  1652. type: string
  1653. sellusername:
  1654. description: 销售方名字
  1655. type: string
  1656. userid:
  1657. description: 用户ID
  1658. type: integer
  1659. wrstandardcode:
  1660. description: 品类代码
  1661. type: string
  1662. wrstandardid:
  1663. description: 品类id
  1664. type: integer
  1665. wrstandardname:
  1666. description: 品类名称
  1667. type: string
  1668. type: object
  1669. ermcp.QryBussinessKxRsp:
  1670. properties:
  1671. applyid:
  1672. description: 申请人
  1673. type: string
  1674. applyname:
  1675. description: 申请人名称
  1676. type: string
  1677. applystatus:
  1678. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1679. type: integer
  1680. applytime:
  1681. description: 申请时间
  1682. type: string
  1683. attachurl:
  1684. description: 附件
  1685. type: string
  1686. auditid:
  1687. description: 审核人ID
  1688. type: string
  1689. auditname:
  1690. description: 审核人名称
  1691. type: string
  1692. auditremark:
  1693. description: 审核备注
  1694. type: string
  1695. audittime:
  1696. description: 审核时间
  1697. type: string
  1698. buyusername:
  1699. description: 采购方名称
  1700. type: string
  1701. contractno:
  1702. description: 合同编号
  1703. type: string
  1704. contractstatus:
  1705. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1706. type: integer
  1707. contracttype:
  1708. description: 现货合同类型 - 1:采购 -1:销售
  1709. type: integer
  1710. deductamount:
  1711. description: 退款(非必填)
  1712. type: number
  1713. deliverygoodscode:
  1714. description: 现货品种代码
  1715. type: string
  1716. deliverygoodsid:
  1717. description: 现货商品ID
  1718. type: integer
  1719. deliverygoodsname:
  1720. description: 现货品种名称
  1721. type: string
  1722. enumdicname:
  1723. description: 单位名称
  1724. type: string
  1725. goodscode:
  1726. description: 点价合约
  1727. type: string
  1728. goodsname:
  1729. description: 商品名称
  1730. type: string
  1731. kxtype:
  1732. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1733. type: integer
  1734. operateapplyid:
  1735. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1736. type: string
  1737. operateapplytype:
  1738. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1739. type: integer
  1740. payamount:
  1741. description: 收付款(非必填)
  1742. type: number
  1743. pricemove:
  1744. description: 升贴水
  1745. type: number
  1746. pricetype:
  1747. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1748. type: integer
  1749. relatedid:
  1750. description: 现货合同ID
  1751. type: string
  1752. sellusername:
  1753. description: 销售方名字
  1754. type: string
  1755. userid:
  1756. description: 用户ID
  1757. type: integer
  1758. wrstandardcode:
  1759. description: 品类代码
  1760. type: string
  1761. wrstandardid:
  1762. description: 品类id
  1763. type: integer
  1764. wrstandardname:
  1765. description: 品类名称
  1766. type: string
  1767. type: object
  1768. ermcp.QryGGCovertCfgRsp:
  1769. properties:
  1770. convertratio:
  1771. description: 折算系数
  1772. type: number
  1773. destgoodsgroupid:
  1774. description: 目标品种ID
  1775. type: integer
  1776. dstcode:
  1777. description: 目录品种代码
  1778. type: string
  1779. dstexchangecode:
  1780. description: 目标期货交易所
  1781. type: string
  1782. dstname:
  1783. description: 目标品种名称
  1784. type: string
  1785. dstunitid:
  1786. description: 目标品种单位ID
  1787. type: integer
  1788. dstunitidname:
  1789. description: 目标品种单位名称
  1790. type: string
  1791. modifytime:
  1792. description: 修改时间
  1793. type: string
  1794. srccode:
  1795. description: 源品种代码
  1796. type: string
  1797. srcexchangecode:
  1798. description: 源期货交易所
  1799. type: string
  1800. srcgoodsgroupid:
  1801. description: 源品种ID
  1802. type: integer
  1803. srcname:
  1804. description: 源品种名称
  1805. type: string
  1806. srcunitid:
  1807. description: 源品种单位ID
  1808. type: integer
  1809. srcunitidname:
  1810. description: 源品种单位名称
  1811. type: string
  1812. type: object
  1813. ermcp.QryMGChangeLogRsp:
  1814. properties:
  1815. aftervalue:
  1816. description: 变更后
  1817. type: number
  1818. applyid:
  1819. description: 操作人
  1820. type: integer
  1821. applyname:
  1822. description: 操作人名称
  1823. type: string
  1824. applysrc:
  1825. description: 操作来源 - 1:管理端 2:终端
  1826. type: integer
  1827. beforevalue:
  1828. description: 变更前
  1829. type: number
  1830. changelogtype:
  1831. description: 变更流水类型 - 1:套保比率变更
  1832. type: integer
  1833. handlestatus:
  1834. description: 处理状态
  1835. type: integer
  1836. logdatetime:
  1837. description: 流水日期
  1838. type: string
  1839. logid:
  1840. description: 流水ID
  1841. type: integer
  1842. logremark:
  1843. description: 流水备注
  1844. type: string
  1845. middlegoodsid:
  1846. description: 套保品种ID
  1847. type: integer
  1848. tradedate:
  1849. description: 交易日(yyyyMMdd)
  1850. type: string
  1851. updatetime:
  1852. description: 更新时间
  1853. type: string
  1854. type: object
  1855. ermcp.QryMiddleGoodsDetailRsp:
  1856. properties:
  1857. cvList:
  1858. description: 期货品种折算列表
  1859. items:
  1860. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1861. type: array
  1862. mg:
  1863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1864. description: 套保品种基本信息
  1865. wrcList:
  1866. description: 现货品种列表(现货商品折算配置)
  1867. items:
  1868. $ref: '#/definitions/models.WRSConverTDetail'
  1869. type: array
  1870. type: object
  1871. ermcp.QryMiddleGoodsRsp:
  1872. properties:
  1873. areauserid:
  1874. description: 机构用户ID
  1875. type: integer
  1876. createtime:
  1877. description: 修改时间
  1878. type: string
  1879. enumdicname:
  1880. description: 单位名称
  1881. type: string
  1882. evaluateratio:
  1883. description: 估价系数
  1884. type: number
  1885. goodsgroupid:
  1886. description: 关联期货品种ID
  1887. type: integer
  1888. goodsunitid:
  1889. description: 单位ID
  1890. type: integer
  1891. isvalid:
  1892. description: 状态 0-无效(停用) 1-有效(正常)
  1893. type: integer
  1894. middlegoodscode:
  1895. description: 套保品种代码
  1896. type: string
  1897. middlegoodsid:
  1898. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1899. type: integer
  1900. middlegoodsname:
  1901. description: 套保品种名称
  1902. type: string
  1903. modifytime:
  1904. description: 修改时间
  1905. type: string
  1906. needarbitrageratio:
  1907. description: 套利比例
  1908. type: number
  1909. needhedgeratio:
  1910. description: 套保比率
  1911. type: number
  1912. qtydecimalplace:
  1913. description: 数量小数位
  1914. type: integer
  1915. relatedgoodsid:
  1916. description: 关联交易商品ID
  1917. type: integer
  1918. relatedgoodstype:
  1919. description: 关联商品类型 - 1:期货合约 2:现货品种
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. type: object
  1925. ermcp.QryOPLogRsp:
  1926. properties:
  1927. aftervalue:
  1928. description: 变更后
  1929. type: number
  1930. applyid:
  1931. description: 操作人ID
  1932. type: string
  1933. applyname:
  1934. description: 操作人名称
  1935. type: string
  1936. beforevalue:
  1937. description: 变更前
  1938. type: number
  1939. biztype:
  1940. description: 业务类型 - 1:套保计划 2:现货合同
  1941. type: integer
  1942. contracttype:
  1943. description: 现货合同类型 - 1:采购 -1:销售
  1944. type: integer
  1945. logvalue:
  1946. description: 数值
  1947. type: number
  1948. operatelogtype:
  1949. description: 操作流水类型
  1950. type: integer
  1951. operatelogtypedesc:
  1952. description: 操作流水类型名称
  1953. type: string
  1954. relatedid:
  1955. description: 现货合同ID\套保计划
  1956. type: string
  1957. updatetime:
  1958. description: 更新时间
  1959. type: string
  1960. type: object
  1961. ermcp.QryUserInfoRsp:
  1962. properties:
  1963. address:
  1964. description: 通讯地址
  1965. type: string
  1966. attachment1:
  1967. description: 附件1
  1968. type: string
  1969. audittime:
  1970. description: 审核时间
  1971. type: string
  1972. cardbackphotourl:
  1973. description: 证件反面图片地址
  1974. type: string
  1975. cardfrontphotourl:
  1976. description: 证件正面图片地址
  1977. type: string
  1978. cardnum:
  1979. description: 证件号码
  1980. type: string
  1981. cardtype:
  1982. description: 证件类型
  1983. type: integer
  1984. cardtypename:
  1985. description: 证件类型名称
  1986. type: string
  1987. cityid:
  1988. description: 市
  1989. type: integer
  1990. contactname:
  1991. description: 联系人
  1992. type: string
  1993. countryid:
  1994. description: 国家
  1995. type: integer
  1996. createtime:
  1997. description: 创建时间
  1998. type: string
  1999. customername:
  2000. description: 企业名称
  2001. type: string
  2002. districtid:
  2003. description: 区域
  2004. type: integer
  2005. email:
  2006. description: 邮件
  2007. type: string
  2008. legalpersonname:
  2009. description: 法人姓名(企业)
  2010. type: string
  2011. memberuserid:
  2012. description: 所属机构ID
  2013. type: integer
  2014. mobile:
  2015. description: 手机号码
  2016. type: string
  2017. modifytime:
  2018. description: 修改时间
  2019. type: string
  2020. nickname:
  2021. description: 昵称
  2022. type: string
  2023. provinceid:
  2024. description: 省
  2025. type: integer
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. status:
  2030. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2031. type: integer
  2032. statusdesc:
  2033. description: 账户状态中文描述
  2034. type: string
  2035. taxpayernum:
  2036. description: 纳税人识别号
  2037. type: string
  2038. telphone:
  2039. description: 联系电话
  2040. type: string
  2041. userid:
  2042. description: 用户ID
  2043. type: integer
  2044. userinfotype:
  2045. description: 客户类型
  2046. type: string
  2047. type: object
  2048. ermcp.QryWarehouseRsp:
  2049. properties:
  2050. address:
  2051. description: 详细地址
  2052. type: string
  2053. areauserid:
  2054. description: 所属机构
  2055. type: integer
  2056. autoid:
  2057. description: 自增ID(仓库ID)
  2058. type: integer
  2059. cityid:
  2060. description: 市
  2061. type: integer
  2062. contactname:
  2063. description: 联系人
  2064. type: string
  2065. contactnum:
  2066. description: 联系电话
  2067. type: string
  2068. countryid:
  2069. description: 国家
  2070. type: integer
  2071. createtime:
  2072. description: 创建时间
  2073. type: string
  2074. districtid:
  2075. description: 区
  2076. type: integer
  2077. hasvideo:
  2078. description: 是否有视频 - 0:无 1:有
  2079. type: integer
  2080. provinceid:
  2081. description: 省
  2082. type: integer
  2083. remark:
  2084. description: 审核备注
  2085. type: string
  2086. videourl:
  2087. description: 视频地址
  2088. type: string
  2089. warehousecode:
  2090. description: 仓库代码
  2091. type: string
  2092. warehousename:
  2093. description: 仓库名称
  2094. type: string
  2095. warehousestatus:
  2096. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2097. type: integer
  2098. warehousetype:
  2099. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2100. type: integer
  2101. type: object
  2102. ermcp.QueryErmcpTradePositionRsp:
  2103. properties:
  2104. agreeunit:
  2105. description: 合约单位
  2106. type: number
  2107. buyorsell:
  2108. description: 方向 - 0:买 1:卖
  2109. type: integer
  2110. curpositionqty:
  2111. description: 持仓(总仓数量, 期末头寸)
  2112. type: integer
  2113. curtdposition:
  2114. description: 今仓数量(期末今日头寸)
  2115. type: integer
  2116. curtdpositionenabled:
  2117. description: 今仓可用
  2118. type: integer
  2119. decimalplace:
  2120. description: 报价小数位
  2121. type: integer
  2122. enableqty:
  2123. description: 可用(总仓可用)
  2124. type: integer
  2125. exexchangename:
  2126. description: 外部交易所名称
  2127. type: string
  2128. exexehangecode:
  2129. description: 外部交易所代码
  2130. type: string
  2131. exexehangeid:
  2132. description: 外部交易所id
  2133. type: integer
  2134. goodscode:
  2135. description: 商品代码(内部)
  2136. type: string
  2137. goodsid:
  2138. description: 商品ID(自增ID SEQ_GOODS)
  2139. type: integer
  2140. goodsname:
  2141. description: 商品名称
  2142. type: string
  2143. last:
  2144. description: 现价
  2145. type: number
  2146. marketid:
  2147. description: 所属市场ID
  2148. type: integer
  2149. openaverageprice:
  2150. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2151. type: number
  2152. opencost:
  2153. description: 开仓成本
  2154. type: number
  2155. openpl:
  2156. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2157. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2158. type: number
  2159. outgoodscode:
  2160. description: 商品代码(外部)
  2161. type: string
  2162. positionaverageprice:
  2163. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2164. type: number
  2165. positioncost:
  2166. description: 持仓成本
  2167. type: number
  2168. positionpl:
  2169. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2170. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2171. type: number
  2172. positionplrate:
  2173. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2174. type: number
  2175. usedmargin:
  2176. description: 占用保证金
  2177. type: number
  2178. type: object
  2179. ermcp.RealtimeExposurePositionRsp:
  2180. properties:
  2181. agreeunit:
  2182. description: 合约单位
  2183. type: string
  2184. areauserid:
  2185. description: 所属机构id
  2186. type: integer
  2187. convertratio:
  2188. description: 期货品种系数(折算系数)
  2189. type: number
  2190. curqty:
  2191. description: 当前持仓
  2192. type: integer
  2193. diffhedgeqty:
  2194. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2195. type: number
  2196. diffqty:
  2197. description: 持仓变动量=当前持仓-昨日持仓
  2198. type: integer
  2199. goodscode:
  2200. description: 商品代码
  2201. type: string
  2202. goodsid:
  2203. description: 商品id
  2204. type: integer
  2205. goodsname:
  2206. description: 商品名称
  2207. type: string
  2208. middlegoodsid:
  2209. description: 套保商品id
  2210. type: integer
  2211. ydqty:
  2212. description: 昨日持仓
  2213. type: integer
  2214. type: object
  2215. ermcp.RealtimeExposureRsp:
  2216. properties:
  2217. AreaUserID:
  2218. description: 所属机构
  2219. type: integer
  2220. BuyFutureQty:
  2221. description: 买入期货数量
  2222. type: number
  2223. BuyPlanQty:
  2224. description: 采购计划数量
  2225. type: number
  2226. BuyPricedQty:
  2227. description: 采购合同已定价数量
  2228. type: number
  2229. MiddleGoodsCode:
  2230. description: 套保品种代码
  2231. type: string
  2232. MiddleGoodsHedgeRatio:
  2233. description: 套保比例
  2234. type: number
  2235. MiddleGoodsID:
  2236. description: 套保品种
  2237. type: integer
  2238. MiddleGoodsName:
  2239. description: 套保品种名称
  2240. type: string
  2241. NeedHedgeExposoure:
  2242. description: 应套保敞口(套保敞口)
  2243. type: number
  2244. NeedHedgeRatio:
  2245. description: 应套保敞口比例
  2246. type: number
  2247. OriBuyFutureQty:
  2248. description: 期初买入期货数量
  2249. type: number
  2250. OriBuyPlanQty:
  2251. description: 期初采购计划数量
  2252. type: number
  2253. OriBuyPricedQty:
  2254. description: 期初采购合同已定价数量
  2255. type: number
  2256. OriSellFutureQty:
  2257. description: 期初卖出期货数量
  2258. type: number
  2259. OriSellPlanQty:
  2260. description: 期初销售计划数量
  2261. type: number
  2262. OriSellPricedQty:
  2263. description: 期初销售合同已定价数量
  2264. type: number
  2265. SellFutureQty:
  2266. description: 卖出期货数量
  2267. type: number
  2268. SellPlanQty:
  2269. description: 销售计划数量
  2270. type: number
  2271. SellPricedQty:
  2272. description: 销售合同已定价数量
  2273. type: number
  2274. TotalExposure:
  2275. description: 总敞口 平安:净敞口
  2276. type: number
  2277. TotalFutureQty:
  2278. description: 期货总量 平安:保值净持仓量
  2279. type: number
  2280. TotalHedgeRatio:
  2281. description: 敞口比例
  2282. type: number
  2283. TotalNeedHedgeQty:
  2284. description: 应套保总量(现货应套保总量)
  2285. type: number
  2286. TotalSpotQty:
  2287. description: 现货总量 平安:采销定价净值
  2288. type: number
  2289. arbitrageqty:
  2290. description: 套利量
  2291. type: number
  2292. diffArbitrageQty:
  2293. description: 套利变动量
  2294. type: number
  2295. diffExposoureQty:
  2296. description: 变动量(套保敞口)
  2297. type: number
  2298. diffFutuQty:
  2299. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2300. type: number
  2301. diffHedgeQty:
  2302. description: 套保变动量
  2303. type: number
  2304. diffQty:
  2305. description: 变动量(总敞口) 平安:净敞口今日变动
  2306. type: number
  2307. diffSpotHedgeQty:
  2308. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2309. type: number
  2310. diffSpotQty:
  2311. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2312. type: number
  2313. enumdicname:
  2314. description: 单位名称
  2315. type: string
  2316. hedgeqty:
  2317. description: 套保量
  2318. type: number
  2319. needarbitrageqty:
  2320. description: 应套利量
  2321. type: number
  2322. needarbitrageratio:
  2323. description: 套利比例
  2324. type: number
  2325. needhedgeqty:
  2326. description: 应套保量
  2327. type: number
  2328. oriTotalFutuQty:
  2329. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2330. type: number
  2331. oriTotalSpotQty:
  2332. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2333. type: number
  2334. oriarbitrageqty:
  2335. description: 期初套利量
  2336. type: number
  2337. orihedgeqty:
  2338. description: 期初套保量
  2339. type: number
  2340. orineedhedgeexposoure:
  2341. description: 期初套保敞口
  2342. type: number
  2343. oritotalexposure:
  2344. description: 期初总敞口
  2345. type: number
  2346. oritotalfutureqty:
  2347. description: 期初期货总量
  2348. type: number
  2349. oritotalneedhedgeqty:
  2350. description: 期初现货应套保量
  2351. type: number
  2352. type: object
  2353. erms2.QueryArbitrageStrategyRsp:
  2354. properties:
  2355. applybasis:
  2356. description: 申请基差
  2357. type: number
  2358. asapplyid:
  2359. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2360. type: string
  2361. asname:
  2362. description: 策略名称
  2363. type: string
  2364. asno:
  2365. description: 策略编号
  2366. type: string
  2367. basischangepl:
  2368. description: 基差变动损益[结算更新]
  2369. type: number
  2370. biztype:
  2371. description: 业务类型 - 1:正向套利 -1:反向套利
  2372. type: integer
  2373. closetradedate:
  2374. description: 完结交易日(yyyyMMdd)
  2375. type: string
  2376. curbasis:
  2377. description: 当前基差[结算更新]
  2378. type: number
  2379. deliverygoodsid:
  2380. description: 现货品种ID
  2381. type: integer
  2382. futureavgprice:
  2383. description: 期货建仓均价
  2384. type: number
  2385. futurecloseamount:
  2386. description: 期货平仓金额
  2387. type: number
  2388. futurecloseqty:
  2389. description: 期货平仓数量
  2390. type: number
  2391. futureopenamount:
  2392. description: 期货开仓金额
  2393. type: number
  2394. futureopenqty:
  2395. description: 期货开仓数量
  2396. type: number
  2397. futurepl:
  2398. description: 期货总盈亏[结算更新]
  2399. type: number
  2400. futureqty:
  2401. description: 期货持仓数量
  2402. type: number
  2403. futurequote:
  2404. description: 期货额度
  2405. type: number
  2406. goodsgroupid:
  2407. description: 期货品种ID
  2408. type: integer
  2409. marketid:
  2410. description: 市场ID
  2411. type: integer
  2412. netexposure:
  2413. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2414. type: number
  2415. netexposurepl:
  2416. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2417. type: number
  2418. netexposurerate:
  2419. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2420. type: number
  2421. openbasis:
  2422. description: 建仓基差
  2423. type: number
  2424. pricedspotqty:
  2425. description: 已定价现货数量
  2426. type: number
  2427. pricedspotqtynotax:
  2428. description: 已定价现货不含税数量
  2429. type: number
  2430. remark:
  2431. description: 备注
  2432. type: string
  2433. spotavgprice:
  2434. description: 现货均价
  2435. type: number
  2436. spotbuyamount:
  2437. description: 现货采购金额
  2438. type: number
  2439. spotbuyqty:
  2440. description: 现货采购数量
  2441. type: number
  2442. spotpl:
  2443. description: 现货总盈亏[结算更新]
  2444. type: number
  2445. spotquota:
  2446. description: 现货额度
  2447. type: number
  2448. spotsellamount:
  2449. description: 现货销售金额
  2450. type: number
  2451. spotsellqty:
  2452. description: 现货销售数量
  2453. type: number
  2454. spotusedquota:
  2455. description: 现货占用资金
  2456. type: number
  2457. strategystatus:
  2458. description: 策略状态 - 0:未结束 1:已结束
  2459. type: integer
  2460. totalpl:
  2461. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2462. type: number
  2463. tradedate:
  2464. description: 交易日(yyyyMMdd)
  2465. type: string
  2466. updatetime:
  2467. description: 更新时间
  2468. type: string
  2469. usedquota:
  2470. description: 已占用资金
  2471. type: number
  2472. userid:
  2473. description: 所属机构
  2474. type: integer
  2475. required:
  2476. - asapplyid
  2477. type: object
  2478. erms2.QueryInnerTradeDetailRsp:
  2479. properties:
  2480. accountid:
  2481. description: 账号ID
  2482. type: integer
  2483. agreeunit:
  2484. description: 合约单位
  2485. type: number
  2486. asapplyid:
  2487. description: 策略申请ID
  2488. type: integer
  2489. asname:
  2490. description: 策略名称
  2491. type: string
  2492. asno:
  2493. description: 策略编号
  2494. type: string
  2495. buyorsell:
  2496. description: 方向 - 0:买 1:卖
  2497. type: integer
  2498. channelbuildtype:
  2499. description: 委托单据类型 0:无 1:建仓 2:平仓
  2500. type: integer
  2501. closetype:
  2502. description: 平仓方式 - 0:无 1:平今 2:平昨
  2503. type: integer
  2504. decimalplace:
  2505. description: 报价小数位
  2506. type: integer
  2507. detailtype:
  2508. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2509. type: integer
  2510. exexchangecode:
  2511. description: 外部交易所代码
  2512. type: string
  2513. exexchangename:
  2514. description: 外部交易所名称
  2515. type: string
  2516. goodscode:
  2517. description: 商品代码(合约)
  2518. type: string
  2519. goodsgroupid:
  2520. description: 商品组ID(品种ID)
  2521. type: integer
  2522. goodsgroupname:
  2523. description: 商品组名称(品种)
  2524. type: string
  2525. goodsid:
  2526. description: 商品ID
  2527. type: integer
  2528. goodsname:
  2529. description: 商品名称(合约)
  2530. type: string
  2531. goodunit:
  2532. description: 报价单位
  2533. type: string
  2534. marketid:
  2535. description: 市场ID
  2536. type: integer
  2537. orderid:
  2538. description: 委托单号
  2539. type: string
  2540. outgoodscode:
  2541. description: 商品代码(外部)
  2542. type: string
  2543. relatedouttradeid:
  2544. description: 关联外部成交单ID
  2545. type: string
  2546. remark:
  2547. description: 备注
  2548. type: string
  2549. spotcontractid:
  2550. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2551. type: integer
  2552. spotcontractno:
  2553. description: 现货合同编号
  2554. type: string
  2555. tradeid:
  2556. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2557. type: string
  2558. tradeprice:
  2559. description: 成交价格
  2560. type: number
  2561. tradeqty:
  2562. description: 成交数量
  2563. type: integer
  2564. tradetime:
  2565. description: 成交时间
  2566. type: string
  2567. updatetime:
  2568. description: 更新时间
  2569. type: string
  2570. required:
  2571. - asapplyid
  2572. - buyorsell
  2573. - goodscode
  2574. - goodsgroupid
  2575. - goodsgroupname
  2576. - goodsname
  2577. - tradeid
  2578. type: object
  2579. erms2.QuerySpotContractRsp:
  2580. properties:
  2581. accountid:
  2582. description: 资金账户ID
  2583. type: integer
  2584. areauserid:
  2585. description: 所属机构
  2586. type: integer
  2587. closedate:
  2588. description: 终止日期
  2589. type: string
  2590. closeremark:
  2591. description: 结束备注
  2592. type: string
  2593. closetradedate:
  2594. description: 完结交易日(yyyyMMdd)
  2595. type: string
  2596. closetype:
  2597. description: 终止类型 - 1:违约 2:提前终止
  2598. type: integer
  2599. contractamount:
  2600. description: 合同金额
  2601. type: number
  2602. contractattachment:
  2603. description: 合同附件
  2604. type: string
  2605. contractno:
  2606. description: 现货合同编号
  2607. type: string
  2608. contractqty:
  2609. description: 合同数量(数值) (用于计算)
  2610. type: number
  2611. contractqtychar:
  2612. description: 合同数量\已订价数量 (用于显示)
  2613. type: string
  2614. contractstatus:
  2615. description: 合同状态 - 0:未结束 1:已结束
  2616. type: integer
  2617. contracttype:
  2618. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2619. type: integer
  2620. customeraccountid:
  2621. description: 客户资金账户ID
  2622. type: integer
  2623. customeruserid:
  2624. description: 客户ID
  2625. type: integer
  2626. deliverygoodsdesc:
  2627. description: 品种说明
  2628. type: string
  2629. deliverygoodsid:
  2630. description: 现货品种ID
  2631. type: integer
  2632. handlestatus:
  2633. description: 处理状态
  2634. type: integer
  2635. invoiceatt:
  2636. description: 发票附件
  2637. type: string
  2638. invoicedatetime:
  2639. description: 开收票更新时间
  2640. type: string
  2641. invoiceopentime:
  2642. description: 开票时间
  2643. type: string
  2644. invoiceremark:
  2645. description: 发票备注
  2646. type: string
  2647. invoicestatus:
  2648. description: 开收票状态 - 0:未开票 1:已开票
  2649. type: integer
  2650. lastdate:
  2651. description: 交货时间
  2652. type: string
  2653. marketid:
  2654. description: 市场ID
  2655. type: integer
  2656. paydatetime:
  2657. description: 收付款更新时间
  2658. type: string
  2659. payremark:
  2660. description: 收付款备注
  2661. type: string
  2662. paystatus:
  2663. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2664. type: integer
  2665. positionqty:
  2666. description: 头寸数量 - 合同数量去小数部分
  2667. type: integer
  2668. producttype:
  2669. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2670. type: integer
  2671. relatedqty:
  2672. description: 已关联数量
  2673. type: number
  2674. relatedstatus:
  2675. description: 关联完结状态 - 0:未结束 1:已结束
  2676. type: integer
  2677. remark:
  2678. description: 备注
  2679. type: string
  2680. signdate:
  2681. description: 签订日期
  2682. type: string
  2683. spotcontractid:
  2684. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2685. type: string
  2686. spotdatetime:
  2687. description: 收发货更新时间
  2688. type: string
  2689. spotprice:
  2690. description: 价格
  2691. type: number
  2692. spotremark:
  2693. description: 收发货备注
  2694. type: string
  2695. spotstatus:
  2696. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2697. type: integer
  2698. tradedate:
  2699. description: 交易日(yyyyMMdd)
  2700. type: string
  2701. userid:
  2702. description: 业务员用户ID
  2703. type: integer
  2704. warehouseid:
  2705. description: 仓库ID
  2706. type: integer
  2707. wrfactortypeid:
  2708. description: 仓单要素类型ID
  2709. type: integer
  2710. wrstandardid:
  2711. description: 仓单标准ID(SEQ_WRSTANDARD)
  2712. type: integer
  2713. required:
  2714. - spotcontractid
  2715. type: object
  2716. erms3.AddErms2ASApplyReq:
  2717. properties:
  2718. applybasis:
  2719. description: 申请基差
  2720. type: number
  2721. applystatus:
  2722. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2723. type: integer
  2724. asapplyid:
  2725. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2726. type: integer
  2727. asname:
  2728. description: 策略名称
  2729. type: string
  2730. asno:
  2731. description: 策略编号
  2732. type: string
  2733. auditid:
  2734. description: 审核人
  2735. type: integer
  2736. auditremark:
  2737. description: 审核备注
  2738. type: string
  2739. audittime:
  2740. description: 审核时间
  2741. type: string
  2742. biztype:
  2743. description: 业务类型 - 1:正向套利 2:反向套利
  2744. type: integer
  2745. createtime:
  2746. description: 创建时间
  2747. type: string
  2748. creatorid:
  2749. description: 创建人
  2750. type: integer
  2751. deliverygoodsid:
  2752. description: 现货品种ID
  2753. type: integer
  2754. futurequote:
  2755. description: 期货额度
  2756. type: number
  2757. goodsgroupid:
  2758. description: 期货品种ID
  2759. type: integer
  2760. marketid:
  2761. description: 市场ID
  2762. type: integer
  2763. remark:
  2764. description: 备注
  2765. type: string
  2766. spotquota:
  2767. description: 现货额度
  2768. type: number
  2769. tradedate:
  2770. description: 交易日(yyyyMMdd)
  2771. type: string
  2772. userid:
  2773. description: 所属机构
  2774. type: integer
  2775. required:
  2776. - asapplyid
  2777. type: object
  2778. erms3.AddErms2SpotTradeApplyReq:
  2779. properties:
  2780. applyjsondetail:
  2781. description: 申请明细(JSON)
  2782. type: string
  2783. applystatus:
  2784. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2785. type: integer
  2786. areauserid:
  2787. description: 所属机构
  2788. type: integer
  2789. auditid:
  2790. description: 审核人
  2791. type: integer
  2792. auditremark:
  2793. description: 审核备注
  2794. type: string
  2795. audittime:
  2796. description: 审核时间
  2797. type: string
  2798. createtime:
  2799. description: 创建时间
  2800. type: string
  2801. creatorid:
  2802. description: 创建人
  2803. type: integer
  2804. deliverygoodsid:
  2805. description: 现货品种ID
  2806. type: integer
  2807. futureaccountid:
  2808. description: 期货资金账户
  2809. type: integer
  2810. goodsgroupid:
  2811. description: 期货品种
  2812. type: integer
  2813. marketid:
  2814. description: 市场ID
  2815. type: integer
  2816. remark:
  2817. description: 备注
  2818. type: string
  2819. spotaccountid:
  2820. description: 现货资金账户
  2821. type: integer
  2822. spottradeid:
  2823. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2824. type: integer
  2825. spottradename:
  2826. description: 业务名称
  2827. type: string
  2828. spottradeno:
  2829. description: 业务编号
  2830. type: string
  2831. tradedate:
  2832. description: 交易日(yyyyMMdd)
  2833. type: string
  2834. wrstandardid:
  2835. description: 仓单标准ID
  2836. type: integer
  2837. required:
  2838. - spottradeid
  2839. type: object
  2840. erms3.AddSpotContractApplyReq:
  2841. properties:
  2842. accountid:
  2843. description: 资金账户ID
  2844. type: integer
  2845. areauserid:
  2846. description: 所属机构
  2847. type: integer
  2848. contractattachment:
  2849. description: 合同附件
  2850. type: string
  2851. contractno:
  2852. description: 现货合同编号
  2853. type: string
  2854. contracttype:
  2855. description: 现货合同类型 - 1:采购 -1:销售
  2856. type: integer
  2857. creatorid:
  2858. description: 申请人
  2859. type: integer
  2860. customeraccountid:
  2861. description: 客户资金账户ID
  2862. type: integer
  2863. customeruserid:
  2864. description: 客户ID
  2865. type: integer
  2866. details:
  2867. description: 明细
  2868. items:
  2869. $ref: '#/definitions/erms3.SoptContractDetail'
  2870. type: array
  2871. orimargin:
  2872. description: 初始保证金
  2873. type: number
  2874. remark:
  2875. description: 备注
  2876. type: string
  2877. signdate:
  2878. description: 签订日期
  2879. type: string
  2880. required:
  2881. - accountid
  2882. - areauserid
  2883. - contractno
  2884. - contracttype
  2885. - customeraccountid
  2886. - customeruserid
  2887. - details
  2888. - orimargin
  2889. - signdate
  2890. type: object
  2891. erms3.AddSpotContractApplyRsp:
  2892. properties:
  2893. contractno:
  2894. description: 现货合同编号
  2895. type: string
  2896. spotcontractid:
  2897. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2898. type: integer
  2899. required:
  2900. - contractno
  2901. type: object
  2902. erms3.AddUserInfoApplyReq:
  2903. properties:
  2904. accountid:
  2905. description: 交易系统帐号Id (加密存储)
  2906. type: integer
  2907. areacode:
  2908. description: 机构代码
  2909. type: string
  2910. areaid:
  2911. description: 机构Id
  2912. type: integer
  2913. attachment1:
  2914. description: 附件1
  2915. type: string
  2916. attachment2:
  2917. description: 附件2
  2918. type: string
  2919. attachment3:
  2920. description: 附件3
  2921. type: string
  2922. attachment4:
  2923. description: 附件4
  2924. type: string
  2925. attachment5:
  2926. description: 附件5
  2927. type: string
  2928. auditedby:
  2929. description: 审核人
  2930. type: string
  2931. auditime:
  2932. description: 审核时间
  2933. type: string
  2934. auditsrc:
  2935. description: 审核来源 - 1:管理端 2:终端
  2936. type: integer
  2937. bankaccount:
  2938. description: 银行帐号 (加密存储)
  2939. type: string
  2940. bankaccountname:
  2941. description: 收款人名称
  2942. type: string
  2943. bankcardbackphotourl:
  2944. description: 银行卡背面照地址
  2945. type: string
  2946. bankcardfrontphotourl:
  2947. description: 银行卡正面照地址
  2948. type: string
  2949. bankid:
  2950. description: 银行编码
  2951. type: string
  2952. bankname:
  2953. description: 银行名称
  2954. type: string
  2955. bankpictureurl:
  2956. description: 银行卡正面地址
  2957. type: string
  2958. biznature:
  2959. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2960. type: integer
  2961. bizscope:
  2962. description: 企业经营范围(企业)
  2963. type: string
  2964. biztype:
  2965. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2966. type: integer
  2967. brokerid:
  2968. description: 经纪人ID(加密存储)
  2969. type: string
  2970. cardaddress:
  2971. description: 证件地址 (加密存储)
  2972. type: string
  2973. cardbackphotourl:
  2974. description: 背面证件照地址
  2975. type: string
  2976. cardfrontphotourl:
  2977. description: 正面证件照地址
  2978. type: string
  2979. cardnum:
  2980. description: 证件号码 (加密存储)
  2981. type: string
  2982. cardtype:
  2983. description: 证件类型
  2984. type: integer
  2985. cityid:
  2986. description: 市
  2987. type: integer
  2988. company:
  2989. description: 公司(个人)
  2990. type: string
  2991. contactcardbackphotourl:
  2992. description: 联系人证件背面图片地址
  2993. type: string
  2994. contactcardfrontphotourl:
  2995. description: 联系人证件正面图片地址
  2996. type: string
  2997. contactname:
  2998. description: 联系人
  2999. type: string
  3000. countryid:
  3001. description: 国家
  3002. type: integer
  3003. createtime:
  3004. description: 开户申请时间
  3005. type: string
  3006. cusbankid:
  3007. description: 签约类型
  3008. type: string
  3009. cusbankname:
  3010. description: 签约类型名称
  3011. type: string
  3012. customername:
  3013. description: 客户名称(企业名称)
  3014. type: string
  3015. districtid:
  3016. description: 地区
  3017. type: integer
  3018. email:
  3019. description: Email地址(加密存储)
  3020. type: string
  3021. halfbodyphotourl:
  3022. description: 半身照地址
  3023. type: string
  3024. headurl:
  3025. description: 头像地址
  3026. type: string
  3027. ipaddress:
  3028. description: IP地址
  3029. type: string
  3030. isvalidate:
  3031. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3032. type: string
  3033. legalcardbackphotourl:
  3034. description: 法人身份证背面照地址
  3035. type: string
  3036. legalcardfrontphotourl:
  3037. description: 法人身份证正面照地址
  3038. type: string
  3039. legalpersonname:
  3040. description: 法人姓名(企业)
  3041. type: string
  3042. logincode:
  3043. description: 登录帐号 (加密存储)
  3044. type: string
  3045. memberareaid:
  3046. description: 所属会员ID
  3047. type: integer
  3048. mobile2:
  3049. description: 手机号码[明文-尚志]
  3050. type: string
  3051. mobilephone:
  3052. description: 手机号码 (加密存储)
  3053. type: string
  3054. modifiedby:
  3055. description: 修改人帐号
  3056. type: integer
  3057. modifiedtime:
  3058. description: 修改时间
  3059. type: string
  3060. nickname:
  3061. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3062. type: string
  3063. openmode:
  3064. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3065. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3066. type: integer
  3067. otherurl:
  3068. description: 其它图片地址[使用分号分隔]
  3069. type: string
  3070. postalcode:
  3071. description: 邮政编码
  3072. type: string
  3073. provinceid:
  3074. description: 省
  3075. type: integer
  3076. proxystatementurl:
  3077. description: 授权委托书
  3078. type: string
  3079. qq:
  3080. description: QQ(加密存储
  3081. type: string
  3082. referral:
  3083. description: 推荐人编码
  3084. type: string
  3085. remark:
  3086. description: 备注
  3087. type: string
  3088. removebeforestatus:
  3089. description: REMOVEBEFORESTATUS
  3090. type: integer
  3091. sex:
  3092. description: 性别 - 0:女 1:男
  3093. type: integer
  3094. signedstatus:
  3095. description: 账户一号签签约状态
  3096. type: integer
  3097. signpdfurl:
  3098. description: 签约pdf文件
  3099. type: string
  3100. subbranch:
  3101. description: 开户支行
  3102. type: string
  3103. taxpayernum:
  3104. description: 纳税人识别号
  3105. type: string
  3106. telphone:
  3107. description: 联系电话(加密存储)
  3108. type: string
  3109. userid:
  3110. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3111. type: integer
  3112. userinfotype:
  3113. description: 用户信息类型 - 1:个人 2:企业
  3114. type: integer
  3115. username:
  3116. description: 用户姓名
  3117. type: string
  3118. userstate:
  3119. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3120. type: integer
  3121. usertype:
  3122. description: 用户类型 - 1:投资者 2:机构
  3123. type: integer
  3124. videourl:
  3125. description: 视频地址
  3126. type: string
  3127. wechat:
  3128. description: 微信号 (加密存储)
  3129. type: string
  3130. required:
  3131. - userid
  3132. type: object
  3133. erms3.CustomerInfo:
  3134. properties:
  3135. accountids:
  3136. description: 资金账户ID列表
  3137. items:
  3138. type: integer
  3139. type: array
  3140. customername:
  3141. description: 名称(企业名称)
  3142. type: string
  3143. mobile:
  3144. description: 手机号码
  3145. type: string
  3146. userid:
  3147. description: 用户ID
  3148. type: integer
  3149. required:
  3150. - userid
  3151. type: object
  3152. erms3.ModifyUserInfoApplyReq:
  3153. properties:
  3154. accountid:
  3155. description: 交易系统帐号Id (加密存储)
  3156. type: integer
  3157. areacode:
  3158. description: 机构代码
  3159. type: string
  3160. areaid:
  3161. description: 机构Id
  3162. type: integer
  3163. attachment1:
  3164. description: 附件1
  3165. type: string
  3166. attachment2:
  3167. description: 附件2
  3168. type: string
  3169. attachment3:
  3170. description: 附件3
  3171. type: string
  3172. attachment4:
  3173. description: 附件4
  3174. type: string
  3175. attachment5:
  3176. description: 附件5
  3177. type: string
  3178. auditedby:
  3179. description: 审核人
  3180. type: string
  3181. auditime:
  3182. description: 审核时间
  3183. type: string
  3184. auditsrc:
  3185. description: 审核来源 - 1:管理端 2:终端
  3186. type: integer
  3187. bankaccount:
  3188. description: 银行帐号 (加密存储)
  3189. type: string
  3190. bankaccountname:
  3191. description: 收款人名称
  3192. type: string
  3193. bankcardbackphotourl:
  3194. description: 银行卡背面照地址
  3195. type: string
  3196. bankcardfrontphotourl:
  3197. description: 银行卡正面照地址
  3198. type: string
  3199. bankid:
  3200. description: 银行编码
  3201. type: string
  3202. bankname:
  3203. description: 银行名称
  3204. type: string
  3205. bankpictureurl:
  3206. description: 银行卡正面地址
  3207. type: string
  3208. biznature:
  3209. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3210. type: integer
  3211. bizscope:
  3212. description: 企业经营范围(企业)
  3213. type: string
  3214. biztype:
  3215. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3216. type: integer
  3217. brokerid:
  3218. description: 经纪人ID(加密存储)
  3219. type: string
  3220. cardaddress:
  3221. description: 证件地址 (加密存储)
  3222. type: string
  3223. cardbackphotourl:
  3224. description: 背面证件照地址
  3225. type: string
  3226. cardfrontphotourl:
  3227. description: 正面证件照地址
  3228. type: string
  3229. cardnum:
  3230. description: 证件号码 (加密存储)
  3231. type: string
  3232. cardtype:
  3233. description: 证件类型
  3234. type: integer
  3235. cityid:
  3236. description: 市
  3237. type: integer
  3238. company:
  3239. description: 公司(个人)
  3240. type: string
  3241. contactcardbackphotourl:
  3242. description: 联系人证件背面图片地址
  3243. type: string
  3244. contactcardfrontphotourl:
  3245. description: 联系人证件正面图片地址
  3246. type: string
  3247. contactname:
  3248. description: 联系人
  3249. type: string
  3250. countryid:
  3251. description: 国家
  3252. type: integer
  3253. createtime:
  3254. description: 开户申请时间
  3255. type: string
  3256. cusbankid:
  3257. description: 签约类型
  3258. type: string
  3259. cusbankname:
  3260. description: 签约类型名称
  3261. type: string
  3262. customername:
  3263. description: 客户名称(企业名称)
  3264. type: string
  3265. districtid:
  3266. description: 地区
  3267. type: integer
  3268. email:
  3269. description: Email地址(加密存储)
  3270. type: string
  3271. halfbodyphotourl:
  3272. description: 半身照地址
  3273. type: string
  3274. headurl:
  3275. description: 头像地址
  3276. type: string
  3277. ipaddress:
  3278. description: IP地址
  3279. type: string
  3280. isvalidate:
  3281. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3282. type: string
  3283. legalcardbackphotourl:
  3284. description: 法人身份证背面照地址
  3285. type: string
  3286. legalcardfrontphotourl:
  3287. description: 法人身份证正面照地址
  3288. type: string
  3289. legalpersonname:
  3290. description: 法人姓名(企业)
  3291. type: string
  3292. logincode:
  3293. description: 登录帐号 (加密存储)
  3294. type: string
  3295. memberareaid:
  3296. description: 所属会员ID
  3297. type: integer
  3298. mobile2:
  3299. description: 手机号码[明文-尚志]
  3300. type: string
  3301. mobilephone:
  3302. description: 手机号码 (加密存储)
  3303. type: string
  3304. modifiedby:
  3305. description: 修改人帐号
  3306. type: integer
  3307. modifiedtime:
  3308. description: 修改时间
  3309. type: string
  3310. nickname:
  3311. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3312. type: string
  3313. openmode:
  3314. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3315. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3316. type: integer
  3317. otherurl:
  3318. description: 其它图片地址[使用分号分隔]
  3319. type: string
  3320. postalcode:
  3321. description: 邮政编码
  3322. type: string
  3323. provinceid:
  3324. description: 省
  3325. type: integer
  3326. proxystatementurl:
  3327. description: 授权委托书
  3328. type: string
  3329. qq:
  3330. description: QQ(加密存储
  3331. type: string
  3332. referral:
  3333. description: 推荐人编码
  3334. type: string
  3335. remark:
  3336. description: 备注
  3337. type: string
  3338. removebeforestatus:
  3339. description: REMOVEBEFORESTATUS
  3340. type: integer
  3341. sex:
  3342. description: 性别 - 0:女 1:男
  3343. type: integer
  3344. signedstatus:
  3345. description: 账户一号签签约状态
  3346. type: integer
  3347. signpdfurl:
  3348. description: 签约pdf文件
  3349. type: string
  3350. subbranch:
  3351. description: 开户支行
  3352. type: string
  3353. taxpayernum:
  3354. description: 纳税人识别号
  3355. type: string
  3356. telphone:
  3357. description: 联系电话(加密存储)
  3358. type: string
  3359. userid:
  3360. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3361. type: integer
  3362. userinfotype:
  3363. description: 用户信息类型 - 1:个人 2:企业
  3364. type: integer
  3365. username:
  3366. description: 用户姓名
  3367. type: string
  3368. userstate:
  3369. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3370. type: integer
  3371. usertype:
  3372. description: 用户类型 - 1:投资者 2:机构
  3373. type: integer
  3374. videourl:
  3375. description: 视频地址
  3376. type: string
  3377. wechat:
  3378. description: 微信号 (加密存储)
  3379. type: string
  3380. required:
  3381. - userid
  3382. type: object
  3383. erms3.QryAuditContractRsp:
  3384. properties:
  3385. accountid:
  3386. description: 交易员ID
  3387. type: string
  3388. applystatus:
  3389. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3390. type: integer
  3391. curdeliveryqty:
  3392. description: 未交收量
  3393. type: integer
  3394. customername:
  3395. description: 采购方ID
  3396. type: string
  3397. deliverygoodsid:
  3398. description: 品种ID
  3399. type: string
  3400. deliveryqty:
  3401. description: 交收量
  3402. type: integer
  3403. enumdicname:
  3404. description: 单位名称
  3405. type: string
  3406. matchaccountid:
  3407. description: 业务员ID
  3408. type: string
  3409. matchcustomername:
  3410. description: 销售方ID
  3411. type: string
  3412. pricedqty:
  3413. description: 定价量
  3414. type: number
  3415. signdate:
  3416. description: 签订日期
  3417. type: string
  3418. spotcontractid:
  3419. description: 合同ID
  3420. type: string
  3421. totaldqty:
  3422. description: 合同量
  3423. type: number
  3424. unpricedqty:
  3425. description: 未定价量
  3426. type: number
  3427. wrstandardname:
  3428. description: 商品名称
  3429. type: string
  3430. required:
  3431. - matchcustomername
  3432. - spotcontractid
  3433. type: object
  3434. erms3.QryPendingBizRsp:
  3435. properties:
  3436. accountid:
  3437. description: 现货账户
  3438. type: string
  3439. areaname:
  3440. description: 所属部门
  3441. type: string
  3442. bizid:
  3443. description: 业务ID
  3444. type: string
  3445. bizname:
  3446. description: 业务名称
  3447. type: string
  3448. status:
  3449. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3450. type: integer
  3451. type:
  3452. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3453. type: integer
  3454. type: object
  3455. erms3.QueryBusinessInfoRsp:
  3456. properties:
  3457. businessid:
  3458. description: 业务ID.
  3459. type: integer
  3460. buyamount:
  3461. description: 采购额.
  3462. type: number
  3463. buyqty:
  3464. description: 采购量.
  3465. type: string
  3466. futurepl:
  3467. description: 期货盈亏.
  3468. type: number
  3469. futureqty:
  3470. description: 期货敞口.
  3471. type: string
  3472. goodsid:
  3473. description: 商品名称/商品代码.
  3474. type: string
  3475. hedgingqty:
  3476. description: 套保量.
  3477. type: string
  3478. sellamount:
  3479. description: 销售额.
  3480. type: number
  3481. sellqty:
  3482. description: 销售量.
  3483. type: string
  3484. spotmarketvalue:
  3485. description: 现货市值.
  3486. type: number
  3487. spotpl:
  3488. description: 浮动权益.
  3489. type: number
  3490. spotqty:
  3491. description: 现货量.
  3492. type: string
  3493. statu:
  3494. description: 状态,0-未结束 1-已结束.
  3495. type: integer
  3496. totalpl:
  3497. description: 总盈亏.
  3498. type: number
  3499. totalqty:
  3500. description: 总敞口.
  3501. type: string
  3502. type:
  3503. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3504. type: integer
  3505. type: object
  3506. erms3.QuerySpotContractAppleFormRsp:
  3507. properties:
  3508. goodses:
  3509. description: 合约列表
  3510. items:
  3511. $ref: '#/definitions/models.GoodsIDAndName'
  3512. type: array
  3513. oppositeusers:
  3514. description: 对方账号列表
  3515. items:
  3516. $ref: '#/definitions/erms3.CustomerInfo'
  3517. type: array
  3518. ouruser:
  3519. $ref: '#/definitions/erms3.CustomerInfo'
  3520. description: 我方账号
  3521. warehouseinfos:
  3522. description: 仓库信息列表
  3523. items:
  3524. $ref: '#/definitions/models.Warehouseinfo'
  3525. type: array
  3526. wrstandards:
  3527. description: 仓单标准列表
  3528. items:
  3529. $ref: '#/definitions/models.WRStandardInfo'
  3530. type: array
  3531. type: object
  3532. erms3.QuerySpotContractInfoRsp:
  3533. properties:
  3534. accountid:
  3535. description: 表示交易员ID.
  3536. type: integer
  3537. curdeliveryqty:
  3538. description: 表示未交收量.
  3539. type: number
  3540. customername:
  3541. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3542. type: string
  3543. deliverygoodsid:
  3544. description: 表示品种ID.
  3545. type: string
  3546. deliveryqty:
  3547. description: 表示交收量.
  3548. type: number
  3549. matchaccountid:
  3550. description: 表示业务员ID.
  3551. type: integer
  3552. matchcustomername:
  3553. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3554. type: string
  3555. priceqty:
  3556. description: 表示定价量.
  3557. type: number
  3558. relatedbizid:
  3559. description: 表示业务ID.
  3560. type: string
  3561. signdate:
  3562. description: 表示签订日期.
  3563. type: string
  3564. spotcontractid:
  3565. description: 合同ID
  3566. type: string
  3567. status:
  3568. description: 表示状态,0-履约中 1-已完成.
  3569. type: integer
  3570. totalqty:
  3571. description: 表示合同量.
  3572. type: number
  3573. unpricedqty:
  3574. description: 表示未定价量.
  3575. type: number
  3576. wrstandardname:
  3577. description: 表示商品ID.
  3578. type: string
  3579. type: object
  3580. erms3.QueryUserInfoAppliesRsp:
  3581. properties:
  3582. biznature:
  3583. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3584. type: integer
  3585. contactname:
  3586. description: 联系人
  3587. type: string
  3588. createtime:
  3589. description: 开户申请时间
  3590. type: string
  3591. userid:
  3592. description: 用户ID(自增ID)
  3593. type: integer
  3594. userinfotype:
  3595. description: 用户信息类型 - 1:个人 2:企业
  3596. type: integer
  3597. username:
  3598. description: 用户姓名
  3599. type: string
  3600. userstate:
  3601. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3602. type: integer
  3603. required:
  3604. - userid
  3605. type: object
  3606. erms3.QueryUserInfosRsp:
  3607. properties:
  3608. biznature:
  3609. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3610. type: integer
  3611. contactname:
  3612. description: 联系人
  3613. type: string
  3614. customername:
  3615. description: 客户名称(企业名称)
  3616. type: string
  3617. userid:
  3618. description: 用户ID
  3619. type: integer
  3620. userinfotype:
  3621. description: 用户信息类型 - 1:个人 2:企业
  3622. type: integer
  3623. userstatus:
  3624. description: 用户状态 - 1:正常 2:注销
  3625. type: integer
  3626. required:
  3627. - userid
  3628. type: object
  3629. erms3.SoptContractDetail:
  3630. properties:
  3631. deliverygoodsdesc:
  3632. description: 现货品种说明
  3633. type: string
  3634. deliverygoodsid:
  3635. description: 现货品种ID
  3636. type: integer
  3637. deliverygoodsname:
  3638. description: 现货品种名称
  3639. type: string
  3640. pointdesc:
  3641. description: 点价描述
  3642. type: string
  3643. producttype:
  3644. description: 产品类型 1:标准仓单 2:等标 3:非标
  3645. type: integer
  3646. producttypename:
  3647. description: 产品类型名称
  3648. type: string
  3649. spotPointOrderVoList:
  3650. description: 点价列表
  3651. items:
  3652. $ref: '#/definitions/erms3.SpotPointOrder'
  3653. type: array
  3654. spotPriceOrderList:
  3655. description: 定价列表
  3656. items:
  3657. $ref: '#/definitions/erms3.SpotPriceOrder'
  3658. type: array
  3659. unitname:
  3660. description: 单位名称
  3661. type: string
  3662. warehouseid:
  3663. description: 仓库ID
  3664. type: integer
  3665. warehousename:
  3666. description: 仓库名称
  3667. type: string
  3668. wrstandardid:
  3669. description: 交易标的ID
  3670. type: integer
  3671. wrstandardname:
  3672. description: 交易标的名称
  3673. type: string
  3674. required:
  3675. - deliverygoodsid
  3676. - producttype
  3677. - unitname
  3678. - warehouseid
  3679. - wrstandardid
  3680. - wrstandardname
  3681. type: object
  3682. erms3.SpotPointOrder:
  3683. properties:
  3684. basic:
  3685. description: 基差
  3686. type: number
  3687. deliveryenddate:
  3688. description: 交收结束日期
  3689. type: string
  3690. deliverystartdate:
  3691. description: 交收开始日期
  3692. type: string
  3693. enddate:
  3694. description: 点价结束日期
  3695. type: string
  3696. goodsid:
  3697. description: 商品ID
  3698. type: integer
  3699. goodsname:
  3700. description: 商品名称
  3701. type: string
  3702. qty:
  3703. description: 数量
  3704. type: number
  3705. startdate:
  3706. description: 点价开始日期
  3707. type: string
  3708. required:
  3709. - basic
  3710. - goodsid
  3711. - qty
  3712. type: object
  3713. erms3.SpotPriceOrder:
  3714. properties:
  3715. amount:
  3716. description: 金额
  3717. type: number
  3718. deliveryenddate:
  3719. description: 交收结束日期
  3720. type: string
  3721. deliverystartdate:
  3722. description: 交收开始日期
  3723. type: string
  3724. price:
  3725. description: 价格
  3726. type: number
  3727. qty:
  3728. description: 数量
  3729. type: number
  3730. required:
  3731. - amount
  3732. - price
  3733. - qty
  3734. type: object
  3735. hsby.GetHsbyMyCountRsp:
  3736. properties:
  3737. myCouponCount:
  3738. description: 我的优惠卷数量
  3739. type: integer
  3740. myOrderDetailListingCount:
  3741. description: 我的订单求购中数量
  3742. type: integer
  3743. myOrderDetailPreCount:
  3744. description: 我的订单抢购中数量
  3745. type: integer
  3746. myPackageUnReceiveCount:
  3747. description: 我的包裹待收货数量
  3748. type: integer
  3749. myPackageUnSendCount:
  3750. description: 我的包裹待发货数量
  3751. type: integer
  3752. myPayOrderCount:
  3753. description: 我的订单待付款数量
  3754. type: integer
  3755. type: object
  3756. hsby.QueryProvincesAndCitiesRsp:
  3757. properties:
  3758. cities:
  3759. description: 市
  3760. items:
  3761. $ref: '#/definitions/models.Division'
  3762. type: array
  3763. province:
  3764. $ref: '#/definitions/models.Division'
  3765. description: 省
  3766. type: object
  3767. models.Arearole:
  3768. properties:
  3769. createtime:
  3770. description: 创建时间
  3771. type: string
  3772. creatorid:
  3773. description: 创建人ID
  3774. type: integer
  3775. fromuserid:
  3776. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3777. type: integer
  3778. isreturnscore:
  3779. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3780. type: integer
  3781. modifierid:
  3782. description: 修改人ID
  3783. type: integer
  3784. modifytime:
  3785. description: 修改时间
  3786. type: string
  3787. orgtype:
  3788. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3789. type: integer
  3790. outuserid:
  3791. description: 外部账户[场外期权做市商]
  3792. type: string
  3793. parentuserid:
  3794. description: 上级组织机构(组织机构)
  3795. type: integer
  3796. roletype:
  3797. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3798. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3799. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3800. type: integer
  3801. rootuserid:
  3802. description: 顶级组织机构用户ID(组织机构)
  3803. type: integer
  3804. shoppassword:
  3805. description: 商城店铺登陆密码(商城店铺角色使用)
  3806. type: string
  3807. sublevelpath:
  3808. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3809. type: string
  3810. suborgtype:
  3811. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3812. type: integer
  3813. tradeaccountid:
  3814. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3815. type: integer
  3816. transurl:
  3817. description: 物流地址(物流机构)
  3818. type: string
  3819. userid:
  3820. description: 机构用户ID其他做市关系,都设置为 1
  3821. type: integer
  3822. required:
  3823. - roletype
  3824. - userid
  3825. type: object
  3826. models.Clientfixedadconfig:
  3827. properties:
  3828. adsort:
  3829. description: 排序
  3830. type: integer
  3831. adtype:
  3832. description: 广告位类型 - 1:新品抢购(HSBY)
  3833. type: integer
  3834. areauserid:
  3835. description: 所属机构ID
  3836. type: integer
  3837. createdate:
  3838. description: 创建时间
  3839. type: string
  3840. creatorid:
  3841. description: 创建人
  3842. type: integer
  3843. imagepath:
  3844. description: 图片
  3845. type: string
  3846. isshow:
  3847. description: 是否展示 - 0:不展示 1:展示
  3848. type: integer
  3849. modifierid:
  3850. description: 操作人
  3851. type: integer
  3852. recsize:
  3853. description: 推荐尺寸
  3854. type: string
  3855. title:
  3856. description: 标题
  3857. type: string
  3858. updatedate:
  3859. description: 更新时间
  3860. type: string
  3861. urlcontent:
  3862. description: 链接(地址或商品ID)
  3863. type: string
  3864. urltype:
  3865. description: 链接类型 - 1:直接地址 2:商品ID
  3866. type: integer
  3867. required:
  3868. - adsort
  3869. - adtype
  3870. type: object
  3871. models.Division:
  3872. properties:
  3873. autoid:
  3874. description: 自增ID
  3875. type: integer
  3876. divisioncode:
  3877. description: 行政代码
  3878. type: string
  3879. divisionlevel:
  3880. description: 行政级别
  3881. type: string
  3882. divisionname:
  3883. description: 行政名称
  3884. type: string
  3885. modifierid:
  3886. description: 修改人
  3887. type: integer
  3888. modifytime:
  3889. description: 修改时间
  3890. type: string
  3891. parentcode:
  3892. description: 上级行政代码
  3893. type: string
  3894. pathname:
  3895. description: 路径名称
  3896. type: string
  3897. postcode:
  3898. description: 邮政编码
  3899. type: string
  3900. separablename:
  3901. description: 可拆分的全称
  3902. type: string
  3903. shortcode:
  3904. description: 地区简码
  3905. type: string
  3906. required:
  3907. - autoid
  3908. - divisioncode
  3909. type: object
  3910. models.Enumdicitem:
  3911. properties:
  3912. autoid:
  3913. description: 自增ID
  3914. type: integer
  3915. bankmappedvalue:
  3916. description: 银行服务对应值
  3917. type: string
  3918. enumdiccode:
  3919. description: 所属枚举代码
  3920. type: string
  3921. enumdicid:
  3922. description: 所属枚举ID
  3923. type: integer
  3924. enumdicname:
  3925. description: 枚举项名称
  3926. type: string
  3927. enumitemname:
  3928. description: 枚举项值
  3929. type: integer
  3930. enumitemstatus:
  3931. description: 枚举项状态 - 1.启用 2.不启用
  3932. type: integer
  3933. enumitemvalue:
  3934. description: 通用值 - [币种通用简写]
  3935. type: string
  3936. param1:
  3937. description: 参数1[币种:币种小数位]
  3938. type: string
  3939. param2:
  3940. description: 参数1[币种:币种显示单位]
  3941. type: string
  3942. remark:
  3943. description: 备注
  3944. type: string
  3945. required:
  3946. - autoid
  3947. - enumdiccode
  3948. - enumdicid
  3949. - enumitemname
  3950. type: object
  3951. models.Ermcp3AreaSpot:
  3952. properties:
  3953. areauserid:
  3954. description: 所属机构
  3955. type: integer
  3956. convertratio:
  3957. description: 套保系数
  3958. type: number
  3959. decreaseqty:
  3960. description: 减少数量=-(销售已定价数量+采购计划数量)
  3961. type: number
  3962. enumdicname:
  3963. description: 单位名称
  3964. type: string
  3965. increaseqty:
  3966. description: 增加数量=销售计划数量+采购已定价数量
  3967. type: number
  3968. oritoalspotqty:
  3969. description: 昨日数量
  3970. type: number
  3971. totalspotqty:
  3972. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3973. type: number
  3974. unitid:
  3975. description: 现货商品单位id
  3976. type: integer
  3977. updatetime:
  3978. description: 更新时间
  3979. type: string
  3980. wrstandardcode:
  3981. description: 现货商品代码
  3982. type: string
  3983. wrstandardid:
  3984. description: 现货商品ID(SEQ_WRSTANDARD)
  3985. type: integer
  3986. wrstandardname:
  3987. description: 现货商品名称
  3988. type: string
  3989. type: object
  3990. models.Ermcp3AreaSpotDetail:
  3991. properties:
  3992. contracttype:
  3993. description: 合同类型 1-采购 -1-销售
  3994. type: integer
  3995. createtime:
  3996. description: 创建时间
  3997. type: string
  3998. enumdicname:
  3999. description: 现货商品单位名称
  4000. type: string
  4001. logtype:
  4002. description: 记录类型 1-套保 2-现货合同
  4003. type: integer
  4004. qty:
  4005. description: 数量
  4006. type: number
  4007. recordname:
  4008. description: 类型名称
  4009. type: string
  4010. relatedid:
  4011. description: 套保计划ID/现货合同ID
  4012. type: string
  4013. relatedno:
  4014. description: 编号
  4015. type: string
  4016. strtime:
  4017. description: 时间
  4018. type: string
  4019. wrstandardcode:
  4020. description: 现货商品代码
  4021. type: string
  4022. wrstandardid:
  4023. description: 现货商品ID(SEQ_WRSTANDARD)
  4024. type: integer
  4025. wrstandardname:
  4026. description: 现货商品名称
  4027. type: string
  4028. type: object
  4029. models.Ermcp3AreaSpotPLReport:
  4030. properties:
  4031. accountid:
  4032. description: 期货账户ID (作废, 默认为0)
  4033. type: integer
  4034. accountname:
  4035. description: 机构名称
  4036. type: string
  4037. actualpl:
  4038. description: 现货损益
  4039. type: number
  4040. areauserid:
  4041. description: 所属机构\交易用户ID
  4042. type: integer
  4043. begindate:
  4044. description: 开始交易日
  4045. type: string
  4046. biztype:
  4047. description: 业务类型 - 1:套保 2:套利
  4048. type: integer
  4049. brandname:
  4050. description: 品牌名称
  4051. type: string
  4052. curamount:
  4053. description: 期末额
  4054. type: number
  4055. curaverageprice:
  4056. description: 期末均价
  4057. type: number
  4058. curbuyamount:
  4059. description: 期末采购总额
  4060. type: number
  4061. curbuyqty:
  4062. description: 期末采购总量
  4063. type: number
  4064. curmarketvalue:
  4065. description: 参考市值(期末市值)
  4066. type: number
  4067. curqty:
  4068. description: 期末量
  4069. type: number
  4070. currencyid:
  4071. description: 结算币种ID【原值】
  4072. type: integer
  4073. currencyname:
  4074. description: 币种名称
  4075. type: string
  4076. cursellamount:
  4077. description: 期末销售总额
  4078. type: number
  4079. cursellqty:
  4080. description: 期末销售总量
  4081. type: number
  4082. curspotprice:
  4083. description: 参考市价(最新价)
  4084. type: number
  4085. cycletime:
  4086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4087. type: string
  4088. cycletype:
  4089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4090. type: integer
  4091. deliverygoodscode:
  4092. description: 现货商品代码
  4093. type: string
  4094. deliverygoodsid:
  4095. description: 现货品种ID
  4096. type: integer
  4097. deliverygoodsname:
  4098. description: 现货商品名称
  4099. type: string
  4100. enddate:
  4101. description: 结束交易日
  4102. type: string
  4103. enumdicname:
  4104. description: 现货商品单位名称
  4105. type: string
  4106. floatpl:
  4107. description: 浮动损益
  4108. type: number
  4109. goodsunitid:
  4110. description: 现货商品单位id
  4111. type: integer
  4112. oriamount:
  4113. description: 期初额
  4114. type: number
  4115. oriaverageprice:
  4116. description: 期初均价
  4117. type: number
  4118. oribuyamount:
  4119. description: 期初采购总额
  4120. type: number
  4121. oribuyqty:
  4122. description: 期初采购总量
  4123. type: number
  4124. oriqty:
  4125. description: 期初量
  4126. type: number
  4127. orisellamount:
  4128. description: 期初销售总额
  4129. type: number
  4130. orisellqty:
  4131. description: 期初销售总量
  4132. type: number
  4133. reckondate:
  4134. description: 日照时期(yyyyMMdd)
  4135. type: string
  4136. spotgoodsbrandid:
  4137. description: 现货品牌ID
  4138. type: integer
  4139. todaybuyamount:
  4140. description: 今日采购额(今采购额)
  4141. type: number
  4142. todaybuyaverageprice:
  4143. description: 今日采购均价
  4144. type: number
  4145. todaybuyqty:
  4146. description: 今日采购量(今采购量)
  4147. type: number
  4148. todayinqty:
  4149. description: 今日入库量(今入库量)
  4150. type: number
  4151. todayoutqty:
  4152. description: 今日出库量(今出库量)
  4153. type: number
  4154. todaysellamount:
  4155. description: 今日销售额(今销售额)
  4156. type: number
  4157. todaysellaverageprice:
  4158. description: 今日销售均价
  4159. type: number
  4160. todaysellqty:
  4161. description: 今日销售量(今销售量)
  4162. type: number
  4163. unitid:
  4164. description: 品类单位id
  4165. type: integer
  4166. unitidname:
  4167. description: 品类单位名称
  4168. type: string
  4169. updatetime:
  4170. description: 更新时间
  4171. type: string
  4172. wrfactortypeid:
  4173. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4174. type: integer
  4175. wrstandardcode:
  4176. description: 品类代码
  4177. type: string
  4178. wrstandardid:
  4179. description: 现货品类ID
  4180. type: integer
  4181. wrstandardname:
  4182. description: 品类名称
  4183. type: string
  4184. type: object
  4185. models.Ermcp3AreaStock:
  4186. properties:
  4187. brandname:
  4188. description: 品牌名称
  4189. type: string
  4190. curstock:
  4191. description: 期末库存量(今日量)
  4192. type: number
  4193. deliverygoodscode:
  4194. description: 现货品种代码
  4195. type: string
  4196. deliverygoodsid:
  4197. description: 现货品种id
  4198. type: integer
  4199. deliverygoodsname:
  4200. description: 现货品种名称
  4201. type: string
  4202. enumdicname:
  4203. description: 单位名称
  4204. type: string
  4205. goodsunitid:
  4206. description: 现货商品单位id
  4207. type: integer
  4208. oristock:
  4209. description: 期初库存量(昨日量)
  4210. type: number
  4211. spotgoodsbrandid:
  4212. description: 现货品牌ID
  4213. type: integer
  4214. todaybuyinqty:
  4215. description: 今日采购入库量
  4216. type: number
  4217. todayproduceinqty:
  4218. description: 今日生产入库量
  4219. type: number
  4220. todayproduceoutqty:
  4221. description: 今日生产出库量
  4222. type: number
  4223. todayselloutqty:
  4224. description: 今日销售出库量
  4225. type: number
  4226. unitid:
  4227. description: 单位id
  4228. type: integer
  4229. updatetime:
  4230. description: 更新时间
  4231. type: string
  4232. userid:
  4233. description: 机构ID
  4234. type: integer
  4235. username:
  4236. description: 机构名称
  4237. type: string
  4238. warehousecode:
  4239. description: 仓库代码
  4240. type: string
  4241. warehouseinfoid:
  4242. description: 仓库ID
  4243. type: string
  4244. warehousename:
  4245. description: 仓库名称
  4246. type: string
  4247. warehousetype:
  4248. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4249. type: integer
  4250. wrstandardcode:
  4251. description: 品类代码
  4252. type: string
  4253. wrstandardid:
  4254. description: 品类ID
  4255. type: string
  4256. wrstandardname:
  4257. description: 品类名称
  4258. type: string
  4259. required:
  4260. - userid
  4261. type: object
  4262. models.Ermcp3AreaStockApply:
  4263. properties:
  4264. applyid:
  4265. description: 申请人
  4266. type: integer
  4267. applyname:
  4268. description: 申请人名称
  4269. type: string
  4270. applyremark:
  4271. description: 申请备注
  4272. type: string
  4273. applysrc:
  4274. description: 申请来源 - 1:管理端 2:终端
  4275. type: integer
  4276. applystatus:
  4277. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4278. type: integer
  4279. applytime:
  4280. description: 申请时间
  4281. type: string
  4282. auditid:
  4283. description: 审核人
  4284. type: integer
  4285. auditname:
  4286. description: 审核人名称
  4287. type: string
  4288. auditremark:
  4289. description: 审核备注
  4290. type: string
  4291. auditsrc:
  4292. description: 审核来源 - 1:管理端 2:终端
  4293. type: integer
  4294. audittime:
  4295. description: 审核时间
  4296. type: string
  4297. audittradedate:
  4298. description: 审核交易日(yyyyMMdd)
  4299. type: string
  4300. brandname:
  4301. description: 品牌名称
  4302. type: string
  4303. buynickname:
  4304. description: 采购方昵称
  4305. type: string
  4306. buyuserid:
  4307. description: 采购方userid
  4308. type: integer
  4309. buyusername:
  4310. description: 采购方名称
  4311. type: string
  4312. contractno:
  4313. description: 合同编号
  4314. type: string
  4315. contractqty:
  4316. description: 合同量
  4317. type: number
  4318. contracttype:
  4319. description: 现货合同类型 - 1:采购 -1:销售
  4320. type: integer
  4321. deliverygoodscode:
  4322. description: 现货品种代码
  4323. type: string
  4324. deliverygoodsid:
  4325. description: 现货品种id
  4326. type: integer
  4327. deliverygoodsname:
  4328. description: 现货品种名称
  4329. type: string
  4330. detailjson:
  4331. description: 明细数据
  4332. type: string
  4333. enumdicname:
  4334. description: 现货商品单位名称
  4335. type: string
  4336. inoutapplyid:
  4337. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4338. type: string
  4339. inouttype:
  4340. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4341. type: integer
  4342. pricetype:
  4343. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4344. type: integer
  4345. qty:
  4346. description: 数量
  4347. type: number
  4348. sellnickname:
  4349. description: 销售方昵称
  4350. type: string
  4351. selluserid:
  4352. description: 销售方userid
  4353. type: integer
  4354. sellusername:
  4355. description: 销售方名称
  4356. type: string
  4357. spotcontractid:
  4358. description: 关联现货合同ID
  4359. type: string
  4360. spotgoodsbrandid:
  4361. description: 现货品牌ID
  4362. type: integer
  4363. unitid:
  4364. description: 单位id
  4365. type: integer
  4366. userid:
  4367. description: 机构ID
  4368. type: integer
  4369. warehousecode:
  4370. description: 仓库代码
  4371. type: string
  4372. warehouseinfoid:
  4373. description: 现货仓库ID
  4374. type: string
  4375. warehousename:
  4376. description: 仓库名称
  4377. type: string
  4378. warehousetype:
  4379. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4380. type: integer
  4381. wrstandardcode:
  4382. description: 品类代码
  4383. type: string
  4384. wrstandardid:
  4385. description: 品类ID
  4386. type: integer
  4387. wrstandardname:
  4388. description: 品类名称
  4389. type: string
  4390. type: object
  4391. models.Ermcp3AreaStockApplySum:
  4392. properties:
  4393. brandname:
  4394. description: 品牌名称
  4395. type: string
  4396. inouttype:
  4397. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4398. type: integer
  4399. spotcontractid:
  4400. description: 关联现货合同ID
  4401. type: string
  4402. spotgoodsbrandid:
  4403. description: 品牌id
  4404. type: integer
  4405. totalqty:
  4406. description: 总数量
  4407. type: number
  4408. wrstandardid:
  4409. description: 品类id
  4410. type: integer
  4411. wrstandardname:
  4412. description: 品类名称
  4413. type: string
  4414. type: object
  4415. models.Ermcp3AreaStockReportEx:
  4416. properties:
  4417. begindate:
  4418. description: 开始交易日
  4419. type: string
  4420. brandname:
  4421. description: 品牌名称
  4422. type: string
  4423. curstock:
  4424. description: 期末库存量
  4425. type: number
  4426. cycletime:
  4427. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4428. type: string
  4429. cycletype:
  4430. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4431. type: integer
  4432. deliverygoodscode:
  4433. description: 现货品种代码
  4434. type: string
  4435. deliverygoodsid:
  4436. description: 现货品种id
  4437. type: integer
  4438. deliverygoodsname:
  4439. description: 现货品种名称
  4440. type: string
  4441. diffqty:
  4442. description: 库存变化量 = 期末 - 期初
  4443. type: number
  4444. enddate:
  4445. description: 结束交易日
  4446. type: string
  4447. enumdicname:
  4448. description: 单位名称
  4449. type: string
  4450. goodsunitid:
  4451. description: 现货单位id
  4452. type: integer
  4453. oristock:
  4454. description: 期初库存量
  4455. type: number
  4456. reckondate:
  4457. description: 日照时期(yyyyMMdd)
  4458. type: string
  4459. spotgoodsbrandid:
  4460. description: 现货品牌ID
  4461. type: integer
  4462. todaybuyinqty:
  4463. description: 今采购入库量
  4464. type: number
  4465. todayproduceinqty:
  4466. description: 今内部入库量
  4467. type: number
  4468. todayproduceoutqty:
  4469. description: 今内部出库量
  4470. type: number
  4471. todayselloutqty:
  4472. description: 今销售出库量
  4473. type: number
  4474. unbuyinqty:
  4475. description: 采购未入库量(数据库未找到相关字段?)
  4476. type: number
  4477. unitid:
  4478. description: 品类单位id
  4479. type: integer
  4480. unselloutqty:
  4481. description: 销售未出库量(数据库未找到相关字段?)
  4482. type: number
  4483. updatetime:
  4484. description: 更新时间
  4485. type: string
  4486. userid:
  4487. description: 机构ID
  4488. type: integer
  4489. username:
  4490. description: 机构名称
  4491. type: string
  4492. warehousecode:
  4493. description: 仓库代码
  4494. type: string
  4495. warehouseinfoid:
  4496. description: 仓库ID
  4497. type: string
  4498. warehousename:
  4499. description: 仓库名称
  4500. type: string
  4501. warehousetype:
  4502. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4503. type: integer
  4504. wrstandardcode:
  4505. description: 品类代码
  4506. type: string
  4507. wrstandardid:
  4508. description: 品类ID
  4509. type: integer
  4510. wrstandardname:
  4511. description: 品类名称
  4512. type: string
  4513. type: object
  4514. models.Ermcp3ArealSumPL:
  4515. properties:
  4516. accountname:
  4517. description: 机构名称
  4518. type: string
  4519. areauserid:
  4520. description: 所属机构\交易用户ID
  4521. type: integer
  4522. begindate:
  4523. description: 开始交易日
  4524. type: string
  4525. currencyid:
  4526. description: 结算币种ID
  4527. type: integer
  4528. currencyname:
  4529. description: 币种名称
  4530. type: string
  4531. cycletime:
  4532. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4533. type: string
  4534. cycletype:
  4535. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4536. type: integer
  4537. enddate:
  4538. description: 结束交易日
  4539. type: string
  4540. enumdicname:
  4541. description: 单位名称(套保品种)
  4542. type: string
  4543. futureactualpl:
  4544. description: 期货损益
  4545. type: number
  4546. futurefloatpl:
  4547. description: 期货浮动损益
  4548. type: number
  4549. futurespotratio:
  4550. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4551. type: number
  4552. goodsunitid:
  4553. description: 套保品种单位id
  4554. type: integer
  4555. hedgeexposurepl:
  4556. description: 套保敞口损益
  4557. type: number
  4558. middlegoodscode:
  4559. description: 套保品种代码
  4560. type: string
  4561. middlegoodsid:
  4562. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4563. type: integer
  4564. middlegoodsname:
  4565. description: 套保品种名称
  4566. type: string
  4567. reckondate:
  4568. description: 日照时期(yyyyMMdd)
  4569. type: string
  4570. spotactualpl:
  4571. description: 现货损益
  4572. type: number
  4573. spotfloatpl:
  4574. description: 现货浮动损益
  4575. type: number
  4576. sumactualpl:
  4577. description: 实际损益 = (ActualPL + FutureActualPL)
  4578. type: number
  4579. sumpl:
  4580. description: 总敞口损益 | 汇总损益
  4581. type: number
  4582. totalfutureqty:
  4583. description: 期货头寸总量
  4584. type: number
  4585. totalneedhedgeqty:
  4586. description: 应套保总量
  4587. type: number
  4588. totalspotqty:
  4589. description: 现货头寸总量
  4590. type: number
  4591. updatetime:
  4592. description: 更新时间
  4593. type: string
  4594. type: object
  4595. models.Ermcp3Brand:
  4596. properties:
  4597. areauserid:
  4598. description: 用户id
  4599. type: integer
  4600. brandid:
  4601. description: 品牌id
  4602. type: integer
  4603. brandname:
  4604. description: 品牌名称
  4605. type: string
  4606. deliverygoodsid:
  4607. description: 品种ID
  4608. type: integer
  4609. isvalid:
  4610. description: 是否有效
  4611. type: integer
  4612. type: object
  4613. models.Ermcp3Contract:
  4614. properties:
  4615. accountid:
  4616. description: 期货账户id
  4617. type: string
  4618. amount:
  4619. description: 金额 [1:一口价、3:暂定价]
  4620. type: number
  4621. attachment:
  4622. description: 附件
  4623. type: string
  4624. auditremark:
  4625. description: 审核意见
  4626. type: string
  4627. audittime:
  4628. description: 审核时间
  4629. type: string
  4630. biztype:
  4631. description: 业务类型 1-套保 2-套利
  4632. type: integer
  4633. brandname:
  4634. description: 品牌名称
  4635. type: string
  4636. buynickname:
  4637. description: 销售方昵称
  4638. type: string
  4639. buyuserid:
  4640. description: 采购方ID
  4641. type: integer
  4642. buyusername:
  4643. description: 采购方名称
  4644. type: string
  4645. contracctstatus:
  4646. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4647. type: integer
  4648. contractmargin:
  4649. description: 合同保证金
  4650. type: number
  4651. contractno:
  4652. description: 现货合同编号
  4653. type: string
  4654. contracttype:
  4655. description: 现货合同类型 - 1:采购 -1:销售
  4656. type: integer
  4657. convertfactor:
  4658. description: 标仓系数(品类)
  4659. type: number
  4660. createtime:
  4661. description: 创建时间
  4662. type: string
  4663. currencyid:
  4664. description: 币种id
  4665. type: integer
  4666. currencyname:
  4667. description: 币种名称
  4668. type: string
  4669. deliveryenddate:
  4670. description: 交收期(结束)
  4671. type: string
  4672. deliverygoodscode:
  4673. description: 现货品种代码
  4674. type: string
  4675. deliverygoodsid:
  4676. description: 现货品种ID
  4677. type: integer
  4678. deliverygoodsname:
  4679. description: 现货品种名称
  4680. type: string
  4681. deliverystartdate:
  4682. description: 交收期(开始)
  4683. type: string
  4684. enddate:
  4685. description: 点价结束日期 [2:点价 3:暂定价]
  4686. type: string
  4687. enumdicname:
  4688. description: 单位名称
  4689. type: string
  4690. goodscode:
  4691. description: 点价合约代码
  4692. type: string
  4693. goodsid:
  4694. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4695. type: integer
  4696. goodsname:
  4697. description: 点价商品名称
  4698. type: string
  4699. margin:
  4700. description: 当前保证金
  4701. type: number
  4702. meruserid:
  4703. description: 跟单员id
  4704. type: integer
  4705. meruserlogincode:
  4706. description: 跟单员登录代码
  4707. type: string
  4708. merusername:
  4709. description: 跟单员名称
  4710. type: string
  4711. price:
  4712. description: 价格\暂定价 [1:一口价、3:暂定价]
  4713. type: number
  4714. pricemove:
  4715. description: 升贴水 [2:点价 3:暂定价]
  4716. type: number
  4717. pricetype:
  4718. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4719. type: integer
  4720. producttype:
  4721. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4722. type: integer
  4723. qty:
  4724. description: 数量
  4725. type: number
  4726. remark:
  4727. description: 备注
  4728. type: string
  4729. saleuserid:
  4730. description: 业务员id
  4731. type: integer
  4732. saleuserlogincode:
  4733. description: 业务员登录代码
  4734. type: string
  4735. saleusername:
  4736. description: 业务员名称
  4737. type: string
  4738. sellnickname:
  4739. description: 采购方昵称
  4740. type: string
  4741. selluserid:
  4742. description: 销售方ID
  4743. type: integer
  4744. sellusername:
  4745. description: 销售方名称
  4746. type: string
  4747. spotcontractid:
  4748. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4749. type: string
  4750. spotgoodsbrandid:
  4751. description: 现货品牌ID(DGFactoryItem表的ID)
  4752. type: integer
  4753. spotgoodsdesc:
  4754. description: 商品型号
  4755. type: string
  4756. startdate:
  4757. description: 点价开始日期 [2:点价 3:暂定价]
  4758. type: string
  4759. subjectid:
  4760. description: 交易主体ID
  4761. type: integer
  4762. subjectname:
  4763. description: 交易主体名称
  4764. type: string
  4765. tradeuserid:
  4766. description: 交易员id
  4767. type: integer
  4768. tradeuserlogincode:
  4769. description: 交易员登录代码
  4770. type: string
  4771. tradeusername:
  4772. description: 交易员名称
  4773. type: string
  4774. unitid:
  4775. description: 单位id(取品类上的单位id)
  4776. type: integer
  4777. updatetime:
  4778. description: 更新时间
  4779. type: string
  4780. userid:
  4781. description: 所属机构ID
  4782. type: integer
  4783. vatrate:
  4784. description: 增值税率
  4785. type: number
  4786. wrstandardcode:
  4787. description: 品类代码
  4788. type: string
  4789. wrstandardid:
  4790. description: 品类ID
  4791. type: integer
  4792. wrstandardname:
  4793. description: 品类名称
  4794. type: string
  4795. type: object
  4796. models.Ermcp3ExposureContractDetail:
  4797. properties:
  4798. biztype:
  4799. description: 业务类型 1-套保 2-套利
  4800. type: integer
  4801. brandname:
  4802. description: 品牌名称
  4803. type: string
  4804. buyuserid:
  4805. description: 采购方id
  4806. type: integer
  4807. buyusername:
  4808. description: 采购方名称
  4809. type: string
  4810. contractno:
  4811. description: 合同编号
  4812. type: string
  4813. contracttype:
  4814. description: 现货合同类型 - 1:采购 -1:销售
  4815. type: integer
  4816. convertfactor:
  4817. description: 标仓系数
  4818. type: number
  4819. convertratio:
  4820. description: 折算系数(套保品种)
  4821. type: number
  4822. curqty:
  4823. description: 今定价量
  4824. type: number
  4825. deliverygoodscode:
  4826. description: 现货商品代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货商品id
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货商品名称
  4833. type: string
  4834. diffhedgeqty:
  4835. description: 套保变动量
  4836. type: number
  4837. diffneedhedgeqty:
  4838. description: 应套保变动量
  4839. type: number
  4840. diffqty:
  4841. description: 套保品种今变动量
  4842. type: number
  4843. enumdicname:
  4844. description: 单位名称
  4845. type: string
  4846. mgunitname:
  4847. description: 套保品种单位名称
  4848. type: string
  4849. middlegoodscode:
  4850. description: 套保品种代码
  4851. type: string
  4852. middlegoodsid:
  4853. description: 套保品种id
  4854. type: integer
  4855. middlegoodsname:
  4856. description: 套保品种名称
  4857. type: string
  4858. needarbitrageratio:
  4859. description: 应套利比例
  4860. type: number
  4861. needhedgeratio:
  4862. description: 应套保比例
  4863. type: number
  4864. pricedqty:
  4865. description: 已定价量
  4866. type: number
  4867. qty:
  4868. description: 合同量
  4869. type: number
  4870. selluserid:
  4871. description: 销售方id
  4872. type: integer
  4873. sellusername:
  4874. description: 销售方名称
  4875. type: string
  4876. spotcontractid:
  4877. description: 合同id
  4878. type: string
  4879. todaypricedqty:
  4880. description: 今定价量
  4881. type: number
  4882. tradedate:
  4883. description: 交易日
  4884. type: string
  4885. unitid:
  4886. description: 品类单位id
  4887. type: integer
  4888. userid:
  4889. description: 机构id
  4890. type: integer
  4891. username:
  4892. description: 交易用户
  4893. type: string
  4894. wrstandardcode:
  4895. description: 品类代码
  4896. type: string
  4897. wrstandardid:
  4898. description: 品类id
  4899. type: integer
  4900. wrstandardname:
  4901. description: 品类名称
  4902. type: string
  4903. type: object
  4904. models.Ermcp3ExposureDetail:
  4905. properties:
  4906. areauserid:
  4907. description: 机构ID
  4908. type: integer
  4909. changeQty:
  4910. description: 套保变动量
  4911. type: number
  4912. contracttype:
  4913. description: 现货合同类型 - 1:采购 -1:销售
  4914. type: integer
  4915. convertfactor:
  4916. description: 标仓系数
  4917. type: number
  4918. convertratio:
  4919. description: 折算系数
  4920. type: number
  4921. createtime:
  4922. description: 时间
  4923. type: string
  4924. enumdicname:
  4925. description: 现货商品单位名称
  4926. type: string
  4927. logtype:
  4928. description: 类型 - 1:套保计划 2:现货合同
  4929. type: integer
  4930. mgunitid:
  4931. description: 套保品种单位id
  4932. type: integer
  4933. mgunitidname:
  4934. description: 套保品种单位名称
  4935. type: string
  4936. middlegoodsId:
  4937. description: 套保商品id
  4938. type: integer
  4939. middlegoodscode:
  4940. description: 套保商品代码
  4941. type: string
  4942. middlegoodsname:
  4943. description: 套保商品名称
  4944. type: string
  4945. qty:
  4946. description: 数量
  4947. type: number
  4948. relateNo:
  4949. description: 现货合同/套保计划编号
  4950. type: string
  4951. unitid:
  4952. description: 现货商品单位id
  4953. type: integer
  4954. wrstandardcode:
  4955. description: 现货商品代码
  4956. type: string
  4957. wrstandardid:
  4958. description: 现货商品ID(SEQ_WRSTANDARD)
  4959. type: integer
  4960. wrstandardname:
  4961. description: 现货商品名称
  4962. type: string
  4963. type: object
  4964. models.Ermcp3ExposureFutuDetail:
  4965. properties:
  4966. accountid:
  4967. description: 交易账户id
  4968. type: integer
  4969. accountname:
  4970. description: 交易账户
  4971. type: string
  4972. begindate:
  4973. description: 开始交易日
  4974. type: string
  4975. buyorsell:
  4976. description: 方向 0-买 1-卖
  4977. type: integer
  4978. diffmgqty:
  4979. description: 套保品种今变化量
  4980. type: number
  4981. diffneedqty:
  4982. description: 应套保总量变化量
  4983. type: number
  4984. difftradeqty:
  4985. description: 交易品种今变化量
  4986. type: number
  4987. enddate:
  4988. description: 结束交易日
  4989. type: string
  4990. enumdicname:
  4991. description: 单位名称
  4992. type: string
  4993. goodscode:
  4994. description: 商品代码
  4995. type: string
  4996. goodsid:
  4997. description: 商品id
  4998. type: integer
  4999. goodsname:
  5000. description: 商品名称
  5001. type: string
  5002. holdqty:
  5003. description: 期末持仓量
  5004. type: number
  5005. middlegoodscode:
  5006. description: 套保商品代码
  5007. type: string
  5008. middlegoodsid:
  5009. description: 套保商品id
  5010. type: integer
  5011. middlegoodsname:
  5012. description: 套保商品名称
  5013. type: string
  5014. oriholdqty:
  5015. description: 期初持仓量
  5016. type: number
  5017. todaycloseqty:
  5018. description: 今平仓量
  5019. type: number
  5020. todayopenqty:
  5021. description: 今开仓量
  5022. type: number
  5023. tradedate:
  5024. description: 交易日
  5025. type: string
  5026. username:
  5027. description: 用户名称(交易用户)
  5028. type: string
  5029. type: object
  5030. models.Ermcp3ExposureHedgeplanDetail:
  5031. properties:
  5032. biztype:
  5033. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5034. type: integer
  5035. changqty:
  5036. description: 应套保总量变化量
  5037. type: number
  5038. contracttype:
  5039. description: 计划类型 - 1:采购 -1:销售
  5040. type: integer
  5041. convertratio:
  5042. description: 折算系数(套保品种)
  5043. type: number
  5044. deliverygoodscode:
  5045. description: 现货商品代码
  5046. type: string
  5047. deliverygoodsid:
  5048. description: 现货商品id
  5049. type: integer
  5050. deliverygoodsname:
  5051. description: 现货商吕名称
  5052. type: string
  5053. dgunitid:
  5054. description: 现货商品单位id
  5055. type: integer
  5056. dgunitidname:
  5057. description: 单位名称(现货商品)
  5058. type: string
  5059. diffqty:
  5060. description: 套保品种今变动量
  5061. type: number
  5062. enumdicname:
  5063. description: 单位名称(品类)
  5064. type: string
  5065. hedgeplanid:
  5066. description: 套保计划id
  5067. type: string
  5068. hedgeplanno:
  5069. description: 套保计划名称
  5070. type: string
  5071. hedgeplanstatus:
  5072. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5073. type: integer
  5074. mgunitidname:
  5075. description: 单位名称(套保商品)
  5076. type: string
  5077. middlegoodscode:
  5078. description: 套保品种代码
  5079. type: string
  5080. middlegoodsid:
  5081. description: 套保品种id
  5082. type: integer
  5083. middlegoodsname:
  5084. description: 套保品种名称
  5085. type: string
  5086. needarbitrageratio:
  5087. description: 应套利比例
  5088. type: number
  5089. needhedgeratio:
  5090. description: 应套保比例
  5091. type: number
  5092. pricedqty:
  5093. description: 已定价量
  5094. type: number
  5095. qty:
  5096. description: 合同量
  5097. type: number
  5098. tradedate:
  5099. description: 交易日(登记日)
  5100. type: string
  5101. unitid:
  5102. description: 品类单位id
  5103. type: integer
  5104. userid:
  5105. description: 机构id
  5106. type: integer
  5107. wrstandardcode:
  5108. description: 品类代码
  5109. type: string
  5110. wrstandardid:
  5111. description: 品类id
  5112. type: integer
  5113. wrstandardname:
  5114. description: 品类名称
  5115. type: string
  5116. type: object
  5117. models.Ermcp3ExposureParamChLog:
  5118. properties:
  5119. accountid:
  5120. description: 期货账户ID (作废, 默认为0)
  5121. type: integer
  5122. aftervalue:
  5123. description: 应套保\套利量变更后(调整后应套保总量)
  5124. type: number
  5125. areauserid:
  5126. description: 所属机构\交易用户ID
  5127. type: integer
  5128. beforevalue:
  5129. description: 应套保\套利量变更前(调整前应套保总量)
  5130. type: number
  5131. begindate:
  5132. description: 开始交易日
  5133. type: string
  5134. changelogtype:
  5135. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5136. type: integer
  5137. curvalue:
  5138. description: 当前套保\套利量(套保总量|套利总量)
  5139. type: number
  5140. diffvalue:
  5141. description: 应套保总量变化量
  5142. type: number
  5143. enddate:
  5144. description: 结束交易日
  5145. type: string
  5146. logdatetime:
  5147. description: 流水日期
  5148. type: string
  5149. logid:
  5150. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5151. type: string
  5152. middlegoodscode:
  5153. description: 套保品种代码
  5154. type: string
  5155. middlegoodsid:
  5156. description: 套保品种
  5157. type: integer
  5158. middlegoodsname:
  5159. description: 套保品种名称
  5160. type: string
  5161. paramaftervalue:
  5162. description: 参数变更后(调整后参数值)
  5163. type: number
  5164. parambeforevalue:
  5165. description: 参数变更前(调整前参数值)
  5166. type: number
  5167. tradedate:
  5168. description: 交易日(yyyyMMdd)
  5169. type: string
  5170. type: object
  5171. models.Ermcp3ExpourseReport:
  5172. properties:
  5173. accountid:
  5174. description: 期货账户ID (作废, 默认为0)
  5175. type: integer
  5176. accountname:
  5177. description: 机构名称
  5178. type: string
  5179. arbitrageqty:
  5180. description: 套利量
  5181. type: number
  5182. areauserid:
  5183. description: 所属机构\交易用户ID
  5184. type: integer
  5185. begindate:
  5186. description: 开始交易日
  5187. type: string
  5188. buyfutureqty:
  5189. description: 买入期货数量
  5190. type: number
  5191. buyplanqty:
  5192. description: 采购计划数量
  5193. type: number
  5194. buypricedqty:
  5195. description: 采购合同已定价数量
  5196. type: number
  5197. cycletime:
  5198. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5199. type: string
  5200. cycletype:
  5201. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5202. type: integer
  5203. diffexposure:
  5204. description: 变动量(套保敞口)
  5205. type: number
  5206. difffutuqty:
  5207. description: 变动量(期货)
  5208. type: number
  5209. diffhedgeqty:
  5210. description: 变动量(现货应套保总量)
  5211. type: number
  5212. diffmgqtya:
  5213. description: 套保变动量
  5214. type: number
  5215. diffmgqtyb:
  5216. description: 套利变动量
  5217. type: number
  5218. diffqty:
  5219. description: 变动量(总敞口)
  5220. type: number
  5221. diffspotqty:
  5222. description: 变动量(现货)
  5223. type: number
  5224. enddate:
  5225. description: 结束交易日
  5226. type: string
  5227. enumdicname:
  5228. description: 单位名称
  5229. type: string
  5230. hedgeqty:
  5231. description: 套保量
  5232. type: number
  5233. mgneedhedgeratio:
  5234. description: 套保比例(套保品的)
  5235. type: number
  5236. middlegoodsid:
  5237. description: 套保品种ID
  5238. type: integer
  5239. middlegoodsname:
  5240. description: 套保商品名称
  5241. type: string
  5242. middlgoodscode:
  5243. description: 套保商品代码
  5244. type: string
  5245. needarbitrageqty:
  5246. description: 应套利量
  5247. type: number
  5248. needarbitrageratio:
  5249. description: 套利比例(套保品的)
  5250. type: number
  5251. needhedgeexposoure:
  5252. description: 应套保敞口(套保敞口)
  5253. type: number
  5254. needhedgeqty:
  5255. description: 应套保量
  5256. type: number
  5257. needhedgeratio:
  5258. description: 应套保敞口比例
  5259. type: number
  5260. oriarbitrageqty:
  5261. description: 期初套利量
  5262. type: number
  5263. oribuyfutureqty:
  5264. description: 期初买入期货数量
  5265. type: number
  5266. oribuyplanqty:
  5267. description: 期初采购计划数量
  5268. type: number
  5269. oribuypricedqty:
  5270. description: 期初采购合同已定价数量
  5271. type: number
  5272. orihedgeqty:
  5273. description: 期初套保量
  5274. type: number
  5275. orineedarbitrageqty:
  5276. description: 期初应套利量
  5277. type: number
  5278. orineedhedgeexposoure:
  5279. description: 期初应套保敞口
  5280. type: number
  5281. orineedhedgeqty:
  5282. description: 期初应套保量
  5283. type: number
  5284. orisellfutureqty:
  5285. description: 期初卖出期货数量
  5286. type: number
  5287. orisellplanqty:
  5288. description: 期初销售计划数量
  5289. type: number
  5290. orisellpricedqty:
  5291. description: 期初销售合同已定价数量
  5292. type: number
  5293. oritotalexposure:
  5294. description: 期初实时总敞口
  5295. type: number
  5296. oritotalfutureqty:
  5297. description: 期初期货头寸总量
  5298. type: number
  5299. oritotalneedhedgeqty:
  5300. description: 期初应套保总量
  5301. type: number
  5302. oritotalspotqty:
  5303. description: 期初现货头寸总量
  5304. type: number
  5305. reckondate:
  5306. description: 日照时期(yyyyMMdd)
  5307. type: string
  5308. sellfutureqty:
  5309. description: 卖出期货数量
  5310. type: number
  5311. sellplanqty:
  5312. description: 销售计划数量
  5313. type: number
  5314. sellpricedqty:
  5315. description: 销售合同已定价数量
  5316. type: number
  5317. totalexposure:
  5318. description: 实时总敞口(总敞口)
  5319. type: number
  5320. totalfutureqty:
  5321. description: 期货头寸总量(期货总量)
  5322. type: number
  5323. totalhedgeratio:
  5324. description: 敞口比例
  5325. type: number
  5326. totalneedhedgeqty:
  5327. description: 应套保总量(现货应套保总量)
  5328. type: number
  5329. totalspotqty:
  5330. description: 现货头寸总量
  5331. type: number
  5332. unitid:
  5333. description: 单位id
  5334. type: integer
  5335. updatetime:
  5336. description: 更新时间
  5337. type: string
  5338. type: object
  5339. models.Ermcp3FinanceReport:
  5340. properties:
  5341. accountname:
  5342. description: 机构名称
  5343. type: string
  5344. areauserid:
  5345. description: 所属机构\交易用户ID
  5346. type: integer
  5347. begindate:
  5348. description: 开始交易日
  5349. type: string
  5350. biztype:
  5351. description: 业务类型 - 1:套保 2:套利
  5352. type: integer
  5353. brandname:
  5354. description: 品牌名称
  5355. type: string
  5356. buypreinvoicedamount:
  5357. description: 采购预收票额(预收票额)
  5358. type: number
  5359. buyprepaidamount:
  5360. description: 采购预付款额(预付货款额)
  5361. type: number
  5362. buytodayinvoiceamount:
  5363. description: 采购今收票额(今收票额)
  5364. type: number
  5365. buytodayrefundamount:
  5366. description: 采购今收退款额(今收退款额)
  5367. type: number
  5368. buytodaysettleamount:
  5369. description: 采购今付款额(今付货款额)
  5370. type: number
  5371. buyuninvoicedamount:
  5372. description: 采购应收票额(应收票额)
  5373. type: number
  5374. buyunpaidamount:
  5375. description: 采购应付款额(应付货款额)
  5376. type: number
  5377. currencyid:
  5378. description: 结算币种ID
  5379. type: integer
  5380. currencyname:
  5381. description: 币种名称
  5382. type: string
  5383. cycletime:
  5384. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5385. type: string
  5386. cycletype:
  5387. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5388. type: integer
  5389. deliverygoodscode:
  5390. description: 现货品种代码
  5391. type: string
  5392. deliverygoodsid:
  5393. description: 现货品种ID
  5394. type: integer
  5395. deliverygoodsname:
  5396. description: 现货品种名称
  5397. type: string
  5398. enddate:
  5399. description: 结束交易日
  5400. type: string
  5401. reckondate:
  5402. description: 日照时期(yyyyMMdd)
  5403. type: string
  5404. sellpreinvoicedamount:
  5405. description: 销售预开票额(预开票额)
  5406. type: number
  5407. sellprepaidamount:
  5408. description: 销售预收款额(预收货款额)
  5409. type: number
  5410. selltodayinvoiceamount:
  5411. description: 销售今开票额(今开票额)
  5412. type: number
  5413. selltodayrefundamount:
  5414. description: 销售今付退款额(今付退款额)
  5415. type: number
  5416. selltodaysettleamount:
  5417. description: 销售今收款额(今收货款额)
  5418. type: number
  5419. selluninvoicedamount:
  5420. description: 销售应开票额(应开票额)
  5421. type: number
  5422. sellunpaidamount:
  5423. description: 销售应收款额(应收货款额)
  5424. type: number
  5425. spotgoodsbrandid:
  5426. description: 现货品牌ID
  5427. type: integer
  5428. todaypaysum:
  5429. description: 今付款合计
  5430. type: number
  5431. todayreceivesum:
  5432. description: 今收款合计
  5433. type: number
  5434. updatetime:
  5435. description: 更新时间
  5436. type: string
  5437. wrfactortypeid:
  5438. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5439. type: integer
  5440. wrstandardcode:
  5441. description: 品类代码
  5442. type: string
  5443. wrstandardid:
  5444. description: 现货商品ID
  5445. type: integer
  5446. wrstandardname:
  5447. description: 品类名称
  5448. type: string
  5449. type: object
  5450. models.Ermcp3GoodsGroup:
  5451. properties:
  5452. agreeunit:
  5453. description: 合约单位
  5454. type: number
  5455. areauserid:
  5456. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5457. type: integer
  5458. canshort:
  5459. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5460. type: integer
  5461. closepricemode:
  5462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5463. type: integer
  5464. createtime:
  5465. description: 创建时间
  5466. type: string
  5467. creatorid:
  5468. description: 创建人
  5469. type: integer
  5470. currencyid:
  5471. description: 报价货币ID
  5472. type: integer
  5473. decimalplace:
  5474. description: 报价小数位
  5475. type: integer
  5476. enumdicname:
  5477. description: 单位名称
  5478. type: string
  5479. exchangefullname:
  5480. description: 交易所全称
  5481. type: string
  5482. excludecfg:
  5483. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5484. type: integer
  5485. exexchangecode:
  5486. description: 交易所代码
  5487. type: string
  5488. exexchangeid:
  5489. description: 外部交易所ID[通道交易]
  5490. type: integer
  5491. exexchangename:
  5492. description: 交易所名称
  5493. type: string
  5494. goodsgroupid:
  5495. description: 商品组ID(自增ID)
  5496. type: integer
  5497. goodsgroupname:
  5498. description: 商品组名称
  5499. type: string
  5500. goodsgroupstatus:
  5501. description: 商品组状态 - 1:正常 2:注销
  5502. type: integer
  5503. goodunitid:
  5504. description: 报价单位ID
  5505. type: integer
  5506. groupcategroyid:
  5507. description: 品种分类ID
  5508. type: integer
  5509. innerdealmode:
  5510. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5511. type: integer
  5512. marketid:
  5513. description: 所属市场ID
  5514. type: integer
  5515. modifierid:
  5516. description: 修改人
  5517. type: integer
  5518. modifytime:
  5519. description: 修改时间
  5520. type: string
  5521. outerdealmode:
  5522. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5523. type: integer
  5524. outergroupcode:
  5525. description: 外部商品组代码[通道交易]
  5526. type: string
  5527. quoteminunit:
  5528. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5529. type: integer
  5530. quotesourcegroupid:
  5531. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5532. type: integer
  5533. syncgoodsqty:
  5534. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5535. type: integer
  5536. required:
  5537. - areauserid
  5538. type: object
  5539. models.Ermcp3HedgePlan:
  5540. properties:
  5541. accountid:
  5542. description: 资金账号
  5543. type: integer
  5544. areauserid:
  5545. description: 用户ID
  5546. type: integer
  5547. auditid:
  5548. description: 审核id
  5549. type: integer
  5550. auditname:
  5551. description: 审核人名称
  5552. type: string
  5553. auditremark:
  5554. description: 审核备注
  5555. type: string
  5556. auditsrc:
  5557. description: 审核来源 1-管理端 2-终端
  5558. type: integer
  5559. audittime:
  5560. description: 审核时间
  5561. type: string
  5562. contracttype:
  5563. description: 计划类型 - 1:采购 -1:销售
  5564. type: integer
  5565. convertfactor:
  5566. description: 标仓系数
  5567. type: number
  5568. createtime:
  5569. description: 创建时间
  5570. type: string
  5571. currencyid:
  5572. description: 币种id
  5573. type: integer
  5574. currencyname:
  5575. description: 币种名称
  5576. type: string
  5577. deliverygoodscode:
  5578. description: 现货品种代码
  5579. type: string
  5580. deliverygoodsid:
  5581. description: 现货品种ID
  5582. type: integer
  5583. deliverygoodsname:
  5584. description: 现货品种名称
  5585. type: string
  5586. enumdicname:
  5587. description: 单位名称(现货商品)
  5588. type: string
  5589. hedgeplanid:
  5590. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5591. type: string
  5592. hedgeplanno:
  5593. description: 套保计划编号(名称)
  5594. type: string
  5595. hedgeplanstatus:
  5596. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5597. type: integer
  5598. planqty:
  5599. description: 计划数量
  5600. type: number
  5601. plantime:
  5602. description: 计划时间
  5603. type: string
  5604. producttype:
  5605. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5606. type: integer
  5607. remark:
  5608. description: 备注
  5609. type: string
  5610. spotgoodsdesc:
  5611. description: 商品型号
  5612. type: string
  5613. taaccountname:
  5614. description: 资金账号名称
  5615. type: string
  5616. tradeuserid:
  5617. description: 交易用户id
  5618. type: integer
  5619. tradeusername:
  5620. description: 交易用户名称
  5621. type: string
  5622. unitid:
  5623. description: 单位id(现货商品)
  5624. type: integer
  5625. updatetime:
  5626. description: 更新时间
  5627. type: string
  5628. vatrate:
  5629. description: 增值税率
  5630. type: number
  5631. wrstandardcode:
  5632. description: 品类代码
  5633. type: string
  5634. wrstandardid:
  5635. description: 品类id
  5636. type: integer
  5637. wrstandardname:
  5638. description: 品类名称
  5639. type: string
  5640. wrunitid:
  5641. description: 品类单位id
  5642. type: integer
  5643. wrunitidame:
  5644. description: 品类单位名称
  5645. type: string
  5646. type: object
  5647. models.Ermcp3InnerTradeLink:
  5648. properties:
  5649. accountid:
  5650. description: 期货账号代码 | 资金账号ID
  5651. type: integer
  5652. buyorsell:
  5653. description: 方向 - 0:买 1:卖
  5654. type: integer
  5655. channelbuildtype:
  5656. description: 委托单据类型 0:无 1:建仓 2:平仓
  5657. type: integer
  5658. currencyid:
  5659. description: 币种id
  5660. type: integer
  5661. currencyname:
  5662. description: 结算币种 名称
  5663. type: string
  5664. goodscode:
  5665. description: 商品代码
  5666. type: string
  5667. goodsid:
  5668. description: 商品ID
  5669. type: integer
  5670. goodsname:
  5671. description: 商品名称
  5672. type: string
  5673. outtradeid:
  5674. description: 外部成交单号
  5675. type: string
  5676. taname:
  5677. description: 期货账户名称
  5678. type: string
  5679. tradeid:
  5680. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5681. type: string
  5682. tradeprice:
  5683. description: 成交价格
  5684. type: number
  5685. tradeqty:
  5686. description: 期货成交数量
  5687. type: integer
  5688. tradetime:
  5689. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5690. type: string
  5691. username:
  5692. description: 用户名称
  5693. type: string
  5694. type: object
  5695. models.Ermcp3OutTradeLink:
  5696. properties:
  5697. buyorsell:
  5698. description: 买卖方向 - 0:买 1:卖
  5699. type: integer
  5700. channelbuildtype:
  5701. description: 开平标志- 0:无 1:建仓 2:平仓
  5702. type: integer
  5703. currencyname:
  5704. description: 币种名称
  5705. type: string
  5706. exexchangecode:
  5707. description: 交易所代码
  5708. type: string
  5709. exexchangename:
  5710. description: 交易所名称
  5711. type: string
  5712. goodscode:
  5713. description: 合约代码
  5714. type: string
  5715. goodsid:
  5716. description: 合约id
  5717. type: integer
  5718. goodsname:
  5719. description: 合约名称
  5720. type: string
  5721. hasinnerorder:
  5722. description: 是否有内部单关联 - 0:无 1:有
  5723. type: integer
  5724. hedgeaccountcode:
  5725. description: 外部账号 | 对冲账号
  5726. type: string
  5727. outtradeid:
  5728. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5729. type: string
  5730. tradeprice:
  5731. description: 成交价格
  5732. type: number
  5733. tradeqty:
  5734. description: 成交数量
  5735. type: integer
  5736. tradetime:
  5737. description: 成交时间
  5738. type: string
  5739. type: object
  5740. models.Ermcp3PaAreaAuditCfg:
  5741. properties:
  5742. areauserid:
  5743. description: 用户ID
  5744. type: integer
  5745. buyinauditflag:
  5746. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. costratioauditflag:
  5749. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. customerauditflag:
  5752. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. deliveryauditflag:
  5755. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. invoiceauditflag:
  5758. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. mgneedhedgeratioauditflag:
  5761. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. moneyauditflag:
  5764. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. operatorid:
  5767. description: 操作人
  5768. type: integer
  5769. operatorsrc:
  5770. description: 操作来源 - 1:管理端 2:终端
  5771. type: integer
  5772. pointpriceauditflag:
  5773. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. produceinauditflag:
  5776. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. produceoutauditflag:
  5779. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5780. type: integer
  5781. selloutauditflag:
  5782. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5783. type: integer
  5784. sgconvertratioauditflag:
  5785. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5786. type: integer
  5787. sgvtaratioauditflag:
  5788. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5789. type: integer
  5790. spotcontractauditflag:
  5791. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5792. type: integer
  5793. updatetime:
  5794. description: 更新时间
  5795. type: string
  5796. type: object
  5797. models.Ermcp3PaAreaSubject:
  5798. properties:
  5799. areauserid:
  5800. description: 所属机构
  5801. type: integer
  5802. canmodify:
  5803. description: 是否可修改 - 0:否 1:是
  5804. type: integer
  5805. createtime:
  5806. description: 创建时间
  5807. type: string
  5808. creatorid:
  5809. description: 创建人ID
  5810. type: string
  5811. creatorsrc:
  5812. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5813. type: integer
  5814. modifierid:
  5815. description: 修改人
  5816. type: string
  5817. modifiersrc:
  5818. description: 修改人来源 - 1:管理端 2:终端
  5819. type: integer
  5820. modifytime:
  5821. description: 修改时间
  5822. type: string
  5823. parentsubjectid:
  5824. description: 上级主体ID
  5825. type: string
  5826. remark:
  5827. description: 备注
  5828. type: string
  5829. subjectid:
  5830. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5831. type: integer
  5832. subjectname:
  5833. description: 主体名称
  5834. type: string
  5835. subjectstatus:
  5836. description: '主体状态 - 1:正常 2: 停用'
  5837. type: integer
  5838. subjecttype:
  5839. description: 主体类型 - 1:交易主体 2:业务部门
  5840. type: integer
  5841. type: object
  5842. models.Ermcp3PaTradeLink:
  5843. properties:
  5844. accountid:
  5845. description: 期货账户代码 | 账号ID
  5846. type: integer
  5847. agreeunit:
  5848. description: 合约乘数
  5849. type: number
  5850. buyorsell:
  5851. description: 方向 - 0:买 1:卖
  5852. type: integer
  5853. channelbuildtype:
  5854. description: 委托单据类型 0:无 1:建仓 2:平仓
  5855. type: integer
  5856. charge:
  5857. description: 手续费
  5858. type: number
  5859. closepl:
  5860. description: 平仓盈亏
  5861. type: number
  5862. closetype:
  5863. description: 平仓方式 - 0:无 1:平今 2:平昨
  5864. type: integer
  5865. convertratio:
  5866. description: 折算系数
  5867. type: number
  5868. enumdicname:
  5869. description: 单位名称
  5870. type: string
  5871. executeprice:
  5872. description: 执行价 [期权]
  5873. type: integer
  5874. goodscode:
  5875. description: 合约代码
  5876. type: string
  5877. goodsgroupid:
  5878. description: 对冲品种ID[期货合约商品组ID]
  5879. type: integer
  5880. goodsid:
  5881. description: 商品ID
  5882. type: integer
  5883. goodsname:
  5884. description: 合约名称
  5885. type: string
  5886. goodunitid:
  5887. description: 单位id
  5888. type: integer
  5889. hedgeflag:
  5890. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5891. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5892. type: integer
  5893. marketid:
  5894. description: 市场ID
  5895. type: integer
  5896. middlegoodsid:
  5897. description: 套保品种ID
  5898. type: integer
  5899. middlegoodsqty:
  5900. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5901. type: number
  5902. optioncode:
  5903. description: 期权代码 [期权]
  5904. type: string
  5905. ordertype:
  5906. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5907. type: integer
  5908. ordertypename:
  5909. description: 订单类型
  5910. type: string
  5911. parentaccountid:
  5912. description: 所属母账户
  5913. type: integer
  5914. premium:
  5915. description: 权利金 [期权]
  5916. type: number
  5917. relatedlot:
  5918. description: 已关联数量(已关联数量手) | db:关联手数
  5919. type: number
  5920. relatedouttradeid:
  5921. description: 关联外部成交单ID
  5922. type: string
  5923. relatedqty:
  5924. description: 关联数量
  5925. type: number
  5926. spotcontractid:
  5927. description: 现货合同ID [4:套期保值\10\11]
  5928. type: string
  5929. taname:
  5930. description: 期货账户名称
  5931. type: string
  5932. tradeamount:
  5933. description: 成交金额(账户)
  5934. type: number
  5935. tradedate:
  5936. description: 交易日(yyyyMMdd)
  5937. type: string
  5938. tradeid:
  5939. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5940. type: string
  5941. tradelot:
  5942. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5943. type: integer
  5944. tradeprice:
  5945. description: 成交价格
  5946. type: number
  5947. tradetime:
  5948. description: 时间 | db:成交时间
  5949. type: string
  5950. tradetype:
  5951. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5952. type: integer
  5953. userid:
  5954. description: 所属机构 - 所属母账户的UserID
  5955. type: string
  5956. username:
  5957. description: 用户名称
  5958. type: string
  5959. type: object
  5960. models.Ermcp3ParamChangeApp:
  5961. properties:
  5962. aftervalue:
  5963. description: 变更后
  5964. type: number
  5965. applicationid:
  5966. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5967. type: string
  5968. applyid:
  5969. description: 申请人
  5970. type: string
  5971. applyname:
  5972. description: 申请人名称(代码)
  5973. type: string
  5974. applyremark:
  5975. description: 申请备注
  5976. type: string
  5977. applysrc:
  5978. description: 申请来源 - 1:管理端 2:终端
  5979. type: integer
  5980. applystatus:
  5981. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5982. type: integer
  5983. applytime:
  5984. description: 申请时间
  5985. type: string
  5986. areauserid:
  5987. description: 所属机构用户ID
  5988. type: integer
  5989. auditid:
  5990. description: 审核人
  5991. type: string
  5992. auditname:
  5993. description: 审核人名称(代码)
  5994. type: string
  5995. auditremark:
  5996. description: 审核备注
  5997. type: string
  5998. auditsrc:
  5999. description: 审核来源 - 1:管理端 2:终端
  6000. type: integer
  6001. audittime:
  6002. description: 审核时间
  6003. type: string
  6004. audittradedate:
  6005. description: 审核交易日(yyyyMMdd)
  6006. type: string
  6007. beforevalue:
  6008. description: 变更前
  6009. type: number
  6010. deliverygoodscode:
  6011. description: 品种代码
  6012. type: string
  6013. deliverygoodsid:
  6014. description: 品种id
  6015. type: integer
  6016. deliverygoodsname:
  6017. description: 品种名称
  6018. type: string
  6019. middlegoodscode:
  6020. description: 套保品种代码
  6021. type: string
  6022. middlegoodsid:
  6023. description: 套保品种ID [ParamChangeType = 2,3,4]
  6024. type: integer
  6025. middlegoodsname:
  6026. description: 套保品种名称
  6027. type: string
  6028. operatetype:
  6029. description: 操作类型 - 1:新增 2:修改
  6030. type: integer
  6031. paramchangetype:
  6032. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6033. type: integer
  6034. wrstandardcode:
  6035. description: 现货商品代码
  6036. type: string
  6037. wrstandardid:
  6038. description: 现货商品ID [ParamChangeType = 1,2,3]
  6039. type: integer
  6040. wrstandardname:
  6041. description: 现货商品名称
  6042. type: string
  6043. type: object
  6044. models.Ermcp3RootUserAccount:
  6045. properties:
  6046. accountname:
  6047. description: 账户名称(机构名称)
  6048. type: string
  6049. accountstatus:
  6050. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6051. type: integer
  6052. applysrc:
  6053. description: 申请来源 - 1:管理端 2:终端
  6054. type: integer
  6055. auditremark:
  6056. description: 审核备注
  6057. type: string
  6058. auditsrc:
  6059. description: 审核来源 - 1:管理端 2:终端
  6060. type: integer
  6061. audittime:
  6062. description: 审核时间
  6063. type: string
  6064. audituserid:
  6065. description: 审核人
  6066. type: integer
  6067. broker:
  6068. description: 所属经纪人ID
  6069. type: integer
  6070. canceltime:
  6071. description: 销户时间
  6072. type: string
  6073. canceluserid:
  6074. description: 销户人
  6075. type: integer
  6076. canrecommend:
  6077. description: 是否可推荐 - 0:不可 1;可
  6078. type: integer
  6079. createtime:
  6080. description: 创建时间
  6081. type: string
  6082. creatorid:
  6083. description: 创建人
  6084. type: integer
  6085. hasauth:
  6086. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6087. type: integer
  6088. isanonymous:
  6089. description: 是否匿名下单 - 0:否 1:是
  6090. type: integer
  6091. maxinvestornum:
  6092. description: 最大用户数(经纪会员下投资者个数)
  6093. type: integer
  6094. memberuserid:
  6095. description: 所属会员ID
  6096. type: integer
  6097. modifierid:
  6098. description: 修改人
  6099. type: integer
  6100. modifyremark:
  6101. description: 变更备注
  6102. type: string
  6103. modifystatus:
  6104. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6105. type: integer
  6106. modifytime:
  6107. description: 修改时间
  6108. type: string
  6109. parenttopuser:
  6110. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6111. type: string
  6112. parentuserid:
  6113. description: 所属机构ID
  6114. type: integer
  6115. reckonaccountid:
  6116. description: 默认结算资金账号ID(机构分润使用) 作废
  6117. type: integer
  6118. refercount:
  6119. description: 推荐总人数
  6120. type: integer
  6121. refereeuserid:
  6122. description: 推荐人ID
  6123. type: integer
  6124. refernum:
  6125. description: 推荐码
  6126. type: string
  6127. rootuserid:
  6128. description: 根用户ID
  6129. type: integer
  6130. subaccountlevel:
  6131. description: 子账户层数
  6132. type: integer
  6133. subarealevelpath:
  6134. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6135. type: string
  6136. userid:
  6137. description: 用户ID
  6138. type: integer
  6139. usertype:
  6140. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6141. type: integer
  6142. type: object
  6143. models.Ermcp3SCMiddleGoods:
  6144. properties:
  6145. biztype:
  6146. description: 业务类型 1:套保 2:套利
  6147. type: integer
  6148. contractno:
  6149. description: 合同编号
  6150. type: string
  6151. contracttype:
  6152. description: 合同类型 1:采购 -1:销售
  6153. type: integer
  6154. convertratio:
  6155. description: 折算系数
  6156. type: number
  6157. customername:
  6158. description: 对手手名称
  6159. type: string
  6160. customeruserid:
  6161. description: 对手id
  6162. type: integer
  6163. deliverygoodscode:
  6164. description: 现货品种代码
  6165. type: string
  6166. deliverygoodsid:
  6167. description: 现货品种ID
  6168. type: integer
  6169. deliverygoodsname:
  6170. description: 现货品种名称
  6171. type: string
  6172. enumdicname:
  6173. description: 现货单位名称
  6174. type: string
  6175. middlegoodsid:
  6176. description: 套保品种ID
  6177. type: integer
  6178. middlegoodspricedqty3:
  6179. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6180. type: number
  6181. needhedgeratio:
  6182. description: 套保比例
  6183. type: number
  6184. pricedqty:
  6185. description: 已定价量
  6186. type: number
  6187. relatedmiddlegoodsqty:
  6188. description: 已关联量(套保品种)(期货)
  6189. type: number
  6190. spotcontractid:
  6191. description: 合同编号
  6192. type: string
  6193. unitid:
  6194. description: 现货单位id
  6195. type: integer
  6196. userid:
  6197. description: 用户id
  6198. type: integer
  6199. vatrate:
  6200. description: 增值税率
  6201. type: number
  6202. wrstandardcode:
  6203. description: 现货商品代码
  6204. type: string
  6205. wrstandardid:
  6206. description: 现货商品id
  6207. type: integer
  6208. wrstandardname:
  6209. description: 现货商品名称
  6210. type: string
  6211. type: object
  6212. models.Ermcp3SCMiddleGoodsReport:
  6213. properties:
  6214. begindate:
  6215. description: 开始交易日
  6216. type: string
  6217. contractno:
  6218. description: 合同编号
  6219. type: string
  6220. contracttype:
  6221. description: 合同类型 1:采购 -1:销售
  6222. type: integer
  6223. convertratio:
  6224. description: 折算系数
  6225. type: number
  6226. cycletime:
  6227. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6228. type: string
  6229. cycletype:
  6230. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6231. type: integer
  6232. deliverygoodscode:
  6233. description: 品种代码
  6234. type: string
  6235. deliverygoodsid:
  6236. description: 现货品种ID
  6237. type: integer
  6238. deliverygoodsname:
  6239. description: 品种名称
  6240. type: string
  6241. diffprice:
  6242. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6243. type: number
  6244. diffqty:
  6245. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6246. type: number
  6247. enddate:
  6248. description: 结束交易日
  6249. type: string
  6250. hedgeplanqty:
  6251. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6252. type: number
  6253. matchname:
  6254. description: 交易对手方(个人:用户名称 企业:简称)
  6255. type: string
  6256. middlegoodscode:
  6257. description: 套保品种代码
  6258. type: string
  6259. middlegoodsid:
  6260. description: 套保品种ID
  6261. type: integer
  6262. middlegoodsname:
  6263. description: 套保品种名称
  6264. type: string
  6265. middlegoodspricedqty:
  6266. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6267. type: number
  6268. middlegoodspricedqty2:
  6269. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6270. type: number
  6271. middlegoodspricedqty3:
  6272. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6273. type: number
  6274. needhedgeratio:
  6275. description: 套保系数
  6276. type: number
  6277. pricedamount:
  6278. description: 已定价额(现货)
  6279. type: number
  6280. pricedamount2:
  6281. description: 已定价额(现货-基价额)
  6282. type: number
  6283. pricedqty:
  6284. description: 已定价量(现货)
  6285. type: number
  6286. reckondate:
  6287. description: 日照时期(yyyyMMdd)
  6288. type: string
  6289. relatedmiddlegoodsamount:
  6290. description: 已关联额(期货)
  6291. type: number
  6292. relatedmiddlegoodsqty:
  6293. description: 已关联量(套保品种)(期货)
  6294. type: number
  6295. spotcontractid:
  6296. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6297. type: string
  6298. todayavgfutuprice:
  6299. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6300. type: number
  6301. todayavgprice:
  6302. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6303. type: number
  6304. todayavgprice2:
  6305. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6306. type: number
  6307. todaypricedamount:
  6308. description: 今日定价额(现货)
  6309. type: number
  6310. todaypricedamount2:
  6311. description: 今日定价额(现货-基价额)
  6312. type: number
  6313. todaypricedqty:
  6314. description: 今日定价量(现货)
  6315. type: number
  6316. todayrelatedfutureqty:
  6317. description: 今日关联量(期货)
  6318. type: number
  6319. todayrelatedmiddlegoodsamount:
  6320. description: 今日关联额(期货)
  6321. type: number
  6322. todayrelatedmiddlegoodsqty:
  6323. description: 今日关联量(套保品-期货)
  6324. type: number
  6325. updatetime:
  6326. description: 更新时间
  6327. type: string
  6328. userid:
  6329. description: 合同所属用户id
  6330. type: integer
  6331. vatrate:
  6332. description: 增值税率
  6333. type: number
  6334. wrstandardcode:
  6335. description: 商品(品类) 代码
  6336. type: string
  6337. wrstandardid:
  6338. description: 现货商品ID
  6339. type: integer
  6340. wrstandardname:
  6341. description: 商品(品类) 名称
  6342. type: string
  6343. type: object
  6344. models.Ermcp3SellBuyContract:
  6345. properties:
  6346. accountid:
  6347. description: 期货账户id
  6348. type: string
  6349. accountname:
  6350. description: 账户名称
  6351. type: string
  6352. attachment:
  6353. description: 附件
  6354. type: string
  6355. audittime:
  6356. description: 审核时间
  6357. type: string
  6358. bizsubjectid:
  6359. description: 归属业务部门ID - SubjectID
  6360. type: integer
  6361. biztype:
  6362. description: 业务类型 1-套保 2-套利
  6363. type: integer
  6364. brandname:
  6365. description: 品牌名称
  6366. type: string
  6367. contracctstatus:
  6368. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6369. type: integer
  6370. contractmargin:
  6371. description: 合同保证金
  6372. type: number
  6373. contractno:
  6374. description: 合同编号
  6375. type: string
  6376. contracttype:
  6377. description: 合同类型 1-采购, -1-销售
  6378. type: integer
  6379. convertfactor:
  6380. description: 标仓系数(品类)
  6381. type: number
  6382. createtime:
  6383. description: 创建时间
  6384. type: string
  6385. currencyid:
  6386. description: 币种id
  6387. type: integer
  6388. currencyname:
  6389. description: 币种名称
  6390. type: string
  6391. daikaiamount:
  6392. description: 应收(开)票额
  6393. type: number
  6394. deliveryenddate:
  6395. description: 交割结束日
  6396. type: string
  6397. deliverygoodscode:
  6398. description: 现货品种代码
  6399. type: string
  6400. deliverygoodsid:
  6401. description: 现货商品ID
  6402. type: integer
  6403. deliverygoodsname:
  6404. description: 现货品种名称
  6405. type: string
  6406. deliverystartdate:
  6407. description: 交割开始日
  6408. type: string
  6409. enddate:
  6410. description: 点价结束日
  6411. type: string
  6412. enumdicname:
  6413. description: 单位名称
  6414. type: string
  6415. goodscode:
  6416. description: 点价商品代码
  6417. type: string
  6418. goodsid:
  6419. description: 点价商品ID
  6420. type: integer
  6421. goodsname:
  6422. description: 点价商品名称
  6423. type: string
  6424. invoiceamount:
  6425. description: 已开票额
  6426. type: number
  6427. loanamount:
  6428. description: 贷款总额=已定价额+调整金额
  6429. type: number
  6430. margin:
  6431. description: 保证金
  6432. type: number
  6433. meruserid:
  6434. description: 跟单员id
  6435. type: integer
  6436. meruserlogincode:
  6437. description: 跟单员登录代码
  6438. type: string
  6439. merusername:
  6440. description: 跟单员名称
  6441. type: string
  6442. nickname:
  6443. description: 账户昵称
  6444. type: string
  6445. payamount:
  6446. description: 已收付额(收款或付款)
  6447. type: number
  6448. preinvoiceamount:
  6449. description: 预收(开)票额
  6450. type: number
  6451. prepayamount:
  6452. description: 预收付额
  6453. type: number
  6454. price:
  6455. description: 价格
  6456. type: number
  6457. pricedamount:
  6458. description: 已定价额
  6459. type: number
  6460. pricedavg:
  6461. description: 已点均价
  6462. type: number
  6463. pricedqty:
  6464. description: 已定价量
  6465. type: number
  6466. pricemove:
  6467. description: 升贴水
  6468. type: number
  6469. pricetype:
  6470. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6471. type: integer
  6472. producttype:
  6473. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6474. type: integer
  6475. qty:
  6476. description: 合同量
  6477. type: number
  6478. reckonadjustamount:
  6479. description: 调整金额
  6480. type: number
  6481. reckonedamount:
  6482. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6483. type: number
  6484. reckonotheramount:
  6485. description: 其它费用
  6486. type: number
  6487. reckonrealqty:
  6488. description: 已确定量
  6489. type: number
  6490. remark:
  6491. description: 备注
  6492. type: string
  6493. saleuserid:
  6494. description: 业务员id
  6495. type: integer
  6496. saleuserlogincode:
  6497. description: 业务员登录代码
  6498. type: string
  6499. saleusername:
  6500. description: 业务员名称
  6501. type: string
  6502. spotcontractid:
  6503. description: 合同ID
  6504. type: string
  6505. spotgoodsbrandid:
  6506. description: 现货品牌ID(DGFactoryItem表的ID)
  6507. type: integer
  6508. spotgoodsdesc:
  6509. description: 商品型号(商品规格)
  6510. type: string
  6511. startdate:
  6512. description: 点价开始日
  6513. type: string
  6514. subjectid:
  6515. description: 交易主体ID
  6516. type: integer
  6517. subjectname:
  6518. description: 交易主体名称
  6519. type: string
  6520. totalamount:
  6521. description: 合计总额
  6522. type: number
  6523. tradeuserid:
  6524. description: 交易员id
  6525. type: integer
  6526. tradeuserlogincode:
  6527. description: 交易员登录代码
  6528. type: string
  6529. tradeusername:
  6530. description: 交易员名称
  6531. type: string
  6532. unpayamount:
  6533. description: 应收付款额(应支付或应收款)
  6534. type: number
  6535. unpricedqty:
  6536. description: 未定价量
  6537. type: number
  6538. unsureqty:
  6539. description: 未确定量
  6540. type: number
  6541. userid:
  6542. description: 机构ID
  6543. type: integer
  6544. vatrate:
  6545. description: 增值税率
  6546. type: number
  6547. wrstandardcode:
  6548. description: 品类代码
  6549. type: string
  6550. wrstandardid:
  6551. description: 品类ID
  6552. type: integer
  6553. wrstandardname:
  6554. description: 品类名称
  6555. type: string
  6556. type: object
  6557. models.Ermcp3SpotGoodsPrice:
  6558. properties:
  6559. areauserid:
  6560. description: 所属机构id
  6561. type: integer
  6562. brandname:
  6563. description: 品牌名称
  6564. type: string
  6565. currencyid:
  6566. description: 报价货币ID
  6567. type: integer
  6568. currencyname:
  6569. description: 币种名称
  6570. type: string
  6571. deliverygoodscode:
  6572. description: 现货商品代码
  6573. type: string
  6574. deliverygoodsid:
  6575. description: 现货商品id
  6576. type: integer
  6577. deliverygoodsname:
  6578. description: 现货商品名称
  6579. type: string
  6580. enumdicname:
  6581. description: 现货商品单位名称
  6582. type: string
  6583. gbenumdicname:
  6584. description: 品类单位名称
  6585. type: string
  6586. gmunitid:
  6587. description: 品类单位id
  6588. type: integer
  6589. isvalid:
  6590. description: 是否有效 - 0:无效 1:有效
  6591. type: integer
  6592. operateid:
  6593. description: 最后操作人
  6594. type: integer
  6595. operatesrc:
  6596. description: 最后操作来源 - 1:管理端 2:终端
  6597. type: integer
  6598. operatetime:
  6599. description: 最后操作时间
  6600. type: string
  6601. operatorname:
  6602. description: 操作人名称
  6603. type: string
  6604. spotgoodsbrandid:
  6605. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6606. type: integer
  6607. spotgoodsprice:
  6608. description: 现货价格
  6609. type: number
  6610. tradedate:
  6611. description: 交易日(yyyyMMdd)
  6612. type: string
  6613. unitid:
  6614. description: 现货商品单位id
  6615. type: integer
  6616. wrstandardcode:
  6617. description: 品类代码
  6618. type: string
  6619. wrstandardid:
  6620. description: 现货品类ID(通用则为0)
  6621. type: integer
  6622. wrstandardname:
  6623. description: 品类名称
  6624. type: string
  6625. type: object
  6626. models.Ermcp3SpotGoodsPriceLog:
  6627. properties:
  6628. areauserid:
  6629. description: 所属机构id
  6630. type: integer
  6631. brandname:
  6632. description: 品牌名称
  6633. type: string
  6634. currencyid:
  6635. description: 报价货币ID
  6636. type: integer
  6637. deliverygoodscode:
  6638. description: 现货商品代码
  6639. type: string
  6640. deliverygoodsid:
  6641. description: 现货商品id
  6642. type: integer
  6643. deliverygoodsname:
  6644. description: 现货商品名称
  6645. type: string
  6646. enumdicname:
  6647. description: 现货商品单位名称
  6648. type: string
  6649. gbenumdicname:
  6650. description: 品类单位名称
  6651. type: string
  6652. gmunitid:
  6653. description: 品类单位id
  6654. type: integer
  6655. logid:
  6656. description: 日志id
  6657. type: integer
  6658. operateid:
  6659. description: 最后操作人
  6660. type: integer
  6661. operatesrc:
  6662. description: 最后操作来源 - 1:管理端 2:终端
  6663. type: integer
  6664. operatetime:
  6665. description: 最后操作时间
  6666. type: string
  6667. operatorname:
  6668. description: 操作人名称
  6669. type: string
  6670. spotgoodsbrandid:
  6671. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6672. type: integer
  6673. spotgoodsprice:
  6674. description: 现货价格
  6675. type: number
  6676. tradedate:
  6677. description: 交易日(yyyyMMdd)
  6678. type: string
  6679. unitid:
  6680. description: 现货商品单位id
  6681. type: integer
  6682. wrstandardcode:
  6683. description: 品类代码
  6684. type: string
  6685. wrstandardid:
  6686. description: 现货品类ID(通用则为0)
  6687. type: integer
  6688. wrstandardname:
  6689. description: 品类名称
  6690. type: string
  6691. type: object
  6692. models.Ermcp3SubTaaccount:
  6693. properties:
  6694. accountid:
  6695. description: 资金账户ID
  6696. type: integer
  6697. parentaccountcode:
  6698. description: 所属根账号代码(母账号代码)
  6699. type: string
  6700. parentaccountid:
  6701. description: 所属根账号(母账号)
  6702. type: integer
  6703. taname:
  6704. description: 资金账号名称
  6705. type: string
  6706. tradestatus:
  6707. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6708. type: integer
  6709. username:
  6710. description: 交易用户
  6711. type: string
  6712. type: object
  6713. models.Ermcp3TaFutuReDataReport:
  6714. properties:
  6715. accountid:
  6716. description: 交易账户
  6717. type: integer
  6718. accountname:
  6719. description: 交易账号名称
  6720. type: string
  6721. agreeunit:
  6722. description: 商品合约单位
  6723. type: number
  6724. begindate:
  6725. description: 开始交易日
  6726. type: string
  6727. buyorsell:
  6728. description: 持仓方向
  6729. type: integer
  6730. charge:
  6731. description: 手续费
  6732. type: number
  6733. closeavgprice:
  6734. description: 平仓均价
  6735. type: number
  6736. closepl:
  6737. description: 平仓损益
  6738. type: number
  6739. currencyid:
  6740. description: 结算币种ID
  6741. type: integer
  6742. currencyname:
  6743. description: 币种名称
  6744. type: string
  6745. cycletime:
  6746. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6747. type: string
  6748. cycletype:
  6749. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6750. type: integer
  6751. enddate:
  6752. description: 结束交易日
  6753. type: string
  6754. enumdicname:
  6755. description: 单位名称
  6756. type: string
  6757. floatpl:
  6758. description: 浮动损益
  6759. type: number
  6760. goodscode:
  6761. description: 交易合约代码
  6762. type: string
  6763. goodsgroupid:
  6764. description: 交易品种
  6765. type: integer
  6766. goodsgroupname:
  6767. description: 交易品种名称
  6768. type: string
  6769. goodsgroupspotqty:
  6770. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6771. type: number
  6772. goodsid:
  6773. description: 交易合约
  6774. type: integer
  6775. goodsname:
  6776. description: 交易合约名称
  6777. type: string
  6778. goodunitid:
  6779. description: 交易合约单位id
  6780. type: integer
  6781. holdamount:
  6782. description: 期末持仓额
  6783. type: number
  6784. holdqty:
  6785. description: 期末持仓量
  6786. type: number
  6787. lastholdamount:
  6788. description: 当前持仓额
  6789. type: number
  6790. lastprice:
  6791. description: 最新价
  6792. type: number
  6793. middlegoodsid:
  6794. description: 套保品种id
  6795. type: integer
  6796. middlegoodsname:
  6797. description: 套保商品名称
  6798. type: string
  6799. middlegoodsqty:
  6800. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6801. type: number
  6802. middlgoodscode:
  6803. description: 套保商品代码
  6804. type: string
  6805. openamount:
  6806. description: 期末开仓额
  6807. type: number
  6808. openavgprice:
  6809. description: 开仓均价
  6810. type: number
  6811. oriholdamount:
  6812. description: 期初持仓额
  6813. type: number
  6814. oriholdqty:
  6815. description: 期初持仓量
  6816. type: number
  6817. oriopenamount:
  6818. description: 期初开仓额
  6819. type: number
  6820. outergroupcode:
  6821. description: 交易品种代码
  6822. type: string
  6823. qtydecimalplace:
  6824. description: 成交量小数位
  6825. type: integer
  6826. reckondate:
  6827. description: 日照时期(yyyyMMdd)
  6828. type: string
  6829. reckonholdamount:
  6830. description: 结算持仓额
  6831. type: number
  6832. reckonpl:
  6833. description: 结算损益
  6834. type: number
  6835. reckonpl2:
  6836. description: 结算逐笔盈亏
  6837. type: number
  6838. reckonprice:
  6839. description: 结算价
  6840. type: number
  6841. relateduserid:
  6842. description: 账户关联用户ID
  6843. type: integer
  6844. todaycloseamount:
  6845. description: 今平仓额
  6846. type: number
  6847. todaycloseqty:
  6848. description: 今平仓量
  6849. type: number
  6850. todaygoodsgroupspotqty:
  6851. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6852. type: number
  6853. todaymiddlegoodsqty:
  6854. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6855. type: number
  6856. todayopenamount:
  6857. description: 今开仓额
  6858. type: number
  6859. todayopenqty:
  6860. description: 今开仓量
  6861. type: number
  6862. userid:
  6863. description: 账户所属用户ID
  6864. type: integer
  6865. type: object
  6866. models.Ermcp3TradeLinkDetail:
  6867. properties:
  6868. accountid:
  6869. description: 资金账号
  6870. type: integer
  6871. agreeunit:
  6872. description: 合约乘数
  6873. type: number
  6874. areauserid:
  6875. description: 所属机构
  6876. type: string
  6877. bizsubjectid:
  6878. description: 归属业务部门ID - SubjectID
  6879. type: string
  6880. buyorsell:
  6881. description: 方向 - 0:买 1:卖
  6882. type: integer
  6883. channelbuildtype:
  6884. description: 委托单据类型 0:无 1:建仓 2:平仓
  6885. type: integer
  6886. contractno:
  6887. description: 现货编号 (合同编号)
  6888. type: string
  6889. convertratio:
  6890. description: 折算系数
  6891. type: number
  6892. createtime:
  6893. description: 关联时间 | 创建时间
  6894. type: string
  6895. creatorid:
  6896. description: 创建人ID
  6897. type: string
  6898. creatorsrc:
  6899. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6900. type: integer
  6901. enumdicname:
  6902. description: 单位名称
  6903. type: string
  6904. goodscode:
  6905. description: 合约代码
  6906. type: string
  6907. goodsgroupid:
  6908. description: 对冲品种ID[期货合约商品组ID]
  6909. type: integer
  6910. goodsid:
  6911. description: 商品ID
  6912. type: integer
  6913. goodsname:
  6914. description: 合约名称
  6915. type: string
  6916. hedgeflag:
  6917. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6918. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6919. type: integer
  6920. linkdetailid:
  6921. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6922. type: string
  6923. linkstatus:
  6924. description: 关联状态 - 1:成功 2:失败 3:解绑
  6925. type: integer
  6926. middlegoodscode:
  6927. description: 套保品种代码
  6928. type: string
  6929. middlegoodsid:
  6930. description: 套保品种ID
  6931. type: integer
  6932. middlegoodsname:
  6933. description: 套保品种名称
  6934. type: string
  6935. relatedlot:
  6936. description: 关联手数
  6937. type: number
  6938. relatedmode:
  6939. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6940. type: integer
  6941. relatedqty:
  6942. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6943. type: number
  6944. retcode:
  6945. description: 返回码
  6946. type: integer
  6947. saleuserid:
  6948. description: 业务员ID
  6949. type: string
  6950. spotcontractid:
  6951. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6952. type: string
  6953. taname:
  6954. description: 期货账户
  6955. type: string
  6956. tradedate:
  6957. description: 关联交易日(yyyyMMdd)
  6958. type: string
  6959. tradeid:
  6960. description: 期货订单号 | 内部成交单ID
  6961. type: string
  6962. tradelot:
  6963. description: 成交数量 | 成交手数
  6964. type: integer
  6965. tradeprice:
  6966. description: 成交价格
  6967. type: number
  6968. tradetime:
  6969. description: 期货成交时间
  6970. type: string
  6971. tradetradedate:
  6972. description: 成交交易日(yyyyMMdd)
  6973. type: string
  6974. username:
  6975. description: 用户名称
  6976. type: string
  6977. type: object
  6978. models.Ermcp3Wrstandard:
  6979. properties:
  6980. areauserid:
  6981. description: 所属机构
  6982. type: integer
  6983. cantrade:
  6984. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6985. type: integer
  6986. convertfactor:
  6987. description: 标仓系数
  6988. type: number
  6989. createtime:
  6990. description: 创建时间
  6991. type: string
  6992. creatorid:
  6993. description: 创建人
  6994. type: integer
  6995. deliverygoodsid:
  6996. description: 现货品种ID
  6997. type: integer
  6998. enumdicname:
  6999. description: 品类单位名称
  7000. type: string
  7001. isvalid:
  7002. description: 是否有效 0-无效(停用) 1-有效(正常)
  7003. type: integer
  7004. minivalue:
  7005. description: 最小变动值
  7006. type: integer
  7007. minivaluedp:
  7008. description: 最小变动值小数位
  7009. type: integer
  7010. realminivalue:
  7011. description: 实际最小变动值
  7012. type: integer
  7013. realminivaluedp:
  7014. description: 实际最小变动值小数位
  7015. type: integer
  7016. remark:
  7017. description: 备注
  7018. type: string
  7019. unitid:
  7020. description: 品类单位ID
  7021. type: integer
  7022. updatetime:
  7023. description: 更新时间
  7024. type: string
  7025. wrstandardcode:
  7026. description: 品类代码
  7027. type: string
  7028. wrstandardid:
  7029. description: 品类ID(SEQ_WRSTANDARD)
  7030. type: integer
  7031. wrstandardname:
  7032. description: 品类名称
  7033. type: string
  7034. type: object
  7035. models.ErmcpBizGroupEx:
  7036. properties:
  7037. acclist:
  7038. description: 账号列表
  7039. items:
  7040. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7041. type: array
  7042. bizgroupid:
  7043. description: 业务分组id
  7044. type: integer
  7045. biztype:
  7046. description: 业务类型 1-套保 2-套利
  7047. type: integer
  7048. wrlist:
  7049. description: 现货商品表
  7050. items:
  7051. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7052. type: array
  7053. type: object
  7054. models.ErmcpBizGroupSpotGoods:
  7055. properties:
  7056. areauserid:
  7057. description: 所属机构id
  7058. type: integer
  7059. bizgroupid:
  7060. description: 分组id
  7061. type: integer
  7062. biztype:
  7063. description: 业务类型 1-套保 2-套利
  7064. type: integer
  7065. deliverygoodscode:
  7066. description: 现货商品代码
  7067. type: string
  7068. deliverygoodsid:
  7069. description: 现货商品id
  7070. type: integer
  7071. deliverygoodsname:
  7072. description: 现货商品名称
  7073. type: string
  7074. unitid:
  7075. description: 现货商品单位id
  7076. type: integer
  7077. type: object
  7078. models.ErmcpBizGroupTaAccount:
  7079. properties:
  7080. accountid:
  7081. description: 账号id
  7082. type: integer
  7083. accountname:
  7084. description: 账号名称
  7085. type: string
  7086. areauserid:
  7087. description: 所属机构id
  7088. type: integer
  7089. bizgroupid:
  7090. description: 业务分组id
  7091. type: integer
  7092. ismain:
  7093. description: 是否主账号 1-是 0-否
  7094. type: integer
  7095. type: object
  7096. models.ErmcpDGFactoryItem:
  7097. properties:
  7098. areauserid:
  7099. description: 用户id
  7100. type: integer
  7101. deliverygoodsid:
  7102. description: 现货品种ID
  7103. type: integer
  7104. dgfactoryitemid:
  7105. description: 选择项ID(SEQ_DGFACTORYITEM)
  7106. type: integer
  7107. dgfactoryitemtypeid:
  7108. description: 要素项类型
  7109. type: integer
  7110. dgfactoryitemvalue:
  7111. description: 要素项值(类型为仓库时填写仓库名称)
  7112. type: string
  7113. isvalid:
  7114. description: 是否有效 - 0:无效 1:有效
  7115. type: integer
  7116. orderindex:
  7117. description: 顺序
  7118. type: integer
  7119. warehouseid:
  7120. description: 仓库ID(类型为仓库时填写)
  7121. type: integer
  7122. type: object
  7123. models.ErmcpDeliveryGoods:
  7124. properties:
  7125. agreeunit:
  7126. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7127. type: integer
  7128. areauserid:
  7129. description: 所属机构
  7130. type: integer
  7131. auditflag:
  7132. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7133. type: integer
  7134. categoryid:
  7135. description: 类别ID(SEQ_WRCATEGORY)
  7136. type: integer
  7137. deliverygoodscode:
  7138. description: 现货品种代码
  7139. type: string
  7140. deliverygoodsid:
  7141. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7142. type: integer
  7143. deliverygoodsname:
  7144. description: 现货品种名称
  7145. type: string
  7146. deliverygoodstype:
  7147. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7148. type: integer
  7149. dgstatus:
  7150. description: 品种状态 - 作废 - 0:未激活 1:正常
  7151. type: integer
  7152. enumdicname:
  7153. description: 现货品种单位名称
  7154. type: string
  7155. goodsunitid:
  7156. description: 现货品种单位ID
  7157. type: integer
  7158. isvalid:
  7159. description: 是否有效 - 0:无效 1:有效
  7160. type: integer
  7161. qtydecimalplace:
  7162. description: 成交量小数位
  7163. type: integer
  7164. remark:
  7165. description: 备注
  7166. type: string
  7167. standardqty:
  7168. description: 标准数量(库位数量) [标准品特有]
  7169. type: integer
  7170. standardqtyrange:
  7171. description: 标准数量偏差范围 [标准品特有]
  7172. type: integer
  7173. type: object
  7174. models.ErmcpFuturesCompany:
  7175. properties:
  7176. brokerid:
  7177. description: 经纪公司代码
  7178. type: string
  7179. channeladdress:
  7180. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7181. type: string
  7182. channelid:
  7183. description: 对冲渠道ID
  7184. type: string
  7185. createtime:
  7186. description: 创建时间
  7187. type: string
  7188. creatorid:
  7189. description: 创建人
  7190. type: string
  7191. fcid:
  7192. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7193. type: integer
  7194. fcname:
  7195. description: 期货公司名称
  7196. type: string
  7197. isvalid:
  7198. description: 是否有效 - 0:无效 1:有效
  7199. type: integer
  7200. mhpaddress:
  7201. description: MHP服务地址(IP:Port)
  7202. type: string
  7203. riskrulegroupid:
  7204. description: 风控规则组ID
  7205. type: string
  7206. tradefeetmpid:
  7207. description: 手续费模板ID[TradeConfigTmpType为2]
  7208. type: string
  7209. trademargintmpid:
  7210. description: 保证金模板ID [TradeConfigTmpType为1]
  7211. type: string
  7212. traderatetmpid:
  7213. description: 汇率模板ID[TradeConfigTmpType为3]
  7214. type: string
  7215. updatetime:
  7216. description: 更新时间
  7217. type: string
  7218. updatorid:
  7219. description: 更新人
  7220. type: string
  7221. type: object
  7222. models.ErmcpGGConvertCfg:
  7223. properties:
  7224. convertratio:
  7225. description: 折算系数
  7226. type: number
  7227. destgoodsgroupid:
  7228. description: 目标品种ID
  7229. type: integer
  7230. dstcode:
  7231. description: 目录品种代码
  7232. type: string
  7233. dstexchangecode:
  7234. description: 目标期货交易所
  7235. type: string
  7236. dstname:
  7237. description: 目标品种名称
  7238. type: string
  7239. dstunitid:
  7240. description: 目标品种单位ID
  7241. type: integer
  7242. dstunitidname:
  7243. description: 目标品种单位名称
  7244. type: string
  7245. modifytime:
  7246. description: 修改时间
  7247. type: string
  7248. srccode:
  7249. description: 源品种代码
  7250. type: string
  7251. srcexchangecode:
  7252. description: 源期货交易所
  7253. type: string
  7254. srcgoodsgroupid:
  7255. description: 源品种ID
  7256. type: integer
  7257. srcname:
  7258. description: 源品种名称
  7259. type: string
  7260. srcunitid:
  7261. description: 源品种单位ID
  7262. type: integer
  7263. srcunitidname:
  7264. description: 源品种单位名称
  7265. type: string
  7266. type: object
  7267. models.ErmcpGoods:
  7268. properties:
  7269. agreeunit:
  7270. description: 合约单位
  7271. type: number
  7272. areauserid:
  7273. description: 所属机构
  7274. type: integer
  7275. auditaccountid:
  7276. description: 审核操作员账号
  7277. type: integer
  7278. audittime:
  7279. description: 审核时间
  7280. type: string
  7281. cancelaccountid:
  7282. description: 注销操作员账号
  7283. type: integer
  7284. canceltime:
  7285. description: 注销时间
  7286. type: string
  7287. closepricemode:
  7288. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7289. type: integer
  7290. closepriceparam:
  7291. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7292. type: number
  7293. createtime:
  7294. description: 创建时间
  7295. type: string
  7296. creatorid:
  7297. description: 创建人
  7298. type: integer
  7299. currencyid:
  7300. description: 报价货币ID
  7301. type: integer
  7302. cutmode:
  7303. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7304. type: integer
  7305. decimalplace:
  7306. description: 报价小数位
  7307. type: integer
  7308. delistingdate:
  7309. description: 商品退市时间(状态:退市) -- 已作废
  7310. type: string
  7311. delistingmode:
  7312. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7313. type: integer
  7314. deliveryflag:
  7315. description: 交割标志 - 0:不可交割 1:可交割
  7316. type: integer
  7317. enumdicname:
  7318. description: 单位名称
  7319. type: string
  7320. forceclosemode:
  7321. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7322. type: integer
  7323. forceclosevalue:
  7324. description: 定期强平参数 [收益权]
  7325. type: integer
  7326. goodscode:
  7327. description: 商品代码(内部)
  7328. type: string
  7329. goodscurrencyid:
  7330. description: 合约货币ID
  7331. type: integer
  7332. goodsgroupid:
  7333. description: 所属商品组ID
  7334. type: integer
  7335. goodsid:
  7336. description: 商品ID(自增ID SEQ_GOODS)
  7337. type: integer
  7338. goodsname:
  7339. description: 商品名称
  7340. type: string
  7341. goodsquotetype:
  7342. description: '合约报价类型: 1-直接报价 2-间接报价'
  7343. type: integer
  7344. goodsstatus:
  7345. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7346. type: integer
  7347. goodstradetype:
  7348. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7349. type: integer
  7350. goodunitid:
  7351. description: 报价单位ID
  7352. type: integer
  7353. hasquoter:
  7354. description: 是否有报价商 - 0:无报价商 1:有报价商
  7355. type: integer
  7356. hqprotecttime:
  7357. description: 行情保护时间(秒)
  7358. type: integer
  7359. innerdealmode:
  7360. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7361. type: integer
  7362. isbuylimited:
  7363. description: 是否限制建仓量 - 0:不限制 1:限制
  7364. type: integer
  7365. isvisible:
  7366. description: 游客是否可见 - 0:不可见 1:可见
  7367. type: integer
  7368. lasttradedate:
  7369. description: 最后交易日期(状态:待退市)
  7370. type: string
  7371. listingdate:
  7372. description: 交易开始日期
  7373. type: string
  7374. marketid:
  7375. description: 所属市场ID
  7376. type: integer
  7377. modifierid:
  7378. description: 修改人
  7379. type: integer
  7380. modifystatus:
  7381. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7382. type: integer
  7383. modifytime:
  7384. description: 修改时间
  7385. type: string
  7386. outerdealmode:
  7387. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7388. type: integer
  7389. outgoodscode:
  7390. description: 商品代码(外部)
  7391. type: string
  7392. pictureurl:
  7393. description: 商品图片
  7394. type: string
  7395. qtydecimalplace:
  7396. description: 成交量小数位
  7397. type: integer
  7398. quotegear:
  7399. description: 行情档位(1-10)
  7400. type: integer
  7401. quoteminunit:
  7402. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7403. type: integer
  7404. quoteshowtype:
  7405. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7406. type: integer
  7407. quoteshowtypeinterval:
  7408. description: 行情报价间隔时间(秒)(成交价时为0)
  7409. type: integer
  7410. relatedgoodsid:
  7411. description: 关联参考商品ID
  7412. type: integer
  7413. remark:
  7414. description: 备注
  7415. type: string
  7416. trademode:
  7417. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7418. 21:竞拍-大宗式 22:受托竞价
  7419. type: integer
  7420. required:
  7421. - goodscode
  7422. - goodsid
  7423. - goodsname
  7424. - marketid
  7425. type: object
  7426. models.ErmcpGoodsBrand:
  7427. properties:
  7428. areauserid:
  7429. description: 所属机构
  7430. type: integer
  7431. brandid:
  7432. description: BrandID(SEQ_SPOTGOODSBRAND)
  7433. type: integer
  7434. brandname:
  7435. description: 品牌名称
  7436. type: string
  7437. createtime:
  7438. description: 创建时间
  7439. type: string
  7440. creatorid:
  7441. description: 创建人
  7442. type: integer
  7443. creatorsrc:
  7444. description: 创建人来源 - 1:管理端 2:终端
  7445. type: integer
  7446. deliverygoodsid:
  7447. description: 现货品种ID
  7448. type: integer
  7449. isvalid:
  7450. description: 是否有效 - 0:无效 1:有效
  7451. type: integer
  7452. updatetime:
  7453. description: 更新时间
  7454. type: string
  7455. updatorid:
  7456. description: 更新人
  7457. type: integer
  7458. updatorsrc:
  7459. description: 更新人来源 - 1:管理端 2:终端
  7460. type: integer
  7461. wrstandardid:
  7462. description: 现货商品ID
  7463. type: integer
  7464. type: object
  7465. models.ErmcpGoodsModel:
  7466. properties:
  7467. areauserid:
  7468. description: 所属机构
  7469. type: integer
  7470. convertfactor:
  7471. description: 标仓系数
  7472. type: number
  7473. createtime:
  7474. description: 创建时间
  7475. type: string
  7476. creatorid:
  7477. description: 创建人
  7478. type: integer
  7479. creatorsrc:
  7480. description: 创建人来源 - 1:管理端 2:终端
  7481. type: integer
  7482. deliverygoodsid:
  7483. description: 现货品种ID
  7484. type: integer
  7485. isvalid:
  7486. description: 是否有效 - 0:无效 1:有效
  7487. type: integer
  7488. modelid:
  7489. description: ModelID(SEQ_SPOTGOODSMODEL)
  7490. type: integer
  7491. modelname:
  7492. description: 型号名称
  7493. type: string
  7494. updatetime:
  7495. description: 更新时间
  7496. type: string
  7497. updatorid:
  7498. description: 更新人
  7499. type: integer
  7500. updatorsrc:
  7501. description: 更新人来源 - 1:管理端 2:终端
  7502. type: integer
  7503. wrstandardid:
  7504. description: 现货商品ID
  7505. type: integer
  7506. type: object
  7507. models.ErmcpHisExposure:
  7508. properties:
  7509. needhedgeexposoure:
  7510. description: 应套保敞口
  7511. type: number
  7512. reckondate:
  7513. description: 日照时期(yyyyMMdd)
  7514. type: string
  7515. totalexposure:
  7516. description: 总敞口
  7517. type: number
  7518. type: object
  7519. models.ErmcpLoginTaAccount:
  7520. properties:
  7521. accountid:
  7522. description: 账号id
  7523. type: integer
  7524. accountname:
  7525. description: 账号名称
  7526. type: string
  7527. type: object
  7528. models.ErmcpLoginUser:
  7529. properties:
  7530. acclist:
  7531. description: 关联资金账号
  7532. items:
  7533. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7534. type: array
  7535. accountname:
  7536. description: 用户名称
  7537. type: string
  7538. clientroleid:
  7539. description: 角色id(usertype=2)
  7540. type: integer
  7541. createtime:
  7542. description: 创建时间
  7543. type: string
  7544. logincode:
  7545. description: 登录代码
  7546. type: string
  7547. loginid:
  7548. description: 登录id(LOGINID)
  7549. type: integer
  7550. loginname:
  7551. description: 登录名称(loginaccount表中的accountname字段)
  7552. type: string
  7553. loginstatus:
  7554. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7555. type: integer
  7556. memberuserid:
  7557. description: 所属会员id
  7558. type: integer
  7559. mobile:
  7560. description: 手机号
  7561. type: string
  7562. modifytime:
  7563. description: 修改时间
  7564. type: string
  7565. password:
  7566. description: 密码(不可解密)
  7567. type: string
  7568. rolename:
  7569. description: 角色名称
  7570. type: string
  7571. rolestatus:
  7572. description: 角色状态 1-启用 2-停用
  7573. type: integer
  7574. roletype:
  7575. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7576. type: string
  7577. userid:
  7578. description: 用户id
  7579. type: integer
  7580. usertype:
  7581. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7582. type: integer
  7583. type: object
  7584. models.ErmcpLoginUserEx:
  7585. properties:
  7586. accountstatus:
  7587. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7588. type: integer
  7589. mobile:
  7590. description: 手机号
  7591. type: string
  7592. querytype:
  7593. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7594. type: integer
  7595. roleid:
  7596. description: 角色id(交易账户->用户id)
  7597. type: integer
  7598. rolename:
  7599. description: 角色名称(交易账户->用户名称)
  7600. type: string
  7601. userlist:
  7602. description: 用户列表
  7603. items:
  7604. $ref: '#/definitions/models.ErmcpLoginUser'
  7605. type: array
  7606. usertype:
  7607. description: 用户类型 2-机构 7-企业成员(云平台)
  7608. type: integer
  7609. type: object
  7610. models.ErmcpMiddleGoodsModel:
  7611. properties:
  7612. areauserid:
  7613. description: 机构用户ID
  7614. type: integer
  7615. createtime:
  7616. description: 修改时间
  7617. type: string
  7618. enumdicname:
  7619. description: 单位名称
  7620. type: string
  7621. evaluateratio:
  7622. description: 估价系数
  7623. type: number
  7624. goodsgroupid:
  7625. description: 关联期货品种ID
  7626. type: integer
  7627. goodsunitid:
  7628. description: 单位ID
  7629. type: integer
  7630. isvalid:
  7631. description: 状态 0-无效(停用) 1-有效(正常)
  7632. type: integer
  7633. middlegoodscode:
  7634. description: 套保品种代码
  7635. type: string
  7636. middlegoodsid:
  7637. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7638. type: integer
  7639. middlegoodsname:
  7640. description: 套保品种名称
  7641. type: string
  7642. modifytime:
  7643. description: 修改时间
  7644. type: string
  7645. needarbitrageratio:
  7646. description: 套利比例
  7647. type: number
  7648. needhedgeratio:
  7649. description: 套保比率
  7650. type: number
  7651. qtydecimalplace:
  7652. description: 数量小数位
  7653. type: integer
  7654. relatedgoodsid:
  7655. description: 关联交易商品ID
  7656. type: integer
  7657. relatedgoodstype:
  7658. description: 关联商品类型 - 1:期货合约 2:现货品种
  7659. type: integer
  7660. remark:
  7661. description: 备注
  7662. type: string
  7663. type: object
  7664. models.ErmcpMiddlegoodsRelateGoods:
  7665. properties:
  7666. agreeunit:
  7667. description: 合约乘数
  7668. type: number
  7669. convertratio:
  7670. description: 折算系数
  7671. type: number
  7672. enumdicname:
  7673. description: 单位名称(交易商品)
  7674. type: string
  7675. goodscode:
  7676. description: 交易商品代码
  7677. type: string
  7678. goodsgroupid:
  7679. description: 交易品种id
  7680. type: integer
  7681. goodsid:
  7682. description: 商品Id
  7683. type: integer
  7684. goodsname:
  7685. description: 交易商品名称
  7686. type: string
  7687. goodunitid:
  7688. description: 交易商品单位id
  7689. type: integer
  7690. middlegoodsid:
  7691. description: 套保商品id
  7692. type: integer
  7693. middlegoodsname:
  7694. description: 套保商品名称
  7695. type: string
  7696. middlegoodsswcode:
  7697. description: 套保商品代码
  7698. type: string
  7699. needarbitrageratio:
  7700. description: 应套利比例
  7701. type: number
  7702. needhedgeratio:
  7703. description: 应套保比例
  7704. type: number
  7705. type: object
  7706. models.ErmcpRole:
  7707. properties:
  7708. areauserid:
  7709. description: 所属机构
  7710. type: integer
  7711. autoid:
  7712. description: 角色ID(自增ID)
  7713. type: integer
  7714. modifierid:
  7715. description: 修改人(创建人)
  7716. type: integer
  7717. modifiername:
  7718. description: 修改人名称
  7719. type: string
  7720. modifytime:
  7721. description: 修改时间(创建时间)
  7722. type: string
  7723. rolename:
  7724. description: 角色名称
  7725. type: string
  7726. rolestatus:
  7727. description: 角色状态 - 1:启用 2:停用
  7728. type: integer
  7729. roletype:
  7730. description: 角色类型 - 1- 管理端 2- 交易端
  7731. type: integer
  7732. type: object
  7733. models.ErmcpRoleMenu:
  7734. properties:
  7735. iconame:
  7736. description: 菜单图标
  7737. type: string
  7738. ishadrole:
  7739. description: 是否有权限
  7740. type: boolean
  7741. menutype:
  7742. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7743. type: integer
  7744. parentcode:
  7745. description: 上级资源代码
  7746. type: string
  7747. remark:
  7748. description: 菜单备注
  7749. type: string
  7750. resourcecode:
  7751. description: 菜单代码
  7752. type: string
  7753. resourcelevel:
  7754. description: 级别
  7755. type: integer
  7756. resourcename:
  7757. description: 菜单名称
  7758. type: string
  7759. roleid:
  7760. description: 角色id
  7761. type: integer
  7762. sort:
  7763. description: 排序
  7764. type: integer
  7765. url:
  7766. description: URL
  7767. type: string
  7768. userid:
  7769. description: 用户id
  7770. type: integer
  7771. type: object
  7772. models.ErmcpRoleMenuEx:
  7773. properties:
  7774. menu:
  7775. $ref: '#/definitions/models.ErmcpRoleMenu'
  7776. description: 父级菜单
  7777. subMenu:
  7778. description: 子级菜单
  7779. items:
  7780. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7781. type: array
  7782. type: object
  7783. models.ErmcpTaAccount:
  7784. properties:
  7785. accountid:
  7786. description: 账户id
  7787. type: integer
  7788. accountname:
  7789. description: 账户名称
  7790. type: string
  7791. currencyid:
  7792. description: 币种id
  7793. type: integer
  7794. hedgeaccountcode:
  7795. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7796. type: string
  7797. ismain:
  7798. description: 是否主账户 0-否 1-是
  7799. type: integer
  7800. parentaccountid:
  7801. description: 父账户id
  7802. type: integer
  7803. relateduserid:
  7804. description: 关联userid
  7805. type: integer
  7806. tradefeetmpid:
  7807. description: 手续费模板id
  7808. type: integer
  7809. tradefeetmpname:
  7810. description: 手续费模板名称
  7811. type: string
  7812. trademargintmpid:
  7813. description: 保证金模板id
  7814. type: integer
  7815. trademargintmpname:
  7816. description: 保证金模板名称
  7817. type: string
  7818. traderatetmpid:
  7819. description: 汇率模板id
  7820. type: integer
  7821. traderatetmpname:
  7822. description: 汇率模板名称
  7823. type: string
  7824. tradestatus:
  7825. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7826. type: integer
  7827. userid:
  7828. description: 用户id
  7829. type: integer
  7830. type: object
  7831. models.ErmcpTaAccountEx:
  7832. properties:
  7833. mainAcc:
  7834. $ref: '#/definitions/models.ErmcpTaAccountM'
  7835. description: 主账号
  7836. subacclist:
  7837. description: 子账号列表
  7838. items:
  7839. $ref: '#/definitions/models.ErmcpTaAccount'
  7840. type: array
  7841. type: object
  7842. models.ErmcpTaAccountInfo:
  7843. properties:
  7844. accountid:
  7845. description: 资金账户ID
  7846. type: integer
  7847. accountname:
  7848. description: 账户名称
  7849. type: string
  7850. balance:
  7851. description: 期初余额
  7852. type: number
  7853. capitalbalance:
  7854. description: 本金余额[外部子账户实际出入金余额]
  7855. type: number
  7856. closepl:
  7857. description: 今日平仓盈亏
  7858. type: number
  7859. creditdecrease:
  7860. description: 今日授信减少
  7861. type: number
  7862. creditincrease:
  7863. description: 今日授信增加
  7864. type: number
  7865. curdebt:
  7866. description: 期末欠款
  7867. type: number
  7868. currencyid:
  7869. description: 货币ID
  7870. type: integer
  7871. currentbalance:
  7872. description: 期末余额
  7873. type: number
  7874. freezecharge:
  7875. description: 手续费冻结
  7876. type: number
  7877. freezemargin:
  7878. description: 冻结保证金
  7879. type: number
  7880. fromaccountid:
  7881. description: 所属上级账户
  7882. type: integer
  7883. inamount:
  7884. description: 今日入金金额(包括三方入金)
  7885. type: number
  7886. ismain:
  7887. description: 是否母账号 0:不是母账户 1:是母账户
  7888. type: integer
  7889. mortgagecredit:
  7890. description: 授信金额
  7891. type: number
  7892. oridebt:
  7893. description: 期初欠款
  7894. type: number
  7895. orifreezecharge:
  7896. description: 期初手续费冻结
  7897. type: number
  7898. orifreezemargin:
  7899. description: 期初冻结保证金
  7900. type: number
  7901. orimortgagecredit:
  7902. description: 期初授信金额
  7903. type: number
  7904. oriothercredit:
  7905. description: 期初其它授信金额
  7906. type: number
  7907. oriotherfreezemargin:
  7908. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7909. type: number
  7910. orioutamountfreeze:
  7911. description: 期初出金冻结
  7912. type: number
  7913. oriusedmargin:
  7914. description: 期初占用保证金
  7915. type: number
  7916. othercredit:
  7917. description: 其它授信金额
  7918. type: number
  7919. othercreditdecrease:
  7920. description: 今日其它授信减少
  7921. type: number
  7922. othercreditincrease:
  7923. description: 今日其它授信增加
  7924. type: number
  7925. otherfreezemargin:
  7926. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7927. type: number
  7928. outamount:
  7929. description: 今日出金金额(包括三方出金)
  7930. type: number
  7931. outamountfreeze:
  7932. description: 出金冻结
  7933. type: number
  7934. outthreshold:
  7935. description: 出金阈值
  7936. type: number
  7937. parentaccountid:
  7938. description: 所属根账号
  7939. type: integer
  7940. paycharge:
  7941. description: 今日手续费支出
  7942. type: number
  7943. relateduserid:
  7944. description: 关联用户
  7945. type: integer
  7946. signstatus:
  7947. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7948. type: integer
  7949. sublevelpath:
  7950. description: 账号层级路径(逗号分隔,首尾加逗号)
  7951. type: string
  7952. taaccounttype:
  7953. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7954. type: integer
  7955. thirdinamount:
  7956. description: 今日三方入金
  7957. type: number
  7958. thirdoutamount:
  7959. description: 今日三方出金
  7960. type: number
  7961. tradestatus:
  7962. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7963. type: integer
  7964. transferamount:
  7965. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7966. type: number
  7967. usedmargin:
  7968. description: 占用保证金
  7969. type: number
  7970. userid:
  7971. description: 用户ID
  7972. type: integer
  7973. type: object
  7974. models.ErmcpTaAccountM:
  7975. properties:
  7976. accountid:
  7977. description: 账户id
  7978. type: integer
  7979. accountname:
  7980. description: 账户名称
  7981. type: string
  7982. currencyid:
  7983. description: 币种id
  7984. type: integer
  7985. fcid:
  7986. description: 期货公司id
  7987. type: integer
  7988. fcname:
  7989. description: 期货公司代码
  7990. type: string
  7991. hedgeaccountcode:
  7992. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7993. type: string
  7994. ismain:
  7995. description: 是否主账户 0-否 1-是
  7996. type: integer
  7997. parentaccountid:
  7998. description: 父账户id
  7999. type: integer
  8000. relateduserid:
  8001. description: 关联userid
  8002. type: integer
  8003. tradefeetmpid:
  8004. description: 手续费模板id
  8005. type: integer
  8006. tradefeetmpname:
  8007. description: 手续费模板名称
  8008. type: string
  8009. trademargintmpid:
  8010. description: 保证金模板id
  8011. type: integer
  8012. trademargintmpname:
  8013. description: 保证金模板名称
  8014. type: string
  8015. traderatetmpid:
  8016. description: 汇率模板id
  8017. type: integer
  8018. traderatetmpname:
  8019. description: 汇率模板名称
  8020. type: string
  8021. tradestatus:
  8022. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8023. type: integer
  8024. userid:
  8025. description: 用户id
  8026. type: integer
  8027. type: object
  8028. models.ErmcpTradeConfigTMP:
  8029. properties:
  8030. areauserid:
  8031. description: 所属机构
  8032. type: integer
  8033. basiccurrencyid:
  8034. description: 基本币种ID[汇率] - 目标币种
  8035. type: integer
  8036. mainaccountid:
  8037. description: 主账户ID
  8038. type: integer
  8039. modifierid:
  8040. description: 修改人
  8041. type: integer
  8042. remark:
  8043. description: 备注
  8044. type: string
  8045. tradeconfigtmpid:
  8046. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8047. type: integer
  8048. tradeconfigtmpname:
  8049. description: 交易配置模板名称
  8050. type: string
  8051. tradeconfigtmptype:
  8052. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8053. type: integer
  8054. updatetime:
  8055. description: 更新时间
  8056. type: string
  8057. type: object
  8058. models.Externalexchange:
  8059. properties:
  8060. autoid:
  8061. description: AutoID - SEQ_EXTERNALEXCHANGE
  8062. type: integer
  8063. exchangefullname:
  8064. description: 外部交易所全称
  8065. type: string
  8066. exexchangecode:
  8067. description: 外部交易所代码
  8068. type: string
  8069. exexchangename:
  8070. description: 外部交易所名称(简称)
  8071. type: string
  8072. ismarketprice:
  8073. description: 是否支持市价 - 0:不支持 1:支持
  8074. type: integer
  8075. quotegear:
  8076. description: 行情档位(1-10)
  8077. type: integer
  8078. showbrokerflag:
  8079. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8080. type: integer
  8081. updatetime:
  8082. description: 更新时间
  8083. type: string
  8084. required:
  8085. - autoid
  8086. type: object
  8087. models.Funcmenulist:
  8088. properties:
  8089. iconame:
  8090. description: 菜单图标
  8091. type: string
  8092. menutype:
  8093. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8094. type: integer
  8095. parentcode:
  8096. description: 上级资源代码
  8097. type: string
  8098. remark:
  8099. description: 备注
  8100. type: string
  8101. resourcecode:
  8102. description: 资源代码
  8103. type: string
  8104. resourcelevel:
  8105. description: 级别 1-一级 2-二级 3-三级 4-四级
  8106. type: integer
  8107. resourcename:
  8108. description: 资源名
  8109. type: string
  8110. sort:
  8111. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8112. type: integer
  8113. url:
  8114. description: URL
  8115. type: string
  8116. required:
  8117. - resourcecode
  8118. type: object
  8119. models.Goods:
  8120. properties:
  8121. agreeunit:
  8122. description: 合约单位
  8123. type: number
  8124. areauserid:
  8125. description: 所属机构
  8126. type: integer
  8127. auditaccountid:
  8128. description: 审核操作员账号
  8129. type: integer
  8130. audittime:
  8131. description: 审核时间
  8132. type: string
  8133. cancelaccountid:
  8134. description: 注销操作员账号
  8135. type: integer
  8136. canceltime:
  8137. description: 注销时间
  8138. type: string
  8139. closepricemode:
  8140. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8141. type: integer
  8142. closepriceparam:
  8143. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8144. type: number
  8145. createtime:
  8146. description: 创建时间
  8147. type: string
  8148. creatorid:
  8149. description: 创建人
  8150. type: integer
  8151. currencyid:
  8152. description: 报价货币ID
  8153. type: integer
  8154. cutmode:
  8155. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8156. type: integer
  8157. decimalplace:
  8158. description: 报价小数位
  8159. type: integer
  8160. delistingdate:
  8161. description: 商品退市时间(状态:退市) -- 已作废
  8162. type: string
  8163. delistingmode:
  8164. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8165. type: integer
  8166. deliveryflag:
  8167. description: 交割标志 - 0:不可交割 1:可交割
  8168. type: integer
  8169. forceclosemode:
  8170. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8171. type: integer
  8172. forceclosevalue:
  8173. description: 定期强平参数 [收益权]
  8174. type: integer
  8175. goodscode:
  8176. description: 商品代码(内部)
  8177. type: string
  8178. goodscurrencyid:
  8179. description: 合约货币ID
  8180. type: integer
  8181. goodsgroupid:
  8182. description: 所属商品组ID
  8183. type: integer
  8184. goodsid:
  8185. description: 商品ID(自增ID SEQ_GOODS)
  8186. type: integer
  8187. goodsname:
  8188. description: 商品名称
  8189. type: string
  8190. goodsquotetype:
  8191. description: '合约报价类型: 1-直接报价 2-间接报价'
  8192. type: integer
  8193. goodsstatus:
  8194. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8195. type: integer
  8196. goodstradetype:
  8197. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8198. type: integer
  8199. goodunitid:
  8200. description: 报价单位ID
  8201. type: integer
  8202. hasquoter:
  8203. description: 是否有报价商 - 0:无报价商 1:有报价商
  8204. type: integer
  8205. hqprotecttime:
  8206. description: 行情保护时间(秒)
  8207. type: integer
  8208. innerdealmode:
  8209. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8210. type: integer
  8211. isbuylimited:
  8212. description: 是否限制建仓量 - 0:不限制 1:限制
  8213. type: integer
  8214. isvisible:
  8215. description: 游客是否可见 - 0:不可见 1:可见
  8216. type: integer
  8217. lasttradedate:
  8218. description: 最后交易日期(状态:待退市)
  8219. type: string
  8220. listingdate:
  8221. description: 交易开始日期
  8222. type: string
  8223. marketid:
  8224. description: 所属市场ID
  8225. type: integer
  8226. modifierid:
  8227. description: 修改人
  8228. type: integer
  8229. modifystatus:
  8230. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8231. type: integer
  8232. modifytime:
  8233. description: 修改时间
  8234. type: string
  8235. outerdealmode:
  8236. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8237. type: integer
  8238. outgoodscode:
  8239. description: 商品代码(外部)
  8240. type: string
  8241. pictureurl:
  8242. description: 商品图片
  8243. type: string
  8244. qtydecimalplace:
  8245. description: 成交量小数位
  8246. type: integer
  8247. quotegear:
  8248. description: 行情档位(1-10)
  8249. type: integer
  8250. quoteminunit:
  8251. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8252. type: integer
  8253. quoteshowtype:
  8254. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8255. type: integer
  8256. quoteshowtypeinterval:
  8257. description: 行情报价间隔时间(秒)(成交价时为0)
  8258. type: integer
  8259. remark:
  8260. description: 备注
  8261. type: string
  8262. required:
  8263. - goodscode
  8264. - goodsid
  8265. - goodsname
  8266. - marketid
  8267. type: object
  8268. models.GoodsIDAndName:
  8269. properties:
  8270. goodscode:
  8271. description: 商品代码(内部)
  8272. type: string
  8273. goodsid:
  8274. description: 商品ID(自增ID SEQ_GOODS)
  8275. type: integer
  8276. goodsname:
  8277. description: 商品名称
  8278. type: string
  8279. marketid:
  8280. description: 所属市场ID
  8281. type: integer
  8282. required:
  8283. - goodscode
  8284. - goodsid
  8285. - goodsname
  8286. - marketid
  8287. type: object
  8288. models.Goodsgroup:
  8289. properties:
  8290. agreeunit:
  8291. description: 合约单位
  8292. type: number
  8293. canshort:
  8294. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8295. type: integer
  8296. closepricemode:
  8297. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8298. type: integer
  8299. closepriceparam:
  8300. description: 强平最新价浮动比例 - 方式为2时使用
  8301. type: number
  8302. createtime:
  8303. description: 创建时间
  8304. type: string
  8305. creatorid:
  8306. description: 创建人
  8307. type: integer
  8308. currencyid:
  8309. description: 报价货币ID
  8310. type: integer
  8311. decimalplace:
  8312. description: 报价小数位
  8313. type: integer
  8314. exercisetype:
  8315. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8316. type: integer
  8317. exexchangeid:
  8318. description: 外部交易所ID[通道交易]
  8319. type: integer
  8320. goodsgroupid:
  8321. description: 商品组ID(自增ID)
  8322. type: integer
  8323. goodsgroupname:
  8324. description: 商品组名称
  8325. type: string
  8326. goodsgroupstatus:
  8327. description: 商品组状态 - 1:正常 2:注销
  8328. type: integer
  8329. goodunitid:
  8330. description: 报价单位ID
  8331. type: integer
  8332. innerdealmode:
  8333. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8334. type: integer
  8335. isbuylimited:
  8336. description: 是否限制建仓量 - 0:不限制 1:限制
  8337. type: integer
  8338. marketid:
  8339. description: 所属市场ID
  8340. type: integer
  8341. modifierid:
  8342. description: 修改人
  8343. type: integer
  8344. modifytime:
  8345. description: 修改时间
  8346. type: string
  8347. outerdealmode:
  8348. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8349. type: integer
  8350. outergroupcode:
  8351. description: 外部商品组代码[通道交易]
  8352. type: string
  8353. premiumdecimalplace:
  8354. description: 权利金小数位[场外期权]
  8355. type: integer
  8356. premiumspreadalgorithm:
  8357. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8358. type: integer
  8359. premiumspreadvalue:
  8360. description: 权利金点差值[场外期权]
  8361. type: number
  8362. qtydecimalplace:
  8363. description: 成交量小数位
  8364. type: integer
  8365. quotegear:
  8366. description: 行情档位(1-10)
  8367. type: integer
  8368. quoteminunit:
  8369. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8370. type: integer
  8371. quoterid:
  8372. description: 报价商ID[场外期权]
  8373. type: integer
  8374. quotesourcegroupid:
  8375. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8376. type: integer
  8377. syncgoodsqty:
  8378. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8379. type: integer
  8380. required:
  8381. - goodsgroupid
  8382. - goodsgroupname
  8383. - goodsgroupstatus
  8384. - marketid
  8385. type: object
  8386. models.Goodssortbypreposition:
  8387. properties:
  8388. goodscode:
  8389. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8390. type: string
  8391. goodsgroupcode:
  8392. description: 品种代码
  8393. type: string
  8394. prepositionqty:
  8395. description: 昨持仓量
  8396. type: integer
  8397. sortindex:
  8398. description: 排序
  8399. type: integer
  8400. tradedate:
  8401. description: 交易日
  8402. type: string
  8403. updatetime:
  8404. description: 更新时间
  8405. type: string
  8406. required:
  8407. - goodscode
  8408. - tradedate
  8409. type: object
  8410. models.Hedgeinnerholderdetail:
  8411. properties:
  8412. accountid:
  8413. description: 账号ID
  8414. type: integer
  8415. buyorsell:
  8416. description: 方向 - 0:买 1:卖
  8417. type: integer
  8418. freezeqty:
  8419. description: 冻结数量 - 按单平使用
  8420. type: integer
  8421. goodsid:
  8422. description: 商品ID
  8423. type: integer
  8424. holderamount:
  8425. description: 持仓金额 [商品币种]
  8426. type: number
  8427. holderdays:
  8428. description: 剩余冻结天数
  8429. type: integer
  8430. holderprice:
  8431. description: 持仓价格
  8432. type: number
  8433. holderqty:
  8434. description: 持仓数量
  8435. type: integer
  8436. marketid:
  8437. description: 市场ID
  8438. type: integer
  8439. openprice:
  8440. description: 建仓价格
  8441. type: number
  8442. openqty:
  8443. description: 建仓数量
  8444. type: integer
  8445. parentaccountid:
  8446. description: 所属母账户
  8447. type: integer
  8448. releaseamount:
  8449. description: 释放持仓金额[商品币种]
  8450. type: number
  8451. tradeamount:
  8452. description: 成交金额[账户]
  8453. type: number
  8454. tradedate:
  8455. description: 交易日(yyyyMMdd)
  8456. type: string
  8457. tradeid:
  8458. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8459. type: string
  8460. tradetime:
  8461. description: 交易时间
  8462. type: string
  8463. required:
  8464. - buyorsell
  8465. - tradeid
  8466. type: object
  8467. models.Hedgemarketopenlog:
  8468. properties:
  8469. accountid:
  8470. description: 资金账号[外部母账户]
  8471. type: integer
  8472. fcname:
  8473. description: 期货公司名称
  8474. type: string
  8475. handlestatus:
  8476. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8477. type: integer
  8478. marketid:
  8479. description: 市场ID
  8480. type: integer
  8481. status:
  8482. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8483. type: integer
  8484. tradedate:
  8485. description: 交易日(yyyyMMdd)
  8486. type: string
  8487. updatetime:
  8488. description: 更新时间
  8489. type: string
  8490. required:
  8491. - accountid
  8492. type: object
  8493. models.HsbyBuyMyPayOrder:
  8494. properties:
  8495. agreeunit:
  8496. description: 合约单位
  8497. type: number
  8498. buyaccountid:
  8499. description: 买方账号ID[报价币种]
  8500. type: integer
  8501. buyorderid:
  8502. description: 买方委托单号
  8503. type: string
  8504. createtime:
  8505. description: 创建时间
  8506. type: string
  8507. currencysign:
  8508. description: 货币符号
  8509. type: string
  8510. decimalplace:
  8511. description: 报价小数位
  8512. type: integer
  8513. goodscode:
  8514. description: 商品代码(内部)
  8515. type: string
  8516. goodsid:
  8517. description: 商品ID
  8518. type: integer
  8519. goodsname:
  8520. description: 商品名称
  8521. type: string
  8522. marketid:
  8523. description: 市场ID
  8524. type: integer
  8525. offamount:
  8526. description: 优惠金额
  8527. type: number
  8528. originalamount:
  8529. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8530. type: number
  8531. payamount:
  8532. description: 支付金额 = TradeAmount + TradeCharge
  8533. type: number
  8534. payflag:
  8535. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8536. type: integer
  8537. paylimitedtime:
  8538. description: 支付期限
  8539. type: string
  8540. paytime:
  8541. description: 付款时间
  8542. type: string
  8543. picurls1:
  8544. description: 预售商品介绍图片[多张用逗号分隔]
  8545. type: string
  8546. picurls2:
  8547. description: 挂牌商品介绍图片[多张用逗号分隔]
  8548. type: string
  8549. sellaccountid:
  8550. description: 卖方账号ID[报价币种]
  8551. type: integer
  8552. sellorderid:
  8553. description: 卖方委托单号
  8554. type: string
  8555. tradeamount:
  8556. description: 成交金额
  8557. type: number
  8558. tradecharge:
  8559. description: 成交手续费(买方)
  8560. type: number
  8561. tradedate:
  8562. description: 交易日(yyyyMMdd)
  8563. type: string
  8564. tradeid:
  8565. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8566. type: string
  8567. trademode:
  8568. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8569. 21:竞拍-大宗式 22:受托竞价
  8570. type: integer
  8571. tradeprice:
  8572. description: 成交价格
  8573. type: number
  8574. tradeqty:
  8575. description: 成交数量
  8576. type: integer
  8577. vendorname1:
  8578. description: 预售商品供应商名称
  8579. type: string
  8580. vendorname2:
  8581. description: 挂牌商品供应商名称
  8582. type: string
  8583. required:
  8584. - goodscode
  8585. - goodsname
  8586. - tradeid
  8587. - trademode
  8588. type: object
  8589. models.HsbyBuyMyTradeDetail:
  8590. properties:
  8591. accountid:
  8592. description: 账户ID[报价币种]
  8593. type: integer
  8594. agreeunit:
  8595. description: 合约单位
  8596. type: number
  8597. amount:
  8598. description: 金额 = 价格 * 数量 * 合约单位
  8599. type: number
  8600. buyorsell:
  8601. description: 买卖 - 0:买 1:卖
  8602. type: integer
  8603. currencysign:
  8604. description: 货币符号
  8605. type: string
  8606. decimalplace:
  8607. description: 报价小数位
  8608. type: integer
  8609. goodscode:
  8610. description: 商品代码(内部)
  8611. type: string
  8612. goodsid:
  8613. description: 商品ID
  8614. type: integer
  8615. goodsname:
  8616. description: 商品名称
  8617. type: string
  8618. marketid:
  8619. description: 市场ID
  8620. type: integer
  8621. orderamount:
  8622. description: 委托金额
  8623. type: number
  8624. orderid:
  8625. description: 单号(成交单号)
  8626. type: string
  8627. picurls1:
  8628. description: 预售商品介绍图片[多张用逗号分隔]
  8629. type: string
  8630. picurls2:
  8631. description: 挂牌商品介绍图片[多张用逗号分隔]
  8632. type: string
  8633. price:
  8634. description: 价格
  8635. type: number
  8636. qty:
  8637. description: 数量
  8638. type: integer
  8639. time:
  8640. description: 时间
  8641. type: string
  8642. trademode:
  8643. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8644. 21:竞拍-大宗式 22:受托竞价
  8645. type: integer
  8646. vendorname1:
  8647. description: 预售商品供应商名称
  8648. type: string
  8649. vendorname2:
  8650. description: 挂牌商品供应商名称
  8651. type: string
  8652. required:
  8653. - accountid
  8654. - buyorsell
  8655. - goodscode
  8656. - goodsid
  8657. - goodsname
  8658. - marketid
  8659. - orderid
  8660. - qty
  8661. - time
  8662. - trademode
  8663. type: object
  8664. models.HsbyGoodsOrderDetail:
  8665. properties:
  8666. buyorsell:
  8667. description: 买卖 - 0:买 1:卖
  8668. type: integer
  8669. currencysign:
  8670. description: 货币符号
  8671. type: string
  8672. customername:
  8673. description: 客户名称(企业名称),已脱敏
  8674. type: string
  8675. enableqty:
  8676. description: 可用数量
  8677. type: integer
  8678. goodunit:
  8679. description: 报价单位
  8680. type: string
  8681. orderid:
  8682. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8683. type: string
  8684. orderprice:
  8685. description: 委托价格
  8686. type: number
  8687. ordertime:
  8688. description: 委托时间
  8689. type: string
  8690. required:
  8691. - buyorsell
  8692. - orderid
  8693. - ordertime
  8694. type: object
  8695. models.HsbyListingGoodsDetail:
  8696. properties:
  8697. agreeunit:
  8698. description: 合约单位
  8699. type: number
  8700. buymaxqty:
  8701. description: 购买上限 [71] - 0为不限
  8702. type: integer
  8703. currency:
  8704. description: 货币
  8705. type: string
  8706. currencysign:
  8707. description: 货币符号
  8708. type: string
  8709. decimalplace:
  8710. description: 报价小数位
  8711. type: integer
  8712. desccityid:
  8713. description: 目的地(市)ID
  8714. type: integer
  8715. descprovinceid:
  8716. description: 目的地(省)ID
  8717. type: integer
  8718. goodscode:
  8719. description: 商品代码(内部)
  8720. type: string
  8721. goodsdesc:
  8722. description: 商品详情
  8723. type: string
  8724. goodsid:
  8725. description: 商品ID(自增ID SEQ_GOODS)
  8726. type: integer
  8727. goodsname:
  8728. description: 商品名称
  8729. type: string
  8730. goodsprice:
  8731. description: 商品价格
  8732. type: number
  8733. hotindex:
  8734. description: 景点热度
  8735. type: integer
  8736. last:
  8737. description: 现价
  8738. type: number
  8739. limitdown:
  8740. description: 跌停价
  8741. type: number
  8742. limitup:
  8743. description: 涨停价
  8744. type: number
  8745. lotsize:
  8746. description: 手数最小变动单位
  8747. type: integer
  8748. marketid:
  8749. description: 所属市场ID
  8750. type: integer
  8751. picurls:
  8752. description: 介绍图片[多张用逗号分隔]
  8753. type: string
  8754. quoteminunit:
  8755. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8756. type: integer
  8757. stepvalue:
  8758. description: 价格最小变动单位
  8759. type: number
  8760. trademode:
  8761. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8762. 21:竞拍-大宗式 22:受托竞价
  8763. type: integer
  8764. vendorattr:
  8765. description: 供应商附件(多张,逗号分隔)
  8766. type: string
  8767. vendorname:
  8768. description: 供应商名称
  8769. type: string
  8770. vendorphone:
  8771. description: 供应商客服电话
  8772. type: string
  8773. videourls:
  8774. description: 介绍视频[多张用逗号分隔]
  8775. type: string
  8776. required:
  8777. - goodscode
  8778. - goodsid
  8779. - goodsname
  8780. - marketid
  8781. - trademode
  8782. type: object
  8783. models.HsbyMarketGoods:
  8784. properties:
  8785. accountid:
  8786. description: 账户ID[报价币种]
  8787. type: integer
  8788. agreeunit:
  8789. description: 合约单位
  8790. type: number
  8791. buyorsell:
  8792. description: 买卖 - 0:买 1:卖
  8793. type: integer
  8794. categoryid:
  8795. description: 类别ID(WRCATEGORY)
  8796. type: integer
  8797. currency:
  8798. description: 货币
  8799. type: string
  8800. currencysign:
  8801. description: 货币符号
  8802. type: string
  8803. customername:
  8804. description: 卖家名称
  8805. type: string
  8806. decimalplace:
  8807. description: 报价小数位
  8808. type: integer
  8809. goodscode:
  8810. description: 商品代码(内部)
  8811. type: string
  8812. goodsid:
  8813. description: 商品ID
  8814. type: integer
  8815. goodsname:
  8816. description: 商品名称
  8817. type: string
  8818. goodsprice:
  8819. description: 商品价格
  8820. type: number
  8821. hascoupon:
  8822. description: 是否可用优惠卷
  8823. type: boolean
  8824. hotindex:
  8825. description: 景点热度
  8826. type: integer
  8827. marketid:
  8828. description: 市场ID
  8829. type: integer
  8830. orderid:
  8831. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8832. type: string
  8833. orderprice:
  8834. description: 委托价格
  8835. type: number
  8836. orderstatus:
  8837. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8838. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8839. 16:成交失败违约(荷兰式竞拍专用)
  8840. type: integer
  8841. picurls:
  8842. description: 介绍图片[多张用逗号分隔]
  8843. type: string
  8844. quoteminunit:
  8845. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8846. type: integer
  8847. sellUserID:
  8848. description: 卖方UserID
  8849. type: integer
  8850. trademode:
  8851. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8852. 21:竞拍-大宗式 22:受托竞价
  8853. type: integer
  8854. videourls:
  8855. description: 介绍视频[多张用逗号分隔]
  8856. type: string
  8857. required:
  8858. - accountid
  8859. - buyorsell
  8860. - goodscode
  8861. - goodsid
  8862. - goodsname
  8863. - marketid
  8864. - orderid
  8865. - trademode
  8866. type: object
  8867. models.HsbyMarketGoodsDetail:
  8868. properties:
  8869. accountid:
  8870. description: 账户ID[报价币种]
  8871. type: integer
  8872. agreeunit:
  8873. description: 合约单位
  8874. type: number
  8875. buymaxqty:
  8876. description: 购买上限 [71] - 0为不限
  8877. type: integer
  8878. buyorsell:
  8879. description: 买卖 - 0:买 1:卖
  8880. type: integer
  8881. cancelqty:
  8882. description: 撤单数量
  8883. type: integer
  8884. categoryid:
  8885. description: 类别ID(WRCATEGORY)
  8886. type: integer
  8887. currency:
  8888. description: 货币
  8889. type: string
  8890. currencysign:
  8891. description: 货币符号
  8892. type: string
  8893. customername:
  8894. description: 卖家名称
  8895. type: string
  8896. decimalplace:
  8897. description: 报价小数位
  8898. type: integer
  8899. goodscode:
  8900. description: 商品代码(内部)
  8901. type: string
  8902. goodsdesc:
  8903. description: 商品详情
  8904. type: string
  8905. goodsid:
  8906. description: 商品ID
  8907. type: integer
  8908. goodsname:
  8909. description: 商品名称
  8910. type: string
  8911. goodsprice:
  8912. description: 商品价格
  8913. type: number
  8914. hotindex:
  8915. description: 景点热度
  8916. type: integer
  8917. lotsize:
  8918. description: 手数最小变动单位
  8919. type: integer
  8920. marketid:
  8921. description: 市场ID
  8922. type: integer
  8923. orderid:
  8924. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8925. type: string
  8926. orderprice:
  8927. description: 委托价格
  8928. type: number
  8929. orderqty:
  8930. description: 委托数量
  8931. type: integer
  8932. orderstatus:
  8933. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8934. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8935. 16:成交失败违约(荷兰式竞拍专用)
  8936. type: integer
  8937. picurls:
  8938. description: 介绍图片[多张用逗号分隔]
  8939. type: string
  8940. quoteminunit:
  8941. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8942. type: integer
  8943. sellUserID:
  8944. description: 卖方UserID
  8945. type: integer
  8946. trademode:
  8947. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8948. 21:竞拍-大宗式 22:受托竞价
  8949. type: integer
  8950. tradeqty:
  8951. description: 成交数量
  8952. type: integer
  8953. vendorattr:
  8954. description: 供应商附件(多张,逗号分隔)
  8955. type: string
  8956. vendorname:
  8957. description: 供应商名称
  8958. type: string
  8959. vendorphone:
  8960. description: 供应商客服电话
  8961. type: string
  8962. videourls:
  8963. description: 介绍视频[多张用逗号分隔]
  8964. type: string
  8965. required:
  8966. - accountid
  8967. - buyorsell
  8968. - goodscode
  8969. - goodsid
  8970. - goodsname
  8971. - marketid
  8972. - orderid
  8973. - orderqty
  8974. - trademode
  8975. type: object
  8976. models.HsbyMarketInfo:
  8977. properties:
  8978. marketid:
  8979. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8980. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8981. type: integer
  8982. marketname:
  8983. description: 市场名称
  8984. type: string
  8985. marketstatus:
  8986. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8987. type: integer
  8988. trademode:
  8989. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8990. 21:竞拍-大宗式 22:受托竞价
  8991. type: integer
  8992. required:
  8993. - marketid
  8994. - marketstatus
  8995. - trademode
  8996. type: object
  8997. models.HsbyMyGoods:
  8998. properties:
  8999. accountid:
  9000. description: 账号Id
  9001. type: integer
  9002. agreeunit:
  9003. description: 合约单位
  9004. type: number
  9005. buyaverageprice:
  9006. description: 持仓均价
  9007. type: number
  9008. buycurholderamount:
  9009. description: 买当前持仓总金额[商品币种]
  9010. type: number
  9011. buycurpositionqty:
  9012. description: 买当前持仓总数量
  9013. type: integer
  9014. buymaxqty:
  9015. description: 购买上限 [71] - 0为不限
  9016. type: integer
  9017. currencysign:
  9018. description: 货币符号
  9019. type: string
  9020. decimalplace:
  9021. description: 报价小数位
  9022. type: integer
  9023. enableqty:
  9024. description: 可用数量
  9025. type: integer
  9026. goodscode:
  9027. description: 商品代码(内部)
  9028. type: string
  9029. goodsid:
  9030. description: 商品Id
  9031. type: integer
  9032. goodsname:
  9033. description: 商品名称
  9034. type: string
  9035. goodsprice:
  9036. description: 商品价格
  9037. type: number
  9038. goodsstatus:
  9039. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9040. type: integer
  9041. last:
  9042. description: 现价(仅使用于挂牌点选)
  9043. type: number
  9044. limitdown:
  9045. description: 跌停价(仅使用于挂牌点选)
  9046. type: number
  9047. limitup:
  9048. description: 涨停价(仅使用于挂牌点选)
  9049. type: number
  9050. lotsize:
  9051. description: 手数最小变动单位
  9052. type: integer
  9053. marketid:
  9054. description: 所属市场ID
  9055. type: integer
  9056. picurls:
  9057. description: 介绍图片[多张用逗号分隔]
  9058. type: string
  9059. quoteminunit:
  9060. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9061. type: integer
  9062. stepvalue:
  9063. description: 价格最小变动单位
  9064. type: number
  9065. trademode:
  9066. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9067. 21:竞拍-大宗式 22:受托竞价
  9068. type: integer
  9069. required:
  9070. - accountid
  9071. - goodscode
  9072. - goodsid
  9073. - goodsname
  9074. - marketid
  9075. - trademode
  9076. type: object
  9077. models.HsbyMyPackage:
  9078. properties:
  9079. accountid:
  9080. description: 账户ID
  9081. type: integer
  9082. address:
  9083. description: 提货人详细地址
  9084. type: string
  9085. agreeunit:
  9086. description: 合约单位
  9087. type: number
  9088. amount:
  9089. description: 提货金额
  9090. type: number
  9091. auditer:
  9092. description: 审核人
  9093. type: integer
  9094. audittime:
  9095. description: 审核时间
  9096. type: string
  9097. averageprice:
  9098. description: 均价
  9099. type: number
  9100. cardnum:
  9101. description: 提货人证件号码
  9102. type: string
  9103. cardtypeid:
  9104. description: 提货人证件类型
  9105. type: integer
  9106. checkremark:
  9107. description: 审核备注
  9108. type: string
  9109. currencysign:
  9110. description: 货币符号
  9111. type: string
  9112. decimalplace:
  9113. description: 报价小数位
  9114. type: integer
  9115. goodscode:
  9116. description: 商品代码(内部)
  9117. type: string
  9118. goodsid:
  9119. description: 商品ID
  9120. type: integer
  9121. goodsname:
  9122. description: 商品名称
  9123. type: string
  9124. handlestatus:
  9125. description: 处理状态
  9126. type: integer
  9127. marketid:
  9128. description: 市场ID
  9129. type: integer
  9130. phonenum:
  9131. description: 提货人联系方式
  9132. type: string
  9133. picurls:
  9134. description: 介绍图片[多张用逗号分隔]
  9135. type: string
  9136. qty:
  9137. description: 提货数量
  9138. type: number
  9139. recivername:
  9140. description: 提货人姓名
  9141. type: string
  9142. reqtime:
  9143. description: 更新时间
  9144. type: string
  9145. takemode:
  9146. description: 提货方式 - 2:自提 3:配送
  9147. type: integer
  9148. takeorderid:
  9149. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9150. type: string
  9151. takeorderstatus:
  9152. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9153. type: integer
  9154. takeremark:
  9155. description: 提货备注
  9156. type: string
  9157. tradedate:
  9158. description: 交易日(yyyyMMdd)
  9159. type: string
  9160. trademode:
  9161. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9162. 21:竞拍-大宗式 22:受托竞价
  9163. type: integer
  9164. userid:
  9165. description: 用户ID
  9166. type: integer
  9167. vendorname:
  9168. description: 供应商名称
  9169. type: string
  9170. required:
  9171. - goodscode
  9172. - goodsname
  9173. - takeorderid
  9174. - trademode
  9175. type: object
  9176. models.HsbyPreGoods:
  9177. properties:
  9178. agreeunit:
  9179. description: 合约单位
  9180. type: number
  9181. currency:
  9182. description: 货币
  9183. type: string
  9184. currencysign:
  9185. description: 货币符号
  9186. type: string
  9187. decimalplace:
  9188. description: 报价小数位
  9189. type: integer
  9190. desccityid:
  9191. description: 目的地(市)
  9192. type: integer
  9193. descprovinceid:
  9194. description: 目的地(省)
  9195. type: integer
  9196. enableqty:
  9197. description: 剩余数量
  9198. type: integer
  9199. goodscode:
  9200. description: 商品代码(内部)
  9201. type: string
  9202. goodsid:
  9203. description: 商品ID(自增ID SEQ_GOODS)
  9204. type: integer
  9205. goodsname:
  9206. description: 商品名称
  9207. type: string
  9208. goodsstatus:
  9209. description: 商品状态- 2:未上市 3:上市
  9210. type: integer
  9211. lasttradedate:
  9212. description: 最后交易日期(状态:待退市)
  9213. type: string
  9214. listingdate:
  9215. description: 交易开始日期
  9216. type: string
  9217. marketid:
  9218. description: 所属市场ID
  9219. type: integer
  9220. picurls:
  9221. description: 介绍图片[多张用逗号分隔]
  9222. type: string
  9223. presaledqty:
  9224. description: 已预售量(预售结束时更新)
  9225. type: integer
  9226. presaleqty:
  9227. description: 预售数量
  9228. type: integer
  9229. quoteminunit:
  9230. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9231. type: integer
  9232. refprice:
  9233. description: 参考价格[一口价]
  9234. type: number
  9235. relatedgoodsid:
  9236. description: 关联交易合约ID
  9237. type: integer
  9238. trademode:
  9239. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9240. 21:竞拍-大宗式 22:受托竞价
  9241. type: integer
  9242. videourls:
  9243. description: 介绍视频[多张用逗号分隔]
  9244. type: string
  9245. required:
  9246. - goodscode
  9247. - goodsid
  9248. - goodsname
  9249. - marketid
  9250. - trademode
  9251. type: object
  9252. models.HsbyPreGoodsDetail:
  9253. properties:
  9254. agreeunit:
  9255. description: 合约单位
  9256. type: number
  9257. buymaxqty:
  9258. description: 购买上限 [71] - 0为不限
  9259. type: integer
  9260. currency:
  9261. description: 货币
  9262. type: string
  9263. currencysign:
  9264. description: 货币符号
  9265. type: string
  9266. customername:
  9267. description: 发行单位
  9268. type: string
  9269. decimalplace:
  9270. description: 报价小数位
  9271. type: integer
  9272. desccityid:
  9273. description: 目的地(市)ID
  9274. type: integer
  9275. descprovinceid:
  9276. description: 目的地(省)ID
  9277. type: integer
  9278. enableqty:
  9279. description: 剩余数量
  9280. type: integer
  9281. goodscode:
  9282. description: 商品代码(内部)
  9283. type: string
  9284. goodsdesc:
  9285. description: 商品详情
  9286. type: string
  9287. goodsid:
  9288. description: 商品ID(自增ID SEQ_GOODS)
  9289. type: integer
  9290. goodsname:
  9291. description: 商品名称
  9292. type: string
  9293. goodsstatus:
  9294. description: 商品状态- 2:未上市 3:上市
  9295. type: integer
  9296. goodunit:
  9297. description: 报价单位
  9298. type: string
  9299. lasttradedate:
  9300. description: 最后交易日期(状态:待退市)
  9301. type: string
  9302. listingdate:
  9303. description: 交易开始日期
  9304. type: string
  9305. lotsize:
  9306. description: 手数最小变动单位
  9307. type: integer
  9308. marketid:
  9309. description: 所属市场ID
  9310. type: integer
  9311. picurls:
  9312. description: 介绍图片[多张用逗号分隔]
  9313. type: string
  9314. presaledqty:
  9315. description: 已预售量(预售结束时更新)
  9316. type: integer
  9317. presaleqty:
  9318. description: 预售数量
  9319. type: integer
  9320. quoteminunit:
  9321. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9322. type: integer
  9323. refprice:
  9324. description: 参考价格[一口价]
  9325. type: number
  9326. relatedgoodsid:
  9327. description: 关联交易合约ID
  9328. type: integer
  9329. stepvalue:
  9330. description: 价格最小变动单位
  9331. type: number
  9332. trademode:
  9333. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9334. 21:竞拍-大宗式 22:受托竞价
  9335. type: integer
  9336. vendorattr:
  9337. description: 供应商附件(多张,逗号分隔)
  9338. type: string
  9339. vendorname:
  9340. description: 供应商名称
  9341. type: string
  9342. vendorphone:
  9343. description: 供应商客服电话
  9344. type: string
  9345. videourls:
  9346. description: 介绍视频[多张用逗号分隔]
  9347. type: string
  9348. required:
  9349. - goodscode
  9350. - goodsid
  9351. - goodsname
  9352. - marketid
  9353. - trademode
  9354. type: object
  9355. models.HsbySellCollectionOrder:
  9356. properties:
  9357. agreeunit:
  9358. description: 合约单位
  9359. type: number
  9360. buyaccountid:
  9361. description: 买方账号ID[报价币种]
  9362. type: integer
  9363. buyorderid:
  9364. description: 买方委托单号
  9365. type: string
  9366. createtime:
  9367. description: 创建时间
  9368. type: string
  9369. currencysign:
  9370. description: 货币符号
  9371. type: string
  9372. decimalplace:
  9373. description: 报价小数位
  9374. type: integer
  9375. goodscode:
  9376. description: 商品代码(内部)
  9377. type: string
  9378. goodsid:
  9379. description: 商品ID
  9380. type: integer
  9381. goodsname:
  9382. description: 商品名称
  9383. type: string
  9384. marketid:
  9385. description: 市场ID
  9386. type: integer
  9387. offamount:
  9388. description: 优惠金额
  9389. type: number
  9390. payamount:
  9391. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9392. type: number
  9393. payflag:
  9394. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9395. type: integer
  9396. paylimitedtime:
  9397. description: 支付期限
  9398. type: string
  9399. paytime:
  9400. description: 付款时间
  9401. type: string
  9402. picurls:
  9403. description: 商品介绍图片[多张用逗号分隔]
  9404. type: string
  9405. sellaccountid:
  9406. description: 卖方账号ID[报价币种]
  9407. type: integer
  9408. sellorderid:
  9409. description: 卖方委托单号
  9410. type: string
  9411. tradeamount:
  9412. description: 成交金额
  9413. type: number
  9414. tradecharge:
  9415. description: 成交手续费(买方)
  9416. type: number
  9417. tradedate:
  9418. description: 交易日(yyyyMMdd)
  9419. type: string
  9420. tradeid:
  9421. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9422. type: string
  9423. trademode:
  9424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9425. 21:竞拍-大宗式 22:受托竞价
  9426. type: integer
  9427. tradeprice:
  9428. description: 成交价格
  9429. type: number
  9430. tradeqty:
  9431. description: 成交数量
  9432. type: integer
  9433. required:
  9434. - goodscode
  9435. - goodsname
  9436. - tradeid
  9437. - trademode
  9438. type: object
  9439. models.HsbySellMyDetail:
  9440. properties:
  9441. accountid:
  9442. description: 账户ID[报价币种]
  9443. type: integer
  9444. agreeunit:
  9445. description: 合约单位
  9446. type: number
  9447. buyorsell:
  9448. description: 买卖 - 0:买 1:卖
  9449. type: integer
  9450. currencysign:
  9451. description: 货币符号
  9452. type: string
  9453. decimalplace:
  9454. description: 报价小数位
  9455. type: integer
  9456. goodscode:
  9457. description: 商品代码(内部)
  9458. type: string
  9459. goodsid:
  9460. description: 商品ID
  9461. type: integer
  9462. goodsname:
  9463. description: 商品名称
  9464. type: string
  9465. marketid:
  9466. description: 市场ID
  9467. type: integer
  9468. orderid:
  9469. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9470. type: string
  9471. ordertype:
  9472. description: 单据类型:0 - 发布中, 1 - 已完成
  9473. type: integer
  9474. picurls:
  9475. description: 介绍图片[多张用逗号分隔]
  9476. type: string
  9477. price:
  9478. description: 价格
  9479. type: number
  9480. qty:
  9481. description: 数量
  9482. type: integer
  9483. time:
  9484. description: 时间
  9485. type: string
  9486. trademode:
  9487. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9488. 21:竞拍-大宗式 22:受托竞价
  9489. type: integer
  9490. vendorname:
  9491. description: 供应商名称
  9492. type: string
  9493. required:
  9494. - accountid
  9495. - buyorsell
  9496. - goodscode
  9497. - goodsid
  9498. - goodsname
  9499. - marketid
  9500. - orderid
  9501. - time
  9502. - trademode
  9503. type: object
  9504. models.HsbyTopGoods:
  9505. properties:
  9506. agreeunit:
  9507. description: 合约单位
  9508. type: number
  9509. currency:
  9510. description: 货币
  9511. type: string
  9512. currencysign:
  9513. description: 货币符号
  9514. type: string
  9515. decimalplace:
  9516. description: 报价小数位
  9517. type: integer
  9518. desccityid:
  9519. description: 目的地(市)
  9520. type: integer
  9521. descprovinceid:
  9522. description: 目的地(省)
  9523. type: integer
  9524. goodscode:
  9525. description: 商品代码(内部)
  9526. type: string
  9527. goodsid:
  9528. description: 商品ID(自增ID SEQ_GOODS)
  9529. type: integer
  9530. goodsname:
  9531. description: 商品名称
  9532. type: string
  9533. hotindex:
  9534. description: 景点热度
  9535. type: integer
  9536. last:
  9537. description: 现价
  9538. type: number
  9539. marketid:
  9540. description: 所属市场ID
  9541. type: integer
  9542. picurls:
  9543. description: 介绍图片[多张用逗号分隔]
  9544. type: string
  9545. quoteminunit:
  9546. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9547. type: integer
  9548. trademode:
  9549. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9550. 21:竞拍-大宗式 22:受托竞价
  9551. type: integer
  9552. videourls:
  9553. description: 介绍视频[多张用逗号分隔]
  9554. type: string
  9555. required:
  9556. - goodscode
  9557. - goodsid
  9558. - goodsname
  9559. - marketid
  9560. - trademode
  9561. type: object
  9562. models.HybsMyBuyOrderDetail:
  9563. properties:
  9564. accountid:
  9565. description: 账户ID[报价币种]
  9566. type: integer
  9567. agreeunit:
  9568. description: 合约单位
  9569. type: number
  9570. buyorsell:
  9571. description: 买卖 - 0:买 1:卖
  9572. type: integer
  9573. cancelqty:
  9574. description: 撤单数量
  9575. type: integer
  9576. currencysign:
  9577. description: 货币符号
  9578. type: string
  9579. decimalplace:
  9580. description: 报价小数位
  9581. type: integer
  9582. goodscode:
  9583. description: 商品代码(内部)
  9584. type: string
  9585. goodsid:
  9586. description: 商品ID
  9587. type: integer
  9588. goodsname:
  9589. description: 商品名称
  9590. type: string
  9591. listingselecttype:
  9592. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9593. type: integer
  9594. marketid:
  9595. description: 市场ID
  9596. type: integer
  9597. mybuystatus:
  9598. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9599. type: integer
  9600. orderamount:
  9601. description: 委托金额
  9602. type: number
  9603. orderid:
  9604. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9605. type: string
  9606. orderprice:
  9607. description: 委托价格
  9608. type: number
  9609. orderqty:
  9610. description: 委托数量
  9611. type: integer
  9612. orderstatus:
  9613. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9614. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9615. 16:成交失败违约(荷兰式竞拍专用)
  9616. type: integer
  9617. ordertime:
  9618. description: 委托时间
  9619. type: string
  9620. picurls1:
  9621. description: 预售商品介绍图片[多张用逗号分隔]
  9622. type: string
  9623. picurls2:
  9624. description: 挂牌商品介绍图片[多张用逗号分隔]
  9625. type: string
  9626. trademode:
  9627. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9628. 21:竞拍-大宗式 22:受托竞价
  9629. type: integer
  9630. tradeqty:
  9631. description: 成交数量
  9632. type: integer
  9633. vendorname1:
  9634. description: 预售商品供应商名称
  9635. type: string
  9636. vendorname2:
  9637. description: 挂牌商品供应商名称
  9638. type: string
  9639. required:
  9640. - accountid
  9641. - buyorsell
  9642. - goodscode
  9643. - goodsid
  9644. - goodsname
  9645. - marketid
  9646. - orderid
  9647. - orderqty
  9648. - ordertime
  9649. - trademode
  9650. type: object
  9651. models.Loginaccount:
  9652. properties:
  9653. accountname:
  9654. description: 账户名称
  9655. type: string
  9656. canoutin:
  9657. description: 是否可出入金 - 0:不可 1:可
  9658. type: integer
  9659. clientroleid:
  9660. description: 终端角色ID
  9661. type: integer
  9662. haslogined:
  9663. description: 是否已登录 - 0:未登录 1:已登录
  9664. type: integer
  9665. hasupdatedpwd:
  9666. description: 是否已更改密码 - 0:未修改 1:已修改
  9667. type: integer
  9668. lastloginip:
  9669. description: 最新登录地址
  9670. type: string
  9671. lastloginmode:
  9672. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9673. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9674. type: integer
  9675. lastloginremark:
  9676. description: 最新登录描述
  9677. type: string
  9678. lastlogintime:
  9679. description: 最新登录时间
  9680. type: string
  9681. logincode:
  9682. description: 登录代码
  9683. type: string
  9684. loginfailnum:
  9685. description: 连续登录失败次数(登录成功时清零)
  9686. type: integer
  9687. loginid:
  9688. description: 登陆账号
  9689. type: integer
  9690. loginport:
  9691. description: 最新登录端口
  9692. type: integer
  9693. loginstatus:
  9694. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9695. type: integer
  9696. loginusertype:
  9697. description: 登录账号类型 - 1:投资者 2:机构交易员
  9698. type: integer
  9699. mobile:
  9700. description: 手机号码(加密存储)
  9701. type: string
  9702. modifierid:
  9703. description: 修改人
  9704. type: integer
  9705. modifysrc:
  9706. description: 审核来源 - 1:管理端 2:终端
  9707. type: integer
  9708. modifytime:
  9709. description: 修改时间
  9710. type: string
  9711. password:
  9712. description: 登陆密码
  9713. type: string
  9714. pwdwrongcount:
  9715. description: 密码错误次数
  9716. type: integer
  9717. relateduserid:
  9718. description: 关联用户ID(机构)
  9719. type: integer
  9720. taaccountrighttype:
  9721. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9722. type: integer
  9723. unfreezetime:
  9724. description: 账户解冻时间
  9725. type: string
  9726. userid:
  9727. description: 用户ID
  9728. type: integer
  9729. required:
  9730. - loginid
  9731. type: object
  9732. models.MainAccountInfo:
  9733. properties:
  9734. accountid:
  9735. description: 账号id
  9736. type: integer
  9737. accountname:
  9738. description: 账号名称(taaccount表中的名称)
  9739. type: string
  9740. appid:
  9741. description: AppID
  9742. type: string
  9743. authcode:
  9744. description: 授权码
  9745. type: string
  9746. brokerid:
  9747. description: 经纪商id
  9748. type: string
  9749. fcid:
  9750. description: 期货公司id
  9751. type: integer
  9752. fcname:
  9753. description: 期货公司代码
  9754. type: string
  9755. hedgeaccountcode:
  9756. description: 外部账号代码(主账号登录代码)
  9757. type: string
  9758. hedgeaccountpwd:
  9759. description: 密码
  9760. type: string
  9761. ismain:
  9762. description: 是否主账号
  9763. type: integer
  9764. relateduserid:
  9765. description: 关联用户id
  9766. type: integer
  9767. userid:
  9768. description: 关联用户id
  9769. type: integer
  9770. type: object
  9771. models.Market:
  9772. properties:
  9773. auctionwrtype:
  9774. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9775. type: integer
  9776. canacceptquote:
  9777. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9778. type: integer
  9779. cangoodsexercise:
  9780. description: '[期权]是否可现货行权- 0:否 1:是'
  9781. type: integer
  9782. cangoodsexercisetype:
  9783. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9784. type: integer
  9785. canmanualquotestrike:
  9786. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9787. type: integer
  9788. canmutistage:
  9789. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9790. type: integer
  9791. canpreexercise:
  9792. description: '[期权]是否可预申报- 0:否 1:是'
  9793. type: integer
  9794. clearinterval:
  9795. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9796. type: integer
  9797. contracttmp:
  9798. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9799. type: string
  9800. exchareaid:
  9801. description: 所属交易所,可以没有
  9802. type: integer
  9803. goodstype:
  9804. description: 商品类型 - 1:交易商品 2:仓单商品
  9805. type: integer
  9806. hasrebate:
  9807. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9808. type: integer
  9809. hastradecredit:
  9810. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9811. type: integer
  9812. haswr:
  9813. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9814. type: integer
  9815. isdeductmargin:
  9816. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9817. type: integer
  9818. isrecordsource:
  9819. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9820. type: integer
  9821. isreleasemargin:
  9822. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9823. type: integer
  9824. marginformula:
  9825. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9826. type: integer
  9827. marginformula2:
  9828. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9829. type: integer
  9830. marketid:
  9831. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9832. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9833. type: integer
  9834. marketname:
  9835. description: 市场名称
  9836. type: string
  9837. marketserviceid:
  9838. description: 市场服务ID
  9839. type: integer
  9840. marketstatus:
  9841. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9842. type: integer
  9843. markettype:
  9844. description: 市场类型- 1:非交易服务 2:交易服务
  9845. type: integer
  9846. matchermode:
  9847. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9848. type: integer
  9849. openmethod:
  9850. description: 开盘模式 - 0 自动 1手动
  9851. type: integer
  9852. otcuserid:
  9853. description: 场外期权做市商[场外期权]
  9854. type: integer
  9855. outersynctime:
  9856. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9857. type: string
  9858. pendingflag:
  9859. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9860. type: integer
  9861. pendingtime:
  9862. description: 待开市时间[通道交易-对冲](HH:mm)
  9863. type: string
  9864. performancetempid:
  9865. description: 履约计划模板ID - 作废
  9866. type: integer
  9867. premiumquotemode:
  9868. description: 权利金报价方式 - 1:自动 2:手动
  9869. type: integer
  9870. rebateratio:
  9871. description: 返利比率[竞价式]
  9872. type: number
  9873. reckonorder:
  9874. description: 结算顺序
  9875. type: integer
  9876. reckonpricealgorithm:
  9877. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9878. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9879. type: integer
  9880. reckonpriceparam:
  9881. description: 结算价参数
  9882. type: integer
  9883. reckontime:
  9884. description: 结算时间[通道交易-对冲](HH:mm)
  9885. type: string
  9886. roleprioritytype:
  9887. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9888. type: integer
  9889. selllistingauditflag:
  9890. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9891. type: integer
  9892. trademarkettype:
  9893. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9894. type: integer
  9895. trademode:
  9896. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9897. 21:竞拍-大宗式 22:受托竞价
  9898. type: integer
  9899. tradeproperty:
  9900. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9901. 8:场外期权
  9902. type: integer
  9903. tradetype:
  9904. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9905. type: integer
  9906. required:
  9907. - marketid
  9908. - marketstatus
  9909. - openmethod
  9910. - reckonpricealgorithm
  9911. - trademode
  9912. - tradeproperty
  9913. type: object
  9914. models.Marketrun:
  9915. properties:
  9916. afternexttradedate:
  9917. description: 下下交易日
  9918. type: string
  9919. clearquoteflag:
  9920. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9921. type: integer
  9922. lastreckondate:
  9923. description: 最新交易日(结算成功)
  9924. type: string
  9925. machinedate:
  9926. description: 机器时间
  9927. type: string
  9928. manualflag:
  9929. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9930. type: integer
  9931. marketid:
  9932. description: 市场ID
  9933. type: integer
  9934. nexttradedate:
  9935. description: 下一交易日
  9936. type: string
  9937. pretradedate:
  9938. description: 上一交易日
  9939. type: string
  9940. reckonflag:
  9941. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9942. type: integer
  9943. runstatus:
  9944. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9945. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9946. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9947. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9948. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9949. 62.今日免清算
  9950. type: integer
  9951. sectionid:
  9952. description: 时间段号[多时段时用]
  9953. type: integer
  9954. tradedate:
  9955. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9956. type: string
  9957. tradedate2:
  9958. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9959. type: string
  9960. updatetime:
  9961. description: 更新时间
  9962. type: string
  9963. required:
  9964. - marketid
  9965. - nexttradedate
  9966. - reckonflag
  9967. - runstatus
  9968. - tradedate
  9969. - tradedate2
  9970. type: object
  9971. models.Messageboard:
  9972. properties:
  9973. contactnum:
  9974. description: 联系电话
  9975. type: string
  9976. createtime:
  9977. description: 创建时间
  9978. type: string
  9979. message:
  9980. description: 留言信息
  9981. type: string
  9982. messageboardid:
  9983. description: 留言簿ID(SEQ_MessageBoard)
  9984. type: integer
  9985. userid:
  9986. description: 用户ID
  9987. type: integer
  9988. required:
  9989. - messageboardid
  9990. type: object
  9991. models.MyCoupon:
  9992. properties:
  9993. accountid:
  9994. description: 资金账户ID
  9995. type: integer
  9996. areauserid:
  9997. description: 所属机构
  9998. type: integer
  9999. conditionvalue:
  10000. description: 条件阈值(可为0)
  10001. type: number
  10002. couponcategroy:
  10003. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10004. type: integer
  10005. couponname:
  10006. description: 优惠券名称
  10007. type: string
  10008. coupontypeid:
  10009. description: 优惠券类型ID
  10010. type: string
  10011. couponvalue:
  10012. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10013. type: number
  10014. curfreezeqty:
  10015. description: 期末冻结数量
  10016. type: integer
  10017. curqty:
  10018. description: 期末数量
  10019. type: integer
  10020. isgeneral:
  10021. description: 是否通用券 - 0:否 1:是
  10022. type: integer
  10023. isunusable:
  10024. description: 是否不可用
  10025. type: boolean
  10026. limitedflag:
  10027. description: 是否指定商品 - 0:不限 1:限制
  10028. type: integer
  10029. limitedgoodsids:
  10030. description: 指定商品IDs[逗号分隔,前后加逗号]
  10031. type: string
  10032. orifreezeqty:
  10033. description: 期初冻结数量
  10034. type: integer
  10035. oriqty:
  10036. description: 期初数量
  10037. type: integer
  10038. reasontype:
  10039. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10040. type: integer
  10041. todaydecrease:
  10042. description: 今日减少
  10043. type: integer
  10044. todayincrease:
  10045. description: 今日增加
  10046. type: integer
  10047. userid:
  10048. description: 用户ID
  10049. type: integer
  10050. userscope:
  10051. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10052. type: string
  10053. required:
  10054. - accountid
  10055. - coupontypeid
  10056. type: object
  10057. models.MyCouponHold:
  10058. properties:
  10059. accountid:
  10060. description: 资金账户ID
  10061. type: integer
  10062. conditionvalue:
  10063. description: 条件阈值(可为0)
  10064. type: number
  10065. couponcategroy:
  10066. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10067. type: integer
  10068. couponholdid:
  10069. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10070. type: string
  10071. couponname:
  10072. description: 优惠券名称
  10073. type: string
  10074. coupontypeid:
  10075. description: 优惠券类型ID - SEQ_COUPONTYPE
  10076. type: string
  10077. couponvalue:
  10078. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10079. type: number
  10080. createtime:
  10081. description: 创建时间
  10082. type: string
  10083. enddate:
  10084. description: 结束日期
  10085. type: string
  10086. giveapplyid:
  10087. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10088. type: integer
  10089. holdstatus:
  10090. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10091. type: integer
  10092. isgeneral:
  10093. description: 是否通用券 - 0:否 1:是
  10094. type: integer
  10095. limitedflag:
  10096. description: 是否指定商品 - 0:不限 1:限制
  10097. type: integer
  10098. limitedgoodsids:
  10099. description: 指定商品IDs[逗号分隔]
  10100. type: string
  10101. qty:
  10102. description: 数量(按1平铺)
  10103. type: integer
  10104. startdate:
  10105. description: 开始日期
  10106. type: string
  10107. userid:
  10108. description: 用户ID
  10109. type: integer
  10110. userscope:
  10111. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10112. type: string
  10113. required:
  10114. - couponholdid
  10115. type: object
  10116. models.MyUsedCoupon:
  10117. properties:
  10118. accountid:
  10119. description: 资金账户ID(买方)
  10120. type: integer
  10121. conditionvalue:
  10122. description: 条件阈值(可为0)
  10123. type: number
  10124. couponcategroy:
  10125. description: 种类 - 1:现金券 2:折扣券
  10126. type: integer
  10127. couponname:
  10128. description: 优惠券名称
  10129. type: string
  10130. coupontypeid:
  10131. description: 优惠券类型ID(买方)
  10132. type: string
  10133. couponvalue:
  10134. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10135. type: number
  10136. createtime:
  10137. description: 创建时间
  10138. type: string
  10139. goodsid:
  10140. description: 商品ID
  10141. type: integer
  10142. handlestatus:
  10143. description: 处理状态
  10144. type: integer
  10145. marketid:
  10146. description: 市场ID
  10147. type: integer
  10148. offamount:
  10149. description: 优惠金额
  10150. type: number
  10151. orderid:
  10152. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10153. type: string
  10154. sellaccountid:
  10155. description: 资金账户ID(卖方)
  10156. type: integer
  10157. tradeamount:
  10158. description: 成交金额
  10159. type: number
  10160. tradeid:
  10161. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10162. type: string
  10163. usedqty:
  10164. description: 使用数量
  10165. type: integer
  10166. required:
  10167. - coupontypeid
  10168. - orderid
  10169. type: object
  10170. models.OperationPrimaryMenu:
  10171. properties:
  10172. Children:
  10173. description: 二级功能菜单
  10174. items:
  10175. $ref: '#/definitions/models.OperationSecondaryMenu'
  10176. type: array
  10177. Key:
  10178. description: 菜单KEY
  10179. type: string
  10180. Label:
  10181. description: 菜单标题
  10182. type: string
  10183. type: object
  10184. models.OperationSecondaryMenu:
  10185. properties:
  10186. Key:
  10187. description: 菜单KEY
  10188. type: string
  10189. Label:
  10190. description: 菜单标题
  10191. type: string
  10192. TabList:
  10193. description: 三级功能菜单
  10194. items:
  10195. $ref: '#/definitions/models.OperationTabMenu'
  10196. type: array
  10197. type: object
  10198. models.OperationTabMenu:
  10199. properties:
  10200. Key:
  10201. description: 菜单KEY
  10202. type: string
  10203. Label:
  10204. description: 菜单标题
  10205. type: string
  10206. type: object
  10207. models.QhjAccountOutInApply:
  10208. properties:
  10209. accountcode:
  10210. description: 资金账号
  10211. type: string
  10212. accountname:
  10213. description: 用户名称(名称)
  10214. type: string
  10215. accountpwd:
  10216. description: 资金密码
  10217. type: string
  10218. accountticket:
  10219. description: 最新账户服务流水号
  10220. type: string
  10221. amount:
  10222. description: 金额
  10223. type: number
  10224. applyremark:
  10225. description: 申请备注
  10226. type: string
  10227. applystatus:
  10228. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10229. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10230. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10231. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10232. type: integer
  10233. auditid:
  10234. description: 审核人
  10235. type: integer
  10236. audittime:
  10237. description: 审核时间
  10238. type: string
  10239. bank_apply_ticket:
  10240. description: 银行申请流水
  10241. type: string
  10242. bankaccountname:
  10243. description: 银行账户名
  10244. type: string
  10245. bankaccountno:
  10246. description: 银行卡号
  10247. type: string
  10248. bankid:
  10249. description: 银行编号
  10250. type: string
  10251. bankticket:
  10252. description: 银行流水
  10253. type: string
  10254. branchbankid:
  10255. description: 银行支行号
  10256. type: string
  10257. branchbankname:
  10258. description: 银行支行名称
  10259. type: string
  10260. capamountout:
  10261. description: 出金(劣后本金) - 外部子账户
  10262. type: number
  10263. certificatephotourl:
  10264. description: 凭证地址
  10265. type: string
  10266. charge:
  10267. description: 手续费
  10268. type: number
  10269. checkerrorflag:
  10270. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10271. type: integer
  10272. currency:
  10273. description: 币种
  10274. type: string
  10275. cusbankid:
  10276. description: 托管银行编号
  10277. type: string
  10278. exchticket:
  10279. description: 银行服务流水号
  10280. type: string
  10281. executetype:
  10282. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10283. 7:外部子账户:入金 8:外部子账户:出金'
  10284. type: integer
  10285. extendinfo:
  10286. description: 扩展信息
  10287. type: string
  10288. extoperateid:
  10289. description: 交易服务流水号
  10290. type: integer
  10291. infamount:
  10292. description: 劣后金额(自有)
  10293. type: number
  10294. logincode:
  10295. description: 登录账号(账号)
  10296. type: string
  10297. netaddr:
  10298. description: 调转网址
  10299. type: string
  10300. priamount:
  10301. description: 优先金额(授信)
  10302. type: number
  10303. reauditid:
  10304. description: 复审人
  10305. type: integer
  10306. reauditremark:
  10307. description: 复审备注
  10308. type: string
  10309. reaudittime:
  10310. description: 复审时间
  10311. type: string
  10312. relatedorderid:
  10313. description: 三方关联ID
  10314. type: string
  10315. remark:
  10316. description: 备注
  10317. type: string
  10318. remark2:
  10319. description: 备注(失败原因)
  10320. type: string
  10321. soucreamount:
  10322. description: 原始出入金金额
  10323. type: number
  10324. soucrecurrencyid:
  10325. description: 原始出入金币种
  10326. type: integer
  10327. tradedate:
  10328. description: 交易日(yyyyMMdd)
  10329. type: string
  10330. updatetime:
  10331. description: 更新时间(申请时间)
  10332. type: string
  10333. userid:
  10334. description: 用户id
  10335. type: integer
  10336. userinfotype:
  10337. description: 账户类型 1-个人 2-企业
  10338. type: integer
  10339. type: object
  10340. models.QhjAgreementChangeLog:
  10341. properties:
  10342. agreementcontent:
  10343. description: 协议内容
  10344. type: string
  10345. agreementfrequency:
  10346. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10347. type: integer
  10348. agreementid:
  10349. description: 协议ID
  10350. type: integer
  10351. agreementname:
  10352. description: 协议名称
  10353. type: string
  10354. agreementno:
  10355. description: 协议编号
  10356. type: string
  10357. agreementtype:
  10358. description: 协议类型 - 1:注册 2:登录 3:交易
  10359. type: integer
  10360. agreementversion:
  10361. description: 协议版本号
  10362. type: integer
  10363. logid:
  10364. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10365. type: integer
  10366. reviserid:
  10367. description: 修改人
  10368. type: integer
  10369. revisersrc:
  10370. description: 修改来源 - 1:管理端 2:终端
  10371. type: integer
  10372. updatetime:
  10373. description: 更新时间
  10374. type: string
  10375. type: object
  10376. models.QhjAgreementConfig:
  10377. properties:
  10378. agreementcontent:
  10379. description: 协议内容
  10380. type: string
  10381. agreementfrequency:
  10382. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10383. type: integer
  10384. agreementid:
  10385. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10386. type: integer
  10387. agreementname:
  10388. description: 协议名称
  10389. type: string
  10390. agreementno:
  10391. description: 协议编号
  10392. type: string
  10393. agreementtype:
  10394. description: 协议类型 - 1:注册 2:登录 3:交易
  10395. type: integer
  10396. agreementversion:
  10397. description: 协议版本号(从1开始每次修改加1)
  10398. type: integer
  10399. createtime:
  10400. description: 创建时间
  10401. type: string
  10402. creatorid:
  10403. description: 创建人
  10404. type: integer
  10405. creatorsrc:
  10406. description: 创建来源 - 1:管理端 2:终端
  10407. type: integer
  10408. isvalid:
  10409. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10410. type: integer
  10411. reviserid:
  10412. description: 修改人
  10413. type: integer
  10414. revisersrc:
  10415. description: 修改来源 - 1:管理端 2:终端
  10416. type: integer
  10417. updatetime:
  10418. description: 更新时间
  10419. type: string
  10420. type: object
  10421. models.QhjAreaFinanceConfig:
  10422. properties:
  10423. additionalratio:
  10424. description: 追加款比例
  10425. type: number
  10426. advanceratio:
  10427. description: 预付款比例
  10428. type: number
  10429. alarmratio:
  10430. description: 告警比例
  10431. type: number
  10432. consumptiondirectreward:
  10433. description: 消费直推奖励值
  10434. type: number
  10435. consumptionenabled:
  10436. description: 是否启用消费奖励 - 0:不启用 1:启用
  10437. type: integer
  10438. consumptionindirectreward:
  10439. description: 消费间推奖励值
  10440. type: number
  10441. consumptionmodel:
  10442. description: 消费奖励方式 - 1:比率 2:固定
  10443. type: integer
  10444. customerservicenum:
  10445. description: 客服电话
  10446. type: string
  10447. dayinterestrate:
  10448. description: 日利率
  10449. type: number
  10450. disableconsumptiontips:
  10451. description: 关闭消费奖励提示
  10452. type: string
  10453. modifierid:
  10454. description: 修改人ID
  10455. type: integer
  10456. modifysrc:
  10457. description: 审核来源 - 1:管理端 2:终端
  10458. type: integer
  10459. modifytime:
  10460. description: 修改时间
  10461. type: string
  10462. promotionvalue:
  10463. description: 推广奖励值(固定)
  10464. type: number
  10465. scoreconfigvalue1:
  10466. description: 提货积分配置1
  10467. type: integer
  10468. scoreconfigvalue2:
  10469. description: 提货积分配置2
  10470. type: integer
  10471. userid:
  10472. description: 机构用户ID其他做市关系,都设置为 1
  10473. type: integer
  10474. username:
  10475. description: 用户名称
  10476. type: string
  10477. type: object
  10478. models.QhjBankAccountSign:
  10479. properties:
  10480. accountcode:
  10481. description: 资金账号
  10482. type: string
  10483. accountname:
  10484. description: 资金账号对应的账号名(UserName)
  10485. type: string
  10486. accountname2:
  10487. description: 资金账号对应的账号名(UserName) - 密文
  10488. type: string
  10489. accounttype:
  10490. description: 账户类型(UserType)
  10491. type: integer
  10492. applicationtime:
  10493. description: 最后一次更新的时间
  10494. type: string
  10495. applyexchticket:
  10496. description: 申请流水
  10497. type: string
  10498. auditid:
  10499. description: 审核人
  10500. type: integer
  10501. audittime:
  10502. description: 审核时间
  10503. type: string
  10504. bankaccountname:
  10505. description: 签约银行卡账号名
  10506. type: string
  10507. bankaccountname2:
  10508. description: 签约银行卡账号名 - 密文
  10509. type: string
  10510. bankaccountno:
  10511. description: 银行卡号
  10512. type: string
  10513. bankaccountno2:
  10514. description: 银行卡号 - 密文
  10515. type: string
  10516. bankaccounttype:
  10517. description: 银行账户类型 - 1-对私; 2-对公
  10518. type: integer
  10519. bankcardtype:
  10520. description: 银行卡类型
  10521. type: integer
  10522. bankchildaccount:
  10523. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10524. type: string
  10525. bankcity:
  10526. description: 开户行城市
  10527. type: string
  10528. bankid:
  10529. description: 签约银行ID
  10530. type: string
  10531. bankname:
  10532. description: 签约银行名称
  10533. type: string
  10534. bankprovince:
  10535. description: 开户行省份
  10536. type: string
  10537. branchbankid:
  10538. description: 签约银行支行号
  10539. type: string
  10540. branchbankname:
  10541. description: 签约银行支行名称
  10542. type: string
  10543. cardno:
  10544. description: 证件号码
  10545. type: string
  10546. cardno2:
  10547. description: 证件号码 - 密文
  10548. type: string
  10549. cardtype:
  10550. description: 证件类型
  10551. type: string
  10552. currency:
  10553. description: 币种
  10554. type: string
  10555. cusbankid:
  10556. description: 托管银行编号
  10557. type: string
  10558. direct:
  10559. description: 方向(可以判断那方先发起的签约)
  10560. type: integer
  10561. exchticket:
  10562. description: 最后一次签约成功的流水号
  10563. type: string
  10564. extendinfo:
  10565. description: 扩展信息(JSON字符串)
  10566. type: string
  10567. mobilephone:
  10568. description: 手机号
  10569. type: string
  10570. mobilephone2:
  10571. description: 手机号 - 密文
  10572. type: string
  10573. netaddr:
  10574. description: 调转网址
  10575. type: string
  10576. relateduserid:
  10577. description: 关联使用者userid
  10578. type: integer
  10579. signstatus:
  10580. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10581. 10:审核拒绝 11:换签待审核
  10582. type: integer
  10583. updatetime:
  10584. description: 更新时间(签解约更新时间)
  10585. type: string
  10586. type: object
  10587. models.QhjBankInfo:
  10588. properties:
  10589. bankid:
  10590. description: 银行ID
  10591. type: string
  10592. bankname:
  10593. description: 银行名称
  10594. type: string
  10595. clearbankno:
  10596. description: 清算系统银行编号
  10597. type: string
  10598. orderindex:
  10599. description: 排序顺序
  10600. type: integer
  10601. status:
  10602. description: 状态 - 0:正常 1:注销
  10603. type: integer
  10604. type: object
  10605. models.QhjBrokerApply:
  10606. properties:
  10607. applicantid:
  10608. description: 申请人
  10609. type: integer
  10610. applysrc:
  10611. description: 申请来源 - 1:管理端 2:终端
  10612. type: integer
  10613. applystatus:
  10614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10615. type: integer
  10616. applytime:
  10617. description: 申请时间
  10618. type: string
  10619. auditorid:
  10620. description: 审核人
  10621. type: integer
  10622. auditremark:
  10623. description: 审核备注
  10624. type: string
  10625. auditsrc:
  10626. description: 审核来源 - 1:管理端 2:终端
  10627. type: integer
  10628. audittime:
  10629. description: 审核时间
  10630. type: string
  10631. audittradedate:
  10632. description: 审核交易日(yyyyMMdd)
  10633. type: string
  10634. brokerapplyid:
  10635. description: 申请ID(SEQ_BROKERAPPLY)
  10636. type: integer
  10637. cardbackphotourl:
  10638. description: 证件背面图片地址
  10639. type: string
  10640. cardfrontphotourl:
  10641. description: 证件正面图片地址
  10642. type: string
  10643. cardnum:
  10644. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10645. type: string
  10646. customername:
  10647. description: 姓名
  10648. type: string
  10649. logincode:
  10650. description: 登录代码
  10651. type: string
  10652. mobile:
  10653. description: 手机号码
  10654. type: string
  10655. parentuserid:
  10656. description: 所属机构id
  10657. type: integer
  10658. parentusername:
  10659. description: 所属机构名称
  10660. type: string
  10661. refereeuserid:
  10662. description: 推荐人id(经纪人)
  10663. type: integer
  10664. refernum:
  10665. description: 推荐码
  10666. type: string
  10667. remark:
  10668. description: 备注
  10669. type: string
  10670. subarealevelpath:
  10671. description: 层级路径
  10672. type: string
  10673. tradedate:
  10674. description: 交易日(yyyyMMdd)
  10675. type: string
  10676. userid:
  10677. description: 申请人用户ID
  10678. type: integer
  10679. userinfotype:
  10680. description: 用户类型 1-个人 2-企业
  10681. type: integer
  10682. username:
  10683. description: 用户名称
  10684. type: string
  10685. type: object
  10686. models.QhjBrokerApplyEx:
  10687. properties:
  10688. applylist:
  10689. description: 经纪人申请记录(只返回最新一条)
  10690. items:
  10691. $ref: '#/definitions/models.QhjBrokerApply'
  10692. type: array
  10693. canrecommend:
  10694. description: 是否经纪人 0-不是 1-是
  10695. type: integer
  10696. refernum:
  10697. description: 推荐码
  10698. type: string
  10699. userid:
  10700. description: 用户id
  10701. type: integer
  10702. userinfotype:
  10703. description: 用户类型 1-个人 2-企业
  10704. type: integer
  10705. type: object
  10706. models.QhjBrokerRewardLog:
  10707. properties:
  10708. accountid:
  10709. description: 资金账号ID
  10710. type: integer
  10711. createtime:
  10712. description: 创建时间(时间)
  10713. type: string
  10714. handlestatus:
  10715. description: 处理状态
  10716. type: integer
  10717. logid:
  10718. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10719. type: string
  10720. marketid:
  10721. description: 市场ID
  10722. type: integer
  10723. mmaccountid:
  10724. description: 做市商资金账号ID
  10725. type: string
  10726. mmuserid:
  10727. description: 做市商用户ID
  10728. type: string
  10729. rewardamount:
  10730. description: 奖励金额
  10731. type: number
  10732. rewardmodel:
  10733. description: 消费奖励方式 - 1:比率 2:固定
  10734. type: integer
  10735. rewardtype:
  10736. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10737. type: integer
  10738. rewardvalue:
  10739. description: 配置奖励值
  10740. type: number
  10741. srcamount:
  10742. description: 成交金额 [消费奖励] (金额)
  10743. type: number
  10744. srcgoodsid:
  10745. description: 来源商品ID [消费奖励]
  10746. type: string
  10747. srctime:
  10748. description: 来源时间 (成交时间) [消费奖励]
  10749. type: string
  10750. srctradeid:
  10751. description: 来源成交单ID [消费奖励] - 排除提货成交
  10752. type: string
  10753. srcuserid:
  10754. description: 来源用户ID(推广账户)
  10755. type: string
  10756. srcusername:
  10757. description: 推广账户名称
  10758. type: string
  10759. tradedate:
  10760. description: 交易日(yyyyMMdd)
  10761. type: string
  10762. userid:
  10763. description: 经纪人用户ID
  10764. type: integer
  10765. type: object
  10766. models.QhjContract:
  10767. properties:
  10768. contractconfirmtime:
  10769. description: 合同确认时间(时间)
  10770. type: string
  10771. currisklevel:
  10772. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10773. type: integer
  10774. decimalplace:
  10775. description: 商品报价小数位
  10776. type: integer
  10777. enumdicname:
  10778. description: 单位名称
  10779. type: string
  10780. goodscode:
  10781. description: 商品代码
  10782. type: string
  10783. goodsid:
  10784. description: 商品ID [5:融资单]
  10785. type: integer
  10786. goodsname:
  10787. description: 商品名称
  10788. type: string
  10789. goodunitid:
  10790. description: 商品单位id
  10791. type: integer
  10792. initmargin:
  10793. description: 初始保证金(首付款)
  10794. type: number
  10795. lenderamount:
  10796. description: 贷款金额(总额|订单总额)
  10797. type: number
  10798. marginratio:
  10799. description: 保证金比率(首付比例)
  10800. type: number
  10801. payamount:
  10802. description: 已付(已付货款)
  10803. type: number
  10804. reckonrecovermargin:
  10805. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10806. type: number
  10807. recoveredmargin:
  10808. description: 已追缴保证金
  10809. type: number
  10810. remainamount:
  10811. description: 合同剩余金额(融资额)
  10812. type: number
  10813. scfcontractid:
  10814. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10815. type: string
  10816. scfcontractstatus:
  10817. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10818. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10819. type: integer
  10820. scfcontracttype:
  10821. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10822. type: integer
  10823. totalinterest:
  10824. description: 已计总利息(利息)
  10825. type: number
  10826. tradeprice:
  10827. description: 成交价格(成本价格)
  10828. type: number
  10829. userid:
  10830. description: 用户ID
  10831. type: integer
  10832. username:
  10833. description: 用户名称
  10834. type: string
  10835. wrqty:
  10836. description: 仓单数量(数量)
  10837. type: number
  10838. type: object
  10839. models.QhjContractLog:
  10840. properties:
  10841. amount:
  10842. description: 支付金额
  10843. type: number
  10844. amounttype:
  10845. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10846. type: integer
  10847. logid:
  10848. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10849. type: string
  10850. remainamount:
  10851. description: 剩余货款
  10852. type: number
  10853. scfcontractid:
  10854. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10855. type: integer
  10856. updatetime:
  10857. description: 更新时间
  10858. type: string
  10859. type: object
  10860. models.QhjCusBankSignBankEx:
  10861. properties:
  10862. banklst:
  10863. description: 银行列表
  10864. items:
  10865. $ref: '#/definitions/models.QhjBankInfo'
  10866. type: array
  10867. canallot:
  10868. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10869. type: integer
  10870. canallotquery:
  10871. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10872. type: integer
  10873. canbindcard:
  10874. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10875. type: integer
  10876. caninamount:
  10877. description: 是否可入金 - 0:不可 1:可以
  10878. type: integer
  10879. caninamount2:
  10880. description: 是否可入金(网银端) - 0:不可 1:可以
  10881. type: integer
  10882. canmodifybankcard:
  10883. description: 是否可修改银行卡号 - 0:不可 1:可以
  10884. type: integer
  10885. canmodifyphone:
  10886. description: 是否可修改手机号 - 0:不可 1:可以
  10887. type: integer
  10888. canmodifysigninfo:
  10889. description: 是否可修改签约信息 - 0:不可 1:可以
  10890. type: integer
  10891. canoutamount:
  10892. description: 是否可出金 - 0:不可 1:可以
  10893. type: integer
  10894. canoutamount2:
  10895. description: 是否可出金(网银端) - 0:不可 1:可以
  10896. type: integer
  10897. canrelease:
  10898. description: 是否可解约 - 0:不可 1:可以
  10899. type: integer
  10900. canrelease2:
  10901. description: 是否可解约(网银端) - 0:不可 1:可以
  10902. type: integer
  10903. cansign:
  10904. description: 是否可签约 - 0:不可 1:可以
  10905. type: integer
  10906. cansign2:
  10907. description: 是否可签约(网银端) - 0:不可 1:可以
  10908. type: integer
  10909. currency:
  10910. description: 币种
  10911. type: string
  10912. cusbankid:
  10913. description: 托管银行编号(对应清算中心TRAN_NO)
  10914. type: string
  10915. cusbankname:
  10916. description: 银行业务名称
  10917. type: string
  10918. cusbankshortname:
  10919. description: 银行业务简称
  10920. type: string
  10921. exchbankid:
  10922. description: 交易所开户银行ID
  10923. type: string
  10924. exchpaybankaccname:
  10925. description: 交易所支出结算账户户名
  10926. type: string
  10927. exchpaybankaccno:
  10928. description: 交易所支出结算账户
  10929. type: string
  10930. isneedcheck:
  10931. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10932. type: integer
  10933. isneedclear:
  10934. description: 是否需要清算 - 0:不需要 1:需要
  10935. type: integer
  10936. lastcheckstatus:
  10937. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10938. type: integer
  10939. lastchecktime:
  10940. description: 最后对账时间
  10941. type: string
  10942. lastclearstatus:
  10943. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10944. type: integer
  10945. lastcleartime:
  10946. description: 最后清算时间
  10947. type: string
  10948. lastsignintime:
  10949. description: 最后签到时间
  10950. type: string
  10951. lastsignouttime:
  10952. description: 最后签退时间
  10953. type: string
  10954. riskinfo:
  10955. description: 签约风险提示书
  10956. type: string
  10957. signstatus:
  10958. description: 当前签到/签退状态 - 1:签到 2:签退
  10959. type: integer
  10960. tradedate:
  10961. description: 交易日(yyyyMMdd)
  10962. type: string
  10963. updatetime:
  10964. description: 当前签到/签退更新时间
  10965. type: string
  10966. type: object
  10967. models.QhjCustomer:
  10968. properties:
  10969. address:
  10970. description: 通讯地址
  10971. type: string
  10972. attachment1:
  10973. description: 附件1
  10974. type: string
  10975. attachment2:
  10976. description: 附件2
  10977. type: string
  10978. audittime:
  10979. description: 审核时间
  10980. type: string
  10981. cardbackphotourl:
  10982. description: 证件反面图片地址
  10983. type: string
  10984. cardfrontphotourl:
  10985. description: 证件正面图片地址
  10986. type: string
  10987. cardnum:
  10988. description: 证件号码
  10989. type: string
  10990. cardtype:
  10991. description: 证件类型
  10992. type: integer
  10993. cardtypename:
  10994. description: 证件类型名称
  10995. type: string
  10996. cityid:
  10997. description: 市
  10998. type: integer
  10999. cityname:
  11000. description: 城市名称
  11001. type: string
  11002. contactname:
  11003. description: 联系人
  11004. type: string
  11005. countryid:
  11006. description: 国家
  11007. type: integer
  11008. countryname:
  11009. description: 国家名称
  11010. type: string
  11011. createtime:
  11012. description: 创建时间
  11013. type: string
  11014. customername:
  11015. description: 客户名称
  11016. type: string
  11017. districtid:
  11018. description: 区域
  11019. type: integer
  11020. districtname:
  11021. description: 地区名称
  11022. type: string
  11023. email:
  11024. description: 邮件
  11025. type: string
  11026. legalpersonname:
  11027. description: 法人姓名(企业)
  11028. type: string
  11029. logincode:
  11030. description: 登录账号(代码)
  11031. type: string
  11032. memberuserid:
  11033. description: 所属机构ID(所属会员)
  11034. type: integer
  11035. memberusername:
  11036. description: 所属会员名称
  11037. type: string
  11038. mobile:
  11039. description: 手机号码
  11040. type: string
  11041. modifytime:
  11042. description: 修改时间
  11043. type: string
  11044. nickname:
  11045. description: 昵称
  11046. type: string
  11047. parentuserid:
  11048. description: 上级机构(所属机构)
  11049. type: integer
  11050. parentusername:
  11051. description: 所属机构名称
  11052. type: string
  11053. provinceid:
  11054. description: 省
  11055. type: integer
  11056. provincename:
  11057. description: 省名称
  11058. type: string
  11059. proxystatementurl:
  11060. description: 授权委托书
  11061. type: string
  11062. remark:
  11063. description: 备注
  11064. type: string
  11065. status:
  11066. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11067. type: integer
  11068. statusdesc:
  11069. description: 账户状态中文描述
  11070. type: string
  11071. taxpayernum:
  11072. description: 纳税人识别号
  11073. type: string
  11074. telphone:
  11075. description: 联系电话
  11076. type: string
  11077. userid:
  11078. description: 用户ID
  11079. type: integer
  11080. userinfotype:
  11081. description: 客户类型 1-个人 2-企业
  11082. type: integer
  11083. username:
  11084. description: 用户名称
  11085. type: string
  11086. type: object
  11087. models.QhjCustomerSignLog:
  11088. properties:
  11089. agreementcontent:
  11090. description: 协议内容
  11091. type: string
  11092. agreementid:
  11093. description: 协议ID
  11094. type: integer
  11095. agreementname:
  11096. description: 协议名称
  11097. type: string
  11098. agreementno:
  11099. description: 协议编号
  11100. type: string
  11101. agreementtype:
  11102. description: 协议类型 - 1:注册 2:登录 3:交易
  11103. type: integer
  11104. agreementversion:
  11105. description: 协议版本号
  11106. type: integer
  11107. createtime:
  11108. description: 创建时间
  11109. type: string
  11110. goodscode:
  11111. description: 商品代码
  11112. type: string
  11113. goodsid:
  11114. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11115. type: integer
  11116. goodsname:
  11117. description: 商品名称
  11118. type: string
  11119. logid:
  11120. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11121. type: integer
  11122. nodetype:
  11123. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11124. type: integer
  11125. signadressurl:
  11126. description: 签约文件地址
  11127. type: string
  11128. signtimestamp:
  11129. description: 签约状态时间戳
  11130. type: string
  11131. userid:
  11132. description: 客户ID
  11133. type: integer
  11134. username:
  11135. description: 客户名称
  11136. type: string
  11137. type: object
  11138. models.QhjCustomerSignStatus:
  11139. properties:
  11140. createtime:
  11141. description: 创建时间
  11142. type: string
  11143. goodscode:
  11144. description: 商品代码
  11145. type: string
  11146. goodsid:
  11147. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11148. type: integer
  11149. goodsname:
  11150. description: 商品名称
  11151. type: string
  11152. nodetype:
  11153. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11154. type: integer
  11155. signtimestamp:
  11156. description: 签约状态时间戳
  11157. type: string
  11158. tradedate:
  11159. description: 创建交易日(yyyyMMdd)
  11160. type: string
  11161. updatetime:
  11162. description: 更新时间
  11163. type: string
  11164. userid:
  11165. description: 客户ID
  11166. type: integer
  11167. username:
  11168. description: 客户名称
  11169. type: string
  11170. type: object
  11171. models.QhjMgrAccountOutInApply:
  11172. properties:
  11173. accountcode:
  11174. description: 资金账号
  11175. type: string
  11176. accountname:
  11177. description: 用户名称(名称)
  11178. type: string
  11179. accountpwd:
  11180. description: 资金密码
  11181. type: string
  11182. accountticket:
  11183. description: 最新账户服务流水号
  11184. type: string
  11185. amount:
  11186. description: 金额
  11187. type: number
  11188. applyremark:
  11189. description: 申请备注
  11190. type: string
  11191. applystatus:
  11192. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11193. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11194. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11195. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11196. type: integer
  11197. auditid:
  11198. description: 审核人
  11199. type: integer
  11200. audittime:
  11201. description: 审核时间
  11202. type: string
  11203. bank_apply_ticket:
  11204. description: 银行申请流水
  11205. type: string
  11206. bankaccountname:
  11207. description: 银行账户名
  11208. type: string
  11209. bankaccountno:
  11210. description: 银行卡号
  11211. type: string
  11212. bankid:
  11213. description: 银行编号
  11214. type: string
  11215. bankname:
  11216. description: 银行名称
  11217. type: string
  11218. bankticket:
  11219. description: 银行流水
  11220. type: string
  11221. branchbankid:
  11222. description: 银行支行号
  11223. type: string
  11224. branchbankname:
  11225. description: 银行支行名称
  11226. type: string
  11227. capamountout:
  11228. description: 出金(劣后本金) - 外部子账户
  11229. type: number
  11230. certificatephotourl:
  11231. description: 凭证地址
  11232. type: string
  11233. charge:
  11234. description: 手续费
  11235. type: number
  11236. checkerrorflag:
  11237. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11238. type: integer
  11239. currency:
  11240. description: 币种
  11241. type: string
  11242. cusbankid:
  11243. description: 托管银行编号
  11244. type: string
  11245. exchticket:
  11246. description: 银行服务流水号
  11247. type: string
  11248. executetype:
  11249. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11250. 7:外部子账户:入金 8:外部子账户:出金'
  11251. type: integer
  11252. extendinfo:
  11253. description: 扩展信息
  11254. type: string
  11255. extoperateid:
  11256. description: 交易服务流水号
  11257. type: integer
  11258. infamount:
  11259. description: 劣后金额(自有)
  11260. type: number
  11261. logincode:
  11262. description: 登录账号(账号)
  11263. type: string
  11264. netaddr:
  11265. description: 调转网址
  11266. type: string
  11267. priamount:
  11268. description: 优先金额(授信)
  11269. type: number
  11270. reauditid:
  11271. description: 复审人
  11272. type: integer
  11273. reauditremark:
  11274. description: 复审备注
  11275. type: string
  11276. reaudittime:
  11277. description: 复审时间
  11278. type: string
  11279. relatedorderid:
  11280. description: 三方关联ID
  11281. type: string
  11282. remark:
  11283. description: 备注
  11284. type: string
  11285. remark2:
  11286. description: 备注(失败原因)
  11287. type: string
  11288. soucreamount:
  11289. description: 原始出入金金额
  11290. type: number
  11291. soucrecurrencyid:
  11292. description: 原始出入金币种
  11293. type: integer
  11294. tradedate:
  11295. description: 交易日(yyyyMMdd)
  11296. type: string
  11297. updatetime:
  11298. description: 更新时间(申请时间)
  11299. type: string
  11300. userid:
  11301. description: 用户id
  11302. type: integer
  11303. userinfotype:
  11304. description: 账户类型 1-个人 2-企业
  11305. type: integer
  11306. type: object
  11307. models.QhjMgrBrokerApply:
  11308. properties:
  11309. applicantid:
  11310. description: 申请人
  11311. type: integer
  11312. applysrc:
  11313. description: 申请来源 - 1:管理端 2:终端
  11314. type: integer
  11315. applystatus:
  11316. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11317. type: integer
  11318. applytime:
  11319. description: 申请时间
  11320. type: string
  11321. auditorid:
  11322. description: 审核人
  11323. type: integer
  11324. auditremark:
  11325. description: 审核备注
  11326. type: string
  11327. auditsrc:
  11328. description: 审核来源 - 1:管理端 2:终端
  11329. type: integer
  11330. audittime:
  11331. description: 审核时间
  11332. type: string
  11333. audittradedate:
  11334. description: 审核交易日(yyyyMMdd)
  11335. type: string
  11336. brokerapplyid:
  11337. description: 申请ID(SEQ_BROKERAPPLY)
  11338. type: integer
  11339. cardbackphotourl:
  11340. description: 证件背面图片地址
  11341. type: string
  11342. cardfrontphotourl:
  11343. description: 证件正面图片地址
  11344. type: string
  11345. cardnum:
  11346. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11347. type: string
  11348. customername:
  11349. description: 姓名
  11350. type: string
  11351. filterstatus:
  11352. description: 筛选条件
  11353. type: string
  11354. logincode:
  11355. description: 登录代码
  11356. type: string
  11357. mobile:
  11358. description: 手机号码
  11359. type: string
  11360. parentuserid:
  11361. description: 所属机构id
  11362. type: integer
  11363. parentusername:
  11364. description: 所属机构名称
  11365. type: string
  11366. refereeuserid:
  11367. description: 推荐人id(经纪人)
  11368. type: integer
  11369. refernum:
  11370. description: 推荐码
  11371. type: string
  11372. remark:
  11373. description: 备注
  11374. type: string
  11375. subarealevelpath:
  11376. description: 层级路径
  11377. type: string
  11378. tradedate:
  11379. description: 交易日(yyyyMMdd)
  11380. type: string
  11381. userid:
  11382. description: 申请人用户ID
  11383. type: integer
  11384. userinfotype:
  11385. description: 用户类型 1-个人 2-企业
  11386. type: integer
  11387. username:
  11388. description: 用户名称
  11389. type: string
  11390. type: object
  11391. models.QhjMgrBrokerRewardReport:
  11392. properties:
  11393. createtime:
  11394. description: 创建时间(注册时间)
  11395. type: string
  11396. cycletime:
  11397. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11398. type: string
  11399. cycletype:
  11400. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11401. type: integer
  11402. directtotalnum:
  11403. description: 直推总人数【期末】
  11404. type: integer
  11405. indirecttotalnum:
  11406. description: 间推总人数【期末】
  11407. type: integer
  11408. mobile:
  11409. description: 电话号码
  11410. type: string
  11411. refereeuserid:
  11412. description: 推荐人id(经纪人id)
  11413. type: integer
  11414. refereeusername:
  11415. description: 推荐人名称(经纪人) 上级经纪人名称
  11416. type: string
  11417. refernum:
  11418. description: 推荐码
  11419. type: string
  11420. subarealevelpath:
  11421. description: 用户层级路径
  11422. type: string
  11423. todayrewardamount:
  11424. description: 奖励总金额【汇总】
  11425. type: number
  11426. updatetime:
  11427. description: 更新时间
  11428. type: string
  11429. userid:
  11430. description: 经纪人用户ID
  11431. type: integer
  11432. userinfotype:
  11433. description: 用户类型 1-个人 2-企业
  11434. type: integer
  11435. username:
  11436. description: 用户名称
  11437. type: string
  11438. type: object
  11439. models.QhjMgrContract:
  11440. properties:
  11441. contractconfirmtime:
  11442. description: 合同确认时间(时间)
  11443. type: string
  11444. currisklevel:
  11445. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11446. type: integer
  11447. decimalplace:
  11448. description: 商品报价小数位
  11449. type: integer
  11450. enumdicname:
  11451. description: 单位名称
  11452. type: string
  11453. goodscode:
  11454. description: 商品代码
  11455. type: string
  11456. goodsid:
  11457. description: 商品ID [5:融资单]
  11458. type: integer
  11459. goodsname:
  11460. description: 商品名称
  11461. type: string
  11462. goodunitid:
  11463. description: 商品单位id
  11464. type: integer
  11465. initmargin:
  11466. description: 初始保证金(首付款)
  11467. type: number
  11468. lenderamount:
  11469. description: 贷款金额(总额|订单总额)
  11470. type: number
  11471. logincode:
  11472. description: 账号(登录代码)
  11473. type: string
  11474. marginratio:
  11475. description: 保证金比率(首付比例)
  11476. type: number
  11477. mobile:
  11478. description: 电话号码(用户资料里的电话)
  11479. type: string
  11480. payamount:
  11481. description: 已付(已付货款)
  11482. type: number
  11483. reckonrecovermargin:
  11484. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11485. type: number
  11486. recoveredmargin:
  11487. description: 已追缴保证金
  11488. type: number
  11489. remainamount:
  11490. description: 合同剩余金额(融资额)
  11491. type: number
  11492. scfcontractid:
  11493. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11494. type: string
  11495. scfcontractstatus:
  11496. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11497. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11498. type: integer
  11499. scfcontracttype:
  11500. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11501. type: integer
  11502. totalinterest:
  11503. description: 已计总利息(利息)
  11504. type: number
  11505. tradedate:
  11506. description: 交易日
  11507. type: string
  11508. tradeprice:
  11509. description: 成交价格(成本价格)
  11510. type: number
  11511. userid:
  11512. description: 用户ID
  11513. type: integer
  11514. userinfotype:
  11515. description: 用户类型 1-个人 2-企业
  11516. type: integer
  11517. username:
  11518. description: 用户名称
  11519. type: string
  11520. wrqty:
  11521. description: 仓单数量(数量)
  11522. type: number
  11523. type: object
  11524. models.QhjMgrCustomer:
  11525. properties:
  11526. address:
  11527. description: 通讯地址
  11528. type: string
  11529. attachment1:
  11530. description: 附件1
  11531. type: string
  11532. audittime:
  11533. description: 审核时间
  11534. type: string
  11535. birthday:
  11536. description: 生日
  11537. type: string
  11538. brokerid:
  11539. description: 所属客户经理id
  11540. type: integer
  11541. brokername:
  11542. description: 所属客户经理名称
  11543. type: string
  11544. cardbackphotourl:
  11545. description: 证件反面图片地址
  11546. type: string
  11547. cardfrontphotourl:
  11548. description: 证件正面图片地址
  11549. type: string
  11550. cardnum:
  11551. description: 证件号码
  11552. type: string
  11553. cardtype:
  11554. description: 证件类型
  11555. type: integer
  11556. cardtypename:
  11557. description: 证件类型名称
  11558. type: string
  11559. cityid:
  11560. description: 市
  11561. type: integer
  11562. cityname:
  11563. description: 城市名称
  11564. type: string
  11565. contactname:
  11566. description: 联系人
  11567. type: string
  11568. countryid:
  11569. description: 国家
  11570. type: integer
  11571. countryname:
  11572. description: 国家名称
  11573. type: string
  11574. createtime:
  11575. description: 创建时间
  11576. type: string
  11577. customername:
  11578. description: 客户名称
  11579. type: string
  11580. districtid:
  11581. description: 区域
  11582. type: integer
  11583. districtname:
  11584. description: 地区名称
  11585. type: string
  11586. email:
  11587. description: 邮件
  11588. type: string
  11589. legalpersonname:
  11590. description: 法人姓名(企业)
  11591. type: string
  11592. logincode:
  11593. description: 登录账号(代码)
  11594. type: string
  11595. memberuserid:
  11596. description: 所属机构ID(所属会员)
  11597. type: integer
  11598. memberusername:
  11599. description: 所属会员名称
  11600. type: string
  11601. mobile:
  11602. description: 手机号码
  11603. type: string
  11604. modifytime:
  11605. description: 修改时间
  11606. type: string
  11607. nickname:
  11608. description: 昵称
  11609. type: string
  11610. parentuserid:
  11611. description: 上级机构(所属机构)
  11612. type: integer
  11613. parentusername:
  11614. description: 所属机构名称
  11615. type: string
  11616. provinceid:
  11617. description: 省
  11618. type: integer
  11619. provincename:
  11620. description: 省名称
  11621. type: string
  11622. proxystatementurl:
  11623. description: 授权委托书
  11624. type: string
  11625. querytype:
  11626. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11627. type: integer
  11628. remark:
  11629. description: 备注
  11630. type: string
  11631. sex:
  11632. description: 性别 0-女 1-男
  11633. type: integer
  11634. status:
  11635. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11636. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11637. type: integer
  11638. statusdesc:
  11639. description: 账户状态中文描述
  11640. type: string
  11641. taxpayernum:
  11642. description: 纳税人识别号
  11643. type: string
  11644. telphone:
  11645. description: 联系电话
  11646. type: string
  11647. userid:
  11648. description: 用户ID
  11649. type: integer
  11650. userinfotype:
  11651. description: 客户类型 1-个人 2-企业
  11652. type: integer
  11653. username:
  11654. description: 用户名称
  11655. type: string
  11656. type: object
  11657. models.QhjMgrPickGoods:
  11658. properties:
  11659. enumdicname:
  11660. description: 单位名称(提货商品)
  11661. type: string
  11662. goodsid:
  11663. description: 商品id
  11664. type: integer
  11665. imageaddress:
  11666. description: 图片
  11667. type: string
  11668. modifierid:
  11669. description: 修改人
  11670. type: integer
  11671. modifiername:
  11672. description: 修改人名称
  11673. type: string
  11674. modifysrc:
  11675. description: 修改来源 - 1:管理端 2:终端
  11676. type: integer
  11677. pickupgoodsagreeunit:
  11678. description: 合约乘数
  11679. type: number
  11680. pickupgoodsdesc:
  11681. description: 描述
  11682. type: string
  11683. pickupgoodsid:
  11684. description: 提货商品ID
  11685. type: string
  11686. pickupgoodsname:
  11687. description: 提货商品名称
  11688. type: string
  11689. pickupgoodsstatus:
  11690. description: 状态 - 1:正常 2:停用 3:注销
  11691. type: integer
  11692. pickupgoodsunitid:
  11693. description: 单位ID
  11694. type: integer
  11695. pickupratio:
  11696. description: 提货系数
  11697. type: number
  11698. preparedays:
  11699. description: 备货期(天)
  11700. type: integer
  11701. remark:
  11702. description: 备注
  11703. type: string
  11704. updatetime:
  11705. description: 更新时间
  11706. type: string
  11707. type: object
  11708. models.QhjMgrPositionRsp:
  11709. properties:
  11710. accountid:
  11711. description: 账号Id
  11712. type: integer
  11713. accountname:
  11714. description: 用户名称
  11715. type: string
  11716. agreeunit:
  11717. description: 合约乘数
  11718. type: number
  11719. averageprice:
  11720. description: 均价
  11721. type: number
  11722. avialqty:
  11723. description: 可用数量
  11724. type: number
  11725. decimalplace:
  11726. description: 报价小数位
  11727. type: integer
  11728. enumdicname:
  11729. description: 单位名称(商品)
  11730. type: string
  11731. frozenqty:
  11732. description: 冻结数量
  11733. type: number
  11734. goodscode:
  11735. description: 商品代码(内部)
  11736. type: string
  11737. goodsid:
  11738. description: 商品Id
  11739. type: integer
  11740. goodsname:
  11741. description: 商品名称
  11742. type: string
  11743. goodunitid:
  11744. description: 报价单位ID
  11745. type: integer
  11746. holderamount:
  11747. description: 金额
  11748. type: number
  11749. holderqty:
  11750. description: 持有数量
  11751. type: number
  11752. holdertype:
  11753. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11754. type: integer
  11755. logincode:
  11756. description: 登录代码(账户)
  11757. type: string
  11758. marketid:
  11759. description: 市场id
  11760. type: integer
  11761. qtydecimalplace:
  11762. description: 成交量小数位
  11763. type: integer
  11764. trademode:
  11765. description: 交易模式
  11766. type: integer
  11767. userid:
  11768. description: 用户id
  11769. type: integer
  11770. userinfotype:
  11771. description: 账户类型 1-个人 2-企业
  11772. type: integer
  11773. type: object
  11774. models.QhjMgrSubArea:
  11775. properties:
  11776. accountname:
  11777. description: 账户名称(机构名称)
  11778. type: string
  11779. memberuserid:
  11780. description: 所属会员ID
  11781. type: integer
  11782. parenttopuser:
  11783. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11784. type: string
  11785. parentuserid:
  11786. description: 所属机构ID
  11787. type: integer
  11788. rootuserid:
  11789. description: 根用户ID
  11790. type: string
  11791. subaccountlevel:
  11792. description: 子账户层数
  11793. type: integer
  11794. subarealevelpath:
  11795. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11796. type: string
  11797. userid:
  11798. description: 用户ID
  11799. type: integer
  11800. usertype:
  11801. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11802. type: integer
  11803. type: object
  11804. models.QhjMgrTradeDetailRsp:
  11805. properties:
  11806. accountid:
  11807. description: 资金账号
  11808. type: integer
  11809. accountname:
  11810. description: 用户名称
  11811. type: string
  11812. agreeunit:
  11813. description: 合约乘数
  11814. type: number
  11815. buyorsell:
  11816. description: 成交类型(方向) 0:买 1:卖
  11817. type: integer
  11818. decimalplace:
  11819. description: 报价小数位
  11820. type: integer
  11821. enumdicname:
  11822. description: 单位名称(商品)
  11823. type: string
  11824. goodscode:
  11825. description: 商品代码(内部)
  11826. type: string
  11827. goodsid:
  11828. description: 商品id
  11829. type: integer
  11830. goodsname:
  11831. description: 商品名称
  11832. type: string
  11833. goodunitid:
  11834. description: 报价单位ID
  11835. type: integer
  11836. logincode:
  11837. description: 登录代码(账户)
  11838. type: string
  11839. marketid:
  11840. description: 市场id
  11841. type: integer
  11842. orderid:
  11843. description: 关联委托单号
  11844. type: string
  11845. qtydecimalplace:
  11846. description: 成交量小数位
  11847. type: integer
  11848. tradeamount:
  11849. description: 金额
  11850. type: number
  11851. tradedate:
  11852. description: 交易日
  11853. type: string
  11854. tradeid:
  11855. description: 成交单号
  11856. type: string
  11857. trademode:
  11858. description: 交易模式
  11859. type: integer
  11860. tradeprice:
  11861. description: 价格
  11862. type: number
  11863. tradeqty:
  11864. description: 数量
  11865. type: number
  11866. tradetime:
  11867. description: 成交时间
  11868. type: string
  11869. userid:
  11870. description: 用户id
  11871. type: integer
  11872. userinfotype:
  11873. description: 账户类型 1-个人 2-企业
  11874. type: integer
  11875. type: object
  11876. models.QhjMgrTradeOrderDetailRsp:
  11877. properties:
  11878. accountid:
  11879. description: 资金账号
  11880. type: integer
  11881. accountname:
  11882. description: 用户名称
  11883. type: string
  11884. agreeunit:
  11885. description: 合约乘数
  11886. type: number
  11887. amount:
  11888. description: 金额
  11889. type: number
  11890. decimalplace:
  11891. description: 报价小数位
  11892. type: integer
  11893. enumdicname:
  11894. description: 单位名称(商品)
  11895. type: string
  11896. goodscode:
  11897. description: 商品代码(内部)
  11898. type: string
  11899. goodsid:
  11900. description: 商品id
  11901. type: integer
  11902. goodsname:
  11903. description: 商品名称
  11904. type: string
  11905. goodunitid:
  11906. description: 报价单位ID
  11907. type: integer
  11908. logincode:
  11909. description: 登录代码(账户)
  11910. type: string
  11911. marketid:
  11912. description: 市场id
  11913. type: integer
  11914. orderid:
  11915. description: 关联委托单号
  11916. type: string
  11917. orderprice:
  11918. description: 价格
  11919. type: number
  11920. orderqty:
  11921. description: 数量
  11922. type: number
  11923. orderstatus:
  11924. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11925. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11926. 16:成交失败违约(荷兰式竞拍专用)
  11927. type: integer
  11928. ordertime:
  11929. description: 委托时间
  11930. type: string
  11931. qtydecimalplace:
  11932. description: 成交量小数位
  11933. type: integer
  11934. tradedate:
  11935. description: 交易日
  11936. type: string
  11937. trademode:
  11938. description: 交易模式
  11939. type: integer
  11940. userid:
  11941. description: 用户id
  11942. type: integer
  11943. userinfotype:
  11944. description: 账户类型 1-个人 2-企业
  11945. type: integer
  11946. type: object
  11947. models.QhjMgrTradePayOrder:
  11948. properties:
  11949. accountname:
  11950. description: 用户名称
  11951. type: string
  11952. advanceratio:
  11953. description: 首付比率
  11954. type: number
  11955. agreeunit:
  11956. description: 合约乘数
  11957. type: number
  11958. buyaccountid:
  11959. description: 买方账号ID[报价币种]
  11960. type: integer
  11961. buyorderid:
  11962. description: 买方委托单号(关联单号)
  11963. type: string
  11964. createtime:
  11965. description: 创建时间
  11966. type: string
  11967. decimalplace:
  11968. description: 报价小数位
  11969. type: integer
  11970. enumdicname:
  11971. description: 单位名称(商品)
  11972. type: string
  11973. goodscode:
  11974. description: 商品代码(内部)
  11975. type: string
  11976. goodsid:
  11977. description: 商品ID
  11978. type: integer
  11979. goodsname:
  11980. description: 商品名称
  11981. type: string
  11982. goodunitid:
  11983. description: 报价单位ID
  11984. type: integer
  11985. logincode:
  11986. description: 登录代码(账户)
  11987. type: string
  11988. marketid:
  11989. description: 市场id
  11990. type: integer
  11991. offamount:
  11992. description: 优惠金额
  11993. type: number
  11994. operatetype:
  11995. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11996. type: integer
  11997. payamount:
  11998. description: 支付金额(金额)
  11999. type: number
  12000. payflag:
  12001. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12002. type: integer
  12003. paylimitedtime:
  12004. description: 支付期限
  12005. type: string
  12006. paytime:
  12007. description: 付款时间
  12008. type: string
  12009. qtydecimalplace:
  12010. description: 成交量小数位
  12011. type: integer
  12012. sellaccountid:
  12013. description: 卖方账号ID[报价币种]
  12014. type: integer
  12015. sellorderid:
  12016. description: 卖方委托单号
  12017. type: string
  12018. tradeamount:
  12019. description: 成交金额(优惠后金额)
  12020. type: number
  12021. tradecharge:
  12022. description: 成交手续费(买方)
  12023. type: number
  12024. tradedate:
  12025. description: 交易日(yyyyMMdd)
  12026. type: string
  12027. tradeid:
  12028. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12029. type: string
  12030. trademode:
  12031. description: 交易模式
  12032. type: integer
  12033. tradeprice:
  12034. description: 成交价格(价格)
  12035. type: number
  12036. tradeqty:
  12037. description: 成交数量(数量)
  12038. type: number
  12039. tradetime:
  12040. description: 成交时间
  12041. type: string
  12042. userid:
  12043. description: 用户id
  12044. type: integer
  12045. userinfotype:
  12046. description: 账户类型 1-个人 2-企业
  12047. type: integer
  12048. type: object
  12049. models.QhjMyTeamEx:
  12050. properties:
  12051. accountname:
  12052. description: 用户名称
  12053. type: string
  12054. accountstatus:
  12055. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12056. type: integer
  12057. createtime:
  12058. description: 创建时间
  12059. type: string
  12060. mobile:
  12061. description: 手机号码
  12062. type: string
  12063. refereeuserid:
  12064. description: 推荐人id
  12065. type: integer
  12066. refernum:
  12067. description: 推荐码
  12068. type: string
  12069. subList:
  12070. items:
  12071. $ref: '#/definitions/models.QhjMyTeamEx'
  12072. type: array
  12073. userid:
  12074. description: 用户id
  12075. type: integer
  12076. userinfotype:
  12077. description: 用户类型 1-个人 2-企业
  12078. type: integer
  12079. type: object
  12080. models.QhjNodeAgreementConfig:
  12081. properties:
  12082. agreementcontent:
  12083. description: 协议内容
  12084. type: string
  12085. agreementid:
  12086. description: 协议ID
  12087. type: integer
  12088. agreementname:
  12089. description: 协议名称
  12090. type: string
  12091. agreementno:
  12092. description: 协议编号
  12093. type: string
  12094. agreementtype:
  12095. description: 协议类型 - 1:注册 2:登录 3:交易
  12096. type: integer
  12097. agreementversion:
  12098. description: 协议版本号
  12099. type: integer
  12100. configid:
  12101. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12102. type: integer
  12103. createtime:
  12104. description: 创建时间
  12105. type: string
  12106. goodsid:
  12107. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12108. type: integer
  12109. nodetype:
  12110. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12111. type: integer
  12112. type: object
  12113. models.QhjParentAreaList:
  12114. properties:
  12115. accountname:
  12116. description: 账户名称(机构名称)
  12117. type: string
  12118. userid:
  12119. description: 用户ID
  12120. type: integer
  12121. usertype:
  12122. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12123. type: integer
  12124. type: object
  12125. models.QhjPayOrder:
  12126. properties:
  12127. advanceratio:
  12128. description: 首付比率
  12129. type: number
  12130. buyaccountid:
  12131. description: 买方账号ID[报价币种]
  12132. type: integer
  12133. buyorderid:
  12134. description: 买方委托单号
  12135. type: string
  12136. createtime:
  12137. description: 创建时间
  12138. type: string
  12139. decimalplace:
  12140. description: 商品报价小数位
  12141. type: integer
  12142. enumdicname:
  12143. description: 单位名称
  12144. type: string
  12145. goodscode:
  12146. description: 商品代码
  12147. type: string
  12148. goodsid:
  12149. description: 商品ID
  12150. type: integer
  12151. goodsname:
  12152. description: 商品名称
  12153. type: string
  12154. goodunitid:
  12155. description: 商品单位id
  12156. type: integer
  12157. marketid:
  12158. description: 市场ID
  12159. type: integer
  12160. offamount:
  12161. description: 优惠金额
  12162. type: number
  12163. operatetype:
  12164. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12165. type: integer
  12166. payamount:
  12167. description: 支付金额
  12168. type: number
  12169. payflag:
  12170. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12171. type: integer
  12172. paylimitedtime:
  12173. description: 支付期限
  12174. type: string
  12175. paytime:
  12176. description: 付款时间
  12177. type: string
  12178. qtydecimalplace:
  12179. description: 成交量小数位
  12180. type: integer
  12181. sellaccountid:
  12182. description: 卖方账号ID[报价币种]
  12183. type: integer
  12184. sellorderid:
  12185. description: 卖方委托单号
  12186. type: string
  12187. tradeamount:
  12188. description: 成交金额(优惠后金额)
  12189. type: number
  12190. tradecharge:
  12191. description: 成交手续费(买方)
  12192. type: number
  12193. tradedate:
  12194. description: 交易日(yyyyMMdd)
  12195. type: string
  12196. tradeid:
  12197. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12198. type: string
  12199. tradeprice:
  12200. description: 成交价格
  12201. type: number
  12202. tradeqty:
  12203. description: 成交数量
  12204. type: number
  12205. type: object
  12206. models.QhjPickArea:
  12207. properties:
  12208. address:
  12209. description: 详细地址
  12210. type: string
  12211. cityid:
  12212. description: 市
  12213. type: integer
  12214. cityname:
  12215. description: 城市名称
  12216. type: string
  12217. countryid:
  12218. description: 国家
  12219. type: integer
  12220. countryname:
  12221. description: 国家名称
  12222. type: string
  12223. districtid:
  12224. description: 地区
  12225. type: integer
  12226. districtname:
  12227. description: 地区名称
  12228. type: string
  12229. fromuserid:
  12230. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12231. type: integer
  12232. fromusername:
  12233. description: 所属机构名称
  12234. type: string
  12235. provinceid:
  12236. description: 省
  12237. type: integer
  12238. provincename:
  12239. description: 省名称
  12240. type: string
  12241. suborgtype:
  12242. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12243. type: integer
  12244. userid:
  12245. description: 机构用户ID 其他做市关系,都设置为 1
  12246. type: integer
  12247. username:
  12248. description: 机构用户名称(门店门称)
  12249. type: string
  12250. type: object
  12251. models.QhjPickGoods:
  12252. properties:
  12253. enumdicname:
  12254. description: 单位名称(提货商品)
  12255. type: string
  12256. goodsid:
  12257. description: 商品id
  12258. type: integer
  12259. imageaddress:
  12260. description: 图片
  12261. type: string
  12262. modifierid:
  12263. description: 修改人
  12264. type: integer
  12265. modifiername:
  12266. description: 修改人名称
  12267. type: string
  12268. modifysrc:
  12269. description: 修改来源 - 1:管理端 2:终端
  12270. type: integer
  12271. pickupgoodsagreeunit:
  12272. description: 合约乘数
  12273. type: number
  12274. pickupgoodsdesc:
  12275. description: 描述
  12276. type: string
  12277. pickupgoodsid:
  12278. description: 提货商品ID
  12279. type: string
  12280. pickupgoodsname:
  12281. description: 提货商品名称
  12282. type: string
  12283. pickupgoodsstatus:
  12284. description: 状态 - 1:正常 2:停用 3:注销
  12285. type: integer
  12286. pickupgoodsunitid:
  12287. description: 单位ID
  12288. type: integer
  12289. pickupratio:
  12290. description: 提货系数
  12291. type: number
  12292. preparedays:
  12293. description: 备货期(天)
  12294. type: integer
  12295. remark:
  12296. description: 备注
  12297. type: string
  12298. updatetime:
  12299. description: 更新时间
  12300. type: string
  12301. type: object
  12302. models.QhjRSTriggerLog:
  12303. properties:
  12304. accountid:
  12305. description: 用户资金账户
  12306. type: integer
  12307. accountname:
  12308. description: 账号名称(ACCOUNTID对应的名称)
  12309. type: string
  12310. currencyid:
  12311. description: 币种id
  12312. type: integer
  12313. currencyname:
  12314. description: 币种名称
  12315. type: string
  12316. decimalplace:
  12317. description: 商品报价小数位
  12318. type: integer
  12319. enumdicname:
  12320. description: 单位名称
  12321. type: string
  12322. goodscode:
  12323. description: 定投商品代码
  12324. type: string
  12325. goodsid:
  12326. description: 定投商品ID
  12327. type: integer
  12328. goodsname:
  12329. description: 定投商品名称
  12330. type: string
  12331. goodunitid:
  12332. description: 定投商品单位id
  12333. type: integer
  12334. logid:
  12335. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12336. type: string
  12337. logincode:
  12338. description: 账号(登录代码)
  12339. type: string
  12340. qtydecimalplace:
  12341. description: 成交量小数位
  12342. type: integer
  12343. regularlycycle:
  12344. description: 定投频率 - 1:每周 2:每月
  12345. type: integer
  12346. regularlycyclevalue:
  12347. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12348. type: string
  12349. regularlymode:
  12350. description: 定投方式 - 1:按数量 2:按金额
  12351. type: integer
  12352. regularlymodevalue:
  12353. description: 定投方式值 - 数量或金额
  12354. type: number
  12355. regularlystrategyid:
  12356. description: 定投策略ID
  12357. type: integer
  12358. retcode:
  12359. description: 错误码
  12360. type: string
  12361. tradeid:
  12362. description: 成交单ID
  12363. type: string
  12364. triggeramount:
  12365. description: 触发金额
  12366. type: number
  12367. triggerqty:
  12368. description: 触发数量
  12369. type: number
  12370. triggerstatus:
  12371. description: 触发状态 - 1:成功 2:失败
  12372. type: integer
  12373. triggertime:
  12374. description: 触发时间
  12375. type: string
  12376. triggertradedate:
  12377. description: 触发交易日
  12378. type: string
  12379. userid:
  12380. description: 所属用户ID
  12381. type: integer
  12382. userinfotype:
  12383. description: 用户类型 1-个人 2-企业
  12384. type: integer
  12385. username:
  12386. description: 用户名称(userid对应的名称)
  12387. type: string
  12388. type: object
  12389. models.QhjRStrategy:
  12390. properties:
  12391. accountid:
  12392. description: 用户资金账户
  12393. type: integer
  12394. accountname:
  12395. description: 账号名称(ACCOUNTID对应的名称)
  12396. type: string
  12397. currencyid:
  12398. description: 币种id
  12399. type: integer
  12400. currencyname:
  12401. description: 币种名称
  12402. type: string
  12403. decimalplace:
  12404. description: 商品报价小数位
  12405. type: integer
  12406. enumdicname:
  12407. description: 单位名称
  12408. type: string
  12409. goodscode:
  12410. description: 定投商品代码
  12411. type: string
  12412. goodsid:
  12413. description: 定投商品ID
  12414. type: integer
  12415. goodsname:
  12416. description: 定投商品名称
  12417. type: string
  12418. goodunitid:
  12419. description: 定投商品单位id
  12420. type: integer
  12421. lasteffecttradedate:
  12422. description: 最新生效交易日
  12423. type: string
  12424. laststoptradedate:
  12425. description: 最新暂停交易日
  12426. type: string
  12427. lasttriggertradedate:
  12428. description: 最新触发交易日
  12429. type: string
  12430. logincode:
  12431. description: 账号(登录代码)
  12432. type: string
  12433. nexttriggeramount:
  12434. description: 下次触发金额
  12435. type: number
  12436. nexttriggerdate:
  12437. description: 下次触发日期
  12438. type: string
  12439. nexttriggerqty:
  12440. description: 下次触发数量 [按小数位放大值]
  12441. type: number
  12442. qtydecimalplace:
  12443. description: 成交量小数位
  12444. type: integer
  12445. regularlycycle:
  12446. description: 定投频率 - 1:每周 2:每月
  12447. type: integer
  12448. regularlycyclevalue:
  12449. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12450. type: string
  12451. regularlymode:
  12452. description: 定投方式 - 1:按数量 2:按金额
  12453. type: integer
  12454. regularlymodevalue:
  12455. description: 定投方式值 - 数量或金额
  12456. type: number
  12457. regularlystrategyid:
  12458. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12459. type: integer
  12460. regularlystrategystatus:
  12461. description: 策略状态 - 1:正常 2:暂停 3:终止
  12462. type: integer
  12463. remark:
  12464. description: 备注
  12465. type: string
  12466. triggersuccesstimes:
  12467. description: 累计定投成功次数
  12468. type: string
  12469. triggertotalamount:
  12470. description: 累计定投金额(成功)
  12471. type: number
  12472. triggertotalqty:
  12473. description: 累计定投数量(成功) [按小数位放大值]
  12474. type: number
  12475. triggertotaltimes:
  12476. description: 累计定投总次数
  12477. type: string
  12478. updatesrc:
  12479. description: 更新来源 - 1:管理端 2:终端
  12480. type: integer
  12481. updatetime:
  12482. description: 更新时间
  12483. type: string
  12484. updatorid:
  12485. description: 更新人
  12486. type: string
  12487. userid:
  12488. description: 所属用户ID
  12489. type: integer
  12490. userinfotype:
  12491. description: 用户类型 1-个人 2-企业
  12492. type: integer
  12493. username:
  12494. description: 用户名称(userid对应的名称)
  12495. type: string
  12496. type: object
  12497. models.QhjReckonPriceLog:
  12498. properties:
  12499. decimalplace:
  12500. description: 商品报价小数位
  12501. type: integer
  12502. goodscode:
  12503. description: 商品代码
  12504. type: string
  12505. goodsid:
  12506. description: 商品ID
  12507. type: integer
  12508. goodsname:
  12509. description: 商品名称
  12510. type: string
  12511. lastreckonprice:
  12512. description: 上日结算价
  12513. type: number
  12514. nextdnlimitprice:
  12515. description: 下个交易日跌停价
  12516. type: number
  12517. nexttrade:
  12518. description: 下个交易日
  12519. type: string
  12520. nextuplimitprice:
  12521. description: 下个交易日涨停价
  12522. type: number
  12523. reckonprice:
  12524. description: 今日结算价(定投价)
  12525. type: number
  12526. reckontime:
  12527. description: 结算时间
  12528. type: string
  12529. totalholderqty:
  12530. description: 总持仓数
  12531. type: integer
  12532. totalstock:
  12533. description: 总库存
  12534. type: integer
  12535. tradedate:
  12536. description: 交易日
  12537. type: string
  12538. updowncount:
  12539. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12540. type: integer
  12541. updownflag:
  12542. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12543. type: integer
  12544. updownrate:
  12545. description: 今日涨跌幅
  12546. type: number
  12547. updownrate_2d:
  12548. description: 连续两日涨跌幅
  12549. type: number
  12550. updownrate_3d:
  12551. description: 连续三日涨跌幅
  12552. type: number
  12553. type: object
  12554. models.QhjScoreLog:
  12555. properties:
  12556. accountid:
  12557. description: 账户ID
  12558. type: integer
  12559. createtime:
  12560. description: 创建时间(时间)
  12561. type: string
  12562. goodsid:
  12563. description: 商品ID
  12564. type: integer
  12565. hasuploaded:
  12566. description: 是否已同步(千海金) 0:未同步 1;已同步
  12567. type: integer
  12568. logid:
  12569. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12570. type: string
  12571. marketid:
  12572. description: 市场ID
  12573. type: integer
  12574. relatedamount:
  12575. description: 关联金额
  12576. type: number
  12577. relatedorderid:
  12578. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12579. type: string
  12580. scoreconfigvalue1:
  12581. description: 积分配置1
  12582. type: integer
  12583. scoreconfigvalue2:
  12584. description: 积分配置1
  12585. type: integer
  12586. scoretype:
  12587. description: 积分类型 - 1:提货积分
  12588. type: integer
  12589. scorevalue:
  12590. description: 积分
  12591. type: number
  12592. tradedate:
  12593. description: 交易日(yyyyMMdd)
  12594. type: string
  12595. uploadedtime:
  12596. description: 同步时间
  12597. type: string
  12598. userid:
  12599. description: 用户ID
  12600. type: integer
  12601. type: object
  12602. models.QhjSiteColumnDetail:
  12603. properties:
  12604. author:
  12605. description: 作者
  12606. type: string
  12607. brief:
  12608. description: 简介
  12609. type: string
  12610. columnid:
  12611. description: 所属栏目
  12612. type: integer
  12613. context:
  12614. description: 内容
  12615. type: string
  12616. coverimage:
  12617. description: 封面图片
  12618. type: string
  12619. creaedate:
  12620. description: 创建时间
  12621. type: string
  12622. creatorid:
  12623. description: 创建人
  12624. type: integer
  12625. hits:
  12626. description: 点击数
  12627. type: integer
  12628. id:
  12629. description: ID(SEQ_SITE_COLUMNDETAIL)
  12630. type: integer
  12631. isshow:
  12632. description: 是否展示 - 0:不展示 1:展示
  12633. type: integer
  12634. istop:
  12635. description: 是否置顶 - 0:不置 1:置顶
  12636. type: integer
  12637. modifierid:
  12638. description: 操作人
  12639. type: integer
  12640. publishdate:
  12641. description: 发布日期
  12642. type: string
  12643. status:
  12644. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12645. type: integer
  12646. title:
  12647. description: 标题
  12648. type: string
  12649. updatedate:
  12650. description: 修改时间
  12651. type: string
  12652. userid:
  12653. description: 用户ID(默认为0, 核心为为机构用户ID)
  12654. type: integer
  12655. username:
  12656. description: 用户名称
  12657. type: string
  12658. type: object
  12659. models.QhjTeamOrder:
  12660. properties:
  12661. accountid:
  12662. description: 账户ID[报价币种]
  12663. type: integer
  12664. accountname:
  12665. description: 账户名称
  12666. type: string
  12667. agreeunit:
  12668. description: 合约乘数
  12669. type: number
  12670. buyorsell:
  12671. description: 方向 - 0:买 1:卖
  12672. type: integer
  12673. decimalplace:
  12674. description: 报价小数位
  12675. type: integer
  12676. enumdicname:
  12677. description: 单位名称
  12678. type: string
  12679. goodscode:
  12680. description: 商品代码(内部)
  12681. type: string
  12682. goodsid:
  12683. description: 商品ID
  12684. type: integer
  12685. goodsname:
  12686. description: 商品名称
  12687. type: string
  12688. goodunitid:
  12689. description: 报价单位ID
  12690. type: integer
  12691. marketid:
  12692. description: 市场ID
  12693. type: integer
  12694. marketname:
  12695. description: 市场名称
  12696. type: string
  12697. qtydecimalplace:
  12698. description: 成交量小数位
  12699. type: integer
  12700. refereeuserid:
  12701. description: 推荐人ID
  12702. type: integer
  12703. tradeamount:
  12704. description: 成交金额[账户币种,用于所有权]
  12705. type: number
  12706. tradedate:
  12707. description: 交易日(yyyyMMdd)
  12708. type: string
  12709. trademode:
  12710. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12711. 21:竞拍-大宗式 22:受托竞价
  12712. type: integer
  12713. tradeprice:
  12714. description: 成交价格
  12715. type: number
  12716. tradeqty:
  12717. description: 成交数量
  12718. type: number
  12719. tradetime:
  12720. description: 成交时间
  12721. type: string
  12722. userid:
  12723. description: 用户ID
  12724. type: integer
  12725. type: object
  12726. models.QhjTradeGoodsPickup:
  12727. properties:
  12728. accountid:
  12729. description: 账户ID
  12730. type: integer
  12731. address:
  12732. description: 提货人详细地址
  12733. type: string
  12734. amount:
  12735. description: 提货金额
  12736. type: number
  12737. artradedate:
  12738. description: 自动收货交易日(yyyyMMdd)
  12739. type: string
  12740. auditer:
  12741. description: 审核人
  12742. type: integer
  12743. auditsrc:
  12744. description: 更新来源 - 1:管理端 2:终端
  12745. type: integer
  12746. audittime:
  12747. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12748. type: string
  12749. audittradedate:
  12750. description: 审核交易日(yyyyMMdd)
  12751. type: string
  12752. cardnum:
  12753. description: 提货人证件号码
  12754. type: string
  12755. cardtypeid:
  12756. description: 提货人证件类型
  12757. type: integer
  12758. checkremark:
  12759. description: 审核备注
  12760. type: string
  12761. cityid:
  12762. description: 市
  12763. type: integer
  12764. cityname:
  12765. description: 城市名称
  12766. type: string
  12767. confirmtime:
  12768. description: 取货时间 或 收货时间
  12769. type: string
  12770. countryid:
  12771. description: 国家
  12772. type: integer
  12773. countryname:
  12774. description: 国家名称
  12775. type: string
  12776. decimalplace:
  12777. description: 商品报价小数位
  12778. type: integer
  12779. districtid:
  12780. description: 地区
  12781. type: integer
  12782. districtname:
  12783. description: 地区名称
  12784. type: string
  12785. enumdicname:
  12786. description: 单位名称(提货商品)
  12787. type: string
  12788. expresscompany:
  12789. description: 物流公司
  12790. type: string
  12791. expressnum:
  12792. description: 物流单号
  12793. type: string
  12794. goodsagreeunit:
  12795. description: 交易商品乘数
  12796. type: number
  12797. goodscode:
  12798. description: 商品代码
  12799. type: string
  12800. goodsid:
  12801. description: 商品ID
  12802. type: integer
  12803. goodsname:
  12804. description: 商品名称
  12805. type: string
  12806. goodsqty:
  12807. description: 交易商品手数(69模式按成交量小数位放大取整)
  12808. type: number
  12809. handlestatus:
  12810. description: 处理状态
  12811. type: integer
  12812. logincode:
  12813. description: 账号(登录代码, 有可能为空)
  12814. type: string
  12815. marketid:
  12816. description: 市场ID
  12817. type: integer
  12818. phonenum:
  12819. description: 提货人联系方式
  12820. type: string
  12821. pickupgoodsagreeunit:
  12822. description: 提货商品合约乘数
  12823. type: number
  12824. pickupgoodsid:
  12825. description: 提货商品ID
  12826. type: string
  12827. pickupgoodsname:
  12828. description: 提货商品名称
  12829. type: string
  12830. pickupgoodsqty:
  12831. description: 提货商品手数(数量)
  12832. type: number
  12833. pickupgoodsunitid:
  12834. description: 单位ID(提货商品)
  12835. type: integer
  12836. pickupratio:
  12837. description: 提货系数
  12838. type: number
  12839. preparedays:
  12840. description: 备货期(天)-提货单明细表
  12841. type: integer
  12842. provinceid:
  12843. description: 省
  12844. type: integer
  12845. provincename:
  12846. description: 省名称
  12847. type: string
  12848. qty:
  12849. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12850. type: number
  12851. qtydecimalplace:
  12852. description: 商品数量小数位
  12853. type: integer
  12854. recivername:
  12855. description: 提货人姓名
  12856. type: string
  12857. reqtime:
  12858. description: 提货申请时间
  12859. type: string
  12860. storeuserid:
  12861. description: 门店用户ID (千海金)
  12862. type: integer
  12863. storeusername:
  12864. description: 门店用户名称
  12865. type: string
  12866. takemode:
  12867. description: 提货方式 - 2:自提 3:配送(邮寄)
  12868. type: integer
  12869. takeorderid:
  12870. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12871. type: string
  12872. takeorderstatus:
  12873. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12874. 7:已拒绝 8:已撤销
  12875. type: integer
  12876. takeremark:
  12877. description: 提货备注
  12878. type: string
  12879. tradedate:
  12880. description: 交易日(yyyyMMdd)
  12881. type: string
  12882. updatetime:
  12883. description: 更新时间
  12884. type: string
  12885. userid:
  12886. description: 用户ID
  12887. type: integer
  12888. userinfotype:
  12889. description: 客户类型 1-个人 2-企业
  12890. type: integer
  12891. username:
  12892. description: 用户名称
  12893. type: string
  12894. type: object
  12895. models.QhjUserNodeCfgAndStatus:
  12896. properties:
  12897. agreementcontent:
  12898. description: 协议内容
  12899. type: string
  12900. agreementid:
  12901. description: 协议ID
  12902. type: integer
  12903. agreementname:
  12904. description: 协议名称
  12905. type: string
  12906. agreementno:
  12907. description: 协议编号
  12908. type: string
  12909. agreementtype:
  12910. description: 协议类型 - 1:注册 2:登录 3:交易
  12911. type: integer
  12912. agreementversion:
  12913. description: 协议版本号
  12914. type: integer
  12915. configid:
  12916. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12917. type: integer
  12918. createtime:
  12919. description: 创建时间
  12920. type: string
  12921. goodsid:
  12922. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12923. type: integer
  12924. nodetype:
  12925. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12926. type: integer
  12927. signtimestamp:
  12928. description: 签约状态时间戳(最近一次)
  12929. type: string
  12930. tradedate:
  12931. description: 签约交易日(yyyyMMdd)
  12932. type: string
  12933. userid:
  12934. description: 客户ID
  12935. type: integer
  12936. type: object
  12937. models.Qhjgoodsex:
  12938. properties:
  12939. canfinance:
  12940. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12941. type: integer
  12942. canregularlybuy:
  12943. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12944. type: integer
  12945. defaulttradeuserid:
  12946. description: 默认交易用户ID
  12947. type: integer
  12948. deliverygoodsid:
  12949. description: 现货品种ID
  12950. type: integer
  12951. goodsid:
  12952. description: 商品ID(自增ID SEQ_GOODS)
  12953. type: integer
  12954. minamount:
  12955. description: 最小购买金额
  12956. type: number
  12957. regularlybuyminamount:
  12958. description: 定投最小金额
  12959. type: number
  12960. regularlybuyminqty:
  12961. description: 定投最小数量
  12962. type: number
  12963. spotgoodsbrandid:
  12964. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12965. type: integer
  12966. visibilityforenterprise:
  12967. description: 企业客户是否可见 - 0:不可见 1:可见
  12968. type: integer
  12969. visibilityforpersonal:
  12970. description: 个人客户是否可见 - 0:不可见 1:可见
  12971. type: integer
  12972. wrstandardid:
  12973. description: 现货商品ID
  12974. type: integer
  12975. type: object
  12976. models.QueryErrorInfosRsp:
  12977. properties:
  12978. description:
  12979. description: 异常描述
  12980. type: string
  12981. errorcode:
  12982. description: 异常代码
  12983. type: string
  12984. errorid:
  12985. description: 异常ID
  12986. type: integer
  12987. modulecode:
  12988. description: 所属模块
  12989. type: string
  12990. operatecode:
  12991. description: 所属操作
  12992. type: string
  12993. rownumber:
  12994. description: 行号
  12995. type: string
  12996. required:
  12997. - errorid
  12998. type: object
  12999. models.QueryHedgeOrderDetailRsp:
  13000. properties:
  13001. accountid:
  13002. description: 账户ID
  13003. type: integer
  13004. buyorsell:
  13005. description: 买卖 - 0:买 1:卖
  13006. type: integer
  13007. cancellogincode:
  13008. description: 撤单人
  13009. type: string
  13010. channelbuildtype:
  13011. description: 开平标志 - 0:无 1:建仓 2:平仓
  13012. type: integer
  13013. channelinnerorderstatus:
  13014. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13015. 9:全部成交
  13016. type: integer
  13017. channeloperatetype:
  13018. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13019. type: integer
  13020. closetype:
  13021. description: 平仓方式 - 0:无 1:平今 2:平昨
  13022. type: integer
  13023. curexchangerate:
  13024. description: 当前汇率
  13025. type: number
  13026. exchangefullname:
  13027. description: 外部交易所全称
  13028. type: string
  13029. goodscode:
  13030. description: 商品代码(内部)
  13031. type: string
  13032. goodsid:
  13033. description: 商品ID
  13034. type: integer
  13035. goodsname:
  13036. description: 商品名称
  13037. type: string
  13038. marketid:
  13039. description: 市场ID
  13040. type: integer
  13041. openfreezemargin:
  13042. description: 冻结保证金(冻结交易金额)
  13043. type: number
  13044. orderid:
  13045. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13046. type: string
  13047. orderlogincode:
  13048. description: 委托人
  13049. type: string
  13050. orderprice:
  13051. description: 委托价格(账户)
  13052. type: number
  13053. orderqty:
  13054. description: 委托数量
  13055. type: integer
  13056. ordertime:
  13057. description: 委托时间
  13058. type: string
  13059. pricemode:
  13060. description: '取价方式 - 1:市价 2: 限价'
  13061. type: integer
  13062. tradedate:
  13063. description: 交易日(yyyyMMdd)
  13064. type: string
  13065. tradeqty:
  13066. description: 成交数量
  13067. type: integer
  13068. type: object
  13069. models.QueryHedgeTradeDetailRsp:
  13070. properties:
  13071. accountid:
  13072. description: 账号ID
  13073. type: integer
  13074. buyorsell:
  13075. description: 方向 - 0:买 1:卖
  13076. type: integer
  13077. channelbuildtype:
  13078. description: 委托单据类型 0:无 1:建仓 2:平仓
  13079. type: integer
  13080. closecharge:
  13081. description: 平仓手续费(账户)
  13082. type: number
  13083. closecharge2:
  13084. description: 平仓手续费(商品)
  13085. type: number
  13086. closepl:
  13087. description: 平仓盈亏(账户)
  13088. type: number
  13089. closepl2:
  13090. description: 平仓盈亏(商品)
  13091. type: number
  13092. closepl3:
  13093. description: 平仓盈亏(账户)(逐笔)
  13094. type: number
  13095. closepl4:
  13096. description: 平仓盈亏(商品)(逐笔)
  13097. type: number
  13098. closetype:
  13099. description: 平仓方式 - 0:无 1:平今 2:平昨
  13100. type: integer
  13101. curexchangerate:
  13102. description: 当前汇率
  13103. type: number
  13104. exchangefullname:
  13105. description: 外部交易所全称
  13106. type: string
  13107. goodscode:
  13108. description: 商品代码(内部)
  13109. type: string
  13110. goodsid:
  13111. description: 商品ID
  13112. type: integer
  13113. goodsname:
  13114. description: 商品名称
  13115. type: string
  13116. marketid:
  13117. description: 市场ID
  13118. type: integer
  13119. opencharge:
  13120. description: 建仓手续费(账户)
  13121. type: number
  13122. opencharge2:
  13123. description: 建仓手续费(商品)
  13124. type: number
  13125. orderid:
  13126. description: 委托单号
  13127. type: string
  13128. orderlogincode:
  13129. description: 委托人
  13130. type: string
  13131. tradeamount:
  13132. description: 成交金额(账户)
  13133. type: number
  13134. tradedate:
  13135. description: 交易日(yyyyMMdd)
  13136. type: string
  13137. tradeid:
  13138. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13139. type: string
  13140. tradeprice:
  13141. description: 成交价格
  13142. type: number
  13143. tradeqty:
  13144. description: 成交数量
  13145. type: integer
  13146. tradetime:
  13147. description: 成交时间
  13148. type: string
  13149. tradetype:
  13150. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13151. type: integer
  13152. type: object
  13153. models.QuotePrimaryMenu:
  13154. properties:
  13155. Index:
  13156. description: 序号
  13157. type: integer
  13158. Key:
  13159. description: 键名
  13160. type: string
  13161. Name:
  13162. description: 菜单名称
  13163. type: string
  13164. SubMenus:
  13165. description: 子菜单
  13166. items:
  13167. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13168. type: array
  13169. SubTitleType:
  13170. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13171. type: integer
  13172. TradeModes:
  13173. description: 包含市场交易类型
  13174. type: string
  13175. type: object
  13176. models.QuoteSecondaryMenu:
  13177. properties:
  13178. ExExchangeCode:
  13179. description: 外部交易所代码
  13180. type: string
  13181. ExExchangeID:
  13182. description: 外部交易所ID
  13183. type: integer
  13184. GoodsGroupIDs:
  13185. description: 商品组ID列表
  13186. items:
  13187. type: integer
  13188. type: array
  13189. Index:
  13190. description: 序号
  13191. type: integer
  13192. MarketID:
  13193. description: 市场ID
  13194. type: integer
  13195. MenuTitle:
  13196. description: 菜单标题(市场名称或外部交易所名称)
  13197. type: string
  13198. TradeMode:
  13199. description: 交易模式
  13200. type: integer
  13201. type: object
  13202. models.RoleMenu:
  13203. properties:
  13204. hasright:
  13205. description: 是否有权限 0-没有权限 1-有权限
  13206. type: integer
  13207. iconame:
  13208. description: 菜单图标
  13209. type: string
  13210. menutype:
  13211. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13212. type: integer
  13213. parentcode:
  13214. description: 上级资源代码
  13215. type: string
  13216. remark:
  13217. description: 菜单备注
  13218. type: string
  13219. resourcecode:
  13220. description: 菜单代码
  13221. type: string
  13222. resourcelevel:
  13223. description: 级别
  13224. type: integer
  13225. resourcename:
  13226. description: 菜单名称
  13227. type: string
  13228. roleid:
  13229. description: 角色id
  13230. type: integer
  13231. sort:
  13232. description: 排序
  13233. type: integer
  13234. subMenu:
  13235. description: 子级菜单(结构同上层一样, swag解析不出来)
  13236. items:
  13237. $ref: '#/definitions/models.RoleMenu'
  13238. type: array
  13239. url:
  13240. description: URL
  13241. type: string
  13242. userid:
  13243. description: 用户id
  13244. type: integer
  13245. type: object
  13246. models.SearchGoods:
  13247. properties:
  13248. goodscode:
  13249. description: 商品代码(内部)
  13250. type: string
  13251. goodsid:
  13252. description: 商品ID(自增ID SEQ_GOODS)
  13253. type: integer
  13254. goodsname:
  13255. description: 商品名称
  13256. type: string
  13257. marketid:
  13258. description: 所属市场ID
  13259. type: integer
  13260. marketname:
  13261. description: 市场名称
  13262. type: string
  13263. trademode:
  13264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13265. 21:竞拍-大宗式 22:受托竞价
  13266. type: integer
  13267. required:
  13268. - goodscode
  13269. - goodsid
  13270. - goodsname
  13271. - marketid
  13272. - trademode
  13273. type: object
  13274. models.Systemparam:
  13275. properties:
  13276. loginid:
  13277. description: 更新用户账号,登录账号
  13278. type: string
  13279. modifyflag:
  13280. description: 修改标志0 不允许修改 1 允许修改
  13281. type: integer
  13282. paramcode:
  13283. description: 参数代码
  13284. type: string
  13285. paramname:
  13286. description: 参数名
  13287. type: string
  13288. paramtype:
  13289. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13290. type: integer
  13291. paramvalue:
  13292. description: 参数值
  13293. type: string
  13294. paramvalue2:
  13295. description: 参数值(CLOB)
  13296. type: string
  13297. regexpress:
  13298. description: 正则表达式
  13299. type: string
  13300. remark:
  13301. description: 备注
  13302. type: string
  13303. serverip:
  13304. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13305. type: string
  13306. showflag:
  13307. description: 是否显示0 不显示 1 显示
  13308. type: integer
  13309. updatetime:
  13310. description: 更新时间
  13311. type: string
  13312. userid:
  13313. description: 更新用户ID
  13314. type: integer
  13315. required:
  13316. - paramcode
  13317. type: object
  13318. models.Szdz3convertconfig:
  13319. properties:
  13320. canin:
  13321. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13322. type: integer
  13323. canout:
  13324. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13325. type: integer
  13326. converttype:
  13327. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13328. 6:交易转花生米(不设置)
  13329. type: integer
  13330. createtime:
  13331. description: 创建时间
  13332. type: string
  13333. creatorid:
  13334. description: 创建人
  13335. type: integer
  13336. daymaxvalue:
  13337. description: 当日最大转入限制
  13338. type: number
  13339. freezedays:
  13340. description: 冻结天数 [5:花生米转交易]
  13341. type: integer
  13342. innergoodsid:
  13343. description: 内部商品ID[交易]
  13344. type: integer
  13345. inratio:
  13346. description: 目标值
  13347. type: integer
  13348. modifierid:
  13349. description: 修改人
  13350. type: integer
  13351. modifytime:
  13352. description: 修改时间
  13353. type: string
  13354. outergoodscode:
  13355. description: 外部商品代码[JD\PD]
  13356. type: string
  13357. outratio:
  13358. description: 源值
  13359. type: integer
  13360. pddecimalplace:
  13361. description: PD小数位
  13362. type: integer
  13363. timemaxvalue:
  13364. description: 单次最大转入限制
  13365. type: number
  13366. timeminvalue:
  13367. description: 单次最小转入限制
  13368. type: number
  13369. required:
  13370. - converttype
  13371. - innergoodsid
  13372. - outergoodscode
  13373. type: object
  13374. models.Szdz3searchwhitelist:
  13375. properties:
  13376. createtime:
  13377. description: 创建时间
  13378. type: string
  13379. creatorid:
  13380. description: 创建人
  13381. type: integer
  13382. modifierid:
  13383. description: 修改人
  13384. type: integer
  13385. modifytime:
  13386. description: 修改时间
  13387. type: string
  13388. userid:
  13389. description: 用户ID
  13390. type: integer
  13391. required:
  13392. - userid
  13393. type: object
  13394. models.TBGoods:
  13395. properties:
  13396. agreeunit:
  13397. description: 合约乘数
  13398. type: number
  13399. enumdicname:
  13400. description: 单位名称
  13401. type: string
  13402. goodscode:
  13403. description: 商品代码(内部)
  13404. type: string
  13405. goodsid:
  13406. description: 商品ID(自增ID SEQ_GOODS)
  13407. type: integer
  13408. goodsname:
  13409. description: 商品名称
  13410. type: string
  13411. type: object
  13412. models.TBGoodsGroup:
  13413. properties:
  13414. GDLST:
  13415. description: 商品列表
  13416. items:
  13417. $ref: '#/definitions/models.TBGoods'
  13418. type: array
  13419. convertratio:
  13420. description: 折算系数
  13421. type: number
  13422. enumdicname:
  13423. description: 单位名称
  13424. type: string
  13425. exexchangecode:
  13426. description: 交易所代码
  13427. type: string
  13428. exexchangename:
  13429. description: 交易所名称
  13430. type: string
  13431. goodsgroupid:
  13432. description: 商品组ID(自增ID)
  13433. type: integer
  13434. goodsgroupname:
  13435. description: 商品组名称
  13436. type: string
  13437. goodunitid:
  13438. description: 报价单位ID
  13439. type: integer
  13440. type: object
  13441. models.TBMiddleGoods:
  13442. properties:
  13443. GPLST:
  13444. description: 期货品种列表
  13445. items:
  13446. $ref: '#/definitions/models.TBGoodsGroup'
  13447. type: array
  13448. WDLST:
  13449. description: 商品信息列表(现货品类)
  13450. items:
  13451. $ref: '#/definitions/models.TBWrstandard'
  13452. type: array
  13453. areauserid:
  13454. description: 机构用户ID
  13455. type: integer
  13456. enumdicname:
  13457. description: 单位名称
  13458. type: string
  13459. goodsunitid:
  13460. description: 套保品种单位id
  13461. type: integer
  13462. middlegoodscode:
  13463. description: 套保品种代码
  13464. type: string
  13465. middlegoodsid:
  13466. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13467. type: integer
  13468. middlegoodsname:
  13469. description: 套保品种名称
  13470. type: string
  13471. needarbitrageratio:
  13472. description: 套利比率
  13473. type: number
  13474. needhedgeratio:
  13475. description: 套保比率
  13476. type: number
  13477. type: object
  13478. models.TBWrstandard:
  13479. properties:
  13480. convertratio:
  13481. description: 折算系数
  13482. type: number
  13483. deliverygoodsname:
  13484. description: 品种名称
  13485. type: string
  13486. enumdicname:
  13487. description: 单位名称
  13488. type: string
  13489. vatrate:
  13490. description: 增值税率
  13491. type: number
  13492. wrstandardcode:
  13493. description: 现货商品代码
  13494. type: string
  13495. wrstandardid:
  13496. description: 现货商品ID(SEQ_WRSTANDARD)
  13497. type: integer
  13498. wrstandardname:
  13499. description: 现货商品名称
  13500. type: string
  13501. type: object
  13502. models.Taaccount:
  13503. properties:
  13504. accountflag:
  13505. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13506. type: integer
  13507. accountid:
  13508. description: 资金账户ID
  13509. type: integer
  13510. accountname:
  13511. description: 账户名称
  13512. type: string
  13513. balance:
  13514. description: 期初余额
  13515. type: number
  13516. capitalbalance:
  13517. description: 本金余额[外部子账户实际出入金余额]
  13518. type: number
  13519. changeflag:
  13520. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13521. type: integer
  13522. changetime:
  13523. description: 账户状态变更时间
  13524. type: string
  13525. closepl:
  13526. description: 今日平仓盈亏
  13527. type: number
  13528. creditdecrease:
  13529. description: 今日授信减少
  13530. type: number
  13531. creditincrease:
  13532. description: 今日授信增加
  13533. type: number
  13534. curamount:
  13535. description: 总市值(从持仓中统计)
  13536. type: number
  13537. currencyid:
  13538. description: 货币ID
  13539. type: integer
  13540. currentbalance:
  13541. description: 期末余额
  13542. type: number
  13543. freezecharge:
  13544. description: 手续费冻结
  13545. type: number
  13546. freezemargin:
  13547. description: 冻结保证金
  13548. type: number
  13549. fromaccountid:
  13550. description: 所属上级账户
  13551. type: integer
  13552. inamount:
  13553. description: 今日入金金额(包括三方入金)
  13554. type: number
  13555. ismain:
  13556. description: 是否母账号 0:不是母账户 1:是母账户
  13557. type: integer
  13558. ismarketaccount:
  13559. description: 是否机构接单账号 0:不是 1:是
  13560. type: integer
  13561. isreckonaccount:
  13562. description: 是否机构分润账号 0:不是 1:是
  13563. type: integer
  13564. mortgagecredit:
  13565. description: 授信金额
  13566. type: number
  13567. orifreezecharge:
  13568. description: 期初手续费冻结
  13569. type: number
  13570. orifreezemargin:
  13571. description: 期初冻结保证金
  13572. type: number
  13573. orimortgagecredit:
  13574. description: 期初授信金额
  13575. type: number
  13576. oriothercredit:
  13577. description: 期初其它授信金额
  13578. type: number
  13579. oriotherfreezemargin:
  13580. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13581. type: number
  13582. orioutamountfreeze:
  13583. description: 期初出金冻结
  13584. type: number
  13585. oriusedmargin:
  13586. description: 期初占用保证金
  13587. type: number
  13588. othercredit:
  13589. description: 其它授信金额
  13590. type: number
  13591. othercreditdecrease:
  13592. description: 今日其它授信减少
  13593. type: number
  13594. othercreditincrease:
  13595. description: 今日其它授信增加
  13596. type: number
  13597. otherfreezemargin:
  13598. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13599. type: number
  13600. otherincome:
  13601. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13602. type: number
  13603. otherpay:
  13604. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13605. type: number
  13606. outamount:
  13607. description: 今日出金金额(包括三方出金)
  13608. type: number
  13609. outamountfreeze:
  13610. description: 出金冻结
  13611. type: number
  13612. outthreshold:
  13613. description: 出金阈值
  13614. type: number
  13615. parentaccountid:
  13616. description: 所属根账号
  13617. type: integer
  13618. paycharge:
  13619. description: 今日手续费支出
  13620. type: number
  13621. relatedaccountstatus:
  13622. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13623. type: integer
  13624. relateduserid:
  13625. description: 关联用户
  13626. type: integer
  13627. remainamount:
  13628. description: 融资额(从融资合同中统计)
  13629. type: number
  13630. serivcegroup:
  13631. description: 服务分组
  13632. type: integer
  13633. signstatus:
  13634. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13635. type: integer
  13636. sublevelpath:
  13637. description: 账号层级路径(逗号分隔,首尾加逗号)
  13638. type: string
  13639. taaccounttype:
  13640. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13641. type: integer
  13642. thirdinamount:
  13643. description: 今日三方入金
  13644. type: number
  13645. thirdoutamount:
  13646. description: 今日三方出金
  13647. type: number
  13648. tradestatus:
  13649. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13650. type: integer
  13651. tradestatuschangetime:
  13652. description: 激活时间
  13653. type: string
  13654. transferamount:
  13655. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13656. type: number
  13657. usedmargin:
  13658. description: 占用保证金
  13659. type: number
  13660. userid:
  13661. description: 用户ID
  13662. type: integer
  13663. required:
  13664. - accountid
  13665. - userid
  13666. type: object
  13667. models.Tablecolumnconfig:
  13668. properties:
  13669. aligntype:
  13670. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13671. type: integer
  13672. autoid:
  13673. description: AutoID
  13674. type: integer
  13675. columnfield:
  13676. description: 列字段
  13677. type: string
  13678. columntitle:
  13679. description: 列Title
  13680. type: string
  13681. columnwidth:
  13682. description: 列宽
  13683. type: string
  13684. formatterstring:
  13685. description: 格式化字符
  13686. type: string
  13687. formattertype:
  13688. description: 格式化类型
  13689. type: string
  13690. groupname:
  13691. description: 表头分组名称
  13692. type: string
  13693. isshow:
  13694. description: 是否显示 - 0:不显示 1:显示
  13695. type: integer
  13696. needsummary:
  13697. description: 是否需要汇总 - 0:不需要 1:需要
  13698. type: integer
  13699. orderindex:
  13700. description: 顺序
  13701. type: integer
  13702. remark:
  13703. description: 备注
  13704. type: string
  13705. summarytype:
  13706. description: 汇总类型 - 1:加总 2:最后一个
  13707. type: integer
  13708. tablekey:
  13709. description: 列表Key
  13710. type: string
  13711. required:
  13712. - autoid
  13713. type: object
  13714. models.TjmdMarketSection:
  13715. properties:
  13716. marketsectionid:
  13717. description: 市场版块ID(SEQ_MARKETSECTION)
  13718. type: integer
  13719. marketsectionname:
  13720. description: 市场版块名称
  13721. type: string
  13722. mlist:
  13723. description: 市场列表(板块下面有多少个市场)
  13724. items:
  13725. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13726. type: array
  13727. orderindex:
  13728. description: 排序
  13729. type: integer
  13730. pictureurl:
  13731. description: 图片url, 规格(90*90)
  13732. type: string
  13733. remark:
  13734. description: 备注
  13735. type: string
  13736. type: object
  13737. models.TjmdMarketSectionConfig:
  13738. properties:
  13739. auctionwrtype:
  13740. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13741. type: integer
  13742. canacceptquote:
  13743. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13744. type: integer
  13745. cangoodsexercise:
  13746. description: '[期权]是否可现货行权- 0:否 1:是'
  13747. type: integer
  13748. cangoodsexercisetype:
  13749. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13750. type: integer
  13751. canmanualquotestrike:
  13752. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13753. type: integer
  13754. canmutistage:
  13755. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13756. type: integer
  13757. canpreexercise:
  13758. description: '[期权]是否可预申报- 0:否 1:是'
  13759. type: integer
  13760. clearinterval:
  13761. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13762. type: integer
  13763. contracttmp:
  13764. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13765. type: string
  13766. exchareaid:
  13767. description: 所属交易所,可以没有
  13768. type: integer
  13769. financemarketid:
  13770. description: 融资回购市场ID [仓单贸易]
  13771. type: integer
  13772. goodstype:
  13773. description: 商品类型 - 1:交易商品 2:仓单商品
  13774. type: integer
  13775. hasrebate:
  13776. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13777. type: integer
  13778. hastradecredit:
  13779. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13780. type: integer
  13781. haswr:
  13782. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13783. type: integer
  13784. isdeductmargin:
  13785. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13786. type: integer
  13787. isrecordsource:
  13788. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13789. type: integer
  13790. isreleasemargin:
  13791. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13792. type: integer
  13793. isupdatereckonprice:
  13794. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13795. type: integer
  13796. listingmode:
  13797. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13798. type: integer
  13799. marginformula:
  13800. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13801. type: integer
  13802. marginformula2:
  13803. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13804. type: integer
  13805. marketid:
  13806. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13807. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13808. type: integer
  13809. marketname:
  13810. description: 市场名称
  13811. type: string
  13812. marketsectionid:
  13813. description: 市场版块ID(SEQ_MARKETSECTION)
  13814. type: integer
  13815. marketserviceid:
  13816. description: 市场服务ID
  13817. type: integer
  13818. marketstatus:
  13819. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13820. type: integer
  13821. markettype:
  13822. description: 市场类型- 1:非交易服务 2:交易服务
  13823. type: integer
  13824. matchermode:
  13825. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13826. type: integer
  13827. nowrquotaflag:
  13828. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13829. type: integer
  13830. openmethod:
  13831. description: 开盘模式 - 0 自动 1手动
  13832. type: integer
  13833. orderindex:
  13834. description: 排序
  13835. type: integer
  13836. otcuserid:
  13837. description: 场外期权做市商[场外期权]
  13838. type: integer
  13839. outersynctime:
  13840. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13841. type: string
  13842. paylaterflag:
  13843. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13844. type: integer
  13845. pendingflag:
  13846. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13847. type: integer
  13848. pendingtime:
  13849. description: 待开市时间[通道交易-对冲](HH:mm)
  13850. type: string
  13851. performancetempid:
  13852. description: 履约计划模板ID - 作废
  13853. type: integer
  13854. premiumquotemode:
  13855. description: 权利金报价方式 - 1:自动 2:手动
  13856. type: integer
  13857. rebateratio:
  13858. description: 返利比率[竞价式]
  13859. type: number
  13860. reckonorder:
  13861. description: 结算顺序
  13862. type: integer
  13863. reckonpricealgorithm:
  13864. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13865. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13866. type: integer
  13867. reckonpriceparam:
  13868. description: 结算价参数
  13869. type: integer
  13870. reckontime:
  13871. description: 结算时间[通道交易-对冲](HH:mm)
  13872. type: string
  13873. roleprioritytype:
  13874. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13875. type: integer
  13876. selllistingauditflag:
  13877. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13878. type: integer
  13879. trademarkettype:
  13880. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13881. type: integer
  13882. trademode:
  13883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13884. 21:竞拍-大宗式 22:受托竞价
  13885. type: integer
  13886. tradeproperty:
  13887. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13888. 8:场外期权
  13889. type: integer
  13890. tradetype:
  13891. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13892. type: integer
  13893. updatereckonpriceinterval:
  13894. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13895. type: integer
  13896. type: object
  13897. models.TjmdQuoteGoods:
  13898. properties:
  13899. buyqty:
  13900. description: 买量(暂不做, 无值, 保留字段)
  13901. type: number
  13902. goodscode:
  13903. description: 合约代码
  13904. type: string
  13905. goodsgroupid:
  13906. description: 商品组ID(自增ID)
  13907. type: integer
  13908. goodsgroupname:
  13909. description: 商品组名称
  13910. type: string
  13911. goodsid:
  13912. description: 合约id
  13913. type: integer
  13914. goodsname:
  13915. description: 合约名称
  13916. type: string
  13917. refgoodscode:
  13918. description: 标的合约代码
  13919. type: string
  13920. refgoodsid:
  13921. description: 标的合约id
  13922. type: integer
  13923. refgoodsname:
  13924. description: 标的合约名称
  13925. type: string
  13926. sellqty:
  13927. description: 卖量(暂不做, 无值, 保留字段)
  13928. type: number
  13929. type: object
  13930. models.TjmdTodayAccountMargin:
  13931. properties:
  13932. accountid:
  13933. description: 账号ID
  13934. type: integer
  13935. goodsid:
  13936. description: 商品ID
  13937. type: integer
  13938. infoc:
  13939. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13940. description: 配置参数
  13941. marketid:
  13942. description: 市场ID
  13943. type: integer
  13944. type: object
  13945. models.TjmdTradeOrderDetail:
  13946. properties:
  13947. buyorsell:
  13948. description: 买卖方向 0-买 1-卖
  13949. type: integer
  13950. goodsid:
  13951. description: 商品id
  13952. type: integer
  13953. marketmaxsub:
  13954. description: 市价最大偏移范围 [浮动价 - 点差]
  13955. type: number
  13956. orderid:
  13957. description: 委托单号
  13958. type: string
  13959. orderprice:
  13960. description: 委托价格
  13961. type: number
  13962. orderqty:
  13963. description: 委托数量
  13964. type: integer
  13965. pricemode:
  13966. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13967. type: integer
  13968. userid:
  13969. description: 用户id
  13970. type: integer
  13971. username:
  13972. description: 用户名称(已脱敏)
  13973. type: string
  13974. type: object
  13975. models.TjmdTransferApply:
  13976. properties:
  13977. applyid:
  13978. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13979. type: integer
  13980. applystatus:
  13981. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13982. type: integer
  13983. applytime:
  13984. description: 申请时间(时间)
  13985. type: string
  13986. auditremark:
  13987. description: 审核备注(拒绝原因?)
  13988. type: string
  13989. begindate:
  13990. description: 开始交易日(yyyymmdd)
  13991. type: string
  13992. buyorsell:
  13993. description: 买卖 - 0:买 1:卖
  13994. type: integer
  13995. enddate:
  13996. description: 结束交易日(yyyymmdd)
  13997. type: string
  13998. goodscode:
  13999. description: 商品代码
  14000. type: string
  14001. goodsid:
  14002. description: 商品ID
  14003. type: integer
  14004. goodsname:
  14005. description: 商品名称
  14006. type: string
  14007. marketid:
  14008. description: 市场ID
  14009. type: integer
  14010. qty:
  14011. description: 转让数量(数量)
  14012. type: number
  14013. tradeid:
  14014. description: 成交单号(关联持仓)
  14015. type: string
  14016. transferamount:
  14017. description: 转让总金额(金额)
  14018. type: number
  14019. transferprice:
  14020. description: 转让价格(协议价格)
  14021. type: number
  14022. type: object
  14023. models.TradeHolderDetail:
  14024. properties:
  14025. accountid:
  14026. description: 账号ID
  14027. type: integer
  14028. agreeunit:
  14029. description: 合约乘数
  14030. type: number
  14031. buyorsell:
  14032. description: 方向 - 0:买 1:卖
  14033. type: integer
  14034. currencyid:
  14035. description: 商品币种id
  14036. type: integer
  14037. currencyname:
  14038. description: 币种名称
  14039. type: string
  14040. decimalplace:
  14041. description: 商品价格小数位
  14042. type: integer
  14043. enumdicname:
  14044. description: 商品单位名称
  14045. type: string
  14046. expirecycle:
  14047. description: 行权周期(天) - 1:滚动行权时填写
  14048. type: integer
  14049. expiredate:
  14050. description: 行权日(yyyyMMdd) - 到期日
  14051. type: string
  14052. expiretype:
  14053. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14054. type: integer
  14055. freezeqty:
  14056. description: 冻结数量
  14057. type: number
  14058. goodscode:
  14059. description: 商品代码
  14060. type: string
  14061. goodsid:
  14062. description: 商品ID
  14063. type: integer
  14064. goodsname:
  14065. description: 商品名称
  14066. type: string
  14067. goodunitid:
  14068. description: 商品单位id
  14069. type: integer
  14070. holderamount:
  14071. description: 持仓金额
  14072. type: number
  14073. holdercredit:
  14074. description: 持仓授信金额
  14075. type: number
  14076. holderdays:
  14077. description: 剩余冻结天数
  14078. type: integer
  14079. holderprice:
  14080. description: 持仓价格
  14081. type: number
  14082. holderqty:
  14083. description: 持仓数量
  14084. type: number
  14085. isconfirmexercise:
  14086. description: 是否确认行权- 0:否 1:是
  14087. type: integer
  14088. ispreexercise:
  14089. description: 是否预申报- 0:否 1:是 2:不可行权
  14090. type: integer
  14091. marketid:
  14092. description: 市场id
  14093. type: integer
  14094. marketname:
  14095. description: 市场名称
  14096. type: string
  14097. openprice:
  14098. description: 建仓价格
  14099. type: number
  14100. openqty:
  14101. description: 建仓数量
  14102. type: number
  14103. optiontype:
  14104. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14105. type: integer
  14106. preexerciseprice:
  14107. description: 预申报价格
  14108. type: number
  14109. premium:
  14110. description: 权利金
  14111. type: number
  14112. qtydecimalplace:
  14113. description: 商品成交量小数位
  14114. type: integer
  14115. refgoodscode:
  14116. description: 标的合约代码
  14117. type: string
  14118. refgoodsid:
  14119. description: 标的合约id
  14120. type: integer
  14121. releaseamount:
  14122. description: 释放持仓金额
  14123. type: number
  14124. releaseholdercredit:
  14125. description: 释放持仓授信金额
  14126. type: number
  14127. taname:
  14128. description: 资金账号名称
  14129. type: string
  14130. tradeamount:
  14131. description: 成交金额
  14132. type: number
  14133. tradedate:
  14134. description: 交易日(yyyyMMdd)
  14135. type: string
  14136. tradeid:
  14137. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14138. type: string
  14139. trademode:
  14140. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14141. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14142. type: integer
  14143. tradeproperty:
  14144. description: 交易属性
  14145. type: integer
  14146. tradetime:
  14147. description: 交易时间
  14148. type: string
  14149. userid:
  14150. description: 用户id
  14151. type: integer
  14152. username:
  14153. description: 用户名称
  14154. type: string
  14155. type: object
  14156. models.UserCollectConfig:
  14157. properties:
  14158. accountstatus:
  14159. description: 账户状态 - 1:正常 2:停用 3:注销
  14160. type: integer
  14161. collectaccountname:
  14162. description: 收款人账户名称
  14163. type: string
  14164. collectaccountno:
  14165. description: 收款人账户
  14166. type: string
  14167. collectbankname:
  14168. description: 收款人开户行
  14169. type: string
  14170. collectbranchbankname:
  14171. description: 收款人开户支行
  14172. type: string
  14173. collectconfigid:
  14174. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14175. type: string
  14176. remark:
  14177. description: 备注
  14178. type: string
  14179. userid:
  14180. description: 收款人用户ID
  14181. type: integer
  14182. type: object
  14183. models.UserReceiveInfo:
  14184. properties:
  14185. address:
  14186. description: 提货人详细地址
  14187. type: string
  14188. autoid:
  14189. description: AutoID
  14190. type: integer
  14191. cardnum:
  14192. description: 证件号码(加密存储)
  14193. type: string
  14194. cardtypeid:
  14195. description: 证件类型
  14196. type: integer
  14197. cityid:
  14198. description: 市
  14199. type: integer
  14200. cityname:
  14201. description: 城市名称
  14202. type: string
  14203. countryid:
  14204. description: 国家
  14205. type: integer
  14206. countryname:
  14207. description: 国家名称
  14208. type: string
  14209. districtid:
  14210. description: 地区
  14211. type: integer
  14212. districtname:
  14213. description: 地区名称
  14214. type: string
  14215. hasencrypt:
  14216. description: 数据是否已加密 - 0:未加密 1:已加密
  14217. type: integer
  14218. isdefault:
  14219. description: 是否默认地址 - 0:否 1:是
  14220. type: integer
  14221. phonenum:
  14222. description: 提货人联系方式(加密存储)
  14223. type: string
  14224. provinceid:
  14225. description: 省
  14226. type: integer
  14227. provincename:
  14228. description: 省名称
  14229. type: string
  14230. receivername:
  14231. description: 提货人姓名
  14232. type: string
  14233. takeremark:
  14234. description: 提货备注
  14235. type: string
  14236. userid:
  14237. description: 用户ID
  14238. type: integer
  14239. type: object
  14240. models.Useraccount:
  14241. properties:
  14242. accountname:
  14243. description: 账户名称(机构名称)
  14244. type: string
  14245. accountstatus:
  14246. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14247. type: integer
  14248. applysrc:
  14249. description: 申请来源 - 1:管理端 2:终端
  14250. type: integer
  14251. auditremark:
  14252. description: 审核备注
  14253. type: string
  14254. auditsrc:
  14255. description: 审核来源 - 1:管理端 2:终端
  14256. type: integer
  14257. audittime:
  14258. description: 审核时间
  14259. type: string
  14260. audituserid:
  14261. description: 审核人
  14262. type: integer
  14263. broker:
  14264. description: 所属经纪人ID
  14265. type: integer
  14266. canceltime:
  14267. description: 销户时间
  14268. type: string
  14269. canceluserid:
  14270. description: 销户人
  14271. type: integer
  14272. canrecommend:
  14273. description: 是否可推荐 - 0:不可 1;可
  14274. type: integer
  14275. createtime:
  14276. description: 创建时间
  14277. type: string
  14278. creatorid:
  14279. description: 创建人
  14280. type: integer
  14281. hasauth:
  14282. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14283. type: integer
  14284. isanonymous:
  14285. description: 是否匿名下单 - 0:否 1:是
  14286. type: integer
  14287. maxinvestornum:
  14288. description: 最大用户数(经纪会员下投资者个数)
  14289. type: integer
  14290. memberuserid:
  14291. description: 所属会员ID
  14292. type: integer
  14293. modifierid:
  14294. description: 修改人
  14295. type: integer
  14296. modifyremark:
  14297. description: 变更备注
  14298. type: string
  14299. modifystatus:
  14300. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14301. type: integer
  14302. modifytime:
  14303. description: 修改时间
  14304. type: string
  14305. parenttopuser:
  14306. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14307. type: string
  14308. parentuserid:
  14309. description: 所属机构ID
  14310. type: integer
  14311. reckonaccountid:
  14312. description: 默认结算资金账号ID(机构分润使用) 作废
  14313. type: integer
  14314. refercount:
  14315. description: 推荐总人数
  14316. type: integer
  14317. refereeuserid:
  14318. description: 推荐人ID
  14319. type: integer
  14320. refernum:
  14321. description: 推荐码
  14322. type: string
  14323. rootuserid:
  14324. description: 根用户ID
  14325. type: integer
  14326. subaccountlevel:
  14327. description: 子账户层数
  14328. type: integer
  14329. subarealevelpath:
  14330. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14331. type: string
  14332. userid:
  14333. description: 用户ID
  14334. type: integer
  14335. usertype:
  14336. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14337. type: integer
  14338. required:
  14339. - userid
  14340. type: object
  14341. models.Userfavoritegoods:
  14342. properties:
  14343. goodsid:
  14344. description: 商品ID
  14345. type: integer
  14346. required:
  14347. - goodsid
  14348. type: object
  14349. models.Userinfo:
  14350. properties:
  14351. address:
  14352. description: 地址
  14353. type: string
  14354. attachment1:
  14355. description: 附件1
  14356. type: string
  14357. attachment2:
  14358. description: 附件2
  14359. type: string
  14360. bankaccount:
  14361. description: 银行帐号 (加密存储)
  14362. type: string
  14363. bankaccountname:
  14364. description: 收款人名称
  14365. type: string
  14366. bankcardfrontphotourl:
  14367. description: 银行卡正面照地址
  14368. type: string
  14369. bankid:
  14370. description: 银行编码
  14371. type: string
  14372. bankname:
  14373. description: 银行名称
  14374. type: string
  14375. biznature:
  14376. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14377. type: integer
  14378. bizscope:
  14379. description: 企业经营范围(企业)
  14380. type: string
  14381. cardbackphotourl:
  14382. description: 证件背面图片地址
  14383. type: string
  14384. cardfrontphotourl:
  14385. description: 证件正面图片地址
  14386. type: string
  14387. cardnum:
  14388. description: 证件号码(加密存储)
  14389. type: string
  14390. cardtypeid:
  14391. description: 证件类型ID
  14392. type: integer
  14393. cityid:
  14394. description: 市
  14395. type: integer
  14396. company:
  14397. description: 公司(个人)
  14398. type: string
  14399. contactname:
  14400. description: 联系人
  14401. type: string
  14402. countryid:
  14403. description: 国家
  14404. type: integer
  14405. createtime:
  14406. description: 创建时间
  14407. type: string
  14408. creatorid:
  14409. description: 创建人
  14410. type: integer
  14411. customername:
  14412. description: 客户名称(企业名称)
  14413. type: string
  14414. districtid:
  14415. description: 地区
  14416. type: integer
  14417. email:
  14418. description: 邮件(加密存储)
  14419. type: string
  14420. fax:
  14421. description: 传真(加密存储)
  14422. type: string
  14423. halfbodyphotourl:
  14424. description: 半身照地址
  14425. type: string
  14426. hasencrypt:
  14427. description: 数据是否已加密 - 0:未加密 1:已加密
  14428. type: integer
  14429. headurl:
  14430. description: 头像地址
  14431. type: string
  14432. legalcardbackphotourl:
  14433. description: 法人身份证背面照地址
  14434. type: string
  14435. legalcardfrontphotourl:
  14436. description: 法人身份证正面照地址
  14437. type: string
  14438. legalpersonname:
  14439. description: 法人姓名(企业)
  14440. type: string
  14441. mobile:
  14442. description: 手机号码(加密存储)
  14443. type: string
  14444. mobile2:
  14445. description: 手机号码[明文-尚志]
  14446. type: string
  14447. modifierid:
  14448. description: 修改人
  14449. type: integer
  14450. modifiertime:
  14451. description: 修改时间
  14452. type: string
  14453. needinvoice:
  14454. description: 是否需要发票 - 0:不需要 1:需要
  14455. type: integer
  14456. nickname:
  14457. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14458. type: string
  14459. openmode:
  14460. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14461. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14462. type: integer
  14463. otherurl:
  14464. description: 其它图片地址[使用分号分隔]
  14465. type: string
  14466. postalcode:
  14467. description: 邮政编码
  14468. type: string
  14469. provinceid:
  14470. description: 省
  14471. type: integer
  14472. qq:
  14473. description: QQ(加密存储
  14474. type: string
  14475. remark:
  14476. description: 备注
  14477. type: string
  14478. sex:
  14479. description: '用户性别 0: 女 1: 男'
  14480. type: integer
  14481. signpdfurl:
  14482. description: 签约pdf文件
  14483. type: string
  14484. telphone:
  14485. description: 联系电话(加密存储)
  14486. type: string
  14487. userid:
  14488. description: 用户ID
  14489. type: integer
  14490. userinfotype:
  14491. description: 用户信息类型 - 1:个人 2:企业
  14492. type: integer
  14493. userstatus:
  14494. description: 用户状态 - 1:正常 2:注销
  14495. type: integer
  14496. usertype:
  14497. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14498. type: integer
  14499. wechat:
  14500. description: 微信(加密存储)
  14501. type: string
  14502. wskhinfo:
  14503. description: 开户申请信息(JSON)
  14504. type: string
  14505. required:
  14506. - userid
  14507. type: object
  14508. models.WRSConverTDetail:
  14509. properties:
  14510. convertratio:
  14511. description: 套保系数
  14512. type: number
  14513. deliverygoodscode:
  14514. description: 现货商品代码
  14515. type: string
  14516. deliverygoodsid:
  14517. description: 现货品种ID
  14518. type: integer
  14519. deliverygoodsname:
  14520. description: 现货商品名称
  14521. type: string
  14522. enumdicname:
  14523. description: 单位名称
  14524. type: string
  14525. goodsunitid:
  14526. description: 套保品种单位id
  14527. type: integer
  14528. middlegoodscode:
  14529. description: 套保品种代码
  14530. type: string
  14531. middlegoodsid:
  14532. description: 套保品种ID
  14533. type: integer
  14534. middlegoodsname:
  14535. description: 套保品种名称
  14536. type: string
  14537. modifytime:
  14538. description: 修改时间
  14539. type: string
  14540. wrstandardid:
  14541. description: 品类ID
  14542. type: integer
  14543. type: object
  14544. models.WRStandardInfo:
  14545. properties:
  14546. areauserid:
  14547. description: 所属机构
  14548. type: integer
  14549. convertfactor:
  14550. description: 标仓系数
  14551. type: number
  14552. createtime:
  14553. description: 创建时间
  14554. type: string
  14555. creatorid:
  14556. description: 创建人
  14557. type: integer
  14558. deliverygoodsid:
  14559. description: 品种ID
  14560. type: integer
  14561. deliverygoodsname:
  14562. description: 交割商品名称
  14563. type: string
  14564. factoryitemjson:
  14565. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14566. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14567. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14568. 逗号分隔'
  14569. type: string
  14570. isvalid:
  14571. description: 是否有效 - 0:无效 1:有效
  14572. type: integer
  14573. minivalue:
  14574. description: 最小变动值
  14575. type: integer
  14576. minivaluedp:
  14577. description: 最小变动值小数位
  14578. type: integer
  14579. realminivalue:
  14580. description: 实际最小变动值
  14581. type: integer
  14582. realminivaluedp:
  14583. description: 实际最小变动值小数位
  14584. type: integer
  14585. remark:
  14586. description: 备注
  14587. type: string
  14588. unitid:
  14589. description: 单位ID
  14590. type: integer
  14591. unitname:
  14592. description: 单位
  14593. type: string
  14594. updatetime:
  14595. description: 更新时间
  14596. type: string
  14597. updatorid:
  14598. description: 更新人
  14599. type: integer
  14600. wrsstatus:
  14601. description: 状态 - 作废 - 0:未激活 1:正常
  14602. type: integer
  14603. wrstandardcode:
  14604. description: 现货品类代码
  14605. type: string
  14606. wrstandardid:
  14607. description: 现货品类ID(SEQ_WRSTANDARD)
  14608. type: integer
  14609. wrstandardname:
  14610. description: 现货品类名称
  14611. type: string
  14612. required:
  14613. - wrstandardid
  14614. type: object
  14615. models.WRTradeBargainApply:
  14616. properties:
  14617. accountid:
  14618. description: 摘牌资金账号
  14619. type: integer
  14620. applyprice:
  14621. description: 申请价格(议价价格)
  14622. type: string
  14623. applyqty:
  14624. description: 摘牌数量(议价数量)
  14625. type: number
  14626. applyremark:
  14627. description: 申请备注
  14628. type: string
  14629. applystatus:
  14630. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14631. type: integer
  14632. applytime:
  14633. description: 申请时间(议价时间)
  14634. type: string
  14635. begindate:
  14636. description: 开始交易日(yyyymmdd)
  14637. type: string
  14638. buyorsell:
  14639. description: 买卖(挂牌类型) - 0:买 1:卖
  14640. type: integer
  14641. confirmremark:
  14642. description: 确认备注
  14643. type: string
  14644. confirmtime:
  14645. description: 确认时间
  14646. type: string
  14647. confirmuserid:
  14648. description: 确认人
  14649. type: integer
  14650. deliverygoodscode:
  14651. description: 品种代码
  14652. type: string
  14653. deliverygoodsid:
  14654. description: 品种ID
  14655. type: integer
  14656. deliverygoodsname:
  14657. description: 品种名称
  14658. type: string
  14659. deliverymonth:
  14660. description: 交收月
  14661. type: string
  14662. enddate:
  14663. description: 结束交易日(yyyymmdd)
  14664. type: string
  14665. enumdicname:
  14666. description: 单位名称
  14667. type: string
  14668. fixedprice:
  14669. description: 挂牌价格
  14670. type: number
  14671. handlestatus:
  14672. description: 处理状态
  14673. type: integer
  14674. marginvalue:
  14675. description: 履约保证金比例
  14676. type: number
  14677. marketid:
  14678. description: 市场ID
  14679. type: integer
  14680. matchaccountid:
  14681. description: 挂牌方资金账号
  14682. type: integer
  14683. matchuserid:
  14684. description: 挂牌方用户id
  14685. type: integer
  14686. matchusername:
  14687. description: 挂牌方用户名称(已脱敏)
  14688. type: string
  14689. minivalue:
  14690. description: 现货商品最小变动值
  14691. type: integer
  14692. optioncompare:
  14693. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14694. type: string
  14695. orderqty:
  14696. description: 挂牌数量
  14697. type: integer
  14698. refprice:
  14699. description: 参考价格
  14700. type: string
  14701. retcode:
  14702. description: 委托返回代码
  14703. type: integer
  14704. templatename:
  14705. description: 履约方式(履约模板名称)
  14706. type: string
  14707. tradedate:
  14708. description: 交易日(yyyyMMdd)
  14709. type: string
  14710. userid:
  14711. description: 摘牌人用户ID(议价人ID)
  14712. type: integer
  14713. username:
  14714. description: 议价人名字(已脱敏)
  14715. type: string
  14716. validtime:
  14717. description: 有效期限
  14718. type: string
  14719. warehouseid:
  14720. description: 仓库ID
  14721. type: integer
  14722. warehousename:
  14723. description: 仓库名称
  14724. type: string
  14725. wrbargainid:
  14726. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14727. type: string
  14728. wrfactortypeid:
  14729. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14730. type: string
  14731. wrfactortypename:
  14732. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14733. type: string
  14734. wrstandardcode:
  14735. description: 现货商品代码
  14736. type: string
  14737. wrstandardid:
  14738. description: 现货商品ID
  14739. type: integer
  14740. wrstandardname:
  14741. description: 商品名称
  14742. type: string
  14743. wrtradeorderid:
  14744. description: 关联委托单ID
  14745. type: string
  14746. wrtypename:
  14747. description: 商品
  14748. type: string
  14749. type: object
  14750. models.Warehouseinfo:
  14751. properties:
  14752. address:
  14753. description: 详细地址
  14754. type: string
  14755. areauserid:
  14756. description: 所属机构
  14757. type: integer
  14758. autoid:
  14759. description: 自增ID
  14760. type: integer
  14761. cityid:
  14762. description: 市
  14763. type: integer
  14764. contactname:
  14765. description: 联系人
  14766. type: string
  14767. contactnum:
  14768. description: 联系电话
  14769. type: string
  14770. countryid:
  14771. description: 国家
  14772. type: integer
  14773. createtime:
  14774. description: 创建时间
  14775. type: string
  14776. districtid:
  14777. description: 区
  14778. type: integer
  14779. hasvideo:
  14780. description: 是否有视频 - 0:无 1:有
  14781. type: integer
  14782. provinceid:
  14783. description: 省
  14784. type: integer
  14785. remark:
  14786. description: 审核备注
  14787. type: string
  14788. videourl:
  14789. description: 视频地址
  14790. type: string
  14791. warehousecode:
  14792. description: 仓库代码
  14793. type: string
  14794. warehousename:
  14795. description: 仓库名称
  14796. type: string
  14797. warehousestatus:
  14798. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14799. type: integer
  14800. warehousetype:
  14801. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14802. type: integer
  14803. required:
  14804. - autoid
  14805. - warehousecode
  14806. type: object
  14807. models.WrAverageTradePrice:
  14808. properties:
  14809. averageprice:
  14810. description: 成交均价
  14811. type: number
  14812. tradedate:
  14813. description: 交易日yyyymm
  14814. type: string
  14815. type: object
  14816. models.WrBsGoodsInfo:
  14817. properties:
  14818. buyorsell:
  14819. description: 买卖方向 0-买 1-卖
  14820. type: integer
  14821. goodsid:
  14822. description: 交易合约ID
  14823. type: integer
  14824. lstitem:
  14825. description: 商品信息项
  14826. items:
  14827. $ref: '#/definitions/models.WrTypeItem'
  14828. type: array
  14829. lststep:
  14830. description: 履约规则
  14831. items:
  14832. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14833. type: array
  14834. type: object
  14835. models.WrBuybackDetail:
  14836. properties:
  14837. buybackamount:
  14838. description: 回购金额
  14839. type: number
  14840. buybackqty:
  14841. description: 回购数量
  14842. type: number
  14843. buybackreleasemargin:
  14844. description: 回购释放保证金
  14845. type: number
  14846. buybacktime:
  14847. description: 回购时间
  14848. type: string
  14849. errordesc:
  14850. description: 错误描述
  14851. type: string
  14852. handlestatus:
  14853. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14854. type: integer
  14855. relatedwrid:
  14856. description: 关联仓单ID
  14857. type: integer
  14858. scfcontractid:
  14859. description: SCF合同ID
  14860. type: string
  14861. scfwrbuybackid:
  14862. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14863. type: integer
  14864. tradedate:
  14865. description: 交易日(yyyyMMdd)
  14866. type: string
  14867. type: object
  14868. models.WrDeliveryAvalidHoldLB:
  14869. properties:
  14870. accountid:
  14871. description: 资金账号
  14872. type: integer
  14873. avalidqty:
  14874. description: 数量(可点选数量)
  14875. type: number
  14876. deliverygoodsid:
  14877. description: 品种id
  14878. type: integer
  14879. enumdicname:
  14880. description: 单位名称
  14881. type: string
  14882. goodsid:
  14883. description: x合约商品id
  14884. type: integer
  14885. ladingbillid:
  14886. description: 提单id
  14887. type: string
  14888. pgoodscode:
  14889. description: p商品代码(点价合约)
  14890. type: string
  14891. pgoodsid:
  14892. description: p商品id(点价合约)
  14893. type: integer
  14894. pgoodsname:
  14895. description: p商品名称(点价合约)
  14896. type: string
  14897. pricemove:
  14898. description: 升贴水
  14899. type: number
  14900. subnum:
  14901. description: 提单子id
  14902. type: integer
  14903. userid:
  14904. description: 用户id
  14905. type: integer
  14906. username:
  14907. description: 仓单持有人
  14908. type: string
  14909. warehousecode:
  14910. description: 仓库代码
  14911. type: string
  14912. warehouseid:
  14913. description: 仓库id
  14914. type: integer
  14915. warehousename:
  14916. description: 仓库名称
  14917. type: string
  14918. wrfactortypeid:
  14919. description: 仓单要素id
  14920. type: string
  14921. wrstandardcode:
  14922. description: 品代码
  14923. type: string
  14924. wrstandardid:
  14925. description: 品类d
  14926. type: integer
  14927. wrstandardname:
  14928. description: 品类名称
  14929. type: string
  14930. wrtypename:
  14931. description: 商品
  14932. type: string
  14933. xgoodscode:
  14934. description: x合约代码
  14935. type: string
  14936. xgoodsname:
  14937. description: x合约名称
  14938. type: string
  14939. type: object
  14940. models.WrDeliveryDetail:
  14941. properties:
  14942. accountid:
  14943. description: 账号ID
  14944. type: integer
  14945. averageprice:
  14946. description: 交割均价 = 交割金额 / 交割数量
  14947. type: number
  14948. begindate:
  14949. description: 开始交易日(yyyymmdd)
  14950. type: string
  14951. buyorsell:
  14952. description: 方向 - 0:买 1:卖
  14953. type: integer
  14954. deliveryamount:
  14955. description: 货款金额(X总货款+P总货款)
  14956. type: number
  14957. deliveryid:
  14958. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14959. type: string
  14960. deliveryorderid:
  14961. description: 申报单号
  14962. type: string
  14963. deliverypricemove:
  14964. description: 升贴水(升贴水总额)
  14965. type: number
  14966. deliveryqty:
  14967. description: 交收数量(点选数量)
  14968. type: number
  14969. deliverystatus:
  14970. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14971. type: integer
  14972. deliverytime:
  14973. description: 交割时间
  14974. type: string
  14975. deliverytotalamount:
  14976. description: 交收金额
  14977. type: number
  14978. enddate:
  14979. description: 结束交易日(yyyymmdd)
  14980. type: string
  14981. enumdicname:
  14982. description: 单位名称
  14983. type: string
  14984. matchaccountid:
  14985. description: 对手账号ID
  14986. type: integer
  14987. matchusername:
  14988. description: 对手方名称(仓单持有人)
  14989. type: string
  14990. p1goodsremainamount:
  14991. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14992. type: number
  14993. pdeliverycloseqty:
  14994. description: p合约平仓数量
  14995. type: number
  14996. pdeliveryprice:
  14997. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14998. type: number
  14999. pgoodscode:
  15000. description: 商品代码
  15001. type: string
  15002. pgoodsid:
  15003. description: p点选合约id
  15004. type: integer
  15005. pgoodsname:
  15006. description: 商品名称
  15007. type: string
  15008. ppricemode:
  15009. description: 点价价格方式 - 1:商品价 2:固定值
  15010. type: integer
  15011. tradedate:
  15012. description: 交易日(yyyymmdd)
  15013. type: string
  15014. userid:
  15015. description: 用户id
  15016. type: integer
  15017. username:
  15018. description: 用户名称
  15019. type: string
  15020. warehousename:
  15021. description: 仓库名称
  15022. type: string
  15023. wrfactortypeid:
  15024. description: 仓单要素类型ID
  15025. type: string
  15026. wrtypename:
  15027. description: 商品
  15028. type: string
  15029. xdeliverycloseqty:
  15030. description: 合约数量
  15031. type: number
  15032. xgoodsamount:
  15033. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15034. type: number
  15035. xgoodscode:
  15036. description: 商品代码
  15037. type: string
  15038. xgoodsid:
  15039. description: x交易合约ID
  15040. type: integer
  15041. xgoodsname:
  15042. description: 商品名称
  15043. type: string
  15044. type: object
  15045. models.WrDeliveryGoodsSection:
  15046. properties:
  15047. dglst:
  15048. description: 板块商品列表
  15049. items:
  15050. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15051. type: array
  15052. imagepath:
  15053. description: 图片地址
  15054. type: string
  15055. orderindex:
  15056. description: 排序
  15057. type: integer
  15058. sectionid:
  15059. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15060. = 1的版块1 - 云融指数
  15061. type: integer
  15062. sectionname:
  15063. description: 版块名称
  15064. type: string
  15065. sectiontype:
  15066. description: 版块类型 - 1:指数版块 2:普通版块
  15067. type: integer
  15068. type: object
  15069. models.WrDeliveryGoodsSectionConfig:
  15070. properties:
  15071. deliverygoodscode:
  15072. description: 现货商品代码
  15073. type: string
  15074. deliverygoodsid:
  15075. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15076. type: integer
  15077. deliverygoodsname:
  15078. description: 现货商品名称
  15079. type: string
  15080. orderindex:
  15081. description: 排序
  15082. type: integer
  15083. type: object
  15084. models.WrFAProductDetail:
  15085. properties:
  15086. accountid:
  15087. description: 资金账号
  15088. type: integer
  15089. areauserid:
  15090. description: 金融机构ID
  15091. type: integer
  15092. financingdays:
  15093. description: 天数(天)
  15094. type: integer
  15095. interestminlen:
  15096. description: 最小起息天数
  15097. type: integer
  15098. interestrate:
  15099. description: 利率
  15100. type: number
  15101. interestratemode:
  15102. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15103. type: integer
  15104. interestsettlemode:
  15105. description: 结息方式 - 1:按日结息 3:按月结息
  15106. type: integer
  15107. interestsettlevalue:
  15108. description: 结息方式值
  15109. type: integer
  15110. isautoloan:
  15111. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15112. type: integer
  15113. loantag:
  15114. description: '放款标识: "放款快" 或者为空'
  15115. type: string
  15116. marginratio:
  15117. description: 保证金比率质押率 - [仓单质押]
  15118. type: number
  15119. productdetailid:
  15120. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15121. type: integer
  15122. productid:
  15123. description: 金融产品ID
  15124. type: integer
  15125. productname:
  15126. description: 产品名称
  15127. type: string
  15128. updatetime:
  15129. description: 更新时间
  15130. type: string
  15131. username:
  15132. description: 融出方
  15133. type: string
  15134. type: object
  15135. models.WrFactorTypeInfo:
  15136. properties:
  15137. deliverygoodscode:
  15138. description: 品种代码
  15139. type: string
  15140. deliverygoodsname:
  15141. description: 品种名称
  15142. type: string
  15143. dgfactoryitemid:
  15144. description: 选择项id
  15145. type: integer
  15146. dgfactoryitemtypeid:
  15147. description: 要素选择项ID (1-仓库 2-品牌)
  15148. type: integer
  15149. dgfactoryitemvalue:
  15150. description: 要素项值
  15151. type: string
  15152. itemtypename:
  15153. description: 要素项名称
  15154. type: string
  15155. optioncompare:
  15156. description: 选择比较串
  15157. type: string
  15158. warehouseid:
  15159. description: 仓库id
  15160. type: integer
  15161. wrfactortypeid:
  15162. description: 仓单要素ID
  15163. type: string
  15164. wrfactortypename:
  15165. description: 要素名称
  15166. type: string
  15167. wrfactortypename2:
  15168. description: 要素名称(不含仓库)
  15169. type: string
  15170. wrstandardcode:
  15171. description: 品类代码
  15172. type: string
  15173. wrstandardid:
  15174. description: 品类id
  15175. type: integer
  15176. wrstandardname:
  15177. description: 品类名称
  15178. type: string
  15179. type: object
  15180. models.WrFilterItem:
  15181. properties:
  15182. itemcode:
  15183. description: 代码
  15184. type: string
  15185. itemid:
  15186. description: 项id
  15187. type: integer
  15188. itemname:
  15189. description: 名称
  15190. type: string
  15191. itemtype:
  15192. description: 类型 1-品种 2-品类(商品) 3-仓库
  15193. type: integer
  15194. type: object
  15195. models.WrFinanceBuyApply:
  15196. properties:
  15197. applydate:
  15198. description: 申请时间
  15199. type: string
  15200. applystatus:
  15201. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15202. type: integer
  15203. applyuserid:
  15204. description: 申请人
  15205. type: integer
  15206. auditdate:
  15207. description: 审核时间
  15208. type: string
  15209. auditremark:
  15210. description: 审核备注
  15211. type: string
  15212. audituserid:
  15213. description: 审核人
  15214. type: integer
  15215. buyaccountid:
  15216. description: 买方资金账号
  15217. type: integer
  15218. buyorsell:
  15219. description: 买卖 - 0:买 1:卖
  15220. type: integer
  15221. buyuserid:
  15222. description: 买方用户ID
  15223. type: integer
  15224. buyusername:
  15225. description: 买方名称
  15226. type: string
  15227. buywrtradeorderid:
  15228. description: 融资方买委托单ID
  15229. type: string
  15230. deliverygoodscode:
  15231. description: 品种代码
  15232. type: string
  15233. deliverygoodsid:
  15234. description: 品种ID
  15235. type: integer
  15236. deliverygoodsname:
  15237. description: 品种名称
  15238. type: string
  15239. deliverymonth:
  15240. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15241. type: string
  15242. enumdicname:
  15243. description: 单位名称
  15244. type: string
  15245. financeaccountid:
  15246. description: 融资方资金帐户ID
  15247. type: integer
  15248. financeapplyid:
  15249. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15250. type: string
  15251. financeareauserid:
  15252. description: 融资方用户ID
  15253. type: string
  15254. financename:
  15255. description: 融出方名称
  15256. type: string
  15257. financetype:
  15258. description: 融资类型 1-融资回购
  15259. type: integer
  15260. financingdays:
  15261. description: 天数(天)
  15262. type: integer
  15263. freezebuymargin:
  15264. description: 冻结融资保证金(买方)
  15265. type: number
  15266. handleremark:
  15267. description: 处理备注
  15268. type: string
  15269. handlestatus:
  15270. description: 处理状态
  15271. type: integer
  15272. interestminlen:
  15273. description: 最小起息天数
  15274. type: integer
  15275. interestrate:
  15276. description: 利率
  15277. type: number
  15278. interestratemode:
  15279. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15280. type: integer
  15281. interestsettlemode:
  15282. description: 结息方式 - 1:按日结息 3:按月结息
  15283. type: integer
  15284. interestsettlevalue:
  15285. description: 结息方式值
  15286. type: integer
  15287. isautoloan:
  15288. description: 是否自动放款 - 0:手动 1:自动
  15289. type: integer
  15290. marginratio:
  15291. description: 保证金比率质押率 - [仓单质押]
  15292. type: number
  15293. marketid:
  15294. description: 市场ID
  15295. type: integer
  15296. minivalue:
  15297. description: 现货商品最小变动值
  15298. type: integer
  15299. optioncompare:
  15300. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15301. type: string
  15302. orderqty:
  15303. description: 委托数量(商品数量)
  15304. type: number
  15305. productdetailid:
  15306. description: 产品组合ID
  15307. type: integer
  15308. productid:
  15309. description: 金融产品ID
  15310. type: integer
  15311. productname:
  15312. description: 产品名称
  15313. type: string
  15314. remark:
  15315. description: 备注
  15316. type: string
  15317. scfcontractid:
  15318. description: 仓单回购合同ID
  15319. type: string
  15320. sellaccountid:
  15321. description: 卖方资金账号
  15322. type: integer
  15323. selluserid:
  15324. description: 卖方用户ID
  15325. type: integer
  15326. sellwrtradeorderid:
  15327. description: 卖方委托单ID
  15328. type: string
  15329. tradeamount:
  15330. description: 成交金额(借款金额)
  15331. type: number
  15332. tradedate:
  15333. description: 交易日(yyyyMMdd)
  15334. type: string
  15335. tradeprice:
  15336. description: 成交价格
  15337. type: number
  15338. warehouseid:
  15339. description: 仓库ID
  15340. type: integer
  15341. warehousename:
  15342. description: 仓库名称
  15343. type: string
  15344. wrfactortypeid:
  15345. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15346. type: string
  15347. wrfactortypename:
  15348. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15349. type: string
  15350. wrpricetype:
  15351. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15352. type: integer
  15353. wrstandardcode:
  15354. description: 现货商品代码
  15355. type: string
  15356. wrstandardid:
  15357. description: 现货商品ID
  15358. type: integer
  15359. wrstandardname:
  15360. description: 商品名称
  15361. type: string
  15362. wrtypename:
  15363. description: 商品
  15364. type: string
  15365. type: object
  15366. models.WrFriendApply:
  15367. properties:
  15368. applicantid:
  15369. description: 申请人
  15370. type: integer
  15371. applyname:
  15372. description: 申请人名称
  15373. type: string
  15374. applysrc:
  15375. description: 申请来源 - 1:管理端 2:终端
  15376. type: integer
  15377. applystatus:
  15378. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15379. type: integer
  15380. applytime:
  15381. description: 申请时间
  15382. type: string
  15383. auditname:
  15384. description: 审核人名称
  15385. type: string
  15386. auditorid:
  15387. description: 审核人
  15388. type: integer
  15389. auditremark:
  15390. description: 审核备注
  15391. type: string
  15392. auditsrc:
  15393. description: 审核来源 - 1:管理端 2:终端
  15394. type: integer
  15395. audittime:
  15396. description: 审核时间
  15397. type: string
  15398. friendapplyid:
  15399. description: 申请ID(SEQ_FRIENDAPPLY)
  15400. type: string
  15401. friendname:
  15402. description: 好友名字(已脱敏)
  15403. type: string
  15404. frienduserid:
  15405. description: 好友用户ID
  15406. type: string
  15407. remark:
  15408. description: 备注
  15409. type: string
  15410. userid:
  15411. description: 申请人用户ID
  15412. type: integer
  15413. type: object
  15414. models.WrFtDeliveryGoods:
  15415. properties:
  15416. deliverygoodscode:
  15417. description: 品种代码
  15418. type: string
  15419. deliverygoodsid:
  15420. description: 品种ID
  15421. type: integer
  15422. deliverygoodsname:
  15423. description: 品种名称
  15424. type: string
  15425. wdlst:
  15426. description: 商品列表
  15427. items:
  15428. $ref: '#/definitions/models.WrFtWrstandard'
  15429. type: array
  15430. type: object
  15431. models.WrFtWrstandard:
  15432. properties:
  15433. enumdicname:
  15434. description: 单位名称
  15435. type: string
  15436. minivalue:
  15437. description: 最小变动值
  15438. type: integer
  15439. wrstandardcode:
  15440. description: 现货商品代码
  15441. type: string
  15442. wrstandardid:
  15443. description: 现货商品ID
  15444. type: integer
  15445. wrstandardname:
  15446. description: 商品名称
  15447. type: string
  15448. type: object
  15449. models.WrGoodsInfo:
  15450. properties:
  15451. haswr:
  15452. description: 0:仓单预售 1:仓单贸易
  15453. type: integer
  15454. lstitem:
  15455. description: 商品信息项
  15456. items:
  15457. $ref: '#/definitions/models.WrTypeItem'
  15458. type: array
  15459. lststep:
  15460. description: 履约规则
  15461. items:
  15462. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15463. type: array
  15464. marketid:
  15465. description: 市场id
  15466. type: integer
  15467. type: object
  15468. models.WrGoodsPerformanceStep:
  15469. properties:
  15470. autoid:
  15471. description: AutoID
  15472. type: integer
  15473. isauto:
  15474. description: 是否自动 - 0:不自动 1:自动
  15475. type: integer
  15476. remark:
  15477. description: 备注
  15478. type: string
  15479. stepdate:
  15480. description: 天数信息(T+N)
  15481. type: string
  15482. stepdays:
  15483. description: 距离上一步天数
  15484. type: integer
  15485. stepindex:
  15486. description: 步骤序号
  15487. type: integer
  15488. stepinfo:
  15489. description: 步骤信息(步骤名称+步骤值)
  15490. type: string
  15491. steptypeid:
  15492. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15493. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15494. type: integer
  15495. steptypename:
  15496. description: 步骤名称
  15497. type: string
  15498. stepvalue:
  15499. description: 步骤值
  15500. type: number
  15501. templateid:
  15502. description: 履约计划模板ID
  15503. type: integer
  15504. type: object
  15505. models.WrHoldLB:
  15506. properties:
  15507. accountid:
  15508. description: 持有人帐户ID
  15509. type: integer
  15510. createtime:
  15511. description: 创建时间(过户时间)
  15512. type: string
  15513. deliverygoodscode:
  15514. description: 品种代码
  15515. type: string
  15516. deliverygoodsid:
  15517. description: 品种ID
  15518. type: integer
  15519. deliverygoodsname:
  15520. description: 品种名称
  15521. type: string
  15522. enableqty:
  15523. description: 可用数量
  15524. type: number
  15525. enumdicname:
  15526. description: 单位名称
  15527. type: string
  15528. freezerqty:
  15529. description: 冻结数量
  15530. type: number
  15531. ladingbillid:
  15532. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15533. type: string
  15534. minivalue:
  15535. description: 现货商品最小变动值
  15536. type: integer
  15537. optioncompare:
  15538. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15539. type: string
  15540. parentsubnum:
  15541. description: 拆分父子单号
  15542. type: integer
  15543. pledgeqty:
  15544. description: 质押数量
  15545. type: number
  15546. qty:
  15547. description: 数量
  15548. type: number
  15549. subnum:
  15550. description: 提单子单号
  15551. type: integer
  15552. tradedate:
  15553. description: 交易日(yyyyMMdd)
  15554. type: string
  15555. userid:
  15556. description: 持有人ID
  15557. type: integer
  15558. warehouseid:
  15559. description: 仓库ID
  15560. type: integer
  15561. warehousename:
  15562. description: 仓库名称
  15563. type: string
  15564. wrfactortypeid:
  15565. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15566. type: string
  15567. wrfactortypename:
  15568. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15569. type: string
  15570. wrholdeno:
  15571. description: 仓单编号
  15572. type: string
  15573. wrid:
  15574. description: 仓单变更ID
  15575. type: string
  15576. wrstandardcode:
  15577. description: 现货商品代码
  15578. type: string
  15579. wrstandardid:
  15580. description: 现货商品ID
  15581. type: integer
  15582. wrstandardname:
  15583. description: 商品名称
  15584. type: string
  15585. wrtypename:
  15586. description: 商品
  15587. type: string
  15588. type: object
  15589. models.WrMarketTradeConfig:
  15590. properties:
  15591. basisdownratio:
  15592. description: 浮动价基差下限比例(仓单贸易)
  15593. type: number
  15594. basisupratio:
  15595. description: 浮动价基差上限比例(仓单贸易)
  15596. type: number
  15597. buychargealgorithm:
  15598. description: 买方手续费收取方式 1:比率 2:固定
  15599. type: integer
  15600. buychargealgorithm2:
  15601. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15602. type: integer
  15603. buychargealgorithmvalue:
  15604. description: 买方手续费设置值(交易所部分)
  15605. type: number
  15606. buychargealgorithmvalue2:
  15607. description: 买方手续费设置值(会员部分)
  15608. type: number
  15609. buychargealgorithmvalue3:
  15610. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15611. type: number
  15612. buychargealgorithmvalue4:
  15613. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15614. type: number
  15615. buyfirstmarginalgorithm:
  15616. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15617. type: integer
  15618. buyfirstmarginvalue:
  15619. description: 买方出价保证金设置值 - [竞拍]
  15620. type: number
  15621. buymarginalgorithm:
  15622. description: 买方保证金方式 - 1:比率 2:固定
  15623. type: integer
  15624. buymarginvalue:
  15625. description: 买方保证金设置值
  15626. type: number
  15627. buyreleaseratio:
  15628. description: 买方释放比率[2:分步履约]
  15629. type: number
  15630. executemode:
  15631. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15632. type: integer
  15633. executeside:
  15634. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15635. type: integer
  15636. failedchargealgorithm:
  15637. description: 流拍手续费收取方式 1:比率 2:固定
  15638. type: integer
  15639. failedchargevalue:
  15640. description: 流拍手续费设置值
  15641. type: number
  15642. failedchargevalue2:
  15643. description: 流拍卖方手续费设置值
  15644. type: number
  15645. holddays:
  15646. description: 合同期限[2:分步履约]
  15647. type: integer
  15648. marketid:
  15649. description: 市场ID-仓单贸易、竞拍、预售
  15650. type: integer
  15651. minqty:
  15652. description: 最小执行量[2:分步履约]
  15653. type: number
  15654. modifierid:
  15655. description: 修改人
  15656. type: integer
  15657. performancetempid:
  15658. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15659. 立即执行(-1)
  15660. type: integer
  15661. performancetempid2:
  15662. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15663. 立即执行
  15664. type: integer
  15665. performancetempid2s:
  15666. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15667. - 履约方式: 立即执行
  15668. type: string
  15669. performancetempids:
  15670. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15671. - 履约方式: 立即执行(-1)
  15672. type: string
  15673. performanceway:
  15674. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15675. type: integer
  15676. sellchargealgorithm:
  15677. description: 卖方手续费收取方式 1:比率 2:固定
  15678. type: integer
  15679. sellchargealgorithm2:
  15680. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15681. type: integer
  15682. sellchargealgorithmvalue:
  15683. description: 卖方手续费设置值(交易所部分)
  15684. type: number
  15685. sellchargealgorithmvalue2:
  15686. description: 卖方手续费设置值(会员部分)
  15687. type: number
  15688. sellchargealgorithmvalue3:
  15689. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15690. type: number
  15691. sellchargealgorithmvalue4:
  15692. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15693. type: number
  15694. sellmarginalgorithm:
  15695. description: 卖方保证金方式 - 1:比率 2:固定
  15696. type: integer
  15697. sellmarginvalue:
  15698. description: 卖方保证金设置值
  15699. type: number
  15700. sellmarginvalue2:
  15701. description: 卖方保证金设置值(无仓单)
  15702. type: number
  15703. sellreleaseratio:
  15704. description: 卖方释放比率[2:分步履约]
  15705. type: number
  15706. updatetime:
  15707. description: 更新时间
  15708. type: string
  15709. type: object
  15710. models.WrOrderDetail:
  15711. properties:
  15712. accountid:
  15713. description: 交易账号(资金账号)
  15714. type: integer
  15715. allfriendsflag:
  15716. description: 是否全好友可见 - 0:否 1:是
  15717. type: integer
  15718. amount:
  15719. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15720. type: number
  15721. begindate:
  15722. description: 开始交易日(yyyymmdd)
  15723. type: string
  15724. buyorsell:
  15725. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15726. type: integer
  15727. canbargain:
  15728. description: 是否可议价 - 0:不可 1:可
  15729. type: integer
  15730. cancelqty:
  15731. description: 撤销数量
  15732. type: number
  15733. canpart:
  15734. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15735. type: integer
  15736. delistminqty:
  15737. description: 起摘数量
  15738. type: integer
  15739. deliverygoodscode:
  15740. description: 品种代码
  15741. type: string
  15742. deliverygoodsid:
  15743. description: 品种ID
  15744. type: integer
  15745. deliverygoodsname:
  15746. description: 品种名称
  15747. type: string
  15748. deliverymonth:
  15749. description: 交收月
  15750. type: string
  15751. enddate:
  15752. description: 结束交易日(yyyymmdd)
  15753. type: string
  15754. enumdicname:
  15755. description: 单位名称
  15756. type: string
  15757. fixedprice:
  15758. description: 固定价格 - [挂牌]
  15759. type: number
  15760. freezemargin:
  15761. description: 冻结保证金(保证金)
  15762. type: number
  15763. futupricemove:
  15764. description: 期货升贴水
  15765. type: number
  15766. futushow:
  15767. description: 期货合约/升贴水
  15768. type: string
  15769. goodscode:
  15770. description: 期货合约
  15771. type: string
  15772. goodsid:
  15773. description: 期货商品id
  15774. type: integer
  15775. goodsname:
  15776. description: 商品名称
  15777. type: string
  15778. haswr:
  15779. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15780. type: integer
  15781. isspecified:
  15782. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15783. type: integer
  15784. ladingbillid:
  15785. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15786. type: string
  15787. marginvalue:
  15788. description: 保证金设置值(履约保证金)
  15789. type: number
  15790. marketid:
  15791. description: 市场ID
  15792. type: integer
  15793. matchusername:
  15794. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15795. type: string
  15796. minivalue:
  15797. description: 现货商品最小变动值
  15798. type: integer
  15799. optioncompare:
  15800. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15801. type: string
  15802. orderqty:
  15803. description: 委托数量
  15804. type: number
  15805. ordertime:
  15806. description: 委托时间(挂牌时间)
  15807. type: string
  15808. performancetemplateid:
  15809. description: 履约模板id
  15810. type: integer
  15811. pricemove:
  15812. description: 升贴水(浮动价时填写) - [挂牌]
  15813. type: number
  15814. taname:
  15815. description: 交易用户名称(资金账号名称)
  15816. type: string
  15817. tradedate:
  15818. description: 交易日(yyyyMMdd)
  15819. type: string
  15820. tradeprice:
  15821. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15822. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15823. type: number
  15824. tradeqty:
  15825. description: 成交数量
  15826. type: number
  15827. userid:
  15828. description: 用户ID
  15829. type: integer
  15830. validtime:
  15831. description: 挂牌有效期
  15832. type: string
  15833. validtype:
  15834. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15835. type: integer
  15836. warehouseid:
  15837. description: 仓库ID
  15838. type: integer
  15839. warehousename:
  15840. description: 仓库名称
  15841. type: string
  15842. wrfactortypeid:
  15843. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15844. type: string
  15845. wrfactortypename:
  15846. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15847. type: string
  15848. wrpricetype:
  15849. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15850. type: integer
  15851. wrstandardcode:
  15852. description: 现货商品代码
  15853. type: string
  15854. wrstandardid:
  15855. description: 现货商品ID
  15856. type: integer
  15857. wrstandardname:
  15858. description: 商品名称
  15859. type: string
  15860. wrtradeorderid:
  15861. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15862. type: string
  15863. wrtradeorderstatus:
  15864. 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:撤单解冻贷款失败
  15865. type: integer
  15866. wrtradetype:
  15867. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15868. type: integer
  15869. wrtypename:
  15870. description: 商品
  15871. type: string
  15872. type: object
  15873. models.WrOrderQuote:
  15874. properties:
  15875. buyprice:
  15876. description: 买价
  15877. type: number
  15878. buypricemove:
  15879. description: 买升贴水(基差)
  15880. type: number
  15881. buyqty:
  15882. description: 买量
  15883. type: number
  15884. deliverygoodscode:
  15885. description: 品种代码
  15886. type: string
  15887. deliverygoodsid:
  15888. description: 品种id
  15889. type: integer
  15890. deliverygoodsname:
  15891. description: 品种名称
  15892. type: string
  15893. deliverymonth:
  15894. description: 交收月
  15895. type: string
  15896. enumdicname:
  15897. description: 单位名称
  15898. type: string
  15899. goodscode:
  15900. description: 商品合约(浮动价列表才有)
  15901. type: string
  15902. goodsid:
  15903. description: 商品id(浮动价列表才有)
  15904. type: integer
  15905. minivalue:
  15906. description: 现货商品最小变动值
  15907. type: integer
  15908. sellprice:
  15909. description: 卖价
  15910. type: number
  15911. sellpricemove:
  15912. description: 卖升贴水(基差)
  15913. type: number
  15914. sellqty:
  15915. description: 卖量
  15916. type: number
  15917. warehousecode:
  15918. description: 仓库代码
  15919. type: string
  15920. warehouseid:
  15921. description: 仓库id
  15922. type: integer
  15923. warehousename:
  15924. description: 仓库名称
  15925. type: string
  15926. wrfactortypeid:
  15927. description: 仓单要素id
  15928. type: string
  15929. wrfactortypename:
  15930. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15931. type: string
  15932. wrgoodsname:
  15933. description: 商品(商品名称+仓库要素名称 拼接)
  15934. type: string
  15935. wrstandardcode:
  15936. description: 商品代码
  15937. type: string
  15938. wrstandardid:
  15939. description: 商品id
  15940. type: integer
  15941. wrstandardname:
  15942. description: 商品名称
  15943. type: string
  15944. type: object
  15945. models.WrOrderQuoteDetail:
  15946. properties:
  15947. buyorsell:
  15948. description: 买卖 - 0:买 1:卖
  15949. type: integer
  15950. delistminqty:
  15951. description: 起摘数量
  15952. type: number
  15953. deliverymonth:
  15954. description: 交收月
  15955. type: string
  15956. enumdicname:
  15957. description: 单位名称
  15958. type: string
  15959. fixedprice:
  15960. description: 买(卖)价
  15961. type: number
  15962. minivalue:
  15963. description: 现货商品最小变动值
  15964. type: integer
  15965. orderqty:
  15966. description: 买(卖)量(=委托量-成交量)
  15967. type: number
  15968. ordertime:
  15969. description: 委托时间
  15970. type: string
  15971. pricemove:
  15972. description: 买(卖)升贴水- 基差
  15973. type: number
  15974. userid:
  15975. description: 购买方(销售方)用户ID
  15976. type: integer
  15977. username:
  15978. description: 购买方(销售方)
  15979. type: string
  15980. wrtradeorderid:
  15981. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15982. type: string
  15983. type: object
  15984. models.WrOutInApply:
  15985. properties:
  15986. applyid:
  15987. description: 申请单id
  15988. type: string
  15989. applystatus:
  15990. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15991. 8:已撤销
  15992. type: integer
  15993. applytime:
  15994. description: 申请时间
  15995. type: string
  15996. applytype:
  15997. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15998. type: integer
  15999. begindate:
  16000. description: 开始交易日(yyyymmdd)
  16001. type: string
  16002. deliverygoodscode:
  16003. description: 品种代码
  16004. type: string
  16005. deliverygoodsid:
  16006. description: 品种ID
  16007. type: integer
  16008. deliverygoodsname:
  16009. description: 品种名称
  16010. type: string
  16011. enddate:
  16012. description: 结束交易日(yyyymmdd)
  16013. type: string
  16014. enumdicname:
  16015. description: 单位名称
  16016. type: string
  16017. expresscompany:
  16018. description: 物流公司
  16019. type: string
  16020. expressnum:
  16021. description: 物流单号
  16022. type: string
  16023. minivalue:
  16024. description: 现货商品最小变动值
  16025. type: integer
  16026. optioncompare:
  16027. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16028. type: string
  16029. qty:
  16030. description: 数量
  16031. type: integer
  16032. userid:
  16033. description: 用户id
  16034. type: integer
  16035. warehouseid:
  16036. description: 仓库ID
  16037. type: integer
  16038. warehousename:
  16039. description: 仓库名称
  16040. type: string
  16041. wrfactortypeid:
  16042. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16043. type: string
  16044. wrfactortypename:
  16045. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16046. type: string
  16047. wrstandardcode:
  16048. description: 现货商品代码
  16049. type: string
  16050. wrstandardid:
  16051. description: 现货商品ID
  16052. type: integer
  16053. wrstandardname:
  16054. description: 商品名称
  16055. type: string
  16056. wrtypename:
  16057. description: 商品
  16058. type: string
  16059. type: object
  16060. models.WrPerformancePlan:
  16061. properties:
  16062. activatemonth:
  16063. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16064. type: string
  16065. amount:
  16066. description: 履约金额(总金额)
  16067. type: number
  16068. buyaccountid:
  16069. description: 买方账号
  16070. type: integer
  16071. buyerfreezeamount:
  16072. description: 履约冻结(买履约)
  16073. type: number
  16074. buyerfreezeamountremain:
  16075. description: 履约冻结剩余(买履约)
  16076. type: number
  16077. buyorsell:
  16078. description: 买卖方向 0-买 1-卖
  16079. type: integer
  16080. buypaidamount:
  16081. description: 买方已冻/已扣金额 (已付金额)
  16082. type: number
  16083. buyusername:
  16084. description: 买方名字
  16085. type: string
  16086. contractid:
  16087. description: 合同ID
  16088. type: integer
  16089. createtime:
  16090. description: 创建时间
  16091. type: string
  16092. creatorid:
  16093. description: 创建人
  16094. type: integer
  16095. curstepdeadline:
  16096. description: 当前步骤到期时间
  16097. type: string
  16098. curstepid:
  16099. description: 当前步骤ID
  16100. type: string
  16101. curstepname:
  16102. description: 当前步骤名称
  16103. type: string
  16104. deliverygoodscode:
  16105. description: 品种代码
  16106. type: string
  16107. deliverygoodsid:
  16108. description: 品种ID
  16109. type: integer
  16110. deliverygoodsname:
  16111. description: 品种名称
  16112. type: string
  16113. enumdicname:
  16114. description: 单位名称
  16115. type: string
  16116. expressfee:
  16117. description: 运费
  16118. type: number
  16119. expressfeeconfirmed:
  16120. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16121. type: integer
  16122. hasovershort:
  16123. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16124. type: integer
  16125. haswr:
  16126. description: 类型 0-仓单预售 1-仓单贸易
  16127. type: integer
  16128. marketid:
  16129. description: 市场ID
  16130. type: integer
  16131. middleaccountid:
  16132. description: 中间商资金账号ID
  16133. type: integer
  16134. middleuserid:
  16135. description: 中间商用户ID
  16136. type: integer
  16137. minivalue:
  16138. description: 现货商品最小变动值
  16139. type: integer
  16140. optioncompare:
  16141. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16142. type: string
  16143. overshortamount:
  16144. description: 溢短金额
  16145. type: number
  16146. overshortqty:
  16147. description: 溢短数量
  16148. type: number
  16149. paymenttype:
  16150. description: 付款方式 - 1:冻结 2:扣款
  16151. type: integer
  16152. performanceplanid:
  16153. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16154. type: string
  16155. performancestatus:
  16156. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16157. 9:超时待处理 10:超时关闭
  16158. type: integer
  16159. performancetype:
  16160. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16161. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16162. type: integer
  16163. qty:
  16164. description: 履约数量
  16165. type: number
  16166. relatedorderid:
  16167. description: 关联单号(履约类型的关联单号)
  16168. type: string
  16169. remark:
  16170. description: 备注
  16171. type: string
  16172. sellaccountid:
  16173. description: 卖方账号
  16174. type: integer
  16175. sellerfreezeamount:
  16176. description: 履约冻结(卖履约)
  16177. type: number
  16178. sellerfreezeamountremain:
  16179. description: 履约冻结剩余(卖履约)
  16180. type: number
  16181. sellreceivedamount:
  16182. description: 卖方已收金额
  16183. type: number
  16184. sellusername:
  16185. description: 卖方名字
  16186. type: string
  16187. shipremark:
  16188. description: 发货备注[物流单号]
  16189. type: string
  16190. starttime:
  16191. description: 开始时间
  16192. type: string
  16193. steptypeid:
  16194. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16195. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16196. type: integer
  16197. typename:
  16198. description: 履约类型 名称
  16199. type: string
  16200. unpaidamount:
  16201. description: 剩余款(待支付金额)
  16202. type: number
  16203. userid:
  16204. description: 用户id
  16205. type: integer
  16206. warehouseid:
  16207. description: 仓库ID
  16208. type: integer
  16209. warehousename:
  16210. description: 仓库名称
  16211. type: string
  16212. wrfactortypeid:
  16213. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16214. type: string
  16215. wrfactortypename:
  16216. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16217. type: string
  16218. wrstandardcode:
  16219. description: 现货商品代码
  16220. type: string
  16221. wrstandardid:
  16222. description: 现货商品ID
  16223. type: integer
  16224. wrstandardname:
  16225. description: 商品名称
  16226. type: string
  16227. wrtransferuserid:
  16228. description: 仓单受让用户
  16229. type: integer
  16230. wrtypename:
  16231. description: 商品
  16232. type: string
  16233. required:
  16234. - userid
  16235. type: object
  16236. models.WrPerformancePlanStep:
  16237. properties:
  16238. delaydays:
  16239. description: 延期申请天数
  16240. type: integer
  16241. deliverygoodscode:
  16242. description: 品种代码
  16243. type: string
  16244. deliverygoodsid:
  16245. description: 品种ID
  16246. type: integer
  16247. deliverygoodsname:
  16248. description: 品种名称
  16249. type: string
  16250. endtime:
  16251. description: 结束日期
  16252. type: string
  16253. enumdicname:
  16254. description: 单位名称
  16255. type: string
  16256. executeside:
  16257. description: 步骤执行方 - 1:买方 2:卖方
  16258. type: integer
  16259. handlestatus:
  16260. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16261. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16262. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16263. type: integer
  16264. isauto:
  16265. description: 是否自动 - 0:不自动 1:自动
  16266. type: integer
  16267. islastreceivestep:
  16268. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16269. type: integer
  16270. minivalue:
  16271. description: 现货商品最小变动值
  16272. type: integer
  16273. optioncompare:
  16274. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16275. type: string
  16276. overdays:
  16277. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16278. type: integer
  16279. performancestepid:
  16280. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16281. type: string
  16282. planid:
  16283. description: 所属履约计划ID
  16284. type: string
  16285. realamount:
  16286. description: 实际完成金额
  16287. type: number
  16288. relatedorderid:
  16289. description: 关联单号
  16290. type: string
  16291. remaindays:
  16292. description: 剩余天数
  16293. type: integer
  16294. remark:
  16295. description: 错误备注
  16296. type: string
  16297. starttime:
  16298. description: 开始日期
  16299. type: string
  16300. stepamount:
  16301. description: 步骤金额
  16302. type: number
  16303. stepdays:
  16304. description: 距离上一步天数(分钟)
  16305. type: integer
  16306. stepindex:
  16307. description: 步骤序号
  16308. type: integer
  16309. steplanchtype:
  16310. description: 步骤启动类型 - 1:系统自动 2:手动
  16311. type: integer
  16312. stepremark:
  16313. description: 步骤备注
  16314. type: string
  16315. stepstatus:
  16316. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16317. type: integer
  16318. steptypeid:
  16319. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16320. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16321. type: integer
  16322. steptypename:
  16323. description: 步骤名称
  16324. type: string
  16325. stepvalue:
  16326. description: 步骤值
  16327. type: number
  16328. warehouseid:
  16329. description: 仓库ID
  16330. type: integer
  16331. warehousename:
  16332. description: 仓库名称
  16333. type: string
  16334. wrfactortypeid:
  16335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16336. type: string
  16337. wrfactortypename:
  16338. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16339. type: string
  16340. wrstandardcode:
  16341. description: 现货商品代码
  16342. type: string
  16343. wrstandardid:
  16344. description: 现货商品ID
  16345. type: integer
  16346. wrstandardname:
  16347. description: 商品名称
  16348. type: string
  16349. wrtypename:
  16350. description: 商品
  16351. type: string
  16352. type: object
  16353. models.WrPerformanceStepType:
  16354. properties:
  16355. canauto:
  16356. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16357. type: integer
  16358. steptypeid:
  16359. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16360. type: integer
  16361. steptypename:
  16362. description: 步骤类型名称
  16363. type: string
  16364. type: object
  16365. models.WrPerformanceTemplateEx:
  16366. properties:
  16367. autoid:
  16368. description: AutoID 模板id
  16369. type: integer
  16370. createtime:
  16371. description: 创建时间
  16372. type: string
  16373. creatorid:
  16374. description: 创建人
  16375. type: integer
  16376. lstStep:
  16377. description: 步骤信息列表
  16378. items:
  16379. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16380. type: array
  16381. paymenttype:
  16382. description: 支付方式 - 1:冻结 2:扣款
  16383. type: integer
  16384. takemode:
  16385. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16386. type: integer
  16387. templatename:
  16388. description: 模板名称
  16389. type: string
  16390. templatetype:
  16391. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16392. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16393. type: integer
  16394. userid:
  16395. description: 所属用户
  16396. type: integer
  16397. type: object
  16398. models.WrPosition:
  16399. properties:
  16400. accountid:
  16401. description: 帐户ID
  16402. type: integer
  16403. buyexcuteqty:
  16404. description: 采购履约中数量
  16405. type: number
  16406. creditcurqty:
  16407. description: 授信当前数量(预售仓单:预售当前量)
  16408. type: number
  16409. creditenableqty:
  16410. description: '授信可用数量(预售仓单: 可用数量)'
  16411. type: number
  16412. creditfreezeqty:
  16413. description: '授信冻结数量(预售仓单: 当前数量)'
  16414. type: number
  16415. credittotalqty:
  16416. description: 授信总数量(预售仓单:预售总量)
  16417. type: number
  16418. credittradeqty:
  16419. description: 授信成交数量(预售仓单:成交总量)
  16420. type: number
  16421. deliverygoodscode:
  16422. description: 品种代码
  16423. type: string
  16424. deliverygoodsid:
  16425. description: 品种ID
  16426. type: integer
  16427. deliverygoodsname:
  16428. description: 品种名称
  16429. type: string
  16430. enalbeqty:
  16431. description: 可用数量
  16432. type: number
  16433. enumdicname:
  16434. description: 单位名称
  16435. type: string
  16436. freezeqty:
  16437. description: 总冻结数量
  16438. type: number
  16439. haswr:
  16440. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16441. type: integer
  16442. minivalue:
  16443. description: 现货商品最小变动值
  16444. type: integer
  16445. modifytime:
  16446. description: 修改时间(过户时间)
  16447. type: string
  16448. optioncompare:
  16449. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16450. type: string
  16451. pledgeqty:
  16452. description: 质押数量
  16453. type: number
  16454. querytype:
  16455. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16456. type: integer
  16457. sellexcuteqty:
  16458. description: 销售履约中数量
  16459. type: number
  16460. totalqty:
  16461. description: 总数量(库存数量)
  16462. type: number
  16463. warehouseid:
  16464. description: 仓库ID
  16465. type: integer
  16466. warehousename:
  16467. description: 仓库名称
  16468. type: string
  16469. wrfactortypeid:
  16470. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16471. type: string
  16472. wrfactortypename:
  16473. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16474. type: string
  16475. wrpositionid:
  16476. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16477. type: string
  16478. wrpositionno:
  16479. description: 仓单编号
  16480. type: string
  16481. wrstandardcode:
  16482. description: 现货商品代码
  16483. type: string
  16484. wrstandardid:
  16485. description: 现货商品ID
  16486. type: integer
  16487. wrstandardname:
  16488. description: 商品名称
  16489. type: string
  16490. wrtypename:
  16491. description: 商品
  16492. type: string
  16493. wruserid:
  16494. description: 持有人ID
  16495. type: integer
  16496. type: object
  16497. models.WrQuoteOrderMyq:
  16498. properties:
  16499. buyorsell:
  16500. description: 买卖 - 0:买 1:卖
  16501. type: integer
  16502. canbargain:
  16503. description: 是否可议价 - 0:不可 1:可
  16504. type: integer
  16505. canpart:
  16506. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16507. type: integer
  16508. delistminqty:
  16509. description: 起摘数量
  16510. type: number
  16511. deliverygoodscode:
  16512. description: 品种代码
  16513. type: string
  16514. deliverygoodsid:
  16515. description: 品种ID
  16516. type: integer
  16517. deliverygoodsname:
  16518. description: 品种名称
  16519. type: string
  16520. deliverymonth:
  16521. description: 交收月
  16522. type: string
  16523. enumdicname:
  16524. description: 单位名称
  16525. type: string
  16526. fixedprice:
  16527. description: 买(卖)价
  16528. type: number
  16529. goodscode:
  16530. description: 商品合约代码
  16531. type: string
  16532. marginflag:
  16533. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16534. type: integer
  16535. marginvalue:
  16536. description: 保证金设置值
  16537. type: number
  16538. minivalue:
  16539. description: 现货商品最小变动值
  16540. type: integer
  16541. orderqty:
  16542. description: 买(卖)量(=委托量-成交量)
  16543. type: number
  16544. ordertime:
  16545. description: 委托时间
  16546. type: string
  16547. performancetemplateid:
  16548. description: 履约模板id
  16549. type: integer
  16550. pricemove:
  16551. description: 买(卖)升贴水- 基差
  16552. type: number
  16553. templatename:
  16554. description: 履约模板名称
  16555. type: string
  16556. userid:
  16557. description: 购买方(销售方)用户ID
  16558. type: integer
  16559. username:
  16560. description: 购买方(销售方)
  16561. type: string
  16562. validtime:
  16563. description: 有效期限
  16564. type: string
  16565. validtype:
  16566. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16567. type: integer
  16568. warehousename:
  16569. description: 仓库名称
  16570. type: string
  16571. wrfactortypeid:
  16572. description: 仓单要素id
  16573. type: string
  16574. wrstandardcode:
  16575. description: 现货商品代码
  16576. type: string
  16577. wrstandardid:
  16578. description: 现货商品ID
  16579. type: integer
  16580. wrstandardname:
  16581. description: 商品名称
  16582. type: string
  16583. wrtradeorderid:
  16584. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16585. type: string
  16586. wrtypename:
  16587. description: 商品
  16588. type: string
  16589. type: object
  16590. models.WrScfContract:
  16591. properties:
  16592. borroweruserid:
  16593. description: 借款用户ID
  16594. type: integer
  16595. buybackwrpositionqty:
  16596. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16597. type: number
  16598. closeinterest:
  16599. description: 已结利息 -> 已结费用
  16600. type: number
  16601. currisklevel:
  16602. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16603. type: integer
  16604. deadline:
  16605. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16606. type: string
  16607. deliverygoodscode:
  16608. description: 品种代码
  16609. type: string
  16610. deliverygoodsid:
  16611. description: 品种ID
  16612. type: integer
  16613. deliverygoodsname:
  16614. description: 品种名称
  16615. type: string
  16616. enumdicname:
  16617. description: 单位名称
  16618. type: string
  16619. financingdays:
  16620. description: 天数(天)
  16621. type: integer
  16622. initmargin:
  16623. description: 保证金 - [仓单回购]
  16624. type: number
  16625. interestamount:
  16626. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16627. type: number
  16628. interestdebt:
  16629. description: 利息欠款(记录负数) -> 费用欠款
  16630. type: number
  16631. interestminlen:
  16632. description: 最小起息天数
  16633. type: integer
  16634. interestrate:
  16635. description: 利率
  16636. type: number
  16637. interestratemode:
  16638. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16639. type: integer
  16640. interestsettlemode:
  16641. description: 结息方式 - 1:按日结息 3:按月结息
  16642. type: integer
  16643. interestsettlevalue:
  16644. description: 结息方式值
  16645. type: integer
  16646. isautoloan:
  16647. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16648. type: integer
  16649. lastcloseinterestday:
  16650. description: 最近结息日(yyyyMMdd)
  16651. type: string
  16652. lenderamount:
  16653. description: 贷款金额 -> 借款金额
  16654. type: number
  16655. lenderuserid:
  16656. description: 贷款方用户ID -> 融出方用户ID
  16657. type: integer
  16658. lenderusername:
  16659. description: 融出方
  16660. type: string
  16661. marginratio:
  16662. description: 保证金比率质押率 - [仓单质押]
  16663. type: number
  16664. marketid:
  16665. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16666. type: integer
  16667. minivalue:
  16668. description: 现货商品最小变动值
  16669. type: integer
  16670. optioncompare:
  16671. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16672. type: string
  16673. pricemove:
  16674. description: 估值升贴水值
  16675. type: number
  16676. productdetailid:
  16677. description: 产品组合ID
  16678. type: integer
  16679. productid:
  16680. description: 金融产品ID
  16681. type: integer
  16682. productname:
  16683. description: 产品名称
  16684. type: string
  16685. remainamount:
  16686. description: 合同剩余金额 -> 剩余金额
  16687. type: number
  16688. remainwrpositionqty:
  16689. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16690. type: number
  16691. remark:
  16692. description: 备注
  16693. type: string
  16694. scfcontractid:
  16695. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16696. type: string
  16697. scfcontractstatus:
  16698. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16699. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16700. type: integer
  16701. scfcontracttype:
  16702. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16703. type: integer
  16704. startinterestday:
  16705. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16706. type: string
  16707. totalinterest:
  16708. description: 已计利息 -> 已计费用
  16709. type: number
  16710. unpaidinterest:
  16711. description: 未结费用
  16712. type: number
  16713. updatetime:
  16714. description: 更新时间
  16715. type: string
  16716. warehouseid:
  16717. description: 仓库ID
  16718. type: integer
  16719. warehousename:
  16720. description: 仓库名称
  16721. type: string
  16722. wrfactortypeid:
  16723. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16724. type: string
  16725. wrfactortypename:
  16726. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16727. type: string
  16728. wrqty:
  16729. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16730. type: number
  16731. wrstandardcode:
  16732. description: 现货商品代码
  16733. type: string
  16734. wrstandardid:
  16735. description: 现货商品ID
  16736. type: integer
  16737. wrstandardname:
  16738. description: 商品名称
  16739. type: string
  16740. wrtypename:
  16741. description: 商品
  16742. type: string
  16743. type: object
  16744. models.WrScfContractInterest:
  16745. properties:
  16746. closeinterest:
  16747. description: 已结利息
  16748. type: number
  16749. closeintereststatus:
  16750. description: 结息状态 - 1:未结 2:已结
  16751. type: integer
  16752. closetime:
  16753. description: 结息时间
  16754. type: string
  16755. closetradedate:
  16756. description: 结息交易日
  16757. type: string
  16758. creatorid:
  16759. description: 操作人ID
  16760. type: integer
  16761. dayrate:
  16762. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16763. type: number
  16764. interest:
  16765. description: 利息
  16766. type: number
  16767. interestamount:
  16768. description: 计息金额
  16769. type: number
  16770. interestday:
  16771. description: 计息日(yyyyMMdd)
  16772. type: string
  16773. scfcontractid:
  16774. description: SCF合同ID
  16775. type: string
  16776. scfcontractinterestid:
  16777. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16778. type: integer
  16779. updatetime:
  16780. description: 更新时间
  16781. type: string
  16782. type: object
  16783. models.WrSiteColumnDetail:
  16784. properties:
  16785. brief:
  16786. description: 简介
  16787. type: string
  16788. context:
  16789. description: 内容
  16790. type: string
  16791. coverimage:
  16792. description: 封面图片
  16793. type: string
  16794. creaedate:
  16795. description: 创建时间
  16796. type: string
  16797. id:
  16798. description: ID(SEQ_SITE_COLUMNDETAIL)
  16799. type: integer
  16800. istop:
  16801. description: 是否置顶 - 0:不置 1:置顶
  16802. type: integer
  16803. publishdate:
  16804. description: 发布日期
  16805. type: string
  16806. title:
  16807. description: 标题
  16808. type: string
  16809. updatedate:
  16810. description: 修改时间
  16811. type: string
  16812. type: object
  16813. models.WrSpecialMatchOrder:
  16814. properties:
  16815. amount:
  16816. description: 金额 = 数量 * 价格
  16817. type: number
  16818. buyorsell:
  16819. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16820. type: integer
  16821. cancelqty:
  16822. description: 撤销数量
  16823. type: number
  16824. deliverygoodscode:
  16825. description: 品种代码
  16826. type: string
  16827. deliverygoodsid:
  16828. description: 品种ID
  16829. type: integer
  16830. deliverygoodsname:
  16831. description: 品种名称
  16832. type: string
  16833. enumdicname:
  16834. description: 单位名称
  16835. type: string
  16836. fixedprice:
  16837. description: 固定价格(价格)
  16838. type: number
  16839. haswr:
  16840. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16841. type: integer
  16842. isspecified:
  16843. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16844. type: integer
  16845. marketid:
  16846. description: 市场ID
  16847. type: integer
  16848. matchuserid:
  16849. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16850. type: integer
  16851. matchusername:
  16852. description: 指定方
  16853. type: string
  16854. minivalue:
  16855. description: 现货商品最小变动值
  16856. type: integer
  16857. optioncompare:
  16858. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16859. type: string
  16860. orderqty:
  16861. description: 委托数量
  16862. type: number
  16863. ordertime:
  16864. description: 委托时间
  16865. type: string
  16866. pricemove:
  16867. description: 升贴水(浮动价时填写) - [挂牌]
  16868. type: number
  16869. tradedate:
  16870. description: 交易日(yyyyMMdd)
  16871. type: string
  16872. tradeprice:
  16873. description: 成交价格
  16874. type: number
  16875. tradeqty:
  16876. description: 成交数量
  16877. type: number
  16878. userid:
  16879. description: 用户ID
  16880. type: integer
  16881. username:
  16882. description: 发起方
  16883. type: string
  16884. warehouseid:
  16885. description: 仓库ID
  16886. type: integer
  16887. warehousename:
  16888. description: 仓库名称
  16889. type: string
  16890. wrfactortypeid:
  16891. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16892. type: string
  16893. wrfactortypename:
  16894. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16895. type: string
  16896. wrpricetype:
  16897. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16898. type: integer
  16899. wrstandardcode:
  16900. description: 现货商品代码
  16901. type: string
  16902. wrstandardid:
  16903. description: 现货商品ID
  16904. type: integer
  16905. wrstandardname:
  16906. description: 商品名称
  16907. type: string
  16908. wrtradeorderid:
  16909. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16910. type: string
  16911. wrtradeorderstatus:
  16912. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16913. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16914. type: integer
  16915. wrtradetype:
  16916. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16917. type: integer
  16918. wrtypename:
  16919. description: 商品
  16920. type: string
  16921. type: object
  16922. models.WrSpotGroupTradeSum:
  16923. properties:
  16924. deliverygoodscode:
  16925. description: 现货品种代码
  16926. type: string
  16927. deliverygoodsid:
  16928. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16929. type: integer
  16930. deliverygoodsname:
  16931. description: 现货品种名称
  16932. type: string
  16933. lastavgprice:
  16934. description: 上上个交易日价格(前2天价格)
  16935. type: string
  16936. lastreckondate:
  16937. description: 上上个交易日(前2天交易日)
  16938. type: string
  16939. reckondate:
  16940. description: 上个交易日(前1天交易日)
  16941. type: string
  16942. todayavgprice:
  16943. description: 上个交易日价格(前1天价格)
  16944. type: string
  16945. updown:
  16946. description: 涨跌
  16947. type: string
  16948. updownratio:
  16949. description: 涨幅(已格式化, 直接显示即可)
  16950. type: string
  16951. type: object
  16952. models.WrSpotGroupTradeSumDetail:
  16953. properties:
  16954. deliverygoodsid:
  16955. description: 现货商品id
  16956. type: integer
  16957. price:
  16958. description: 价格
  16959. type: number
  16960. reckondate:
  16961. description: 日期(yyymmdd, 如:20211031)
  16962. type: string
  16963. type: object
  16964. models.WrSpotGroupTradeSumEx:
  16965. properties:
  16966. lst:
  16967. description: 指数列表
  16968. items:
  16969. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16970. type: array
  16971. prereckondate:
  16972. description: 上上个交易日(yyymmdd)
  16973. type: string
  16974. reckondate:
  16975. description: 上个交易日(yyyymmdd)
  16976. type: string
  16977. type: object
  16978. models.WrStandardFactoryItem:
  16979. properties:
  16980. dgfactoryitemid:
  16981. description: 选择项id
  16982. type: integer
  16983. dgfactoryitemvalue:
  16984. description: 要素项值
  16985. type: string
  16986. warehouseid:
  16987. description: 仓库id
  16988. type: integer
  16989. type: object
  16990. models.WrStandardFactoryItemEx:
  16991. properties:
  16992. dgfactoryitemtypeid:
  16993. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16994. type: integer
  16995. itemlst:
  16996. description: 要素项列表
  16997. items:
  16998. $ref: '#/definitions/models.WrStandardFactoryItem'
  16999. type: array
  17000. itemtypename:
  17001. description: 要素项类型名称
  17002. type: string
  17003. wrstandardid:
  17004. description: 品类
  17005. type: integer
  17006. type: object
  17007. models.WrTradeDetail:
  17008. properties:
  17009. accountid:
  17010. description: 资金账号
  17011. type: integer
  17012. begindate:
  17013. description: 开始交易日(yyyymmdd)
  17014. type: string
  17015. buyorsell:
  17016. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17017. type: integer
  17018. chargevalue:
  17019. description: 手续费
  17020. type: number
  17021. deliverygoodscode:
  17022. description: 品种代码
  17023. type: string
  17024. deliverygoodsid:
  17025. description: 品种ID
  17026. type: integer
  17027. deliverygoodsname:
  17028. description: 品种名称
  17029. type: string
  17030. deliverymonth:
  17031. description: 交收月
  17032. type: string
  17033. enddate:
  17034. description: 结束交易日(yyyymmdd)
  17035. type: string
  17036. enumdicname:
  17037. description: 单位名称
  17038. type: string
  17039. haswr:
  17040. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17041. type: integer
  17042. marketid:
  17043. description: 市场ID
  17044. type: integer
  17045. matchaccountid:
  17046. description: 对手账号
  17047. type: integer
  17048. matchusername:
  17049. description: 对手方
  17050. type: string
  17051. minivalue:
  17052. description: 现货商品最小变动值
  17053. type: integer
  17054. optioncompare:
  17055. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17056. type: string
  17057. tradedate:
  17058. description: 交易日(yyyyMMdd)
  17059. type: string
  17060. tradeprice:
  17061. description: 成交价格
  17062. type: number
  17063. tradeqty:
  17064. description: 成交数量
  17065. type: number
  17066. tradetime:
  17067. description: 成交时间
  17068. type: string
  17069. userid:
  17070. description: 用户ID
  17071. type: integer
  17072. warehouseid:
  17073. description: 仓库ID
  17074. type: integer
  17075. warehousename:
  17076. description: 仓库名称
  17077. type: string
  17078. wrfactortypeid:
  17079. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17080. type: string
  17081. wrfactortypename:
  17082. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17083. type: string
  17084. wrstandardcode:
  17085. description: 现货商品代码
  17086. type: string
  17087. wrstandardid:
  17088. description: 现货商品ID
  17089. type: integer
  17090. wrstandardname:
  17091. description: 商品名称
  17092. type: string
  17093. wrtradedetailid:
  17094. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17095. type: string
  17096. wrtradetype:
  17097. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17098. type: integer
  17099. wrtypename:
  17100. description: 商品
  17101. type: string
  17102. type: object
  17103. models.WrTradeOrderDetail:
  17104. properties:
  17105. buyorsell:
  17106. description: 买卖方向 0-买 1-卖
  17107. type: integer
  17108. goodsid:
  17109. description: 商品id
  17110. type: integer
  17111. orderid:
  17112. description: 委托单号
  17113. type: string
  17114. orderprice:
  17115. description: 委托价格
  17116. type: number
  17117. orderqty:
  17118. description: 委托数量
  17119. type: integer
  17120. userid:
  17121. description: 用户id
  17122. type: integer
  17123. username:
  17124. description: 用户名称(已脱敏)
  17125. type: string
  17126. type: object
  17127. models.WrTypeItem:
  17128. properties:
  17129. name:
  17130. description: 名称
  17131. type: string
  17132. value:
  17133. description: 值
  17134. type: string
  17135. type: object
  17136. models.WrUserFriend:
  17137. properties:
  17138. friendname:
  17139. description: 朋友名称(已脱敏)
  17140. type: string
  17141. frienduserid:
  17142. description: 朋友id
  17143. type: integer
  17144. isfriend:
  17145. description: 是否好友 0-不是 1-是
  17146. type: integer
  17147. userid:
  17148. description: 用户id
  17149. type: integer
  17150. type: object
  17151. models.WrUserReceiptInfo:
  17152. properties:
  17153. address:
  17154. description: 地址[发票类型:企业]
  17155. type: string
  17156. autoid:
  17157. description: AutoID
  17158. type: integer
  17159. contactinfo:
  17160. description: 联系方式
  17161. type: string
  17162. idnum:
  17163. description: 身份证号码[发票类型:个人]
  17164. type: string
  17165. isdefault:
  17166. description: 是否默认地址 - 0:否 1:是
  17167. type: integer
  17168. receiptaccount:
  17169. description: 发票帐号[发票类型:企业]
  17170. type: string
  17171. receiptbank:
  17172. description: 发票开户行[发票类型:企业]
  17173. type: string
  17174. receipttype:
  17175. description: 发票类型 - 1:个人 2:企业
  17176. type: integer
  17177. taxpayerid:
  17178. description: 纳税人识别号
  17179. type: string
  17180. userid:
  17181. description: 用户ID
  17182. type: integer
  17183. username:
  17184. description: 户名(个人姓名或企业名称)
  17185. type: string
  17186. type: object
  17187. models.XHBRAND:
  17188. properties:
  17189. brandid:
  17190. description: 品牌id
  17191. type: integer
  17192. brandname:
  17193. description: 品牌名称
  17194. type: string
  17195. isvalid:
  17196. description: 是否有效 0-无效 1-有效
  17197. type: integer
  17198. type: object
  17199. models.XHDeliveryGoods:
  17200. properties:
  17201. areauserid:
  17202. description: 所属机构
  17203. type: integer
  17204. bdlst:
  17205. description: 品牌列表
  17206. items:
  17207. $ref: '#/definitions/models.XHBRAND'
  17208. type: array
  17209. deliverygoodscode:
  17210. description: 现货品种代码
  17211. type: string
  17212. deliverygoodsid:
  17213. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17214. type: integer
  17215. deliverygoodsname:
  17216. description: 现货品种名称
  17217. type: string
  17218. dgstatus:
  17219. description: 品种状态 - 作废 - 0:未激活 1:正常
  17220. type: integer
  17221. isvalid:
  17222. description: 是否有效 - 0:无效 1:有效
  17223. type: integer
  17224. remark:
  17225. description: 备注
  17226. type: string
  17227. unitid:
  17228. description: 单位id(目前看,数据库中是空值)
  17229. type: integer
  17230. wdlst:
  17231. description: 品类(现货商品)列表
  17232. items:
  17233. $ref: '#/definitions/models.XHWrstandard'
  17234. type: array
  17235. type: object
  17236. models.XHMiddleGoods:
  17237. properties:
  17238. GPLST:
  17239. description: 期货品种列表
  17240. items:
  17241. $ref: '#/definitions/models.TBGoodsGroup'
  17242. type: array
  17243. convertratio:
  17244. description: 拆算系数
  17245. type: number
  17246. costratio:
  17247. description: 成本权重
  17248. type: number
  17249. deliverygoodsid:
  17250. description: 现货商品id
  17251. type: integer
  17252. enumdicname:
  17253. description: 单位名称
  17254. type: string
  17255. middlegoodscode:
  17256. description: 套保品种代码
  17257. type: string
  17258. middlegoodsid:
  17259. description: 套保品种id
  17260. type: integer
  17261. middlegoodsname:
  17262. description: 套保品种名称
  17263. type: string
  17264. unitid:
  17265. description: 单位id
  17266. type: integer
  17267. type: object
  17268. models.XHWrstandard:
  17269. properties:
  17270. deliverygoodsid:
  17271. description: 品种ID
  17272. type: integer
  17273. enumdicname:
  17274. description: 单位名称
  17275. type: string
  17276. mglst:
  17277. description: 套保品列表
  17278. items:
  17279. $ref: '#/definitions/models.XHMiddleGoods'
  17280. type: array
  17281. unitid:
  17282. description: 单位id
  17283. type: integer
  17284. vatrate:
  17285. description: 增值税率
  17286. type: number
  17287. wrstandardcode:
  17288. description: 现货商品代码
  17289. type: string
  17290. wrstandardid:
  17291. description: 现货商品ID(SEQ_WRSTANDARD)
  17292. type: integer
  17293. wrstandardname:
  17294. description: 现货商品名称
  17295. type: string
  17296. type: object
  17297. order.QueryHisTradeDetailRsp:
  17298. properties:
  17299. accountid:
  17300. description: 账户ID[报价币种]
  17301. type: integer
  17302. advanceratio:
  17303. description: 首付比率
  17304. type: number
  17305. buildtype:
  17306. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17307. type: integer
  17308. buyorsell:
  17309. description: 方向 - 0:买 1:卖
  17310. type: integer
  17311. charge:
  17312. description: 手续费
  17313. type: number
  17314. closecharge:
  17315. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17316. type: number
  17317. closeexchagechargevalue:
  17318. description: 平仓交易所手续费设置值
  17319. type: number
  17320. closefeealgorithm:
  17321. description: 平仓手续费收取方式 1:比率 2:固定
  17322. type: integer
  17323. closememberchargevalue:
  17324. description: 平仓会员手续费设置值
  17325. type: number
  17326. closepl:
  17327. description: 平仓盈亏
  17328. type: number
  17329. closepl2:
  17330. description: 平仓盈亏[逐笔]
  17331. type: number
  17332. closeqty:
  17333. description: 平仓数量(先建后平操作 需要记录)
  17334. type: number
  17335. creditamount:
  17336. description: 授信金额
  17337. type: number
  17338. decimalplace:
  17339. description: 商品报价小数位
  17340. type: integer
  17341. enumdicname:
  17342. description: 单位名称
  17343. type: string
  17344. gcaccountid:
  17345. description: 账户ID[合约币种]
  17346. type: integer
  17347. goodscode:
  17348. description: 商品代码
  17349. type: string
  17350. goodsid:
  17351. description: 商品ID
  17352. type: integer
  17353. goodsname:
  17354. description: 商品名称
  17355. type: string
  17356. goodunitid:
  17357. description: 商品单位id
  17358. type: integer
  17359. histradedate:
  17360. description: 历史交易日
  17361. type: string
  17362. intclosepl:
  17363. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17364. type: integer
  17365. isconfirmexercise:
  17366. description: 是否确认行权- 0:否 1:是
  17367. type: integer
  17368. ismain:
  17369. description: 是否主单 - 0:不是 1:是
  17370. type: integer
  17371. ispreexercise:
  17372. description: 是否预申报- 0:否 1:是
  17373. type: integer
  17374. isreckoned:
  17375. description: 是否结算 - 0:未结算 1:已结算
  17376. type: integer
  17377. isvaliddata:
  17378. description: 是否有效 - 0:无效 1:有效
  17379. type: integer
  17380. listingselecttype:
  17381. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17382. type: integer
  17383. marketid:
  17384. description: 市场ID
  17385. type: integer
  17386. marketname:
  17387. description: 市场名称
  17388. type: string
  17389. matchaccountid:
  17390. description: 对手账号id
  17391. type: integer
  17392. memberuserid:
  17393. description: 会员id 个人投资者 需要填写
  17394. type: integer
  17395. opencharge:
  17396. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17397. type: number
  17398. openexchagechargevalue:
  17399. description: 建仓交易所手续费设置值
  17400. type: number
  17401. openfeealgorithm:
  17402. description: 建仓手续费收取方式 1:比率 2:固定
  17403. type: integer
  17404. openmemberchargevalue:
  17405. description: 建仓会员手续费设置值
  17406. type: number
  17407. openqty:
  17408. description: 开仓数量(先建后平操作 需要记录)
  17409. type: number
  17410. optiontype:
  17411. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17412. type: integer
  17413. orderid:
  17414. description: 委托单号
  17415. type: string
  17416. payamount:
  17417. description: 支付金额(付款金额)
  17418. type: number
  17419. performanceplanid:
  17420. description: 履约计划ID[期权]
  17421. type: integer
  17422. performancestatus:
  17423. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17424. type: integer
  17425. preexerciseprice:
  17426. description: 预申报价格
  17427. type: number
  17428. premium:
  17429. description: 权利金 - [持仓单的权利金]
  17430. type: number
  17431. qtydecimalplace:
  17432. description: 商品报价小数位
  17433. type: integer
  17434. recvamount:
  17435. description: 到账金额 = 成交金额 - 手续费
  17436. type: number
  17437. relatedouttradeid:
  17438. description: 关联外部成交单ID
  17439. type: integer
  17440. status:
  17441. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17442. type: integer
  17443. totalamount:
  17444. description: 订单总额 = 成交金额 + 手续费
  17445. type: number
  17446. tradeamount:
  17447. description: 成交金额[账户币种,用于所有权]
  17448. type: number
  17449. tradedate:
  17450. description: 交易日(yyyyMMdd)
  17451. type: string
  17452. tradeid:
  17453. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17454. type: string
  17455. trademode:
  17456. description: 交易模式
  17457. type: integer
  17458. tradeprice:
  17459. description: 成交价格
  17460. type: number
  17461. tradeproperty:
  17462. description: 交易属性
  17463. type: integer
  17464. tradeqty:
  17465. description: 成交数量
  17466. type: number
  17467. tradetime:
  17468. description: 成交时间
  17469. type: string
  17470. tradetype:
  17471. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17472. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17473. type: integer
  17474. required:
  17475. - accountid
  17476. - buyorsell
  17477. - goodsid
  17478. - histradedate
  17479. - marketid
  17480. - memberuserid
  17481. - orderid
  17482. - tradeamount
  17483. - tradedate
  17484. - tradeid
  17485. - tradeprice
  17486. - tradeqty
  17487. - tradetime
  17488. type: object
  17489. order.QueryHisTradeOrderDetailRsp:
  17490. properties:
  17491. accountid:
  17492. description: 账户ID[报价币种]
  17493. type: integer
  17494. buildtype:
  17495. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17496. type: integer
  17497. buyorsell:
  17498. description: 买卖 - 0:买 1:卖
  17499. type: integer
  17500. cancelorderid:
  17501. description: 撤单单号(撤单时填写)
  17502. type: string
  17503. cancelqty:
  17504. description: 撤单数量
  17505. type: number
  17506. clientordertime:
  17507. description: 客户端委托时间
  17508. type: string
  17509. clientticket:
  17510. description: 客户端流水号
  17511. type: string
  17512. clienttype:
  17513. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17514. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17515. type: integer
  17516. closeexchagechargevalue:
  17517. description: 平仓交易所手续费设置值
  17518. type: number
  17519. closefeealgorithm:
  17520. description: 平仓手续费收取方式 1:比率 2:固定
  17521. type: integer
  17522. closefreezecharge:
  17523. description: 平仓冻结手续费(先建后平操作,需要记录)
  17524. type: number
  17525. closememberchargevalue:
  17526. description: 平仓会员手续费设置值
  17527. type: number
  17528. closeqty:
  17529. description: 平仓数量(先建后平操作 需要记录)
  17530. type: number
  17531. closetradeqty:
  17532. description: 平仓成交数量(先建后平操作,需要记录)
  17533. type: number
  17534. closeunfreezecharge:
  17535. description: 平仓解冻手续费(先建后平操作,需要记录)
  17536. type: number
  17537. decimalplace:
  17538. description: 商品报价小数位
  17539. type: integer
  17540. delistingtype:
  17541. description: 摘牌类型 - 1:价格最优 2:点选成交
  17542. type: integer
  17543. enumdicname:
  17544. description: 单位名称
  17545. type: string
  17546. freezecharge:
  17547. description: 冻结手续费
  17548. type: number
  17549. freezemargin:
  17550. description: 冻结保证金(冻结交易金额)
  17551. type: number
  17552. gcaccountid:
  17553. description: 账户ID[合约币种]
  17554. type: integer
  17555. goodscode:
  17556. description: 商品代码
  17557. type: string
  17558. goodsid:
  17559. description: 商品ID
  17560. type: integer
  17561. goodsname:
  17562. description: 商品名称
  17563. type: string
  17564. goodunitid:
  17565. description: 商品单位id
  17566. type: integer
  17567. histradedate:
  17568. description: 历史交易日
  17569. type: string
  17570. isconfirmexercise:
  17571. description: 是否确认行权- 0:否 1:是
  17572. type: integer
  17573. ispreexercise:
  17574. description: 是否预申报- 0:否 1:是
  17575. type: integer
  17576. isvaliddata:
  17577. description: 是否有效 - 0:无效 1:有效
  17578. type: integer
  17579. listingselecttype:
  17580. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17581. type: integer
  17582. marginalgorithm:
  17583. description: 保证金收取方式 1:比率 2:固定
  17584. type: integer
  17585. marginvalue:
  17586. description: 即市保证金设置值
  17587. type: number
  17588. marketid:
  17589. description: 市场ID
  17590. type: integer
  17591. marketmaxsub:
  17592. description: 市价最大偏移范围
  17593. type: number
  17594. marketname:
  17595. description: 市场名称
  17596. type: string
  17597. memberuserid:
  17598. description: 所属会员UserID
  17599. type: integer
  17600. openexchagechargevalue:
  17601. description: 建仓交易所手续费设置值
  17602. type: number
  17603. openfeealgorithm:
  17604. description: 建仓手续费收取方式 1:比率 2:固定
  17605. type: integer
  17606. openfreezecharge:
  17607. description: 开仓冻结手续费(先建后平操作,需要记录)
  17608. type: number
  17609. openmemberchargevalue:
  17610. description: 建仓会员手续费设置值
  17611. type: number
  17612. openqty:
  17613. description: 开仓数量(先建后平操作,需要记录)
  17614. type: number
  17615. opentradeqty:
  17616. description: 开仓成交数量(先建后平操作,需要记录)
  17617. type: number
  17618. openunfreezecharge:
  17619. description: 开仓解冻手续费(先建后平操作,需要记录)
  17620. type: number
  17621. operatetype:
  17622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17624. 15:管理端协议转让
  17625. type: integer
  17626. operatorid:
  17627. description: 登录账号(LoginID)
  17628. type: integer
  17629. optiontype:
  17630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17631. type: integer
  17632. orderid:
  17633. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17634. type: string
  17635. orderprice:
  17636. description: 委托价格
  17637. type: number
  17638. orderqty:
  17639. description: 委托数量
  17640. type: number
  17641. ordersrc:
  17642. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17643. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17644. type: integer
  17645. orderstatus:
  17646. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17647. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17648. 16:成交失败违约(荷兰式竞拍专用)
  17649. type: integer
  17650. ordertime:
  17651. description: 委托时间
  17652. type: string
  17653. preexerciseprice:
  17654. description: 预申报价格
  17655. type: number
  17656. premium:
  17657. description: 权利金
  17658. type: number
  17659. preorderid:
  17660. description: 关联预埋单号(止盈止损单时填写)
  17661. type: string
  17662. pricemode:
  17663. description: '取价方式 - 1:市价 2: 限价'
  17664. type: integer
  17665. qtydecimalplace:
  17666. description: 成交量小数位
  17667. type: integer
  17668. quoteid:
  17669. description: 报价单ID
  17670. type: integer
  17671. relatedid:
  17672. description: 关联单号(交割单)
  17673. type: string
  17674. retcode:
  17675. description: 错误代码
  17676. type: integer
  17677. sessionid:
  17678. description: 会话ID
  17679. type: integer
  17680. tradedate:
  17681. description: 交易日(yyyyMMdd)
  17682. type: string
  17683. trademode:
  17684. description: 交易模式
  17685. type: integer
  17686. tradeproperty:
  17687. description: 交易属性
  17688. type: integer
  17689. tradeqty:
  17690. description: 成交数量
  17691. type: number
  17692. unfreezecharge:
  17693. description: 解冻手续费
  17694. type: number
  17695. unfreezemargin:
  17696. description: 解冻保证金
  17697. type: number
  17698. updatetime:
  17699. description: 更新时间
  17700. type: string
  17701. uuid:
  17702. description: 发起端唯一id
  17703. type: string
  17704. validtime:
  17705. description: 有效期限
  17706. type: string
  17707. validtype:
  17708. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17709. type: integer
  17710. volumetype:
  17711. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17712. type: integer
  17713. required:
  17714. - accountid
  17715. - buildtype
  17716. - buyorsell
  17717. - goodsid
  17718. - histradedate
  17719. - marketid
  17720. - memberuserid
  17721. - operatetype
  17722. - orderid
  17723. - orderqty
  17724. - ordertime
  17725. - pricemode
  17726. - tradedate
  17727. - validtype
  17728. type: object
  17729. order.QueryTradeDetailRsp:
  17730. properties:
  17731. accountid:
  17732. description: 账户ID[报价币种]
  17733. type: integer
  17734. advanceratio:
  17735. description: 首付比率
  17736. type: number
  17737. buildtype:
  17738. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17739. type: integer
  17740. buyorsell:
  17741. description: 方向 - 0:买 1:卖
  17742. type: integer
  17743. charge:
  17744. description: 手续费
  17745. type: number
  17746. closecharge:
  17747. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17748. type: number
  17749. closeexchagechargevalue:
  17750. description: 平仓交易所手续费设置值
  17751. type: number
  17752. closefeealgorithm:
  17753. description: 平仓手续费收取方式 1:比率 2:固定
  17754. type: integer
  17755. closememberchargevalue:
  17756. description: 平仓会员手续费设置值
  17757. type: number
  17758. closepl:
  17759. description: 平仓盈亏
  17760. type: number
  17761. closepl2:
  17762. description: 平仓盈亏[逐笔]
  17763. type: number
  17764. closeqty:
  17765. description: 平仓数量(先建后平操作 需要记录)
  17766. type: number
  17767. creditamount:
  17768. description: 授信金额
  17769. type: number
  17770. decimalplace:
  17771. description: 商品报价小数位
  17772. type: integer
  17773. enumdicname:
  17774. description: 单位名称
  17775. type: string
  17776. gcaccountid:
  17777. description: 账户ID[合约币种]
  17778. type: integer
  17779. goodscode:
  17780. description: 商品代码
  17781. type: string
  17782. goodsid:
  17783. description: 商品ID
  17784. type: integer
  17785. goodsname:
  17786. description: 商品名称
  17787. type: string
  17788. goodunitid:
  17789. description: 商品单位id
  17790. type: integer
  17791. intclosepl:
  17792. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17793. type: integer
  17794. isconfirmexercise:
  17795. description: 是否确认行权- 0:否 1:是
  17796. type: integer
  17797. ismain:
  17798. description: 是否主单 - 0:不是 1:是
  17799. type: integer
  17800. ispreexercise:
  17801. description: 是否预申报- 0:否 1:是
  17802. type: integer
  17803. isreckoned:
  17804. description: 是否结算 - 0:未结算 1:已结算
  17805. type: integer
  17806. listingselecttype:
  17807. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17808. type: integer
  17809. marketid:
  17810. description: 市场ID
  17811. type: integer
  17812. marketname:
  17813. description: 市场名称
  17814. type: string
  17815. matchaccountid:
  17816. description: 对手账号id
  17817. type: integer
  17818. memberuserid:
  17819. description: 会员id 个人投资者 需要填写
  17820. type: integer
  17821. opencharge:
  17822. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17823. type: number
  17824. openexchagechargevalue:
  17825. description: 建仓交易所手续费设置值
  17826. type: number
  17827. openfeealgorithm:
  17828. description: 建仓手续费收取方式 1:比率 2:固定
  17829. type: integer
  17830. openmemberchargevalue:
  17831. description: 建仓会员手续费设置值
  17832. type: number
  17833. openqty:
  17834. description: 开仓数量(先建后平操作 需要记录)
  17835. type: number
  17836. optiontype:
  17837. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17838. type: integer
  17839. orderid:
  17840. description: 委托单号
  17841. type: string
  17842. payamount:
  17843. description: 支付金额(付款金额)
  17844. type: number
  17845. performanceplanid:
  17846. description: 履约计划ID[期权]
  17847. type: integer
  17848. performancestatus:
  17849. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17850. type: integer
  17851. preexerciseprice:
  17852. description: 预申报价格
  17853. type: number
  17854. premium:
  17855. description: 权利金 - [持仓单的权利金]
  17856. type: number
  17857. qtydecimalplace:
  17858. description: 商品报价小数位
  17859. type: integer
  17860. recvamount:
  17861. description: 到账金额 = 成交金额 - 手续费
  17862. type: number
  17863. relatedouttradeid:
  17864. description: 关联外部成交单ID
  17865. type: integer
  17866. status:
  17867. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17868. type: integer
  17869. totalamount:
  17870. description: 订单总额 = 成交金额 + 手续费
  17871. type: number
  17872. tradeamount:
  17873. description: 成交金额[账户币种,用于所有权]
  17874. type: number
  17875. tradedate:
  17876. description: 交易日(yyyyMMdd)
  17877. type: string
  17878. tradeid:
  17879. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17880. type: string
  17881. trademode:
  17882. description: 交易模式
  17883. type: integer
  17884. tradeprice:
  17885. description: 成交价格
  17886. type: number
  17887. tradeproperty:
  17888. description: 交易属性
  17889. type: integer
  17890. tradeqty:
  17891. description: 成交数量
  17892. type: number
  17893. tradetime:
  17894. description: 成交时间
  17895. type: string
  17896. tradetype:
  17897. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17898. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17899. type: integer
  17900. required:
  17901. - accountid
  17902. - buyorsell
  17903. - goodsid
  17904. - marketid
  17905. - memberuserid
  17906. - orderid
  17907. - tradeamount
  17908. - tradedate
  17909. - tradeid
  17910. - tradeprice
  17911. - tradeqty
  17912. - tradetime
  17913. type: object
  17914. order.QueryTradeOrderDetailRsp:
  17915. properties:
  17916. accountid:
  17917. description: 账户ID[报价币种]
  17918. type: integer
  17919. buildtype:
  17920. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17921. type: integer
  17922. buyorsell:
  17923. description: 买卖 - 0:买 1:卖
  17924. type: integer
  17925. cancelorderid:
  17926. description: 撤单单号(撤单时填写)
  17927. type: string
  17928. cancelqty:
  17929. description: 撤单数量
  17930. type: number
  17931. clienttype:
  17932. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17933. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17934. type: integer
  17935. closefreezecharge:
  17936. description: 平仓冻结手续费(先建后平操作,需要记录)
  17937. type: number
  17938. closeqty:
  17939. description: 平仓数量(先建后平操作 需要记录)
  17940. type: number
  17941. closetradeqty:
  17942. description: 平仓成交数量(先建后平操作,需要记录)
  17943. type: number
  17944. closeunfreezecharge:
  17945. description: 平仓解冻手续费(先建后平操作,需要记录)
  17946. type: number
  17947. decimalplace:
  17948. description: 商品报价小数位
  17949. type: integer
  17950. delistingtype:
  17951. description: 摘牌类型 - 1:价格最优 2:点选成交
  17952. type: integer
  17953. enableqty:
  17954. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17955. type: number
  17956. enumdicname:
  17957. description: 单位名称
  17958. type: string
  17959. freezecharge:
  17960. description: 冻结手续费
  17961. type: number
  17962. freezemargin:
  17963. description: 冻结保证金(冻结交易金额)
  17964. type: number
  17965. goodscode:
  17966. description: 商品代码
  17967. type: string
  17968. goodsid:
  17969. description: 商品ID
  17970. type: integer
  17971. goodsname:
  17972. description: 商品名称
  17973. type: string
  17974. goodunitid:
  17975. description: 商品单位id
  17976. type: integer
  17977. listingselecttype:
  17978. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17979. type: integer
  17980. marketid:
  17981. description: 市场ID
  17982. type: integer
  17983. marketname:
  17984. description: 市场名称
  17985. type: string
  17986. openfreezecharge:
  17987. description: 开仓冻结手续费(先建后平操作,需要记录)
  17988. type: number
  17989. openqty:
  17990. description: 开仓数量(先建后平操作,需要记录)
  17991. type: number
  17992. opentradeqty:
  17993. description: 开仓成交数量(先建后平操作,需要记录)
  17994. type: number
  17995. openunfreezecharge:
  17996. description: 开仓解冻手续费(先建后平操作,需要记录)
  17997. type: number
  17998. operatetype:
  17999. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18000. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18001. 15:管理端协议转让
  18002. type: integer
  18003. operatorid:
  18004. description: 登录账号(LoginID)
  18005. type: integer
  18006. orderid:
  18007. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18008. type: string
  18009. orderprice:
  18010. description: 委托价格
  18011. type: number
  18012. orderqty:
  18013. description: 委托数量
  18014. type: number
  18015. ordersrc:
  18016. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18017. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18018. type: integer
  18019. orderstatus:
  18020. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18021. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18022. 16:成交失败违约(荷兰式竞拍专用)
  18023. type: integer
  18024. ordertime:
  18025. description: 委托时间
  18026. type: string
  18027. preorderid:
  18028. description: 关联预埋单号(止盈止损单时填写)
  18029. type: string
  18030. pricemode:
  18031. description: '取价方式 - 1:市价 2: 限价'
  18032. type: integer
  18033. qtydecimalplace:
  18034. description: 商品报价小数位
  18035. type: integer
  18036. relatedid:
  18037. description: 关联单号(交割单)
  18038. type: string
  18039. tradedate:
  18040. description: 交易日(yyyyMMdd)
  18041. type: string
  18042. trademode:
  18043. description: 交易模式
  18044. type: integer
  18045. tradeqty:
  18046. description: 成交数量
  18047. type: number
  18048. unfreezecharge:
  18049. description: 解冻手续费
  18050. type: number
  18051. unfreezemargin:
  18052. description: 解冻保证金
  18053. type: number
  18054. validtime:
  18055. description: 有效期限
  18056. type: string
  18057. validtype:
  18058. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18059. type: integer
  18060. volumetype:
  18061. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18062. type: integer
  18063. required:
  18064. - accountid
  18065. - buildtype
  18066. - buyorsell
  18067. - goodsid
  18068. - marketid
  18069. - operatetype
  18070. - orderqty
  18071. - ordertime
  18072. - pricemode
  18073. - tradedate
  18074. - validtype
  18075. type: object
  18076. order.QueryTradePositionRsp:
  18077. properties:
  18078. accountid:
  18079. description: 资金账户
  18080. type: integer
  18081. agreeunit:
  18082. description: 合约单位
  18083. type: number
  18084. averageprice:
  18085. description: 持仓均价
  18086. type: number
  18087. buyorsell:
  18088. description: 方向 - 0:买 1:卖
  18089. type: integer
  18090. closetotalqty:
  18091. description: 平仓总数量
  18092. type: number
  18093. curholderamount:
  18094. description: 当前持仓总金额[商品币种]
  18095. type: number
  18096. curpositionqty:
  18097. description: 当前持仓总数量
  18098. type: number
  18099. currencyid:
  18100. description: 报价货币ID
  18101. type: integer
  18102. curtdposition:
  18103. description: 期末今日头寸
  18104. type: number
  18105. decimalplace:
  18106. description: 报价小数位
  18107. type: integer
  18108. enableqty:
  18109. description: 可用量
  18110. type: number
  18111. fretdposition:
  18112. description: 冻结今日头寸
  18113. type: number
  18114. frozenqty:
  18115. description: 持仓冻结数量
  18116. type: number
  18117. goodscode:
  18118. description: 商品代码
  18119. type: string
  18120. goodsid:
  18121. description: 商品Id
  18122. type: integer
  18123. goodsname:
  18124. description: 商品名称
  18125. type: string
  18126. goodunit:
  18127. description: 报价单位
  18128. type: string
  18129. goodunitid:
  18130. description: 报价单位ID
  18131. type: integer
  18132. holderamount:
  18133. description: 期初持仓总金额[商品币种]
  18134. type: number
  18135. lastprice:
  18136. description: 最新价
  18137. type: number
  18138. marketamount:
  18139. description: 市值
  18140. type: number
  18141. marketid:
  18142. description: 所属市场ID
  18143. type: integer
  18144. openreqqty:
  18145. description: 开仓申请数量(用于比较最大持仓数量)
  18146. type: number
  18147. opentotalqty:
  18148. description: 开仓总数量
  18149. type: number
  18150. otherfrozenqty:
  18151. description: 持仓其他冻结数量(交割冻结)
  18152. type: number
  18153. positionpl:
  18154. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18155. * 合约单位
  18156. type: number
  18157. positionplrate:
  18158. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18159. type: number
  18160. positionqty:
  18161. description: 期初持仓数量
  18162. type: number
  18163. qtydecimalplace:
  18164. description: 成交量小数位
  18165. type: integer
  18166. refgoodscode:
  18167. description: 参考商品代码
  18168. type: string
  18169. refgoodsid:
  18170. description: 参考商品ID
  18171. type: integer
  18172. tnqty:
  18173. description: T+N冻结总量
  18174. type: number
  18175. tnusedqty:
  18176. description: T+N使用量(可以使用T+N的冻结数量)
  18177. type: number
  18178. trademode:
  18179. description: 交易模式
  18180. type: integer
  18181. tradeproperty:
  18182. description: 交易属性
  18183. type: integer
  18184. usedmargin:
  18185. description: 占用保证金[商品币种]
  18186. type: number
  18187. required:
  18188. - goodsid
  18189. type: object
  18190. pb.GoodsMarginCfgStruct:
  18191. properties:
  18192. CustomerTypeID:
  18193. description: 投资者客户类型
  18194. type: integer
  18195. GoodsID:
  18196. description: 商品ID
  18197. type: integer
  18198. IsDefault:
  18199. description: 是否默认标志位
  18200. type: integer
  18201. LockMarginValue:
  18202. description: 锁仓保证金
  18203. type: number
  18204. MarginAlgorithm:
  18205. description: 保证金计算方式
  18206. type: integer
  18207. MarketMarginValue:
  18208. description: 即市保证金值
  18209. type: number
  18210. RealMarginAlgorithm:
  18211. description: 实付保证金计算方式
  18212. type: integer
  18213. RealMarginValue:
  18214. description: 实付比例
  18215. type: number
  18216. ReckonMarginValue:
  18217. description: 结算保证金值
  18218. type: number
  18219. type: object
  18220. quote.HistoryData:
  18221. properties:
  18222. c:
  18223. description: 收盘价
  18224. type: number
  18225. f:
  18226. description: 是否补充数据
  18227. type: boolean
  18228. h:
  18229. description: 最高价
  18230. type: number
  18231. hv:
  18232. description: 持仓量
  18233. type: integer
  18234. l:
  18235. description: 最低价
  18236. type: number
  18237. o:
  18238. description: 开盘价
  18239. type: number
  18240. s:
  18241. description: 结算价,日线周期(包括)以上才有
  18242. type: number
  18243. ts:
  18244. description: 时间
  18245. type: string
  18246. tt:
  18247. description: 总金额
  18248. type: number
  18249. tv:
  18250. description: 总量(成交量)
  18251. type: integer
  18252. type: object
  18253. quote.HistoryTikData:
  18254. properties:
  18255. AV:
  18256. description: 卖量
  18257. type: integer
  18258. Ask:
  18259. description: 卖价
  18260. type: number
  18261. BV:
  18262. description: 买量
  18263. type: integer
  18264. Bid:
  18265. description: 买价
  18266. type: number
  18267. HI:
  18268. description: 单笔持仓
  18269. type: integer
  18270. HV:
  18271. description: 持仓量
  18272. type: integer
  18273. PE:
  18274. description: 现价
  18275. type: number
  18276. TDR:
  18277. description: 交易方向,0:买 1:卖
  18278. type: integer
  18279. TK:
  18280. description: 交易类型
  18281. type: integer
  18282. TS:
  18283. description: 行情时间文本
  18284. type: string
  18285. TT:
  18286. description: 现金额
  18287. type: number
  18288. Vol:
  18289. description: 现量
  18290. type: integer
  18291. type: object
  18292. quote.QueryQuoteDayRsp:
  18293. properties:
  18294. ask:
  18295. description: 卖1
  18296. type: number
  18297. ask2:
  18298. description: 卖2
  18299. type: number
  18300. ask3:
  18301. description: 卖3
  18302. type: number
  18303. ask4:
  18304. description: 卖4
  18305. type: number
  18306. ask5:
  18307. description: 卖5
  18308. type: number
  18309. ask6:
  18310. description: 卖6
  18311. type: number
  18312. ask7:
  18313. description: 卖7
  18314. type: number
  18315. ask8:
  18316. description: 卖8
  18317. type: number
  18318. ask9:
  18319. description: 卖9
  18320. type: number
  18321. ask10:
  18322. description: 卖10
  18323. type: number
  18324. askorderid:
  18325. description: 卖单号1
  18326. type: integer
  18327. askorderid2:
  18328. description: 卖单号2
  18329. type: integer
  18330. askorderid3:
  18331. description: 卖单号3
  18332. type: integer
  18333. askorderid4:
  18334. description: 卖单号4
  18335. type: integer
  18336. askorderid5:
  18337. description: 卖单号5
  18338. type: integer
  18339. askordervolume:
  18340. description: 卖单量1
  18341. type: integer
  18342. askordervolume2:
  18343. description: 卖单量2
  18344. type: integer
  18345. askordervolume3:
  18346. description: 卖单量3
  18347. type: integer
  18348. askordervolume4:
  18349. description: 卖单量4
  18350. type: integer
  18351. askordervolume5:
  18352. description: 卖单量5
  18353. type: integer
  18354. askordervolume6:
  18355. description: 卖单量6
  18356. type: integer
  18357. askordervolume7:
  18358. description: 卖单量7
  18359. type: integer
  18360. askordervolume8:
  18361. description: 卖单量8
  18362. type: integer
  18363. askordervolume9:
  18364. description: 卖单量9
  18365. type: integer
  18366. askordervolume10:
  18367. description: 卖单量10
  18368. type: integer
  18369. askqueueinfo:
  18370. description: 大利市卖港股用
  18371. type: string
  18372. askvolume:
  18373. description: 卖量1
  18374. type: integer
  18375. askvolume2:
  18376. description: 卖量2
  18377. type: integer
  18378. askvolume3:
  18379. description: 卖量3
  18380. type: integer
  18381. askvolume4:
  18382. description: 卖量4
  18383. type: integer
  18384. askvolume5:
  18385. description: 卖量5
  18386. type: integer
  18387. askvolume6:
  18388. description: 卖量6
  18389. type: integer
  18390. askvolume7:
  18391. description: 卖量7
  18392. type: integer
  18393. askvolume8:
  18394. description: 卖量8
  18395. type: integer
  18396. askvolume9:
  18397. description: 卖量9
  18398. type: integer
  18399. askvolume10:
  18400. description: 卖量10
  18401. type: integer
  18402. averageprice:
  18403. description: 均价
  18404. type: number
  18405. bid:
  18406. description: 买1
  18407. type: number
  18408. bid2:
  18409. description: 买2
  18410. type: number
  18411. bid3:
  18412. description: 买3
  18413. type: number
  18414. bid4:
  18415. description: 买4
  18416. type: number
  18417. bid5:
  18418. description: 买5
  18419. type: number
  18420. bid6:
  18421. description: 买6
  18422. type: number
  18423. bid7:
  18424. description: 买7
  18425. type: number
  18426. bid8:
  18427. description: 买8
  18428. type: number
  18429. bid9:
  18430. description: 买9
  18431. type: number
  18432. bid10:
  18433. description: 买10
  18434. type: number
  18435. bidorderid:
  18436. description: 买单号1
  18437. type: integer
  18438. bidorderid2:
  18439. description: 买单号2
  18440. type: integer
  18441. bidorderid3:
  18442. description: 买单号3
  18443. type: integer
  18444. bidorderid4:
  18445. description: 买单号4
  18446. type: integer
  18447. bidorderid5:
  18448. description: 买单号5
  18449. type: integer
  18450. bidordervolume:
  18451. description: 买单量1
  18452. type: integer
  18453. bidordervolume2:
  18454. description: 买单量2
  18455. type: integer
  18456. bidordervolume3:
  18457. description: 买单量3
  18458. type: integer
  18459. bidordervolume4:
  18460. description: 买单量4
  18461. type: integer
  18462. bidordervolume5:
  18463. description: 买单量5
  18464. type: integer
  18465. bidordervolume6:
  18466. description: 买单量6
  18467. type: integer
  18468. bidordervolume7:
  18469. description: 买单量7
  18470. type: integer
  18471. bidordervolume8:
  18472. description: 买单量8
  18473. type: integer
  18474. bidordervolume9:
  18475. description: 买单量9
  18476. type: integer
  18477. bidordervolume10:
  18478. description: 买单量10
  18479. type: integer
  18480. bidqueueinfo:
  18481. description: 大利市买港股用
  18482. type: string
  18483. bidvolume:
  18484. description: 买量1
  18485. type: integer
  18486. bidvolume2:
  18487. description: 买量2
  18488. type: integer
  18489. bidvolume3:
  18490. description: 买量3
  18491. type: integer
  18492. bidvolume4:
  18493. description: 买量4
  18494. type: integer
  18495. bidvolume5:
  18496. description: 买量5
  18497. type: integer
  18498. bidvolume6:
  18499. description: 买量6
  18500. type: integer
  18501. bidvolume7:
  18502. description: 买量7
  18503. type: integer
  18504. bidvolume8:
  18505. description: 买量8
  18506. type: integer
  18507. bidvolume9:
  18508. description: 买量9
  18509. type: integer
  18510. bidvolume10:
  18511. description: 买量10
  18512. type: integer
  18513. calloptionpremiums:
  18514. description: 认购期权1
  18515. type: integer
  18516. calloptionpremiums2:
  18517. description: 认购期权2
  18518. type: integer
  18519. calloptionpremiums3:
  18520. description: 认购期权3
  18521. type: integer
  18522. calloptionpremiums4:
  18523. description: 认购期权4
  18524. type: integer
  18525. calloptionpremiums5:
  18526. description: 认购期权5
  18527. type: integer
  18528. cleartime:
  18529. description: 清盘时间
  18530. type: integer
  18531. exchangecode:
  18532. description: 交易所代码
  18533. type: integer
  18534. exchangedate:
  18535. description: 交易日
  18536. type: integer
  18537. goodscode:
  18538. description: 商品代码
  18539. type: string
  18540. grepmarketprice:
  18541. description: 暗盘价 港股专用
  18542. type: number
  18543. highest:
  18544. description: 最高价
  18545. type: number
  18546. holdincrement:
  18547. description: 单笔持仓
  18548. type: integer
  18549. holdvolume:
  18550. description: 持仓
  18551. type: integer
  18552. iep:
  18553. description: 平衡价 港股专用
  18554. type: number
  18555. iev:
  18556. description: 平衡量 港股专用
  18557. type: number
  18558. inventory:
  18559. description: 库存
  18560. type: integer
  18561. iscleared:
  18562. description: 是否清盘标志
  18563. type: integer
  18564. issettled:
  18565. description: 是否结算标志
  18566. type: integer
  18567. last:
  18568. description: 最新价
  18569. type: number
  18570. lastlot:
  18571. description: 最新成交手数
  18572. type: integer
  18573. lasttime:
  18574. description: 行情时间(只有现价变化行情时间才变化)
  18575. type: string
  18576. lastturnover:
  18577. description: 最新成交金额
  18578. type: number
  18579. lastvolume:
  18580. description: 最新成交量
  18581. type: integer
  18582. limitdown:
  18583. description: 跌停价
  18584. type: number
  18585. limitup:
  18586. description: 涨停价
  18587. type: number
  18588. lowest:
  18589. description: 最低价
  18590. type: number
  18591. nontotalholdervolume:
  18592. description: 非交易持仓量
  18593. type: integer
  18594. nontotallot:
  18595. description: 非交易总手数
  18596. type: integer
  18597. nontotalturnover:
  18598. description: 非交易总金额
  18599. type: integer
  18600. nontotalvolume:
  18601. description: 非交易总量
  18602. type: integer
  18603. opened:
  18604. description: 开盘价
  18605. type: number
  18606. opentime:
  18607. description: 开盘时间
  18608. type: string
  18609. orderid:
  18610. description: 序号
  18611. type: integer
  18612. preclose:
  18613. description: 昨收
  18614. type: number
  18615. preholdvolume:
  18616. description: 昨持仓
  18617. type: integer
  18618. presettle:
  18619. description: 昨结价
  18620. type: number
  18621. publictradetype:
  18622. description: 公共交易标志类型 港股专用
  18623. type: string
  18624. putoptionpremiums:
  18625. description: 认沽期权1
  18626. type: integer
  18627. putoptionpremiums2:
  18628. description: 认沽期权2
  18629. type: integer
  18630. putoptionpremiums3:
  18631. description: 认沽期权3
  18632. type: integer
  18633. putoptionpremiums4:
  18634. description: 认沽期权4
  18635. type: integer
  18636. putoptionpremiums5:
  18637. description: 认沽期权5
  18638. type: integer
  18639. settle:
  18640. description: 结算价
  18641. type: number
  18642. strikeprice:
  18643. description: 发行价
  18644. type: number
  18645. totalaskvolume:
  18646. description: 内盘
  18647. type: integer
  18648. totalbidvolume:
  18649. description: 外盘
  18650. type: integer
  18651. totallot:
  18652. description: 总手数
  18653. type: integer
  18654. totalturnover:
  18655. description: 总金额
  18656. type: number
  18657. totalvolume:
  18658. description: 总量
  18659. type: integer
  18660. utclasttime:
  18661. description: utc的行情时间
  18662. type: string
  18663. type: object
  18664. quote.QueryTSDataRsp:
  18665. properties:
  18666. Count:
  18667. description: 交易日应有数据个数
  18668. type: integer
  18669. decimalPlace:
  18670. description: 小数位
  18671. type: integer
  18672. endTime:
  18673. description: 结束时间
  18674. type: string
  18675. goodsCode:
  18676. description: 商品代码
  18677. type: string
  18678. historyDatas:
  18679. description: 历史数据
  18680. items:
  18681. $ref: '#/definitions/quote.HistoryData'
  18682. type: array
  18683. outGoodsCode:
  18684. description: 外部商品代码
  18685. type: string
  18686. preSettle:
  18687. description: 昨结价
  18688. type: number
  18689. runSteps:
  18690. description: 交易日开休市计划
  18691. items:
  18692. $ref: '#/definitions/quote.TSDataRunStep'
  18693. type: array
  18694. startTime:
  18695. description: 开始时间
  18696. type: string
  18697. tradeDate:
  18698. description: 交易日
  18699. type: string
  18700. type: object
  18701. quote.TSDataRunStep:
  18702. properties:
  18703. end:
  18704. description: 真实结束时间
  18705. type: string
  18706. endflag:
  18707. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18708. type: integer
  18709. endtime:
  18710. description: 结束时间(HH:mm)
  18711. type: string
  18712. endweekday:
  18713. description: 结束周几
  18714. type: integer
  18715. groupid:
  18716. description: 分组ID
  18717. type: integer
  18718. runstep:
  18719. description: 运行阶段 - 2:连续交易
  18720. type: integer
  18721. sectionid:
  18722. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18723. 结束时间=结算时间 结束周几=结算周几
  18724. type: integer
  18725. start:
  18726. description: 真实开始时间
  18727. type: string
  18728. startflag:
  18729. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18730. type: integer
  18731. starttime:
  18732. description: 起始时间(HH:mm)
  18733. type: string
  18734. startweekday:
  18735. description: 起始周几
  18736. type: integer
  18737. tradeweekday:
  18738. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18739. type: integer
  18740. type: object
  18741. szdz.QueryConvertLogRsp:
  18742. properties:
  18743. accountid:
  18744. description: 资金账户ID
  18745. type: integer
  18746. clientticket:
  18747. description: 客户端流水号
  18748. type: string
  18749. converttype:
  18750. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18751. type: integer
  18752. createtime:
  18753. description: 记账时间
  18754. type: string
  18755. daymaxvalue:
  18756. description: 配置当日最大转入限制
  18757. type: number
  18758. daymaxvalue2:
  18759. description: 配置当日最大转入限制(转入)
  18760. type: number
  18761. goodscode:
  18762. description: 商品代码
  18763. type: string
  18764. goodsname:
  18765. description: 商品名称
  18766. type: string
  18767. handlestatus:
  18768. description: 处理状态
  18769. type: integer
  18770. innergoodsid:
  18771. description: 内部商品ID
  18772. type: integer
  18773. inratio:
  18774. description: 配置转入比值
  18775. type: integer
  18776. invalue:
  18777. description: 目标值
  18778. type: number
  18779. logid:
  18780. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18781. type: integer
  18782. mobile:
  18783. description: 手机号码(加密存储)
  18784. type: string
  18785. outergoodscode:
  18786. description: 外部商品代码[JD\PD]
  18787. type: string
  18788. outratio:
  18789. description: 配置转出比值
  18790. type: integer
  18791. outvalue:
  18792. description: 源值
  18793. type: number
  18794. pddecimalplace:
  18795. description: PD小数位
  18796. type: integer
  18797. qty:
  18798. description: 数量
  18799. type: string
  18800. remark:
  18801. description: 备注
  18802. type: string
  18803. sessionid:
  18804. description: 会话ID
  18805. type: integer
  18806. timemaxvalue:
  18807. description: 配置单次最大转入限制
  18808. type: number
  18809. timemaxvalue2:
  18810. description: 配置单次最大转入限制(转入)
  18811. type: number
  18812. timeminvalue:
  18813. description: 配置单次最小数量限制
  18814. type: number
  18815. timeminvalue2:
  18816. description: 配置单次最小数量限制(转入)
  18817. type: number
  18818. tradedate:
  18819. description: 交易日(yyyyMMdd)
  18820. type: string
  18821. userid:
  18822. description: 用户ID
  18823. type: integer
  18824. required:
  18825. - logid
  18826. type: object
  18827. szdz.QueryGoodsPickupRsp:
  18828. properties:
  18829. accountid:
  18830. description: 账户ID
  18831. type: integer
  18832. address:
  18833. description: 提货人详细地址
  18834. type: string
  18835. auditer:
  18836. description: 审核人
  18837. type: integer
  18838. audittime:
  18839. description: 审核时间
  18840. type: string
  18841. cardnum:
  18842. description: 提货人证件号码
  18843. type: string
  18844. cardtypeid:
  18845. description: 提货人证件类型
  18846. type: integer
  18847. checkremark:
  18848. description: 审核备注
  18849. type: string
  18850. goodscode:
  18851. description: 商品代码
  18852. type: string
  18853. goodsid:
  18854. description: 商品ID
  18855. type: integer
  18856. goodsname:
  18857. description: 商品名称
  18858. type: string
  18859. handlestatus:
  18860. description: 处理状态
  18861. type: integer
  18862. marketid:
  18863. description: 市场ID
  18864. type: integer
  18865. phonenum:
  18866. description: 提货人联系方式
  18867. type: string
  18868. qty:
  18869. description: 提货数量
  18870. type: number
  18871. recivername:
  18872. description: 提货人姓名
  18873. type: string
  18874. reqtime:
  18875. description: 更新时间
  18876. type: string
  18877. takemode:
  18878. description: 提货方式 - 2:自提 3:配送
  18879. type: integer
  18880. takeorderid:
  18881. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18882. type: string
  18883. takeorderstatus:
  18884. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18885. type: integer
  18886. takeremark:
  18887. description: 提货备注
  18888. type: string
  18889. tradedate:
  18890. description: 交易日(yyyyMMdd)
  18891. type: string
  18892. userid:
  18893. description: 用户ID
  18894. type: integer
  18895. required:
  18896. - takeorderid
  18897. type: object
  18898. szdz.QueryRecieptOrderRsp:
  18899. properties:
  18900. accountName:
  18901. description: 所属账号名称(已脱敏)
  18902. type: string
  18903. accountid:
  18904. description: 资金账号
  18905. type: integer
  18906. buyorsell:
  18907. description: 方向 - 0:买 1:卖
  18908. type: integer
  18909. enableqty:
  18910. description: 可摘数量
  18911. type: integer
  18912. goodscode:
  18913. description: 商品代码
  18914. type: string
  18915. goodsid:
  18916. description: 商品ID
  18917. type: integer
  18918. goodsname:
  18919. description: 商品名称
  18920. type: string
  18921. orderid:
  18922. description: 委托单号
  18923. type: string
  18924. orderprice:
  18925. description: 委托价格
  18926. type: number
  18927. ordertime:
  18928. description: 委托时间
  18929. type: string
  18930. tradedate:
  18931. description: 交易日(yyyyMMdd)
  18932. type: string
  18933. required:
  18934. - ordertime
  18935. type: object
  18936. szdz.QuerySZDZTradePositionRsp:
  18937. properties:
  18938. accountid:
  18939. description: 账号Id
  18940. type: integer
  18941. agreeunit:
  18942. description: 合约单位
  18943. type: number
  18944. averageprice:
  18945. description: 持仓均价
  18946. type: number
  18947. buyorsell:
  18948. description: 方向 - 0:买 1:卖
  18949. type: integer
  18950. closetotalqty:
  18951. description: 平仓总数量
  18952. type: integer
  18953. curholderamount:
  18954. description: 当前持仓总金额
  18955. type: number
  18956. curpositionqty:
  18957. description: 当前持仓总数量
  18958. type: integer
  18959. currencyid:
  18960. description: 报价货币ID
  18961. type: integer
  18962. curtdposition:
  18963. description: 期末今日头寸
  18964. type: integer
  18965. decimalplace:
  18966. description: 报价小数位
  18967. type: integer
  18968. enableqty:
  18969. description: 可用量
  18970. type: integer
  18971. fretdposition:
  18972. description: 冻结今日头寸
  18973. type: integer
  18974. frozenqty:
  18975. description: 持仓冻结数量
  18976. type: integer
  18977. goodscode:
  18978. description: 商品代码(内部)
  18979. type: string
  18980. goodsid:
  18981. description: 商品Id
  18982. type: integer
  18983. goodsname:
  18984. description: 商品名称
  18985. type: string
  18986. goodunit:
  18987. description: 报价单位
  18988. type: string
  18989. goodunitid:
  18990. description: 报价单位ID
  18991. type: integer
  18992. holderamount:
  18993. description: 期初持仓总金额
  18994. type: number
  18995. marketid:
  18996. description: 市场ID
  18997. type: integer
  18998. openreqqty:
  18999. description: 开仓申请数量
  19000. type: integer
  19001. opentotalqty:
  19002. description: 开仓总数量
  19003. type: integer
  19004. otherfrozenqty:
  19005. description: 持仓其他冻结数量(交割冻结)
  19006. type: integer
  19007. positionqty:
  19008. description: 期初持仓数量
  19009. type: integer
  19010. szdz3freezqty:
  19011. description: 尚志大宗转换冻结总数量
  19012. type: integer
  19013. tnqty:
  19014. description: T+N冻结总量
  19015. type: integer
  19016. tnusedqty:
  19017. description: T+N使用量
  19018. type: integer
  19019. trademode:
  19020. description: 交易模式
  19021. type: integer
  19022. usedmargin:
  19023. description: 占用保证金
  19024. type: number
  19025. type: object
  19026. taaccount.QueryAmountLogRsp:
  19027. properties:
  19028. OPERATETYPENAME:
  19029. description: 资金操作类型名称
  19030. type: string
  19031. accountid:
  19032. description: 资金账户ID
  19033. type: integer
  19034. agoodscode:
  19035. description: 竞拍商品代码
  19036. type: string
  19037. agoodsname:
  19038. description: 竞拍商品名称
  19039. type: string
  19040. amount:
  19041. description: 资金金额
  19042. type: number
  19043. amountadjusttype:
  19044. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19045. type: integer
  19046. autoid:
  19047. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19048. type: integer
  19049. balance:
  19050. description: 期初余额
  19051. type: number
  19052. businesscode:
  19053. description: 业务编号
  19054. type: integer
  19055. createtime:
  19056. description: 发生时间
  19057. type: string
  19058. currencyid:
  19059. description: 币种ID
  19060. type: integer
  19061. currentbalance:
  19062. description: 期末余额(变动后金额)
  19063. type: number
  19064. dgoodscode:
  19065. description: 交割商品代码
  19066. type: string
  19067. dgoodsname:
  19068. description: 交割商品名称
  19069. type: string
  19070. goodscode:
  19071. description: 商品代码
  19072. type: string
  19073. goodsid:
  19074. description: 商品ID
  19075. type: integer
  19076. goodsname:
  19077. description: 商品名称
  19078. type: string
  19079. marketid:
  19080. description: 市场ID
  19081. type: integer
  19082. marketname:
  19083. description: 市场名称
  19084. type: string
  19085. moneyticket:
  19086. description: 资金流水号:银行端流水号
  19087. type: integer
  19088. operatetype:
  19089. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19090. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19091. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19092. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19093. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19094. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19095. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19096. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19097. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19098. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19099. type: integer
  19100. relationorderid:
  19101. description: 关联单号
  19102. type: string
  19103. remark:
  19104. description: 备注
  19105. type: string
  19106. trademode:
  19107. description: 交易模式
  19108. type: integer
  19109. required:
  19110. - accountid
  19111. - amount
  19112. - amountadjusttype
  19113. - autoid
  19114. - balance
  19115. - createtime
  19116. - currentbalance
  19117. - operatetype
  19118. type: object
  19119. taaccount.QueryHisAmountLogRsp:
  19120. properties:
  19121. OPERATETYPENAME:
  19122. description: 资金操作类型名称
  19123. type: string
  19124. accountid:
  19125. description: 资金账户ID
  19126. type: integer
  19127. agoodscode:
  19128. description: 竞拍商品代码
  19129. type: string
  19130. agoodsname:
  19131. description: 竞拍商品名称
  19132. type: string
  19133. amount:
  19134. description: 资金金额
  19135. type: number
  19136. amountadjusttype:
  19137. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19138. type: integer
  19139. autoid:
  19140. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19141. type: integer
  19142. balance:
  19143. description: 期初余额
  19144. type: number
  19145. businesscode:
  19146. description: 业务编号
  19147. type: integer
  19148. createtime:
  19149. description: 发生时间
  19150. type: string
  19151. currencyid:
  19152. description: 币种ID
  19153. type: integer
  19154. currentbalance:
  19155. description: 期末余额(变动后金额)
  19156. type: number
  19157. dgoodscode:
  19158. description: 交割商品代码
  19159. type: string
  19160. dgoodsname:
  19161. description: 交割商品名称
  19162. type: string
  19163. goodscode:
  19164. description: 商品代码
  19165. type: string
  19166. goodsid:
  19167. description: 商品ID
  19168. type: integer
  19169. goodsname:
  19170. description: 商品名称
  19171. type: string
  19172. histradedate:
  19173. description: 历史交易日
  19174. type: string
  19175. isvaliddata:
  19176. description: 是否有效 - 0:无效 1:有效
  19177. type: integer
  19178. marketid:
  19179. description: 市场ID
  19180. type: integer
  19181. marketname:
  19182. description: 市场名称
  19183. type: string
  19184. moneyticket:
  19185. description: 资金流水号:银行端流水号
  19186. type: integer
  19187. operatetype:
  19188. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19189. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19190. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19191. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19192. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19193. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19194. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19195. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19196. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19197. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19198. type: integer
  19199. relationorderid:
  19200. description: 关联单号
  19201. type: string
  19202. remark:
  19203. description: 备注
  19204. type: string
  19205. trademode:
  19206. description: 交易模式
  19207. type: integer
  19208. required:
  19209. - accountid
  19210. - amount
  19211. - amountadjusttype
  19212. - autoid
  19213. - balance
  19214. - createtime
  19215. - currentbalance
  19216. - histradedate
  19217. - operatetype
  19218. type: object
  19219. trade.QueryRecieptOrderRsp:
  19220. properties:
  19221. accountName:
  19222. description: 所属账号名称(已脱敏)
  19223. type: string
  19224. accountid:
  19225. description: 资金账号
  19226. type: integer
  19227. buyorsell:
  19228. description: 方向 - 0:买 1:卖
  19229. type: integer
  19230. enableqty:
  19231. description: 可摘数量
  19232. type: integer
  19233. goodscode:
  19234. description: 商品代码
  19235. type: string
  19236. goodsid:
  19237. description: 商品ID
  19238. type: integer
  19239. goodsname:
  19240. description: 商品名称
  19241. type: string
  19242. orderid:
  19243. description: 委托单号
  19244. type: string
  19245. orderprice:
  19246. description: 委托价格
  19247. type: number
  19248. ordertime:
  19249. description: 委托时间
  19250. type: string
  19251. tradedate:
  19252. description: 交易日(yyyyMMdd)
  19253. type: string
  19254. required:
  19255. - ordertime
  19256. type: object
  19257. user.LoginQueryRsp:
  19258. properties:
  19259. areaRoles:
  19260. description: 所属角色信息
  19261. items:
  19262. $ref: '#/definitions/models.Arearole'
  19263. type: array
  19264. externalExchanges:
  19265. description: 外部交易所
  19266. items:
  19267. $ref: '#/definitions/models.Externalexchange'
  19268. type: array
  19269. goodsgroups:
  19270. description: 商品组
  19271. items:
  19272. $ref: '#/definitions/models.Goodsgroup'
  19273. type: array
  19274. loginAccount:
  19275. $ref: '#/definitions/models.Loginaccount'
  19276. description: 登录账号
  19277. markets:
  19278. description: 市场
  19279. items:
  19280. $ref: '#/definitions/models.Market'
  19281. type: array
  19282. systemParams:
  19283. description: 系统参数
  19284. items:
  19285. $ref: '#/definitions/models.Systemparam'
  19286. type: array
  19287. userAccount:
  19288. $ref: '#/definitions/models.Useraccount'
  19289. description: 用户账号
  19290. userInfo:
  19291. $ref: '#/definitions/models.Userinfo'
  19292. description: 用户信息
  19293. username:
  19294. description: 用户姓名
  19295. type: string
  19296. type: object
  19297. info:
  19298. contact: {}
  19299. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19300. termsOfService: http://www.muchinfo.cn
  19301. title: MTP2.0 查询服务 API
  19302. version: "1.0"
  19303. paths:
  19304. /CPTrade/QueryCPTradeMyBidInfos:
  19305. get:
  19306. parameters:
  19307. - description: 资金账户
  19308. in: query
  19309. name: accountid
  19310. required: true
  19311. type: integer
  19312. - description: 预售市场ID
  19313. in: query
  19314. name: marketid
  19315. type: integer
  19316. - description: 预售商品ID
  19317. in: query
  19318. name: goodsid
  19319. type: integer
  19320. produces:
  19321. - application/json
  19322. responses:
  19323. "200":
  19324. description: OK
  19325. schema:
  19326. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  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/QueryCPTradeOrderDetail:
  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: 预售商品ID列表 - 格式:1,2,3
  19348. in: query
  19349. name: goodsids
  19350. type: string
  19351. produces:
  19352. - application/json
  19353. responses:
  19354. "200":
  19355. description: OK
  19356. schema:
  19357. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19358. "500":
  19359. description: Internal Server Error
  19360. schema:
  19361. $ref: '#/definitions/app.Response'
  19362. security:
  19363. - ApiKeyAuth: []
  19364. summary: 查询产能预售委托单信息
  19365. tags:
  19366. - 产能预售
  19367. /CPTrade/QueryMyCPTradeGoods:
  19368. get:
  19369. parameters:
  19370. - description: 资金账户
  19371. in: query
  19372. name: accountid
  19373. required: true
  19374. type: integer
  19375. produces:
  19376. - application/json
  19377. responses:
  19378. "200":
  19379. description: OK
  19380. schema:
  19381. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19382. "500":
  19383. description: Internal Server Error
  19384. schema:
  19385. $ref: '#/definitions/app.Response'
  19386. security:
  19387. - ApiKeyAuth: []
  19388. summary: 查询我的预售信息
  19389. tags:
  19390. - 产能预售
  19391. /CPTrade/QueryPositionCancel:
  19392. get:
  19393. parameters:
  19394. - description: 账户ID
  19395. in: query
  19396. name: userid
  19397. required: true
  19398. type: integer
  19399. - description: 注销ID
  19400. in: query
  19401. name: cancelid
  19402. type: integer
  19403. - description: 资金账户ID
  19404. in: query
  19405. name: accountid
  19406. type: integer
  19407. produces:
  19408. - application/json
  19409. responses:
  19410. "200":
  19411. description: OK
  19412. schema:
  19413. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19414. "500":
  19415. description: Internal Server Error
  19416. schema:
  19417. $ref: '#/definitions/app.Response'
  19418. security:
  19419. - ApiKeyAuth: []
  19420. summary: 查询远期订单注销申请信息
  19421. tags:
  19422. - 产能预售
  19423. /CPTrade/QueryPreasleApply:
  19424. get:
  19425. parameters:
  19426. - description: 账户ID
  19427. in: query
  19428. name: userid
  19429. required: true
  19430. type: integer
  19431. - description: 申请ID
  19432. in: query
  19433. name: applyid
  19434. type: integer
  19435. - description: 资金账户ID
  19436. in: query
  19437. name: accountid
  19438. type: integer
  19439. produces:
  19440. - application/json
  19441. responses:
  19442. "200":
  19443. description: OK
  19444. schema:
  19445. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19446. "500":
  19447. description: Internal Server Error
  19448. schema:
  19449. $ref: '#/definitions/app.Response'
  19450. security:
  19451. - ApiKeyAuth: []
  19452. summary: 查询产能预售申请信息
  19453. tags:
  19454. - 产能预售
  19455. /CPTrade/QueryPresaleGoodsEx:
  19456. get:
  19457. parameters:
  19458. - description: 预售商品ID
  19459. in: query
  19460. name: goodsid
  19461. type: integer
  19462. - description: 预售市场ID
  19463. in: query
  19464. name: marketid
  19465. type: integer
  19466. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19467. in: query
  19468. name: presalemode
  19469. type: integer
  19470. - description: 预售商品ID列表 - 格式:1,2,3
  19471. in: query
  19472. name: goodsids
  19473. type: string
  19474. - description: 预售商品代码
  19475. in: query
  19476. name: goodscode
  19477. type: string
  19478. produces:
  19479. - application/json
  19480. responses:
  19481. "200":
  19482. description: OK
  19483. schema:
  19484. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19485. "500":
  19486. description: Internal Server Error
  19487. schema:
  19488. $ref: '#/definitions/app.Response'
  19489. security:
  19490. - ApiKeyAuth: []
  19491. summary: 查询产能预售商品扩展信息
  19492. tags:
  19493. - 产能预售
  19494. /CPTrade/QueryUserGoodsData:
  19495. get:
  19496. parameters:
  19497. - description: 资金账户ID
  19498. in: query
  19499. name: accountid
  19500. required: true
  19501. type: integer
  19502. produces:
  19503. - application/json
  19504. responses:
  19505. "200":
  19506. description: OK
  19507. schema:
  19508. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19509. "500":
  19510. description: Internal Server Error
  19511. schema:
  19512. $ref: '#/definitions/app.Response'
  19513. security:
  19514. - ApiKeyAuth: []
  19515. summary: 查询远期订单信息
  19516. tags:
  19517. - 产能预售
  19518. /Common/GetAllEnums:
  19519. get:
  19520. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19521. parameters:
  19522. - description: 起始自增ID
  19523. in: query
  19524. name: autoid
  19525. type: integer
  19526. produces:
  19527. - application/json
  19528. responses:
  19529. "200":
  19530. description: OK
  19531. schema:
  19532. $ref: '#/definitions/models.Enumdicitem'
  19533. "500":
  19534. description: Internal Server Error
  19535. schema:
  19536. $ref: '#/definitions/app.Response'
  19537. summary: 获取所有枚举信息
  19538. tags:
  19539. - 通用服务
  19540. /Common/GetClientMenus:
  19541. get:
  19542. parameters:
  19543. - description: 登录账号
  19544. in: query
  19545. name: loginID
  19546. required: true
  19547. type: integer
  19548. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19549. in: query
  19550. name: clientType
  19551. type: integer
  19552. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19553. in: query
  19554. name: name
  19555. type: string
  19556. produces:
  19557. - application/json
  19558. responses:
  19559. "200":
  19560. description: OK
  19561. schema:
  19562. items:
  19563. $ref: '#/definitions/common.ClientMenu'
  19564. type: array
  19565. "500":
  19566. description: Internal Server Error
  19567. schema:
  19568. $ref: '#/definitions/app.Response'
  19569. security:
  19570. - ApiKeyAuth: []
  19571. summary: 获取交易端菜单
  19572. tags:
  19573. - 通用服务
  19574. /Common/GetDivisions:
  19575. get:
  19576. produces:
  19577. - application/json
  19578. responses:
  19579. "200":
  19580. description: OK
  19581. schema:
  19582. $ref: '#/definitions/models.Division'
  19583. "500":
  19584. description: Internal Server Error
  19585. schema:
  19586. $ref: '#/definitions/app.Response'
  19587. summary: 查询区域信息
  19588. tags:
  19589. - 通用服务
  19590. /Common/GetPCWebMenus:
  19591. get:
  19592. parameters:
  19593. - description: 登录账号
  19594. in: query
  19595. name: loginID
  19596. required: true
  19597. type: integer
  19598. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19599. in: query
  19600. name: name
  19601. type: string
  19602. produces:
  19603. - application/json
  19604. responses:
  19605. "200":
  19606. description: OK
  19607. schema:
  19608. items:
  19609. $ref: '#/definitions/common.PCWebMenu'
  19610. type: array
  19611. "500":
  19612. description: Internal Server Error
  19613. schema:
  19614. $ref: '#/definitions/app.Response'
  19615. security:
  19616. - ApiKeyAuth: []
  19617. summary: 获取PCWeb交易端菜单
  19618. tags:
  19619. - 通用服务
  19620. /Common/GetServerTime:
  19621. get:
  19622. produces:
  19623. - application/json
  19624. responses:
  19625. "200":
  19626. description: OK
  19627. schema:
  19628. $ref: '#/definitions/app.Response'
  19629. "500":
  19630. description: Internal Server Error
  19631. schema:
  19632. $ref: '#/definitions/app.Response'
  19633. summary: 获取服务器时间
  19634. tags:
  19635. - 通用服务
  19636. /Common/NoticeReaded:
  19637. post:
  19638. parameters:
  19639. - description: 登录账号
  19640. in: query
  19641. name: loginID
  19642. required: true
  19643. type: integer
  19644. - description: 通知公告ID
  19645. in: query
  19646. name: noticeID
  19647. required: true
  19648. type: integer
  19649. produces:
  19650. - application/json
  19651. responses:
  19652. "200":
  19653. description: OK
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. "500":
  19657. description: Internal Server Error
  19658. schema:
  19659. $ref: '#/definitions/app.Response'
  19660. security:
  19661. - ApiKeyAuth: []
  19662. summary: 通知公告设置已读请求
  19663. tags:
  19664. - 通用服务
  19665. /Common/QueryErrorInfos:
  19666. get:
  19667. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19668. parameters:
  19669. - description: 起始行号前索引
  19670. in: query
  19671. name: rowNumber
  19672. type: string
  19673. produces:
  19674. - application/json
  19675. responses:
  19676. "200":
  19677. description: OK
  19678. schema:
  19679. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19680. "500":
  19681. description: Internal Server Error
  19682. schema:
  19683. $ref: '#/definitions/app.Response'
  19684. summary: 获取数据库错误信息
  19685. tags:
  19686. - 通用服务
  19687. /Common/QueryImageConfigs:
  19688. get:
  19689. parameters:
  19690. - description: 用户id
  19691. in: query
  19692. name: userId
  19693. type: integer
  19694. - description: 类型 - 1:App首页轮播 2:我的
  19695. in: query
  19696. name: imageType
  19697. type: integer
  19698. produces:
  19699. - application/json
  19700. responses:
  19701. "200":
  19702. description: OK
  19703. schema:
  19704. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19705. "500":
  19706. description: Internal Server Error
  19707. schema:
  19708. $ref: '#/definitions/app.Response'
  19709. summary: 查询轮播图配置信息
  19710. tags:
  19711. - 通用服务
  19712. /Common/QueryNotice:
  19713. get:
  19714. parameters:
  19715. - description: 页码
  19716. in: query
  19717. name: page
  19718. type: integer
  19719. - description: 每页条数
  19720. in: query
  19721. name: pagesize
  19722. type: integer
  19723. - description: 登录账号
  19724. in: query
  19725. name: loginID
  19726. required: true
  19727. type: integer
  19728. - description: 消息类型 - 1:公告通知 2:系统消息
  19729. in: query
  19730. name: msgType
  19731. type: integer
  19732. - description: 是否只获取未读信息
  19733. in: query
  19734. name: onlyUnRead
  19735. type: boolean
  19736. - description: 自增ID,传入后会返回这个ID后面的记录
  19737. in: query
  19738. name: lastID
  19739. type: integer
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. $ref: '#/definitions/common.QueryNoticeRsp'
  19747. "500":
  19748. description: Internal Server Error
  19749. schema:
  19750. $ref: '#/definitions/app.Response'
  19751. security:
  19752. - ApiKeyAuth: []
  19753. summary: 通知公告系统消息查询
  19754. tags:
  19755. - 通用服务
  19756. /Common/QueryProvincesAndCities:
  19757. get:
  19758. parameters:
  19759. - description: 省ID
  19760. in: query
  19761. name: provinceID
  19762. type: integer
  19763. produces:
  19764. - application/json
  19765. responses:
  19766. "200":
  19767. description: OK
  19768. schema:
  19769. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19770. "500":
  19771. description: Internal Server Error
  19772. schema:
  19773. $ref: '#/definitions/app.Response'
  19774. summary: 查询省市信息(不包括区)
  19775. tags:
  19776. - 通用服务
  19777. /Common/QueryTableDefine:
  19778. get:
  19779. parameters:
  19780. - description: 表key
  19781. in: query
  19782. name: tableKey
  19783. type: string
  19784. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19785. in: query
  19786. name: tableType
  19787. type: integer
  19788. produces:
  19789. - application/json
  19790. responses:
  19791. "200":
  19792. description: OK
  19793. schema:
  19794. $ref: '#/definitions/common.QueryTableDefineRsp'
  19795. "500":
  19796. description: Internal Server Error
  19797. schema:
  19798. $ref: '#/definitions/app.Response'
  19799. summary: 查询交易端列表头信息
  19800. tags:
  19801. - 通用服务
  19802. /Common/QueryTraderMenu:
  19803. get:
  19804. parameters:
  19805. - description: 登录账号
  19806. in: query
  19807. name: loginid
  19808. required: true
  19809. type: integer
  19810. produces:
  19811. - application/json
  19812. responses:
  19813. "200":
  19814. description: OK
  19815. schema:
  19816. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19817. "500":
  19818. description: Internal Server Error
  19819. schema:
  19820. $ref: '#/definitions/app.Response'
  19821. summary: 查询交易端菜单
  19822. tags:
  19823. - 通用服务
  19824. /Delivery/QueryDeliveryRelation:
  19825. get:
  19826. parameters:
  19827. - description: 商品ID
  19828. in: query
  19829. name: goodsid
  19830. type: integer
  19831. - description: 品种ID
  19832. in: query
  19833. name: deliverygoodsid
  19834. type: integer
  19835. - description: 市场ID
  19836. in: query
  19837. name: marketid
  19838. type: integer
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19846. "500":
  19847. description: Internal Server Error
  19848. schema:
  19849. $ref: '#/definitions/app.Response'
  19850. security:
  19851. - ApiKeyAuth: []
  19852. summary: 查询商品交割关系表
  19853. tags:
  19854. - 交割服务
  19855. /Ermcp/GetErmcpGoods:
  19856. get:
  19857. parameters:
  19858. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19859. in: query
  19860. name: lastUpdateTime
  19861. type: string
  19862. produces:
  19863. - application/json
  19864. responses:
  19865. "200":
  19866. description: OK
  19867. schema:
  19868. $ref: '#/definitions/models.ErmcpGoods'
  19869. "500":
  19870. description: Internal Server Error
  19871. schema:
  19872. $ref: '#/definitions/app.Response'
  19873. security:
  19874. - ApiKeyAuth: []
  19875. summary: 查询企业风管期货商品信息
  19876. tags:
  19877. - 企业风险管理(app)
  19878. /Ermcp/GetErmcpGoodsSortByPosition:
  19879. get:
  19880. parameters:
  19881. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19882. in: query
  19883. name: sortIndex
  19884. type: string
  19885. produces:
  19886. - application/json
  19887. responses:
  19888. "200":
  19889. description: OK
  19890. schema:
  19891. $ref: '#/definitions/models.Goodssortbypreposition'
  19892. "500":
  19893. description: Internal Server Error
  19894. schema:
  19895. $ref: '#/definitions/app.Response'
  19896. security:
  19897. - ApiKeyAuth: []
  19898. summary: 查询企业风管期货主力、次主力商品信息
  19899. tags:
  19900. - 企业风险管理(app)
  19901. /Ermcp/GetErmcpOutAccountStatus:
  19902. get:
  19903. parameters:
  19904. - description: 登录账号
  19905. in: query
  19906. name: loginID
  19907. required: true
  19908. type: integer
  19909. produces:
  19910. - application/json
  19911. responses:
  19912. "200":
  19913. description: OK
  19914. schema:
  19915. $ref: '#/definitions/models.Hedgemarketopenlog'
  19916. "500":
  19917. description: Internal Server Error
  19918. schema:
  19919. $ref: '#/definitions/app.Response'
  19920. security:
  19921. - ApiKeyAuth: []
  19922. summary: 获取目标登录账号当前对冲账号在线状态
  19923. tags:
  19924. - 企业风险管理(app)
  19925. /Ermcp/GetErmcpRoleFuncMenuLists:
  19926. get:
  19927. parameters:
  19928. - description: 登录账号
  19929. in: query
  19930. name: loginID
  19931. required: true
  19932. type: integer
  19933. produces:
  19934. - application/json
  19935. responses:
  19936. "200":
  19937. description: OK
  19938. schema:
  19939. $ref: '#/definitions/models.Funcmenulist'
  19940. "500":
  19941. description: Internal Server Error
  19942. schema:
  19943. $ref: '#/definitions/app.Response'
  19944. security:
  19945. - ApiKeyAuth: []
  19946. summary: 获取企业风管终端权限
  19947. tags:
  19948. - 企业风险管理(app)
  19949. /Ermcp/QueryAccMgrBizGroupSet:
  19950. get:
  19951. parameters:
  19952. - description: 用户ID
  19953. in: query
  19954. name: userid
  19955. required: true
  19956. type: integer
  19957. - description: 现货商品id
  19958. in: query
  19959. name: deliverygoodsid
  19960. type: integer
  19961. produces:
  19962. - application/json
  19963. responses:
  19964. "200":
  19965. description: OK
  19966. schema:
  19967. items:
  19968. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19969. type: array
  19970. "500":
  19971. description: Internal Server Error
  19972. schema:
  19973. $ref: '#/definitions/app.Response'
  19974. security:
  19975. - ApiKeyAuth: []
  19976. summary: 查询业务类型分组(账户管理/账户设置)
  19977. tags:
  19978. - 企业风险管理(app)
  19979. /Ermcp/QueryAccMgrLoginUser:
  19980. get:
  19981. parameters:
  19982. - description: 用户ID
  19983. in: query
  19984. name: userid
  19985. required: true
  19986. type: integer
  19987. - description: 用户类型 2-机构 7-企业成员
  19988. in: query
  19989. name: usertype
  19990. type: integer
  19991. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19992. in: query
  19993. name: querytype
  19994. required: true
  19995. type: integer
  19996. produces:
  19997. - application/json
  19998. responses:
  19999. "200":
  20000. description: OK
  20001. schema:
  20002. items:
  20003. $ref: '#/definitions/models.ErmcpLoginUserEx'
  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/QueryAccMgrMainAccountInfo:
  20015. get:
  20016. parameters:
  20017. - description: 用户ID
  20018. in: query
  20019. name: userid
  20020. type: integer
  20021. - description: 主账号id
  20022. in: query
  20023. name: accountid
  20024. type: integer
  20025. produces:
  20026. - application/json
  20027. responses:
  20028. "200":
  20029. description: OK
  20030. schema:
  20031. items:
  20032. $ref: '#/definitions/models.MainAccountInfo'
  20033. type: array
  20034. "500":
  20035. description: Internal Server Error
  20036. schema:
  20037. $ref: '#/definitions/app.Response'
  20038. security:
  20039. - ApiKeyAuth: []
  20040. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20041. tags:
  20042. - 企业风险管理(app)
  20043. /Ermcp/QueryAccMgrRole:
  20044. get:
  20045. parameters:
  20046. - description: 用户ID
  20047. in: query
  20048. name: userid
  20049. required: true
  20050. type: integer
  20051. produces:
  20052. - application/json
  20053. responses:
  20054. "200":
  20055. description: OK
  20056. schema:
  20057. items:
  20058. $ref: '#/definitions/models.ErmcpRole'
  20059. type: array
  20060. "500":
  20061. description: Internal Server Error
  20062. schema:
  20063. $ref: '#/definitions/app.Response'
  20064. security:
  20065. - ApiKeyAuth: []
  20066. summary: 查询账户管理角色设置(账户管理/角色设置)
  20067. tags:
  20068. - 企业风险管理(app)
  20069. /Ermcp/QueryAccMgrRoleMenu:
  20070. get:
  20071. parameters:
  20072. - description: 用户ID
  20073. in: query
  20074. name: userid
  20075. required: true
  20076. type: integer
  20077. - description: 角色id(可多个,逗号隔开)
  20078. in: query
  20079. name: roleid
  20080. type: string
  20081. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20082. in: query
  20083. name: menutype
  20084. type: integer
  20085. produces:
  20086. - application/json
  20087. responses:
  20088. "200":
  20089. description: OK
  20090. schema:
  20091. items:
  20092. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20093. type: array
  20094. "500":
  20095. description: Internal Server Error
  20096. schema:
  20097. $ref: '#/definitions/app.Response'
  20098. security:
  20099. - ApiKeyAuth: []
  20100. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20101. tags:
  20102. - 企业风险管理(app)
  20103. /Ermcp/QueryAccMgrTaAccountInfo:
  20104. get:
  20105. parameters:
  20106. - description: 用户ID
  20107. in: query
  20108. name: userid
  20109. required: true
  20110. type: integer
  20111. - description: 账号id
  20112. in: query
  20113. name: accountid
  20114. type: integer
  20115. produces:
  20116. - application/json
  20117. responses:
  20118. "200":
  20119. description: OK
  20120. schema:
  20121. items:
  20122. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20123. type: array
  20124. "500":
  20125. description: Internal Server Error
  20126. schema:
  20127. $ref: '#/definitions/app.Response'
  20128. security:
  20129. - ApiKeyAuth: []
  20130. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20131. tags:
  20132. - 企业风险管理(app)
  20133. /Ermcp/QueryAccMgrTaaccount:
  20134. get:
  20135. parameters:
  20136. - description: 用户ID
  20137. in: query
  20138. name: userid
  20139. required: true
  20140. type: integer
  20141. produces:
  20142. - application/json
  20143. responses:
  20144. "200":
  20145. description: OK
  20146. schema:
  20147. items:
  20148. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20149. type: array
  20150. "500":
  20151. description: Internal Server Error
  20152. schema:
  20153. $ref: '#/definitions/app.Response'
  20154. security:
  20155. - ApiKeyAuth: []
  20156. summary: 查询账户管理期货账号(账户管理/期货账号)
  20157. tags:
  20158. - 企业风险管理(app)
  20159. /Ermcp/QueryAvaildGoodsGroup:
  20160. get:
  20161. parameters:
  20162. - description: 所属机构ID
  20163. in: query
  20164. name: userid
  20165. required: true
  20166. type: integer
  20167. produces:
  20168. - application/json
  20169. responses:
  20170. "200":
  20171. description: OK
  20172. schema:
  20173. items:
  20174. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20175. type: array
  20176. "500":
  20177. description: Internal Server Error
  20178. schema:
  20179. $ref: '#/definitions/app.Response'
  20180. security:
  20181. - ApiKeyAuth: []
  20182. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20183. tags:
  20184. - 企业风险管理(app)
  20185. /Ermcp/QueryBusinessDj:
  20186. get:
  20187. parameters:
  20188. - description: 用户ID
  20189. in: query
  20190. name: UserId
  20191. required: true
  20192. type: integer
  20193. - description: 用户类型 2-机构 7-企业成员
  20194. in: query
  20195. name: usertype
  20196. type: integer
  20197. - description: 现货合同ID, 不填则查所有
  20198. in: query
  20199. name: relatedid
  20200. type: string
  20201. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20202. in: query
  20203. name: applystatus
  20204. type: string
  20205. produces:
  20206. - application/json
  20207. responses:
  20208. "200":
  20209. description: OK
  20210. schema:
  20211. items:
  20212. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20213. type: array
  20214. "500":
  20215. description: Internal Server Error
  20216. schema:
  20217. $ref: '#/definitions/app.Response'
  20218. security:
  20219. - ApiKeyAuth: []
  20220. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20221. tags:
  20222. - 企业风险管理(app)
  20223. /Ermcp/QueryBusinessFp:
  20224. get:
  20225. parameters:
  20226. - description: 用户ID
  20227. in: query
  20228. name: UserId
  20229. required: true
  20230. type: integer
  20231. - description: 用户类型 2-机构 7-企业成员
  20232. in: query
  20233. name: usertype
  20234. type: integer
  20235. - description: 现货合同ID, 不填则查所有
  20236. in: query
  20237. name: relatedid
  20238. type: string
  20239. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20240. in: query
  20241. name: applystatus
  20242. type: string
  20243. produces:
  20244. - application/json
  20245. responses:
  20246. "200":
  20247. description: OK
  20248. schema:
  20249. items:
  20250. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20251. type: array
  20252. "500":
  20253. description: Internal Server Error
  20254. schema:
  20255. $ref: '#/definitions/app.Response'
  20256. security:
  20257. - ApiKeyAuth: []
  20258. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20259. tags:
  20260. - 企业风险管理(app)
  20261. /Ermcp/QueryBusinessJs:
  20262. get:
  20263. parameters:
  20264. - description: 用户ID
  20265. in: query
  20266. name: UserId
  20267. required: true
  20268. type: integer
  20269. - description: 用户类型 2-机构 7-企业成员
  20270. in: query
  20271. name: usertype
  20272. type: integer
  20273. - description: 现货合同ID, 不填则查所有
  20274. in: query
  20275. name: relatedid
  20276. type: string
  20277. - description: 操作申请id
  20278. in: query
  20279. name: operateapplyid
  20280. type: string
  20281. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20282. in: query
  20283. name: applystatus
  20284. type: string
  20285. produces:
  20286. - application/json
  20287. responses:
  20288. "200":
  20289. description: OK
  20290. schema:
  20291. items:
  20292. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20293. type: array
  20294. "500":
  20295. description: Internal Server Error
  20296. schema:
  20297. $ref: '#/definitions/app.Response'
  20298. security:
  20299. - ApiKeyAuth: []
  20300. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20301. tags:
  20302. - 企业风险管理(app)
  20303. /Ermcp/QueryBusinessJsEx:
  20304. get:
  20305. parameters:
  20306. - description: 用户ID
  20307. in: query
  20308. name: UserId
  20309. required: true
  20310. type: integer
  20311. - description: 用户类型 2-机构 7-企业成员
  20312. in: query
  20313. name: usertype
  20314. type: integer
  20315. - description: 现货合同ID, 不填则查所有
  20316. in: query
  20317. name: relatedid
  20318. type: string
  20319. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20320. in: query
  20321. name: applystatus
  20322. type: string
  20323. produces:
  20324. - application/json
  20325. responses:
  20326. "200":
  20327. description: OK
  20328. schema:
  20329. items:
  20330. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20331. type: array
  20332. "500":
  20333. description: Internal Server Error
  20334. schema:
  20335. $ref: '#/definitions/app.Response'
  20336. security:
  20337. - ApiKeyAuth: []
  20338. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20339. tags:
  20340. - 企业风险管理(app)
  20341. /Ermcp/QueryBusinessKx:
  20342. get:
  20343. parameters:
  20344. - description: 用户ID
  20345. in: query
  20346. name: UserId
  20347. required: true
  20348. type: integer
  20349. - description: 用户类型 2-机构 7-企业成员
  20350. in: query
  20351. name: usertype
  20352. type: integer
  20353. - description: 现货合同ID, 不填则查所有
  20354. in: query
  20355. name: relatedid
  20356. type: string
  20357. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20358. in: query
  20359. name: applystatus
  20360. type: string
  20361. produces:
  20362. - application/json
  20363. responses:
  20364. "200":
  20365. description: OK
  20366. schema:
  20367. items:
  20368. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20369. type: array
  20370. "500":
  20371. description: Internal Server Error
  20372. schema:
  20373. $ref: '#/definitions/app.Response'
  20374. security:
  20375. - ApiKeyAuth: []
  20376. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20377. tags:
  20378. - 企业风险管理(app)
  20379. /Ermcp/QueryChangeLog:
  20380. get:
  20381. parameters:
  20382. - description: 合同ID
  20383. in: query
  20384. name: RelatedId
  20385. required: true
  20386. type: string
  20387. produces:
  20388. - application/json
  20389. responses:
  20390. "200":
  20391. description: OK
  20392. schema:
  20393. items:
  20394. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20395. type: array
  20396. "500":
  20397. description: Internal Server Error
  20398. schema:
  20399. $ref: '#/definitions/app.Response'
  20400. security:
  20401. - ApiKeyAuth: []
  20402. summary: 查询变更记录
  20403. tags:
  20404. - 企业风险管理(app)
  20405. /Ermcp/QueryErmcpHisOrderDetails:
  20406. get:
  20407. parameters:
  20408. - description: 资金账户ID
  20409. in: query
  20410. name: accountID
  20411. required: true
  20412. type: integer
  20413. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20414. in: query
  20415. name: startDate
  20416. type: string
  20417. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20418. in: query
  20419. name: endDate
  20420. type: string
  20421. produces:
  20422. - application/json
  20423. responses:
  20424. "200":
  20425. description: OK
  20426. schema:
  20427. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20428. "500":
  20429. description: Internal Server Error
  20430. schema:
  20431. $ref: '#/definitions/app.Response'
  20432. security:
  20433. - ApiKeyAuth: []
  20434. summary: 获取企业风管期货历史委托单信息
  20435. tags:
  20436. - 企业风险管理(app)
  20437. /Ermcp/QueryErmcpHisTradeDetails:
  20438. get:
  20439. parameters:
  20440. - description: 资金账户ID
  20441. in: query
  20442. name: accountID
  20443. required: true
  20444. type: integer
  20445. - description: 商品ID
  20446. in: query
  20447. name: goodsID
  20448. type: integer
  20449. - description: 买卖方向,0:买 1:卖
  20450. in: query
  20451. name: buyOrSell
  20452. type: integer
  20453. - description: 关联委托单号
  20454. in: query
  20455. name: orderID
  20456. type: integer
  20457. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20458. in: query
  20459. name: startDate
  20460. type: string
  20461. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20462. in: query
  20463. name: endDate
  20464. type: string
  20465. produces:
  20466. - application/json
  20467. responses:
  20468. "200":
  20469. description: OK
  20470. schema:
  20471. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20472. "500":
  20473. description: Internal Server Error
  20474. schema:
  20475. $ref: '#/definitions/app.Response'
  20476. security:
  20477. - ApiKeyAuth: []
  20478. summary: 获取企业风管期货历史成交单信息
  20479. tags:
  20480. - 企业风险管理(app)
  20481. /Ermcp/QueryErmcpInnerHolderDetails:
  20482. get:
  20483. parameters:
  20484. - description: 资金账户ID
  20485. in: query
  20486. name: accountID
  20487. required: true
  20488. type: integer
  20489. - description: 商品ID
  20490. in: query
  20491. name: goodsID
  20492. type: integer
  20493. - description: 买卖方向,0:买 1:卖
  20494. in: query
  20495. name: buyOrSell
  20496. type: integer
  20497. produces:
  20498. - application/json
  20499. responses:
  20500. "200":
  20501. description: OK
  20502. schema:
  20503. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20504. "500":
  20505. description: Internal Server Error
  20506. schema:
  20507. $ref: '#/definitions/app.Response'
  20508. security:
  20509. - ApiKeyAuth: []
  20510. summary: 获取企业风管期货内部持仓单信息
  20511. tags:
  20512. - 企业风险管理(app)
  20513. /Ermcp/QueryErmcpOrderDetails:
  20514. get:
  20515. parameters:
  20516. - description: 资金账户ID
  20517. in: query
  20518. name: accountID
  20519. required: true
  20520. type: integer
  20521. produces:
  20522. - application/json
  20523. responses:
  20524. "200":
  20525. description: OK
  20526. schema:
  20527. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20528. "500":
  20529. description: Internal Server Error
  20530. schema:
  20531. $ref: '#/definitions/app.Response'
  20532. security:
  20533. - ApiKeyAuth: []
  20534. summary: 获取企业风管期货委托单信息
  20535. tags:
  20536. - 企业风险管理(app)
  20537. /Ermcp/QueryErmcpTradeDetails:
  20538. get:
  20539. parameters:
  20540. - description: 资金账户ID
  20541. in: query
  20542. name: accountID
  20543. required: true
  20544. type: integer
  20545. - description: 商品ID
  20546. in: query
  20547. name: goodsID
  20548. type: integer
  20549. - description: 买卖方向,0:买 1:卖
  20550. in: query
  20551. name: buyOrSell
  20552. type: integer
  20553. - description: 关联委托单号
  20554. in: query
  20555. name: orderID
  20556. type: integer
  20557. produces:
  20558. - application/json
  20559. responses:
  20560. "200":
  20561. description: OK
  20562. schema:
  20563. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20564. "500":
  20565. description: Internal Server Error
  20566. schema:
  20567. $ref: '#/definitions/app.Response'
  20568. security:
  20569. - ApiKeyAuth: []
  20570. summary: 获取企业风管期货成交单信息
  20571. tags:
  20572. - 企业风险管理(app)
  20573. /Ermcp/QueryErmcpTradePosition:
  20574. get:
  20575. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20576. parameters:
  20577. - description: 资金账户ID
  20578. in: query
  20579. name: accountID
  20580. required: true
  20581. type: integer
  20582. - description: 所属市场ID
  20583. in: query
  20584. name: marketID
  20585. type: integer
  20586. produces:
  20587. - application/json
  20588. responses:
  20589. "200":
  20590. description: OK
  20591. schema:
  20592. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20593. "500":
  20594. description: Internal Server Error
  20595. schema:
  20596. $ref: '#/definitions/app.Response'
  20597. security:
  20598. - ApiKeyAuth: []
  20599. summary: 获取企业风管期货持仓头寸信息
  20600. tags:
  20601. - 企业风险管理(app)
  20602. /Ermcp/QueryExposureDetail:
  20603. get:
  20604. parameters:
  20605. - description: 所属机构ID
  20606. in: query
  20607. name: areaUserId
  20608. required: true
  20609. type: integer
  20610. - description: 套保商品
  20611. in: query
  20612. name: middleGoodsId
  20613. required: true
  20614. type: integer
  20615. produces:
  20616. - application/json
  20617. responses:
  20618. "200":
  20619. description: OK
  20620. schema:
  20621. items:
  20622. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20623. type: array
  20624. "500":
  20625. description: Internal Server Error
  20626. schema:
  20627. $ref: '#/definitions/app.Response'
  20628. security:
  20629. - ApiKeyAuth: []
  20630. summary: 查询敞口现货明细
  20631. tags:
  20632. - 企业风险管理(app)
  20633. /Ermcp/QueryExposureGoods:
  20634. get:
  20635. parameters:
  20636. - description: 套保商品id
  20637. in: query
  20638. name: middlegoodsid
  20639. required: true
  20640. type: integer
  20641. produces:
  20642. - application/json
  20643. responses:
  20644. "200":
  20645. description: OK
  20646. schema:
  20647. items:
  20648. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20649. type: array
  20650. "500":
  20651. description: Internal Server Error
  20652. schema:
  20653. $ref: '#/definitions/app.Response'
  20654. security:
  20655. - ApiKeyAuth: []
  20656. summary: 查询敞口主力合约
  20657. tags:
  20658. - 企业风险管理(app)
  20659. /Ermcp/QueryExposureHedgePosition:
  20660. get:
  20661. parameters:
  20662. - description: 用户id
  20663. in: query
  20664. name: userid
  20665. required: true
  20666. type: integer
  20667. produces:
  20668. - application/json
  20669. responses:
  20670. "200":
  20671. description: OK
  20672. schema:
  20673. items:
  20674. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20675. type: array
  20676. "500":
  20677. description: Internal Server Error
  20678. schema:
  20679. $ref: '#/definitions/app.Response'
  20680. security:
  20681. - ApiKeyAuth: []
  20682. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20683. tags:
  20684. - 企业风险管理(app)
  20685. /Ermcp/QueryExposureHedgePositionDetail:
  20686. get:
  20687. parameters:
  20688. - description: 所属机构ID
  20689. in: query
  20690. name: userid
  20691. required: true
  20692. type: integer
  20693. - description: 商品id
  20694. in: query
  20695. name: goodsId
  20696. required: true
  20697. type: integer
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. items:
  20705. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20706. type: array
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20714. tags:
  20715. - 企业风险管理(app)
  20716. /Ermcp/QueryExposureSpot:
  20717. get:
  20718. parameters:
  20719. - description: 所属机构ID
  20720. in: query
  20721. name: areaUserId
  20722. required: true
  20723. type: integer
  20724. produces:
  20725. - application/json
  20726. responses:
  20727. "200":
  20728. description: OK
  20729. schema:
  20730. items:
  20731. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20732. type: array
  20733. "500":
  20734. description: Internal Server Error
  20735. schema:
  20736. $ref: '#/definitions/app.Response'
  20737. security:
  20738. - ApiKeyAuth: []
  20739. summary: 查询敞口现货头寸(敞口/现货头寸)
  20740. tags:
  20741. - 企业风险管理(app)
  20742. /Ermcp/QueryExposureSpotDetail:
  20743. get:
  20744. parameters:
  20745. - description: 所属机构ID
  20746. in: query
  20747. name: areaUserId
  20748. required: true
  20749. type: integer
  20750. - description: 现货品种ID
  20751. in: query
  20752. name: wrstandardId
  20753. required: true
  20754. type: integer
  20755. produces:
  20756. - application/json
  20757. responses:
  20758. "200":
  20759. description: OK
  20760. schema:
  20761. items:
  20762. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20763. type: array
  20764. "500":
  20765. description: Internal Server Error
  20766. schema:
  20767. $ref: '#/definitions/app.Response'
  20768. security:
  20769. - ApiKeyAuth: []
  20770. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20771. tags:
  20772. - 企业风险管理(app)
  20773. /Ermcp/QueryFuturesCompany:
  20774. get:
  20775. produces:
  20776. - application/json
  20777. responses:
  20778. "200":
  20779. description: OK
  20780. schema:
  20781. items:
  20782. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20783. type: array
  20784. "500":
  20785. description: Internal Server Error
  20786. schema:
  20787. $ref: '#/definitions/app.Response'
  20788. security:
  20789. - ApiKeyAuth: []
  20790. summary: 查询期货公司
  20791. tags:
  20792. - 企业风险管理(app)
  20793. /Ermcp/QueryGGConvertConfig:
  20794. get:
  20795. parameters:
  20796. - description: 品种id(不填则查所有)
  20797. in: query
  20798. name: goodsgroupid
  20799. type: integer
  20800. produces:
  20801. - application/json
  20802. responses:
  20803. "200":
  20804. description: OK
  20805. schema:
  20806. items:
  20807. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20808. type: array
  20809. "500":
  20810. description: Internal Server Error
  20811. schema:
  20812. $ref: '#/definitions/app.Response'
  20813. security:
  20814. - ApiKeyAuth: []
  20815. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20816. tags:
  20817. - 企业风险管理(app)
  20818. /Ermcp/QueryGoodsBrand:
  20819. get:
  20820. parameters:
  20821. - description: 用户ID
  20822. in: query
  20823. name: userid
  20824. required: true
  20825. type: integer
  20826. - description: 现货商品ID
  20827. in: query
  20828. name: wrstandardid
  20829. type: integer
  20830. produces:
  20831. - application/json
  20832. responses:
  20833. "200":
  20834. description: OK
  20835. schema:
  20836. items:
  20837. $ref: '#/definitions/models.ErmcpGoodsBrand'
  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/QueryGoodsModel:
  20849. get:
  20850. parameters:
  20851. - description: 用户ID
  20852. in: query
  20853. name: userid
  20854. required: true
  20855. type: integer
  20856. produces:
  20857. - application/json
  20858. responses:
  20859. "200":
  20860. description: OK
  20861. schema:
  20862. items:
  20863. $ref: '#/definitions/models.ErmcpGoodsModel'
  20864. type: array
  20865. "500":
  20866. description: Internal Server Error
  20867. schema:
  20868. $ref: '#/definitions/app.Response'
  20869. security:
  20870. - ApiKeyAuth: []
  20871. summary: 查询商品型号
  20872. tags:
  20873. - 企业风险管理(app)
  20874. /Ermcp/QueryHisExposure:
  20875. get:
  20876. parameters:
  20877. - description: 用户id
  20878. in: query
  20879. name: userid
  20880. required: true
  20881. type: integer
  20882. - description: 每个品种记录数
  20883. in: query
  20884. name: lastNum
  20885. required: true
  20886. type: integer
  20887. produces:
  20888. - application/json
  20889. responses:
  20890. "200":
  20891. description: OK
  20892. schema:
  20893. items:
  20894. $ref: '#/definitions/ermcp.HisExposureRsp'
  20895. type: array
  20896. "500":
  20897. description: Internal Server Error
  20898. schema:
  20899. $ref: '#/definitions/app.Response'
  20900. security:
  20901. - ApiKeyAuth: []
  20902. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20903. tags:
  20904. - 企业风险管理(app)
  20905. /Ermcp/QueryMiddleGoods:
  20906. get:
  20907. parameters:
  20908. - description: 所属机构ID
  20909. in: query
  20910. name: userid
  20911. required: true
  20912. type: integer
  20913. - description: 状态 0-停用 1-正常
  20914. in: query
  20915. name: status
  20916. required: true
  20917. type: integer
  20918. produces:
  20919. - application/json
  20920. responses:
  20921. "200":
  20922. description: OK
  20923. schema:
  20924. items:
  20925. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20926. type: array
  20927. "500":
  20928. description: Internal Server Error
  20929. schema:
  20930. $ref: '#/definitions/app.Response'
  20931. security:
  20932. - ApiKeyAuth: []
  20933. summary: 查询套保品种(菜单:套保品种)
  20934. tags:
  20935. - 企业风险管理(app)
  20936. /Ermcp/QueryMiddleGoodsChangeLog:
  20937. get:
  20938. parameters:
  20939. - description: 所属机构ID
  20940. in: query
  20941. name: userid
  20942. required: true
  20943. type: integer
  20944. - description: 套保品种id
  20945. in: query
  20946. name: middlegoodsid
  20947. required: true
  20948. type: integer
  20949. produces:
  20950. - application/json
  20951. responses:
  20952. "200":
  20953. description: OK
  20954. schema:
  20955. items:
  20956. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20957. type: array
  20958. "500":
  20959. description: Internal Server Error
  20960. schema:
  20961. $ref: '#/definitions/app.Response'
  20962. security:
  20963. - ApiKeyAuth: []
  20964. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20965. tags:
  20966. - 企业风险管理(app)
  20967. /Ermcp/QueryMiddleGoodsDetail:
  20968. get:
  20969. parameters:
  20970. - description: 所属机构ID
  20971. in: query
  20972. name: userid
  20973. required: true
  20974. type: integer
  20975. - description: 套保品种id
  20976. in: query
  20977. name: middlegoodsid
  20978. type: integer
  20979. produces:
  20980. - application/json
  20981. responses:
  20982. "200":
  20983. description: OK
  20984. schema:
  20985. items:
  20986. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20987. type: array
  20988. "500":
  20989. description: Internal Server Error
  20990. schema:
  20991. $ref: '#/definitions/app.Response'
  20992. security:
  20993. - ApiKeyAuth: []
  20994. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20995. tags:
  20996. - 企业风险管理(app)
  20997. /Ermcp/QueryPendingAuditInfo:
  20998. get:
  20999. parameters:
  21000. - description: 用户ID
  21001. in: query
  21002. name: UserId
  21003. required: true
  21004. type: integer
  21005. produces:
  21006. - application/json
  21007. responses:
  21008. "200":
  21009. description: OK
  21010. schema:
  21011. items:
  21012. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21013. type: array
  21014. "500":
  21015. description: Internal Server Error
  21016. schema:
  21017. $ref: '#/definitions/app.Response'
  21018. security:
  21019. - ApiKeyAuth: []
  21020. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21021. tags:
  21022. - 企业风险管理(app)
  21023. /Ermcp/QueryRealtimeExposure:
  21024. get:
  21025. parameters:
  21026. - description: 所属机构ID
  21027. in: query
  21028. name: userid
  21029. required: true
  21030. type: integer
  21031. produces:
  21032. - application/json
  21033. responses:
  21034. "200":
  21035. description: OK
  21036. schema:
  21037. items:
  21038. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21039. type: array
  21040. "500":
  21041. description: Internal Server Error
  21042. schema:
  21043. $ref: '#/definitions/app.Response'
  21044. security:
  21045. - ApiKeyAuth: []
  21046. summary: 查询实时敞口
  21047. tags:
  21048. - 企业风险管理(app)
  21049. /Ermcp/QueryRealtimeExposurePosition:
  21050. get:
  21051. parameters:
  21052. - description: 用户id
  21053. in: query
  21054. name: userid
  21055. required: true
  21056. type: integer
  21057. - description: 套保商品ID
  21058. in: query
  21059. name: middleGoodsId
  21060. required: true
  21061. type: integer
  21062. produces:
  21063. - application/json
  21064. responses:
  21065. "200":
  21066. description: OK
  21067. schema:
  21068. items:
  21069. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21070. type: array
  21071. "500":
  21072. description: Internal Server Error
  21073. schema:
  21074. $ref: '#/definitions/app.Response'
  21075. security:
  21076. - ApiKeyAuth: []
  21077. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21078. tags:
  21079. - 企业风险管理(app)
  21080. /Ermcp/QueryRoleMenu:
  21081. get:
  21082. parameters:
  21083. - description: 登录ID
  21084. in: query
  21085. name: loginid
  21086. required: true
  21087. type: integer
  21088. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21089. in: query
  21090. name: menutype
  21091. type: integer
  21092. produces:
  21093. - application/json
  21094. responses:
  21095. "200":
  21096. description: OK
  21097. schema:
  21098. items:
  21099. $ref: '#/definitions/models.RoleMenu'
  21100. type: array
  21101. "500":
  21102. description: Internal Server Error
  21103. schema:
  21104. $ref: '#/definitions/app.Response'
  21105. security:
  21106. - ApiKeyAuth: []
  21107. summary: 查询角色菜单和权限
  21108. tags:
  21109. - 企业风险管理(app)
  21110. /Ermcp/QueryTradeConfigTMP:
  21111. get:
  21112. parameters:
  21113. - description: 所属机构id
  21114. in: query
  21115. name: areauserid
  21116. type: integer
  21117. produces:
  21118. - application/json
  21119. responses:
  21120. "200":
  21121. description: OK
  21122. schema:
  21123. items:
  21124. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21125. type: array
  21126. "500":
  21127. description: Internal Server Error
  21128. schema:
  21129. $ref: '#/definitions/app.Response'
  21130. security:
  21131. - ApiKeyAuth: []
  21132. summary: 查询交易模板配置
  21133. tags:
  21134. - 企业风险管理(app)
  21135. /Ermcp/QueryUserInfo:
  21136. get:
  21137. parameters:
  21138. - description: 所属机构用户ID
  21139. in: query
  21140. name: MemberUserID
  21141. required: true
  21142. type: integer
  21143. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21144. in: query
  21145. name: queryType
  21146. required: true
  21147. type: integer
  21148. produces:
  21149. - application/json
  21150. responses:
  21151. "200":
  21152. description: OK
  21153. schema:
  21154. items:
  21155. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21156. type: array
  21157. "500":
  21158. description: Internal Server Error
  21159. schema:
  21160. $ref: '#/definitions/app.Response'
  21161. security:
  21162. - ApiKeyAuth: []
  21163. summary: 查询客户资料
  21164. tags:
  21165. - 企业风险管理(app)
  21166. /Ermcp/QueryWarehouseInfo:
  21167. get:
  21168. parameters:
  21169. - description: 用户ID
  21170. in: query
  21171. name: userid
  21172. required: true
  21173. type: integer
  21174. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21175. in: query
  21176. name: status
  21177. type: string
  21178. produces:
  21179. - application/json
  21180. responses:
  21181. "200":
  21182. description: OK
  21183. schema:
  21184. items:
  21185. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21186. type: array
  21187. "500":
  21188. description: Internal Server Error
  21189. schema:
  21190. $ref: '#/definitions/app.Response'
  21191. security:
  21192. - ApiKeyAuth: []
  21193. summary: 查询仓库信息
  21194. tags:
  21195. - 企业风险管理(app)
  21196. /Ermcp3/QryAreaExpourseContractDetail:
  21197. get:
  21198. parameters:
  21199. - description: 用户ID
  21200. in: query
  21201. name: userid
  21202. required: true
  21203. type: integer
  21204. - description: 套保商品id
  21205. in: query
  21206. name: middlegoodsid
  21207. required: true
  21208. type: integer
  21209. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21210. in: query
  21211. name: cycletype
  21212. required: true
  21213. type: integer
  21214. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21215. 全(0)【原值】
  21216. in: query
  21217. name: cycletime
  21218. required: true
  21219. type: string
  21220. produces:
  21221. - application/json
  21222. responses:
  21223. "200":
  21224. description: OK
  21225. schema:
  21226. items:
  21227. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21228. type: array
  21229. "500":
  21230. description: Internal Server Error
  21231. schema:
  21232. $ref: '#/definitions/app.Response'
  21233. security:
  21234. - ApiKeyAuth: []
  21235. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21236. tags:
  21237. - 企业风险管理v3(app)
  21238. /Ermcp3/QryAreaExpourseFutuDetail:
  21239. get:
  21240. parameters:
  21241. - description: 用户ID
  21242. in: query
  21243. name: userid
  21244. required: true
  21245. type: integer
  21246. - description: 套保商品id
  21247. in: query
  21248. name: middlegoodsid
  21249. required: true
  21250. type: integer
  21251. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21252. in: query
  21253. name: cycletype
  21254. required: true
  21255. type: integer
  21256. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21257. 全(0)【原值】
  21258. in: query
  21259. name: cycletime
  21260. required: true
  21261. type: string
  21262. produces:
  21263. - application/json
  21264. responses:
  21265. "200":
  21266. description: OK
  21267. schema:
  21268. items:
  21269. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21270. type: array
  21271. "500":
  21272. description: Internal Server Error
  21273. schema:
  21274. $ref: '#/definitions/app.Response'
  21275. security:
  21276. - ApiKeyAuth: []
  21277. summary: 查询敞口期货明细(敞口报表/期货明细)
  21278. tags:
  21279. - 企业风险管理v3(app)
  21280. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21281. get:
  21282. parameters:
  21283. - description: 用户ID
  21284. in: query
  21285. name: userid
  21286. required: true
  21287. type: integer
  21288. - description: 套保商品id
  21289. in: query
  21290. name: middlegoodsid
  21291. required: true
  21292. type: integer
  21293. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21294. in: query
  21295. name: cycletype
  21296. required: true
  21297. type: integer
  21298. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21299. 全(0)【原值】
  21300. in: query
  21301. name: cycletime
  21302. required: true
  21303. type: string
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. items:
  21311. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21312. type: array
  21313. "500":
  21314. description: Internal Server Error
  21315. schema:
  21316. $ref: '#/definitions/app.Response'
  21317. security:
  21318. - ApiKeyAuth: []
  21319. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21320. tags:
  21321. - 企业风险管理v3(app)
  21322. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21323. get:
  21324. parameters:
  21325. - description: 用户ID
  21326. in: query
  21327. name: userid
  21328. required: true
  21329. type: integer
  21330. - description: 套保商品id
  21331. in: query
  21332. name: middlegoodsid
  21333. required: true
  21334. type: integer
  21335. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21336. in: query
  21337. name: cycletype
  21338. required: true
  21339. type: integer
  21340. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21341. 全(0)【原值】
  21342. in: query
  21343. name: cycletime
  21344. required: true
  21345. type: string
  21346. produces:
  21347. - application/json
  21348. responses:
  21349. "200":
  21350. description: OK
  21351. schema:
  21352. items:
  21353. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21354. type: array
  21355. "500":
  21356. description: Internal Server Error
  21357. schema:
  21358. $ref: '#/definitions/app.Response'
  21359. security:
  21360. - ApiKeyAuth: []
  21361. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21362. tags:
  21363. - 企业风险管理v3(app)
  21364. /Ermcp3/QryAreaExpourseReport:
  21365. get:
  21366. parameters:
  21367. - description: 用户ID
  21368. in: query
  21369. name: userid
  21370. required: true
  21371. type: integer
  21372. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21373. in: query
  21374. name: querytype
  21375. required: true
  21376. type: integer
  21377. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21378. in: query
  21379. name: cycletype
  21380. required: true
  21381. type: integer
  21382. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21383. 全(0)【原值】
  21384. in: query
  21385. name: cycletime
  21386. required: true
  21387. type: string
  21388. produces:
  21389. - application/json
  21390. responses:
  21391. "200":
  21392. description: OK
  21393. schema:
  21394. items:
  21395. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21396. type: array
  21397. "500":
  21398. description: Internal Server Error
  21399. schema:
  21400. $ref: '#/definitions/app.Response'
  21401. security:
  21402. - ApiKeyAuth: []
  21403. summary: 查询敞口报表
  21404. tags:
  21405. - 企业风险管理v3(app)
  21406. /Ermcp3/QryAreaSpotplReport:
  21407. get:
  21408. parameters:
  21409. - description: 用户ID
  21410. in: query
  21411. name: userid
  21412. required: true
  21413. type: integer
  21414. - description: 查询类型 1-报表 2-报表明细
  21415. in: query
  21416. name: querytype
  21417. required: true
  21418. type: integer
  21419. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21420. in: query
  21421. name: cycletype
  21422. required: true
  21423. type: integer
  21424. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21425. 全(0)【原值】
  21426. in: query
  21427. name: cycletime
  21428. required: true
  21429. type: string
  21430. - description: 现货品种id(明细必填)
  21431. in: query
  21432. name: deliverygoodsid
  21433. type: integer
  21434. - description: 币种id(明细必填)
  21435. in: query
  21436. name: currencyid
  21437. type: integer
  21438. produces:
  21439. - application/json
  21440. responses:
  21441. "200":
  21442. description: OK
  21443. schema:
  21444. items:
  21445. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21446. type: array
  21447. "500":
  21448. description: Internal Server Error
  21449. schema:
  21450. $ref: '#/definitions/app.Response'
  21451. security:
  21452. - ApiKeyAuth: []
  21453. summary: 查询现货报表
  21454. tags:
  21455. - 企业风险管理v3(app)
  21456. /Ermcp3/QryAreaStockReport:
  21457. get:
  21458. parameters:
  21459. - description: 用户ID
  21460. in: query
  21461. name: userid
  21462. required: true
  21463. type: integer
  21464. - description: 查询类型 1-报表 2-报表明细
  21465. in: query
  21466. name: querytype
  21467. required: true
  21468. type: integer
  21469. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21470. in: query
  21471. name: cycletype
  21472. required: true
  21473. type: integer
  21474. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21475. 全(0)【原值】
  21476. in: query
  21477. name: cycletime
  21478. required: true
  21479. type: string
  21480. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21481. in: query
  21482. name: sumfields
  21483. type: string
  21484. - description: 品种ID
  21485. in: query
  21486. name: deliverygoodsid
  21487. type: integer
  21488. - description: 品类ID
  21489. in: query
  21490. name: wrstandardid
  21491. type: integer
  21492. - description: 品牌ID
  21493. in: query
  21494. name: spotgoodsbrandid
  21495. type: integer
  21496. - description: 仓库ID
  21497. in: query
  21498. name: warehouseinfoid
  21499. type: integer
  21500. produces:
  21501. - application/json
  21502. responses:
  21503. "200":
  21504. description: OK
  21505. schema:
  21506. items:
  21507. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21508. type: array
  21509. "500":
  21510. description: Internal Server Error
  21511. schema:
  21512. $ref: '#/definitions/app.Response'
  21513. security:
  21514. - ApiKeyAuth: []
  21515. summary: 查询库存报表
  21516. tags:
  21517. - 企业风险管理v3(app)
  21518. /Ermcp3/QryAreaSumPL:
  21519. get:
  21520. parameters:
  21521. - description: 用户ID
  21522. in: query
  21523. name: userid
  21524. required: true
  21525. type: integer
  21526. - description: 查询类型 1-报表 2-报表明细
  21527. in: query
  21528. name: querytype
  21529. required: true
  21530. type: integer
  21531. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21532. in: query
  21533. name: cycletype
  21534. required: true
  21535. type: integer
  21536. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21537. 全(0)【原值】
  21538. in: query
  21539. name: cycletime
  21540. required: true
  21541. type: string
  21542. - description: 币种id(明细必填)
  21543. in: query
  21544. name: currencyid
  21545. type: integer
  21546. produces:
  21547. - application/json
  21548. responses:
  21549. "200":
  21550. description: OK
  21551. schema:
  21552. items:
  21553. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21554. type: array
  21555. "500":
  21556. description: Internal Server Error
  21557. schema:
  21558. $ref: '#/definitions/app.Response'
  21559. security:
  21560. - ApiKeyAuth: []
  21561. summary: 查询汇总损益表
  21562. tags:
  21563. - 企业风险管理v3(app)
  21564. /Ermcp3/QryFinanceReport:
  21565. get:
  21566. parameters:
  21567. - description: 用户ID
  21568. in: query
  21569. name: userid
  21570. required: true
  21571. type: integer
  21572. - description: 查询类型 1-报表 2-报表明细
  21573. in: query
  21574. name: querytype
  21575. required: true
  21576. type: integer
  21577. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21578. in: query
  21579. name: cycletype
  21580. required: true
  21581. type: integer
  21582. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21583. 全(0)【原值】
  21584. in: query
  21585. name: cycletime
  21586. required: true
  21587. type: string
  21588. - description: 币种id(报表明细必填)
  21589. in: query
  21590. name: currencyid
  21591. type: integer
  21592. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21593. in: query
  21594. name: sumfields
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询财务报表
  21612. tags:
  21613. - 企业风险管理v3(app)
  21614. /Ermcp3/QrySCMiddleGoodsReport:
  21615. get:
  21616. parameters:
  21617. - description: 用户ID
  21618. in: query
  21619. name: userid
  21620. required: true
  21621. type: integer
  21622. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21623. in: query
  21624. name: cycletype
  21625. required: true
  21626. type: integer
  21627. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21628. 全(0)【原值】
  21629. in: query
  21630. name: cycletime
  21631. required: true
  21632. type: string
  21633. - description: 合同id
  21634. in: query
  21635. name: spotcontractid
  21636. type: integer
  21637. - description: 套保品种id
  21638. in: query
  21639. name: middlegoodsid
  21640. type: integer
  21641. - description: 现货品种id
  21642. in: query
  21643. name: deliverygoodsid
  21644. type: integer
  21645. - description: 现货商品id
  21646. in: query
  21647. name: wrstandardid
  21648. type: integer
  21649. - description: 合同编号(模糊匹配)
  21650. in: query
  21651. name: contractno
  21652. type: string
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. items:
  21660. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21661. type: array
  21662. "500":
  21663. description: Internal Server Error
  21664. schema:
  21665. $ref: '#/definitions/app.Response'
  21666. security:
  21667. - ApiKeyAuth: []
  21668. summary: 查询定价报表
  21669. tags:
  21670. - 企业风险管理v3(app)
  21671. /Ermcp3/QryTaFutureDataReport:
  21672. get:
  21673. parameters:
  21674. - description: 用户ID
  21675. in: query
  21676. name: userid
  21677. required: true
  21678. type: integer
  21679. - description: 查询类型 1-报表 2-报表明细
  21680. in: query
  21681. name: querytype
  21682. required: true
  21683. type: integer
  21684. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21685. in: query
  21686. name: cycletype
  21687. required: true
  21688. type: integer
  21689. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21690. 全(0)【原值】
  21691. in: query
  21692. name: cycletime
  21693. required: true
  21694. type: string
  21695. - description: 币种id(查明细必填)
  21696. in: query
  21697. name: currencyid
  21698. type: integer
  21699. - description: 品种id(查明细必填)
  21700. in: query
  21701. name: goodsgroupid
  21702. type: integer
  21703. - description: 商品id(查明细必填)
  21704. in: query
  21705. name: goodsid
  21706. type: integer
  21707. - description: 买卖方向(查明细必填)
  21708. in: query
  21709. name: buyorsell
  21710. type: integer
  21711. produces:
  21712. - application/json
  21713. responses:
  21714. "200":
  21715. description: OK
  21716. schema:
  21717. items:
  21718. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21719. type: array
  21720. "500":
  21721. description: Internal Server Error
  21722. schema:
  21723. $ref: '#/definitions/app.Response'
  21724. security:
  21725. - ApiKeyAuth: []
  21726. summary: 查询期货报表
  21727. tags:
  21728. - 企业风险管理v3(app)
  21729. /Ermcp3/QueryAreaStock:
  21730. get:
  21731. parameters:
  21732. - description: 用户ID
  21733. in: query
  21734. name: userid
  21735. required: true
  21736. type: integer
  21737. produces:
  21738. - application/json
  21739. responses:
  21740. "200":
  21741. description: OK
  21742. schema:
  21743. items:
  21744. $ref: '#/definitions/models.Ermcp3AreaStock'
  21745. type: array
  21746. "500":
  21747. description: Internal Server Error
  21748. schema:
  21749. $ref: '#/definitions/app.Response'
  21750. security:
  21751. - ApiKeyAuth: []
  21752. summary: 查询机构库存(库存管理/当前库存)
  21753. tags:
  21754. - 企业风险管理v3(app)
  21755. /Ermcp3/QueryAreaStockApply:
  21756. get:
  21757. parameters:
  21758. - description: 用户ID
  21759. in: query
  21760. name: userid
  21761. required: true
  21762. type: integer
  21763. - description: 用户类型 2-机构 7-企业成员
  21764. in: query
  21765. name: usertype
  21766. type: integer
  21767. - description: 现货商品ID
  21768. in: query
  21769. name: deliverygoodsid
  21770. type: integer
  21771. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21772. in: query
  21773. name: inouttype
  21774. type: string
  21775. - description: 合同ID
  21776. in: query
  21777. name: spotcontractid
  21778. type: integer
  21779. - description: 品类ID
  21780. in: query
  21781. name: wrstandardid
  21782. type: integer
  21783. - description: 品牌ID
  21784. in: query
  21785. name: spotgoodsbrandid
  21786. type: integer
  21787. - description: 仓库ID
  21788. in: query
  21789. name: warehouseinfoid
  21790. type: integer
  21791. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21792. in: query
  21793. name: applystatus
  21794. type: string
  21795. produces:
  21796. - application/json
  21797. responses:
  21798. "200":
  21799. description: OK
  21800. schema:
  21801. items:
  21802. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21803. type: array
  21804. "500":
  21805. description: Internal Server Error
  21806. schema:
  21807. $ref: '#/definitions/app.Response'
  21808. security:
  21809. - ApiKeyAuth: []
  21810. summary: 查询库存申请(出入库记录|库存审核)
  21811. tags:
  21812. - 企业风险管理v3(app)
  21813. /Ermcp3/QueryAreaStockApplySum:
  21814. get:
  21815. parameters:
  21816. - description: 合同ID
  21817. in: query
  21818. name: spotcontractid
  21819. required: true
  21820. type: integer
  21821. produces:
  21822. - application/json
  21823. responses:
  21824. "200":
  21825. description: OK
  21826. schema:
  21827. items:
  21828. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21829. type: array
  21830. "500":
  21831. description: Internal Server Error
  21832. schema:
  21833. $ref: '#/definitions/app.Response'
  21834. security:
  21835. - ApiKeyAuth: []
  21836. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21837. tags:
  21838. - 企业风险管理v3(app)
  21839. /Ermcp3/QueryDGFactoryItem:
  21840. get:
  21841. parameters:
  21842. - description: 用户id
  21843. in: query
  21844. name: userid
  21845. type: integer
  21846. - description: 用户类型 2-机构 7-企业成员
  21847. in: query
  21848. name: usertype
  21849. type: integer
  21850. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21851. in: query
  21852. name: dgfactoryitemid
  21853. type: integer
  21854. - description: 现货品种ID
  21855. in: query
  21856. name: deliverygoodsid
  21857. type: integer
  21858. - description: 要素项类型
  21859. in: query
  21860. name: dgfactoryitemtypeid
  21861. type: integer
  21862. - description: 顺序
  21863. in: query
  21864. name: orderindex
  21865. type: integer
  21866. produces:
  21867. - application/json
  21868. responses:
  21869. "200":
  21870. description: OK
  21871. schema:
  21872. items:
  21873. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21874. type: array
  21875. "500":
  21876. description: Internal Server Error
  21877. schema:
  21878. $ref: '#/definitions/app.Response'
  21879. security:
  21880. - ApiKeyAuth: []
  21881. summary: 查询品种要素定义项
  21882. tags:
  21883. - 企业风险管理v3(app)
  21884. /Ermcp3/QueryDeliveryGoods:
  21885. get:
  21886. parameters:
  21887. - description: 用户id
  21888. in: query
  21889. name: userid
  21890. required: true
  21891. type: integer
  21892. - description: 用户类型 2-机构 7-企业成员
  21893. in: query
  21894. name: usertype
  21895. type: integer
  21896. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21897. in: query
  21898. name: excludecfg
  21899. type: integer
  21900. produces:
  21901. - application/json
  21902. responses:
  21903. "200":
  21904. description: OK
  21905. schema:
  21906. items:
  21907. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21908. type: array
  21909. "500":
  21910. description: Internal Server Error
  21911. schema:
  21912. $ref: '#/definitions/app.Response'
  21913. security:
  21914. - ApiKeyAuth: []
  21915. summary: 查询现货商品
  21916. tags:
  21917. - 企业风险管理v3(app)
  21918. /Ermcp3/QueryDeliveryGoodsDetail:
  21919. get:
  21920. parameters:
  21921. - description: 用户id
  21922. in: query
  21923. name: userid
  21924. required: true
  21925. type: integer
  21926. - description: 用户类型 2-机构 7-企业成员
  21927. in: query
  21928. name: usertype
  21929. type: integer
  21930. - description: 现货商品id
  21931. in: query
  21932. name: deliverygoodsid
  21933. type: integer
  21934. produces:
  21935. - application/json
  21936. responses:
  21937. "200":
  21938. description: OK
  21939. schema:
  21940. items:
  21941. $ref: '#/definitions/models.XHDeliveryGoods'
  21942. type: array
  21943. "500":
  21944. description: Internal Server Error
  21945. schema:
  21946. $ref: '#/definitions/app.Response'
  21947. security:
  21948. - ApiKeyAuth: []
  21949. summary: 查询现货商品详情
  21950. tags:
  21951. - 企业风险管理v3(app)
  21952. /Ermcp3/QueryExposureDetail:
  21953. get:
  21954. parameters:
  21955. - description: 用户id
  21956. in: query
  21957. name: userid
  21958. required: true
  21959. type: integer
  21960. - description: 用户类型 2-机构 7-企业成员
  21961. in: query
  21962. name: usertype
  21963. type: integer
  21964. - description: 套保商品
  21965. in: query
  21966. name: middlegoodsid
  21967. required: true
  21968. type: integer
  21969. produces:
  21970. - application/json
  21971. responses:
  21972. "200":
  21973. description: OK
  21974. schema:
  21975. items:
  21976. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21977. type: array
  21978. "500":
  21979. description: Internal Server Error
  21980. schema:
  21981. $ref: '#/definitions/app.Response'
  21982. security:
  21983. - ApiKeyAuth: []
  21984. summary: 查询敞口现货明细
  21985. tags:
  21986. - 企业风险管理v3(app)
  21987. /Ermcp3/QueryExposureSpot:
  21988. get:
  21989. parameters:
  21990. - description: 用户id
  21991. in: query
  21992. name: userid
  21993. required: true
  21994. type: integer
  21995. - description: 用户类型 2-机构 7-企业成员
  21996. in: query
  21997. name: usertype
  21998. type: integer
  21999. produces:
  22000. - application/json
  22001. responses:
  22002. "200":
  22003. description: OK
  22004. schema:
  22005. items:
  22006. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22007. type: array
  22008. "500":
  22009. description: Internal Server Error
  22010. schema:
  22011. $ref: '#/definitions/app.Response'
  22012. security:
  22013. - ApiKeyAuth: []
  22014. summary: 查询敞口现货头寸(敞口/现货头寸)
  22015. tags:
  22016. - 企业风险管理v3(app)
  22017. /Ermcp3/QueryExposureSpotDetail:
  22018. get:
  22019. parameters:
  22020. - description: 用户id
  22021. in: query
  22022. name: userid
  22023. required: true
  22024. type: integer
  22025. - description: 用户类型 2-机构 7-企业成员
  22026. in: query
  22027. name: usertype
  22028. type: integer
  22029. - description: 现货商品ID
  22030. in: query
  22031. name: wrstandardid
  22032. required: true
  22033. type: integer
  22034. produces:
  22035. - application/json
  22036. responses:
  22037. "200":
  22038. description: OK
  22039. schema:
  22040. items:
  22041. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22042. type: array
  22043. "500":
  22044. description: Internal Server Error
  22045. schema:
  22046. $ref: '#/definitions/app.Response'
  22047. security:
  22048. - ApiKeyAuth: []
  22049. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22050. tags:
  22051. - 企业风险管理v3(app)
  22052. /Ermcp3/QueryGoodsGroup:
  22053. get:
  22054. parameters:
  22055. - description: 用户id
  22056. in: query
  22057. name: userid
  22058. required: true
  22059. type: integer
  22060. - description: 用户类型 2-机构 7-企业成员
  22061. in: query
  22062. name: usertype
  22063. type: integer
  22064. - description: 排除套保品中已关联的商品组 1-排除
  22065. in: query
  22066. name: excludecfg
  22067. type: integer
  22068. produces:
  22069. - application/json
  22070. responses:
  22071. "200":
  22072. description: OK
  22073. schema:
  22074. items:
  22075. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22076. type: array
  22077. "500":
  22078. description: Internal Server Error
  22079. schema:
  22080. $ref: '#/definitions/app.Response'
  22081. security:
  22082. - ApiKeyAuth: []
  22083. summary: 查询期货商品组
  22084. tags:
  22085. - 企业风险管理v3(app)
  22086. /Ermcp3/QueryGoodsWrstandard:
  22087. get:
  22088. parameters:
  22089. - description: 用户id
  22090. in: query
  22091. name: userid
  22092. required: true
  22093. type: integer
  22094. - description: 用户类型 2-机构 7-企业成员
  22095. in: query
  22096. name: usertype
  22097. type: integer
  22098. - description: 现货商品id
  22099. in: query
  22100. name: deliverygoodsid
  22101. type: integer
  22102. produces:
  22103. - application/json
  22104. responses:
  22105. "200":
  22106. description: OK
  22107. schema:
  22108. items:
  22109. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22110. type: array
  22111. "500":
  22112. description: Internal Server Error
  22113. schema:
  22114. $ref: '#/definitions/app.Response'
  22115. security:
  22116. - ApiKeyAuth: []
  22117. summary: 查询商品品类
  22118. tags:
  22119. - 企业风险管理v3(app)
  22120. /Ermcp3/QueryGoodsbrand:
  22121. get:
  22122. parameters:
  22123. - description: 用户id
  22124. in: query
  22125. name: userid
  22126. required: true
  22127. type: integer
  22128. - description: 用户类型 2-机构 7-企业成员
  22129. in: query
  22130. name: usertype
  22131. type: integer
  22132. produces:
  22133. - application/json
  22134. responses:
  22135. "200":
  22136. description: OK
  22137. schema:
  22138. items:
  22139. $ref: '#/definitions/models.Ermcp3Brand'
  22140. type: array
  22141. "500":
  22142. description: Internal Server Error
  22143. schema:
  22144. $ref: '#/definitions/app.Response'
  22145. security:
  22146. - ApiKeyAuth: []
  22147. summary: 查询商品品牌
  22148. tags:
  22149. - 企业风险管理v3(app)
  22150. /Ermcp3/QueryHedgePlan:
  22151. get:
  22152. parameters:
  22153. - description: 用户ID
  22154. in: query
  22155. name: userid
  22156. required: true
  22157. type: integer
  22158. - description: 用户类型 2-机构 7-企业成员
  22159. in: query
  22160. name: usertype
  22161. type: integer
  22162. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22163. in: query
  22164. name: hedgeplanstatus
  22165. required: true
  22166. type: string
  22167. produces:
  22168. - application/json
  22169. responses:
  22170. "200":
  22171. description: OK
  22172. schema:
  22173. items:
  22174. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22175. type: array
  22176. "500":
  22177. description: Internal Server Error
  22178. schema:
  22179. $ref: '#/definitions/app.Response'
  22180. security:
  22181. - ApiKeyAuth: []
  22182. summary: 查询套保计划
  22183. tags:
  22184. - 企业风险管理v3(app)
  22185. /Ermcp3/QueryInnerTradeLink:
  22186. get:
  22187. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22188. parameters:
  22189. - description: 外部成交单号
  22190. in: query
  22191. name: outtradeid
  22192. required: true
  22193. type: integer
  22194. produces:
  22195. - application/json
  22196. responses:
  22197. "200":
  22198. description: OK
  22199. schema:
  22200. items:
  22201. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22202. type: array
  22203. "500":
  22204. description: Internal Server Error
  22205. schema:
  22206. $ref: '#/definitions/app.Response'
  22207. security:
  22208. - ApiKeyAuth: []
  22209. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22210. tags:
  22211. - 企业风险管理v3(app)
  22212. /Ermcp3/QueryMiddleGoodsDetail:
  22213. get:
  22214. parameters:
  22215. - description: 用户id
  22216. in: query
  22217. name: userid
  22218. required: true
  22219. type: integer
  22220. - description: 用户类型 2-机构 7-企业成员
  22221. in: query
  22222. name: usertype
  22223. type: integer
  22224. - description: 套保品种id
  22225. in: query
  22226. name: middlegoodsid
  22227. type: integer
  22228. produces:
  22229. - application/json
  22230. responses:
  22231. "200":
  22232. description: OK
  22233. schema:
  22234. items:
  22235. $ref: '#/definitions/models.TBMiddleGoods'
  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/QueryOutTradeLink:
  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: 外部订单号(模糊匹配)
  22256. in: query
  22257. name: outtradeid
  22258. type: string
  22259. - description: 合约名称/代码(模糊匹配)
  22260. in: query
  22261. name: goodsname
  22262. type: string
  22263. - description: 关联状态 0-未关联 1-已关联
  22264. in: query
  22265. name: hasinnerorder
  22266. type: integer
  22267. produces:
  22268. - application/json
  22269. responses:
  22270. "200":
  22271. description: OK
  22272. schema:
  22273. items:
  22274. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22275. type: array
  22276. "500":
  22277. description: Internal Server Error
  22278. schema:
  22279. $ref: '#/definitions/app.Response'
  22280. security:
  22281. - ApiKeyAuth: []
  22282. summary: 查询外部成交单关联
  22283. tags:
  22284. - 企业风险管理v3(app)
  22285. /Ermcp3/QueryPaAreaAuditCfg:
  22286. get:
  22287. parameters:
  22288. - description: 用户id
  22289. in: query
  22290. name: userid
  22291. required: true
  22292. type: integer
  22293. produces:
  22294. - application/json
  22295. responses:
  22296. "200":
  22297. description: OK
  22298. schema:
  22299. items:
  22300. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22301. type: array
  22302. "500":
  22303. description: Internal Server Error
  22304. schema:
  22305. $ref: '#/definitions/app.Response'
  22306. security:
  22307. - ApiKeyAuth: []
  22308. summary: 查询审核设置
  22309. tags:
  22310. - 企业风险管理v3(app)
  22311. /Ermcp3/QueryPaAreaSubject:
  22312. get:
  22313. parameters:
  22314. - description: 用户id
  22315. in: query
  22316. name: userid
  22317. required: true
  22318. type: integer
  22319. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22320. in: query
  22321. name: subjectid
  22322. type: integer
  22323. - description: 主体类型 - 1:交易主体 2:业务部门
  22324. in: query
  22325. name: subjecttype
  22326. type: integer
  22327. - description: '主体状态 - 1:正常 2: 停用'
  22328. in: query
  22329. name: subjectstatus
  22330. type: integer
  22331. produces:
  22332. - application/json
  22333. responses:
  22334. "200":
  22335. description: OK
  22336. schema:
  22337. items:
  22338. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22339. type: array
  22340. "500":
  22341. description: Internal Server Error
  22342. schema:
  22343. $ref: '#/definitions/app.Response'
  22344. security:
  22345. - ApiKeyAuth: []
  22346. summary: 查询交易主体
  22347. tags:
  22348. - 企业风险管理v3(app)
  22349. /Ermcp3/QueryPaTradeLink:
  22350. get:
  22351. description: 页面 app 现货->期现关联->期现单据关联
  22352. parameters:
  22353. - description: 用户ID
  22354. in: query
  22355. name: userid
  22356. required: true
  22357. type: integer
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. items:
  22365. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22366. type: array
  22367. "500":
  22368. description: Internal Server Error
  22369. schema:
  22370. $ref: '#/definitions/app.Response'
  22371. security:
  22372. - ApiKeyAuth: []
  22373. summary: 查询期现单据关联
  22374. tags:
  22375. - 企业风险管理v3(app)
  22376. /Ermcp3/QueryPaTradeLinkDetail:
  22377. get:
  22378. description: 页面 app 现货->期现关联->关联记录
  22379. parameters:
  22380. - description: 用户ID(填登录用户的userid)
  22381. in: query
  22382. name: userid
  22383. required: true
  22384. type: integer
  22385. - description: 关联状态 1:成功 2:失败 3:解绑
  22386. in: query
  22387. name: linkstatus
  22388. type: integer
  22389. - description: 期货订单号(模糊匹配)
  22390. in: query
  22391. name: tradeid
  22392. type: string
  22393. - description: 现货编号(模糊匹配)
  22394. in: query
  22395. name: contractno
  22396. type: string
  22397. - description: 期货账户(模糊匹配)
  22398. in: query
  22399. name: taname
  22400. type: string
  22401. produces:
  22402. - application/json
  22403. responses:
  22404. "200":
  22405. description: OK
  22406. schema:
  22407. items:
  22408. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22409. type: array
  22410. "500":
  22411. description: Internal Server Error
  22412. schema:
  22413. $ref: '#/definitions/app.Response'
  22414. security:
  22415. - ApiKeyAuth: []
  22416. summary: 查询期现关联记录
  22417. tags:
  22418. - 企业风险管理v3(app)
  22419. /Ermcp3/QueryParamChangeApp:
  22420. get:
  22421. description: |-
  22422. 原型页面:
  22423. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22424. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22425. parameters:
  22426. - description: 用户ID
  22427. in: query
  22428. name: userid
  22429. required: true
  22430. type: integer
  22431. - description: 现货品种id
  22432. in: query
  22433. name: deliverygoodsid
  22434. type: integer
  22435. - description: 现货商品id
  22436. in: query
  22437. name: wrstandardid
  22438. type: integer
  22439. - description: 套保商品id
  22440. in: query
  22441. name: middlegoodsid
  22442. type: integer
  22443. - description: 操作类型 1:新增 2:修改
  22444. in: query
  22445. name: operatetype
  22446. type: integer
  22447. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22448. in: query
  22449. name: paramchangetype
  22450. type: integer
  22451. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22452. in: query
  22453. name: ftstatus
  22454. type: string
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. items:
  22462. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22463. type: array
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 查询现货商品参数变更申请(流水)
  22471. tags:
  22472. - 企业风险管理v3(app)
  22473. /Ermcp3/QueryRootUserAccount:
  22474. get:
  22475. parameters:
  22476. - description: 用户ID
  22477. in: query
  22478. name: userid
  22479. required: true
  22480. type: integer
  22481. produces:
  22482. - application/json
  22483. responses:
  22484. "200":
  22485. description: OK
  22486. schema:
  22487. items:
  22488. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22489. type: array
  22490. "500":
  22491. description: Internal Server Error
  22492. schema:
  22493. $ref: '#/definitions/app.Response'
  22494. security:
  22495. - ApiKeyAuth: []
  22496. summary: 查询顶级用户信息
  22497. tags:
  22498. - 企业风险管理v3(app)
  22499. /Ermcp3/QuerySCMiddleGoods:
  22500. get:
  22501. description: |-
  22502. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22503. 现货编号 即 合同编号
  22504. parameters:
  22505. - description: 用户ID(填登录用户的userid)
  22506. in: query
  22507. name: userid
  22508. required: true
  22509. type: integer
  22510. - description: 买卖方向 0-买 1-卖
  22511. in: query
  22512. name: buyorsell
  22513. required: true
  22514. type: integer
  22515. - description: 商品组id
  22516. in: query
  22517. name: goodsgroupid
  22518. required: true
  22519. type: integer
  22520. - description: 业务类型 1:套保 2:套利
  22521. in: query
  22522. name: biztype
  22523. type: integer
  22524. - description: 现货编号(模糊匹配)
  22525. in: query
  22526. name: contractno
  22527. type: string
  22528. - description: 对手方(模糊匹配)
  22529. in: query
  22530. name: customername
  22531. type: string
  22532. - description: 现货商品名称(模糊匹配)
  22533. in: query
  22534. name: wrstandardname
  22535. type: string
  22536. produces:
  22537. - application/json
  22538. responses:
  22539. "200":
  22540. description: OK
  22541. schema:
  22542. items:
  22543. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22544. type: array
  22545. "500":
  22546. description: Internal Server Error
  22547. schema:
  22548. $ref: '#/definitions/app.Response'
  22549. security:
  22550. - ApiKeyAuth: []
  22551. summary: 查询现货订单
  22552. tags:
  22553. - 企业风险管理v3(app)
  22554. /Ermcp3/QuerySpotContract:
  22555. get:
  22556. parameters:
  22557. - description: 用户id(当指定contractid, userid可不填)
  22558. in: query
  22559. name: userid
  22560. required: true
  22561. type: integer
  22562. - description: 用户类型 2-机构 7-企业成员
  22563. in: query
  22564. name: usertype
  22565. type: integer
  22566. - description: 合同类型 1-采购, -1-销售
  22567. in: query
  22568. name: contracttype
  22569. type: integer
  22570. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22571. in: query
  22572. name: querytype
  22573. type: string
  22574. - description: 合同ID(SpotContractId)
  22575. in: query
  22576. name: contractid
  22577. type: string
  22578. - description: 合同编号(模糊匹配)
  22579. in: query
  22580. name: contractno
  22581. type: string
  22582. - description: 商品名称(模糊匹配)
  22583. in: query
  22584. name: wrstandardname
  22585. type: string
  22586. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22587. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22588. in: query
  22589. name: status
  22590. type: string
  22591. - description: 是否只查今日的合同 1-查今日合同
  22592. in: query
  22593. name: istoday
  22594. type: integer
  22595. produces:
  22596. - application/json
  22597. responses:
  22598. "200":
  22599. description: OK
  22600. schema:
  22601. items:
  22602. $ref: '#/definitions/models.Ermcp3Contract'
  22603. type: array
  22604. "500":
  22605. description: Internal Server Error
  22606. schema:
  22607. $ref: '#/definitions/app.Response'
  22608. security:
  22609. - ApiKeyAuth: []
  22610. summary: 查询现货合同
  22611. tags:
  22612. - 企业风险管理v3(app)
  22613. /Ermcp3/QuerySpotContractBS:
  22614. get:
  22615. parameters:
  22616. - description: 用户id
  22617. in: query
  22618. name: userid
  22619. required: true
  22620. type: integer
  22621. - description: 用户类型 2-机构 7-企业成员
  22622. in: query
  22623. name: usertype
  22624. type: integer
  22625. - description: 合同类型 1-采购, -1-销售
  22626. in: query
  22627. name: contracttype
  22628. required: true
  22629. type: integer
  22630. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22631. in: query
  22632. name: querytype
  22633. type: integer
  22634. - description: 合同ID(SpotContractId)
  22635. in: query
  22636. name: contractid
  22637. type: string
  22638. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22639. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22640. in: query
  22641. name: status
  22642. type: string
  22643. - description: 是否只查今日的合同 1-查今日合同
  22644. in: query
  22645. name: istoday
  22646. type: integer
  22647. produces:
  22648. - application/json
  22649. responses:
  22650. "200":
  22651. description: OK
  22652. schema:
  22653. items:
  22654. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22655. type: array
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 查询合同(采购/销售)
  22663. tags:
  22664. - 企业风险管理v3(app)
  22665. /Ermcp3/QuerySpotGoodsPrice:
  22666. get:
  22667. parameters:
  22668. - description: 用户ID
  22669. in: query
  22670. name: userid
  22671. required: true
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. items:
  22680. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22681. type: array
  22682. "500":
  22683. description: Internal Server Error
  22684. schema:
  22685. $ref: '#/definitions/app.Response'
  22686. security:
  22687. - ApiKeyAuth: []
  22688. summary: 查询现货市价(现货市价)
  22689. tags:
  22690. - 企业风险管理v3(app)
  22691. /Ermcp3/QuerySpotGoodsPriceLog:
  22692. get:
  22693. parameters:
  22694. - description: 用户ID
  22695. in: query
  22696. name: userid
  22697. required: true
  22698. type: integer
  22699. - description: 现货商品ID
  22700. in: query
  22701. name: deliverygoodsid
  22702. required: true
  22703. type: integer
  22704. - description: 品牌ID
  22705. in: query
  22706. name: brandid
  22707. type: integer
  22708. - description: 品类ID
  22709. in: query
  22710. name: wrstandardid
  22711. type: integer
  22712. produces:
  22713. - application/json
  22714. responses:
  22715. "200":
  22716. description: OK
  22717. schema:
  22718. items:
  22719. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22720. type: array
  22721. "500":
  22722. description: Internal Server Error
  22723. schema:
  22724. $ref: '#/definitions/app.Response'
  22725. security:
  22726. - ApiKeyAuth: []
  22727. summary: 查询现货市价详情(现货市价/详情)
  22728. tags:
  22729. - 企业风险管理v3(app)
  22730. /Ermcp3/QuerySubTaaccount:
  22731. get:
  22732. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22733. parameters:
  22734. - description: 母账号id
  22735. in: query
  22736. name: parentaccountid
  22737. type: integer
  22738. - description: 母账号代码
  22739. in: query
  22740. name: parentaccountcode
  22741. type: string
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. items:
  22749. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22750. type: array
  22751. "500":
  22752. description: Internal Server Error
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. security:
  22756. - ApiKeyAuth: []
  22757. summary: 查询期货子账户
  22758. tags:
  22759. - 企业风险管理v3(app)
  22760. /Erms2/QueryArbitrageStrategy:
  22761. get:
  22762. parameters:
  22763. - description: 账户ID
  22764. in: query
  22765. name: userid
  22766. required: true
  22767. type: integer
  22768. - description: 商品组ID(品种ID)
  22769. in: query
  22770. name: goodsgroupid
  22771. type: string
  22772. produces:
  22773. - application/json
  22774. responses:
  22775. "200":
  22776. description: OK
  22777. schema:
  22778. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22779. "500":
  22780. description: Internal Server Error
  22781. schema:
  22782. $ref: '#/definitions/app.Response'
  22783. security:
  22784. - ApiKeyAuth: []
  22785. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22786. tags:
  22787. - 风险管理
  22788. /Erms2/QueryInnerTradeDetail:
  22789. get:
  22790. parameters:
  22791. - description: 资金账户
  22792. in: query
  22793. name: accountid
  22794. required: true
  22795. type: integer
  22796. produces:
  22797. - application/json
  22798. responses:
  22799. "200":
  22800. description: OK
  22801. schema:
  22802. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22803. "500":
  22804. description: Internal Server Error
  22805. schema:
  22806. $ref: '#/definitions/app.Response'
  22807. security:
  22808. - ApiKeyAuth: []
  22809. summary: 查询内部成交单信息
  22810. tags:
  22811. - 风险管理
  22812. /Erms2/QuerySpotContract:
  22813. get:
  22814. parameters:
  22815. - description: 策略申请ID
  22816. in: query
  22817. name: asapplyid
  22818. required: true
  22819. type: integer
  22820. - description: 现货合同ID
  22821. in: query
  22822. name: spotcontractid
  22823. type: integer
  22824. produces:
  22825. - application/json
  22826. responses:
  22827. "200":
  22828. description: OK
  22829. schema:
  22830. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22831. "500":
  22832. description: Internal Server Error
  22833. schema:
  22834. $ref: '#/definitions/app.Response'
  22835. security:
  22836. - ApiKeyAuth: []
  22837. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22838. tags:
  22839. - 风险管理
  22840. /Erms3/AddErms2ASApply:
  22841. post:
  22842. parameters:
  22843. - description: 申请参数
  22844. in: body
  22845. name: jsonBody
  22846. required: true
  22847. schema:
  22848. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22849. produces:
  22850. - application/json
  22851. responses:
  22852. "200":
  22853. description: OK
  22854. schema:
  22855. $ref: '#/definitions/app.Response'
  22856. "500":
  22857. description: Internal Server Error
  22858. schema:
  22859. $ref: '#/definitions/app.Response'
  22860. security:
  22861. - ApiKeyAuth: []
  22862. summary: 新增期现套利业务申请
  22863. tags:
  22864. - 风险管理v3
  22865. /Erms3/AddErms2SpotTradeApply:
  22866. post:
  22867. parameters:
  22868. - description: 申请参数
  22869. in: body
  22870. name: jsonBody
  22871. required: true
  22872. schema:
  22873. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22874. produces:
  22875. - application/json
  22876. responses:
  22877. "200":
  22878. description: OK
  22879. schema:
  22880. $ref: '#/definitions/app.Response'
  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/AddSpotContractApply:
  22891. post:
  22892. parameters:
  22893. - description: 申请参数
  22894. in: body
  22895. name: jsonBody
  22896. required: true
  22897. schema:
  22898. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22899. produces:
  22900. - application/json
  22901. responses:
  22902. "200":
  22903. description: OK
  22904. schema:
  22905. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22906. "500":
  22907. description: Internal Server Error
  22908. schema:
  22909. $ref: '#/definitions/app.Response'
  22910. security:
  22911. - ApiKeyAuth: []
  22912. summary: 新增现货合同申请
  22913. tags:
  22914. - 风险管理v3
  22915. /Erms3/AddUserInfoApply:
  22916. post:
  22917. parameters:
  22918. - description: 用户信息
  22919. in: body
  22920. name: jsonBody
  22921. required: true
  22922. schema:
  22923. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22924. produces:
  22925. - application/json
  22926. responses:
  22927. "200":
  22928. description: OK
  22929. schema:
  22930. $ref: '#/definitions/app.Response'
  22931. "500":
  22932. description: Internal Server Error
  22933. schema:
  22934. $ref: '#/definitions/app.Response'
  22935. security:
  22936. - ApiKeyAuth: []
  22937. summary: 新增客户申请
  22938. tags:
  22939. - 风险管理v3
  22940. /Erms3/DeleteUserInfoApply:
  22941. get:
  22942. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22943. parameters:
  22944. - description: 用户ID
  22945. in: query
  22946. name: userID
  22947. required: true
  22948. type: integer
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. "500":
  22957. description: Internal Server Error
  22958. schema:
  22959. $ref: '#/definitions/app.Response'
  22960. security:
  22961. - ApiKeyAuth: []
  22962. summary: 删除客户申请
  22963. tags:
  22964. - 风险管理v3
  22965. /Erms3/ModifyUserInfoApply:
  22966. post:
  22967. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  22968. int, "userstate": 2 }'
  22969. parameters:
  22970. - description: 用户信息
  22971. in: body
  22972. name: jsonBody
  22973. required: true
  22974. schema:
  22975. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22976. produces:
  22977. - application/json
  22978. responses:
  22979. "200":
  22980. description: OK
  22981. schema:
  22982. $ref: '#/definitions/app.Response'
  22983. "500":
  22984. description: Internal Server Error
  22985. schema:
  22986. $ref: '#/definitions/app.Response'
  22987. security:
  22988. - ApiKeyAuth: []
  22989. summary: 修改客户申请
  22990. tags:
  22991. - 风险管理v3
  22992. /Erms3/QueryBusinessInfo:
  22993. get:
  22994. parameters:
  22995. - description: 资金账号ID列表,用逗号分隔
  22996. in: query
  22997. name: accountids
  22998. required: true
  22999. type: string
  23000. - description: 状态,0为未结束 1为已结束
  23001. in: query
  23002. name: status
  23003. required: true
  23004. type: integer
  23005. produces:
  23006. - application/json
  23007. responses:
  23008. "200":
  23009. description: OK
  23010. schema:
  23011. items:
  23012. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23013. type: array
  23014. "500":
  23015. description: Internal Server Error
  23016. schema:
  23017. $ref: '#/definitions/app.Response'
  23018. security:
  23019. - ApiKeyAuth: []
  23020. summary: 查询业务表单数据
  23021. tags:
  23022. - 风险管理v3
  23023. /Erms3/QueryPendingAuditContract:
  23024. get:
  23025. parameters:
  23026. - description: 资金账号ID列表,逗号隔开
  23027. in: query
  23028. name: accountids
  23029. required: true
  23030. type: string
  23031. - description: 合同类型 1-采购 -1-销售
  23032. in: query
  23033. name: contracttype
  23034. required: true
  23035. type: integer
  23036. - description: 合同模式 1-普通 2-回购
  23037. in: query
  23038. name: contractmode
  23039. required: true
  23040. type: integer
  23041. produces:
  23042. - application/json
  23043. responses:
  23044. "200":
  23045. description: OK
  23046. schema:
  23047. items:
  23048. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23049. type: array
  23050. "500":
  23051. description: Internal Server Error
  23052. schema:
  23053. $ref: '#/definitions/app.Response'
  23054. security:
  23055. - ApiKeyAuth: []
  23056. summary: 查询待审核合同
  23057. tags:
  23058. - 风险管理v3
  23059. /Erms3/QueryPendingBusiness:
  23060. get:
  23061. parameters:
  23062. - description: 资金账号ID列表,逗号隔开
  23063. in: query
  23064. name: accountids
  23065. required: true
  23066. type: string
  23067. produces:
  23068. - application/json
  23069. responses:
  23070. "200":
  23071. description: OK
  23072. schema:
  23073. items:
  23074. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23075. type: array
  23076. "500":
  23077. description: Internal Server Error
  23078. schema:
  23079. $ref: '#/definitions/app.Response'
  23080. security:
  23081. - ApiKeyAuth: []
  23082. summary: 查询待审核基差贸易业务
  23083. tags:
  23084. - 风险管理v3
  23085. /Erms3/QuerySpotContractAppleForm:
  23086. get:
  23087. parameters:
  23088. - description: 登录账号
  23089. in: query
  23090. name: loginID
  23091. required: true
  23092. type: integer
  23093. produces:
  23094. - application/json
  23095. responses:
  23096. "200":
  23097. description: OK
  23098. schema:
  23099. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23100. "500":
  23101. description: Internal Server Error
  23102. schema:
  23103. $ref: '#/definitions/app.Response'
  23104. security:
  23105. - ApiKeyAuth: []
  23106. summary: 查询合同申请表单数据
  23107. tags:
  23108. - 风险管理v3
  23109. /Erms3/QuerySpotContractDetail:
  23110. get:
  23111. parameters:
  23112. - description: 资金账号ID列表,用逗号分隔
  23113. in: query
  23114. name: accountids
  23115. required: true
  23116. type: string
  23117. - description: 合同类型,1为采购合同 -1为销售合同
  23118. in: query
  23119. name: contracttype
  23120. required: true
  23121. type: integer
  23122. - description: 合同模式,1为普通合同 2为回购销售合同
  23123. in: query
  23124. name: contractmode
  23125. required: true
  23126. type: integer
  23127. - description: 状态,0为履约中 1为已完成
  23128. in: query
  23129. name: status
  23130. required: true
  23131. type: integer
  23132. produces:
  23133. - application/json
  23134. responses:
  23135. "200":
  23136. description: OK
  23137. schema:
  23138. items:
  23139. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23140. type: array
  23141. "500":
  23142. description: Internal Server Error
  23143. schema:
  23144. $ref: '#/definitions/app.Response'
  23145. security:
  23146. - ApiKeyAuth: []
  23147. summary: 查询合同详细信息
  23148. tags:
  23149. - 风险管理v3
  23150. /Erms3/QueryUserInfoApplies:
  23151. get:
  23152. parameters:
  23153. - description: 页码
  23154. in: query
  23155. name: page
  23156. type: integer
  23157. - description: 每页条数
  23158. in: query
  23159. name: pagesize
  23160. type: integer
  23161. - description: 客户名称,支持模糊查询
  23162. in: query
  23163. name: userName
  23164. type: string
  23165. produces:
  23166. - application/json
  23167. responses:
  23168. "200":
  23169. description: OK
  23170. schema:
  23171. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23172. "500":
  23173. description: Internal Server Error
  23174. schema:
  23175. $ref: '#/definitions/app.Response'
  23176. security:
  23177. - ApiKeyAuth: []
  23178. summary: 客户申请信息查询
  23179. tags:
  23180. - 风险管理v3
  23181. /Erms3/QueryUserInfos:
  23182. get:
  23183. parameters:
  23184. - description: 页码
  23185. in: query
  23186. name: page
  23187. type: integer
  23188. - description: 每页条数
  23189. in: query
  23190. name: pagesize
  23191. type: integer
  23192. - description: 客户名称,支持模糊查询
  23193. in: query
  23194. name: userName
  23195. type: string
  23196. produces:
  23197. - application/json
  23198. responses:
  23199. "200":
  23200. description: OK
  23201. schema:
  23202. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23203. "500":
  23204. description: Internal Server Error
  23205. schema:
  23206. $ref: '#/definitions/app.Response'
  23207. security:
  23208. - ApiKeyAuth: []
  23209. summary: 客户信息查询
  23210. tags:
  23211. - 风险管理v3
  23212. /HSBY/GetHsbyMyCount:
  23213. get:
  23214. description: 说明: 不包括已完成的数量。
  23215. parameters:
  23216. - description: 资金账户列表,格式:1,2,3
  23217. in: query
  23218. name: accountIDs
  23219. required: true
  23220. type: string
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23228. "500":
  23229. description: Internal Server Error
  23230. schema:
  23231. $ref: '#/definitions/app.Response'
  23232. security:
  23233. - ApiKeyAuth: []
  23234. summary: 获取我的订单与包裹数量
  23235. tags:
  23236. - 定制【海商报业】
  23237. /HSBY/QueryClientFixedADConfigs:
  23238. get:
  23239. produces:
  23240. - application/json
  23241. responses:
  23242. "200":
  23243. description: OK
  23244. schema:
  23245. $ref: '#/definitions/models.Clientfixedadconfig'
  23246. "500":
  23247. description: Internal Server Error
  23248. schema:
  23249. $ref: '#/definitions/app.Response'
  23250. security:
  23251. - ApiKeyAuth: []
  23252. summary: 获取终端固定广告配置
  23253. tags:
  23254. - 定制【海商报业】
  23255. /HSBY/QueryHsbyBuyMyTradeDetail:
  23256. get:
  23257. parameters:
  23258. - description: 页码
  23259. in: query
  23260. name: page
  23261. type: integer
  23262. - description: 每页条数
  23263. in: query
  23264. name: pagesize
  23265. type: integer
  23266. - description: 资金账户列表,格式:1,2,3
  23267. in: query
  23268. name: accountIDs
  23269. required: true
  23270. type: string
  23271. produces:
  23272. - application/json
  23273. responses:
  23274. "200":
  23275. description: OK
  23276. schema:
  23277. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23278. "500":
  23279. description: Internal Server Error
  23280. schema:
  23281. $ref: '#/definitions/app.Response'
  23282. security:
  23283. - ApiKeyAuth: []
  23284. summary: 查询"我的订单 - 已完成"单据信息
  23285. tags:
  23286. - 定制【海商报业】
  23287. /HSBY/QueryHsbyGoodsOrderDetails:
  23288. get:
  23289. description: 说明:查询结果已按委托价格和委托时间排序
  23290. parameters:
  23291. - description: 商品ID
  23292. in: query
  23293. name: goodsID
  23294. required: true
  23295. type: integer
  23296. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23297. in: query
  23298. name: accountIDs
  23299. type: string
  23300. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23301. in: query
  23302. name: buyOrSell
  23303. type: integer
  23304. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23305. in: query
  23306. name: price
  23307. type: number
  23308. - description: 档位,不传则默认为3档
  23309. in: query
  23310. name: speed
  23311. type: integer
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23326. tags:
  23327. - 定制【海商报业】
  23328. /HSBY/QueryHsbyListingGoodsDetail:
  23329. get:
  23330. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23331. parameters:
  23332. - description: 商品ID
  23333. in: query
  23334. name: goodsID
  23335. required: true
  23336. type: integer
  23337. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23338. in: query
  23339. name: accountID
  23340. type: integer
  23341. produces:
  23342. - application/json
  23343. responses:
  23344. "200":
  23345. description: OK
  23346. schema:
  23347. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23348. "500":
  23349. description: Internal Server Error
  23350. schema:
  23351. $ref: '#/definitions/app.Response'
  23352. security:
  23353. - ApiKeyAuth: []
  23354. summary: 查询二级市场(挂牌点选)商品信息详情
  23355. tags:
  23356. - 定制【海商报业】
  23357. /HSBY/QueryHsbyMarketGoodsDetail:
  23358. get:
  23359. parameters:
  23360. - description: 委托单号
  23361. in: query
  23362. name: orderID
  23363. required: true
  23364. type: integer
  23365. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23366. in: query
  23367. name: accountID
  23368. type: integer
  23369. produces:
  23370. - application/json
  23371. responses:
  23372. "200":
  23373. description: OK
  23374. schema:
  23375. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23376. "500":
  23377. description: Internal Server Error
  23378. schema:
  23379. $ref: '#/definitions/app.Response'
  23380. security:
  23381. - ApiKeyAuth: []
  23382. summary: 查询三级市场(商城)商品信息详情
  23383. tags:
  23384. - 定制【海商报业】
  23385. /HSBY/QueryHsbyMarketGoodses:
  23386. get:
  23387. parameters:
  23388. - description: 页码
  23389. in: query
  23390. name: page
  23391. type: integer
  23392. - description: 每页条数
  23393. in: query
  23394. name: pagesize
  23395. type: integer
  23396. - description: 市场ID列表,格式:1,2,3
  23397. in: query
  23398. name: marketIDs
  23399. required: true
  23400. type: string
  23401. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23402. in: query
  23403. name: accountID
  23404. required: true
  23405. type: integer
  23406. - description: 类别ID
  23407. in: query
  23408. name: categoryID
  23409. type: integer
  23410. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23411. in: query
  23412. name: goodsIDs
  23413. type: string
  23414. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23415. in: query
  23416. name: couponTypeID
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. $ref: '#/definitions/models.HsbyMarketGoods'
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 查询特卖商品列表(三级商城)
  23432. tags:
  23433. - 定制【海商报业】
  23434. /HSBY/QueryHsbyMarkets:
  23435. get:
  23436. produces:
  23437. - application/json
  23438. responses:
  23439. "200":
  23440. description: OK
  23441. schema:
  23442. $ref: '#/definitions/models.HsbyMarketInfo'
  23443. "500":
  23444. description: Internal Server Error
  23445. schema:
  23446. $ref: '#/definitions/app.Response'
  23447. security:
  23448. - ApiKeyAuth: []
  23449. summary: 查询海商报业相关市场信息
  23450. tags:
  23451. - 定制【海商报业】
  23452. /HSBY/QueryHsbyMyBuyOrderDetails:
  23453. get:
  23454. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23455. parameters:
  23456. - description: 资金账户列表,格式:1,2,3
  23457. in: query
  23458. name: accountIDs
  23459. required: true
  23460. type: string
  23461. produces:
  23462. - application/json
  23463. responses:
  23464. "200":
  23465. description: OK
  23466. schema:
  23467. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23468. "500":
  23469. description: Internal Server Error
  23470. schema:
  23471. $ref: '#/definitions/app.Response'
  23472. security:
  23473. - ApiKeyAuth: []
  23474. summary: 查询“我的订单”信息
  23475. tags:
  23476. - 定制【海商报业】
  23477. /HSBY/QueryHsbyMyGoods:
  23478. get:
  23479. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23480. parameters:
  23481. - description: 资金账户列表,格式:1,2,3
  23482. in: query
  23483. name: accountIDs
  23484. required: true
  23485. type: string
  23486. produces:
  23487. - application/json
  23488. responses:
  23489. "200":
  23490. description: OK
  23491. schema:
  23492. $ref: '#/definitions/models.HsbyMyGoods'
  23493. "500":
  23494. description: Internal Server Error
  23495. schema:
  23496. $ref: '#/definitions/app.Response'
  23497. security:
  23498. - ApiKeyAuth: []
  23499. summary: 查询“我的商品”信息
  23500. tags:
  23501. - 定制【海商报业】
  23502. /HSBY/QueryHsbyMyPackages:
  23503. get:
  23504. parameters:
  23505. - description: 资金账户列表,格式:1,2,3
  23506. in: query
  23507. name: accountIDs
  23508. required: true
  23509. type: string
  23510. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23511. in: query
  23512. name: takeOrderStatus
  23513. type: integer
  23514. produces:
  23515. - application/json
  23516. responses:
  23517. "200":
  23518. description: OK
  23519. schema:
  23520. $ref: '#/definitions/models.HsbyMyPackage'
  23521. "500":
  23522. description: Internal Server Error
  23523. schema:
  23524. $ref: '#/definitions/app.Response'
  23525. security:
  23526. - ApiKeyAuth: []
  23527. summary: 查询我的包裹信息
  23528. tags:
  23529. - 定制【海商报业】
  23530. /HSBY/QueryHsbyPreGoodsDetail:
  23531. get:
  23532. parameters:
  23533. - description: 商品ID
  23534. in: query
  23535. name: goodsID
  23536. required: true
  23537. type: integer
  23538. - description: 资金账户,主要用于获取预售商品购买上限
  23539. in: query
  23540. name: accountID
  23541. type: integer
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23549. "500":
  23550. description: Internal Server Error
  23551. schema:
  23552. $ref: '#/definitions/app.Response'
  23553. security:
  23554. - ApiKeyAuth: []
  23555. summary: 查询一级市场(预售)商品信息详情
  23556. tags:
  23557. - 定制【海商报业】
  23558. /HSBY/QueryHsbyPreGoodses:
  23559. get:
  23560. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23561. parameters:
  23562. - description: 页码
  23563. in: query
  23564. name: page
  23565. type: integer
  23566. - description: 每页条数
  23567. in: query
  23568. name: pagesize
  23569. type: integer
  23570. - description: 市场ID列表,格式:1,2,3
  23571. in: query
  23572. name: marketIDs
  23573. required: true
  23574. type: string
  23575. - description: 目的地(省)ID
  23576. in: query
  23577. name: descProvinceID
  23578. type: integer
  23579. - description: 目的地(市)ID
  23580. in: query
  23581. name: descCityID
  23582. type: integer
  23583. produces:
  23584. - application/json
  23585. responses:
  23586. "200":
  23587. description: OK
  23588. schema:
  23589. $ref: '#/definitions/models.HsbyPreGoods'
  23590. "500":
  23591. description: Internal Server Error
  23592. schema:
  23593. $ref: '#/definitions/app.Response'
  23594. security:
  23595. - ApiKeyAuth: []
  23596. summary: 查询新品上市商品列表(一级市场预售)
  23597. tags:
  23598. - 定制【海商报业】
  23599. /HSBY/QueryHsbySellMyDetails:
  23600. get:
  23601. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23602. parameters:
  23603. - description: 页码
  23604. in: query
  23605. name: page
  23606. type: integer
  23607. - description: 每页条数
  23608. in: query
  23609. name: pagesize
  23610. type: integer
  23611. - description: 资金账户列表,格式:1,2,3
  23612. in: query
  23613. name: accountIDs
  23614. required: true
  23615. type: string
  23616. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23617. in: query
  23618. name: orderType
  23619. type: integer
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/models.HsbySellMyDetail'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 查询"我的闲置"单据信息
  23634. tags:
  23635. - 定制【海商报业】
  23636. /HSBY/QueryHsbyTopGoodses:
  23637. get:
  23638. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23639. parameters:
  23640. - description: 页码
  23641. in: query
  23642. name: page
  23643. type: integer
  23644. - description: 每页条数
  23645. in: query
  23646. name: pagesize
  23647. type: integer
  23648. - description: 市场ID列表,格式:1,2,3
  23649. in: query
  23650. name: marketIDs
  23651. required: true
  23652. type: string
  23653. - description: 目的地(省)ID
  23654. in: query
  23655. name: descProvinceID
  23656. type: integer
  23657. - description: 目的地(市)ID
  23658. in: query
  23659. name: descCityID
  23660. type: integer
  23661. produces:
  23662. - application/json
  23663. responses:
  23664. "200":
  23665. description: OK
  23666. schema:
  23667. $ref: '#/definitions/models.HsbyTopGoods'
  23668. "500":
  23669. description: Internal Server Error
  23670. schema:
  23671. $ref: '#/definitions/app.Response'
  23672. security:
  23673. - ApiKeyAuth: []
  23674. summary: 查询热卖商品列表(二级市场挂牌点选)
  23675. tags:
  23676. - 定制【海商报业】
  23677. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23678. get:
  23679. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23680. parameters:
  23681. - description: 商品ID
  23682. in: query
  23683. name: goodsID
  23684. required: true
  23685. type: integer
  23686. produces:
  23687. - application/json
  23688. responses:
  23689. "200":
  23690. description: OK
  23691. schema:
  23692. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23693. "500":
  23694. description: Internal Server Error
  23695. schema:
  23696. $ref: '#/definitions/app.Response'
  23697. security:
  23698. - ApiKeyAuth: []
  23699. summary: 查询游客三级市场(商城)商品信息详情
  23700. tags:
  23701. - 定制【海商报业】
  23702. /HSBY/QueryHsbyVisitorMarketGoodses:
  23703. get:
  23704. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  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: 市场ID列表,格式:1,2,3
  23715. in: query
  23716. name: marketIDs
  23717. required: true
  23718. type: string
  23719. - description: 类别ID
  23720. in: query
  23721. name: categoryID
  23722. type: integer
  23723. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23724. in: query
  23725. name: goodsIDs
  23726. type: string
  23727. produces:
  23728. - application/json
  23729. responses:
  23730. "200":
  23731. description: OK
  23732. schema:
  23733. $ref: '#/definitions/models.HsbyMarketGoods'
  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/QueryMyCollectionOrders:
  23744. get:
  23745. parameters:
  23746. - description: 页码
  23747. in: query
  23748. name: page
  23749. type: integer
  23750. - description: 每页条数
  23751. in: query
  23752. name: pagesize
  23753. type: integer
  23754. - description: 资金账户,格式:1,2,3
  23755. in: query
  23756. name: accountIDs
  23757. required: true
  23758. type: string
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23766. "500":
  23767. description: Internal Server Error
  23768. schema:
  23769. $ref: '#/definitions/app.Response'
  23770. security:
  23771. - ApiKeyAuth: []
  23772. summary: 我的闲置中收款信息查询
  23773. tags:
  23774. - 定制【海商报业】
  23775. /HSBY/QueryMyCouponHolds:
  23776. get:
  23777. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23778. parameters:
  23779. - description: 资金账户列表,格式:1,2,3
  23780. in: query
  23781. name: accountIDs
  23782. required: true
  23783. type: string
  23784. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23785. in: query
  23786. name: holdStatus
  23787. type: string
  23788. produces:
  23789. - application/json
  23790. responses:
  23791. "200":
  23792. description: OK
  23793. schema:
  23794. $ref: '#/definitions/models.MyCouponHold'
  23795. "500":
  23796. description: Internal Server Error
  23797. schema:
  23798. $ref: '#/definitions/app.Response'
  23799. security:
  23800. - ApiKeyAuth: []
  23801. summary: 我的优惠卷持仓查询
  23802. tags:
  23803. - 定制【海商报业】
  23804. /HSBY/QueryMyCoupons:
  23805. get:
  23806. parameters:
  23807. - description: 资金账户列表,格式:1,2,3
  23808. in: query
  23809. name: accountIDs
  23810. required: true
  23811. type: string
  23812. - description: 商品ID, 一般与sellUserID配套传入
  23813. in: query
  23814. name: goodsID
  23815. type: integer
  23816. - description: 卖方UserID
  23817. in: query
  23818. name: sellUserID
  23819. type: integer
  23820. produces:
  23821. - application/json
  23822. responses:
  23823. "200":
  23824. description: OK
  23825. schema:
  23826. $ref: '#/definitions/models.MyCoupon'
  23827. "500":
  23828. description: Internal Server Error
  23829. schema:
  23830. $ref: '#/definitions/app.Response'
  23831. security:
  23832. - ApiKeyAuth: []
  23833. summary: 我的优惠卷查询
  23834. tags:
  23835. - 定制【海商报业】
  23836. /HSBY/QueryMyPayOrders:
  23837. get:
  23838. parameters:
  23839. - description: 页码
  23840. in: query
  23841. name: page
  23842. type: integer
  23843. - description: 每页条数
  23844. in: query
  23845. name: pagesize
  23846. type: integer
  23847. - description: 资金账户列表,格式:1,2,3
  23848. in: query
  23849. name: accountIDs
  23850. required: true
  23851. type: string
  23852. - description: 买方委托单号
  23853. in: query
  23854. name: buyOrderID
  23855. type: integer
  23856. - description: 卖方委托单号
  23857. in: query
  23858. name: sellOrderID
  23859. type: integer
  23860. produces:
  23861. - application/json
  23862. responses:
  23863. "200":
  23864. description: OK
  23865. schema:
  23866. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23867. "500":
  23868. description: Internal Server Error
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. security:
  23872. - ApiKeyAuth: []
  23873. summary: 获取我的订单中待付款信息
  23874. tags:
  23875. - 定制【海商报业】
  23876. /HSBY/QueryMyUsedCoupon:
  23877. get:
  23878. parameters:
  23879. - description: 资金账户列表,格式:1,2,3
  23880. in: query
  23881. name: accountIDs
  23882. required: true
  23883. type: string
  23884. produces:
  23885. - application/json
  23886. responses:
  23887. "200":
  23888. description: OK
  23889. schema:
  23890. $ref: '#/definitions/models.MyUsedCoupon'
  23891. "500":
  23892. description: Internal Server Error
  23893. schema:
  23894. $ref: '#/definitions/app.Response'
  23895. security:
  23896. - ApiKeyAuth: []
  23897. summary: 已使用优惠卷查询
  23898. tags:
  23899. - 定制【海商报业】
  23900. /HSBY/QueryProvincesAndCities:
  23901. get:
  23902. description: 查询结果只包括二级市场商品已关连的省市信息。
  23903. parameters:
  23904. - description: 省ID
  23905. in: query
  23906. name: provinceID
  23907. type: integer
  23908. produces:
  23909. - application/json
  23910. responses:
  23911. "200":
  23912. description: OK
  23913. schema:
  23914. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23915. "500":
  23916. description: Internal Server Error
  23917. schema:
  23918. $ref: '#/definitions/app.Response'
  23919. security:
  23920. - ApiKeyAuth: []
  23921. summary: 查询省市信息(不包括区)
  23922. tags:
  23923. - 定制【海商报业】
  23924. /HSBY/SetHsbyMyPackagesStatus:
  23925. post:
  23926. parameters:
  23927. - description: 提货单号
  23928. in: query
  23929. name: takeOrderID
  23930. required: true
  23931. type: string
  23932. - description: 资金账号
  23933. in: query
  23934. name: accountID
  23935. required: true
  23936. type: integer
  23937. produces:
  23938. - application/json
  23939. responses:
  23940. "200":
  23941. description: OK
  23942. schema:
  23943. $ref: '#/definitions/app.Response'
  23944. "500":
  23945. description: Internal Server Error
  23946. schema:
  23947. $ref: '#/definitions/app.Response'
  23948. security:
  23949. - ApiKeyAuth: []
  23950. summary: 设置我的包裹已收货状态
  23951. tags:
  23952. - 定制【海商报业】
  23953. /Market/GetAllExExchanges:
  23954. get:
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. $ref: '#/definitions/models.Goods'
  23962. "500":
  23963. description: Internal Server Error
  23964. schema:
  23965. $ref: '#/definitions/app.Response'
  23966. security:
  23967. - ApiKeyAuth: []
  23968. summary: 获取所有外部交易所信息
  23969. tags:
  23970. - 通用市场
  23971. /Market/QueryGoodsesByLoginID:
  23972. get:
  23973. parameters:
  23974. - description: 登录账号
  23975. in: query
  23976. name: loginID
  23977. required: true
  23978. type: integer
  23979. - description: 市场ID列表,格式:1,2,3
  23980. in: query
  23981. name: marketIDs
  23982. type: string
  23983. produces:
  23984. - application/json
  23985. responses:
  23986. "200":
  23987. description: OK
  23988. schema:
  23989. $ref: '#/definitions/models.Goods'
  23990. "500":
  23991. description: Internal Server Error
  23992. schema:
  23993. $ref: '#/definitions/app.Response'
  23994. security:
  23995. - ApiKeyAuth: []
  23996. summary: 获取登录账号有权限的商品信息
  23997. tags:
  23998. - 通用市场
  23999. /Market/QueryMarketRun:
  24000. get:
  24001. parameters:
  24002. - description: 市场ID,不传返回所有
  24003. in: query
  24004. name: marketID
  24005. type: integer
  24006. produces:
  24007. - application/json
  24008. responses:
  24009. "200":
  24010. description: OK
  24011. schema:
  24012. $ref: '#/definitions/models.Marketrun'
  24013. "500":
  24014. description: Internal Server Error
  24015. schema:
  24016. $ref: '#/definitions/app.Response'
  24017. security:
  24018. - ApiKeyAuth: []
  24019. summary: 查询市场运行信息
  24020. tags:
  24021. - 通用市场
  24022. /Market/QueryMarketsByLoginID:
  24023. get:
  24024. parameters:
  24025. - description: 登录账号
  24026. in: query
  24027. name: loginID
  24028. required: true
  24029. type: integer
  24030. produces:
  24031. - application/json
  24032. responses:
  24033. "200":
  24034. description: OK
  24035. schema:
  24036. $ref: '#/definitions/models.Market'
  24037. "500":
  24038. description: Internal Server Error
  24039. schema:
  24040. $ref: '#/definitions/app.Response'
  24041. security:
  24042. - ApiKeyAuth: []
  24043. summary: 获取登录账号有权限的市场信息
  24044. tags:
  24045. - 通用市场
  24046. /Order/QueryHisTradeDetail:
  24047. get:
  24048. parameters:
  24049. - description: 资金账户 - 格式:1,2,3
  24050. in: query
  24051. name: accountID
  24052. required: true
  24053. type: string
  24054. - description: 成交单号
  24055. in: query
  24056. name: tradeID
  24057. type: integer
  24058. - description: 委托单号
  24059. in: query
  24060. name: orderID
  24061. type: integer
  24062. - description: 商品ID
  24063. in: query
  24064. name: goodsID
  24065. type: integer
  24066. - description: 交易模式 - 格式:1,2,3
  24067. in: query
  24068. name: tradeMode
  24069. type: string
  24070. - description: 委托单据类型
  24071. in: query
  24072. name: buildType
  24073. type: integer
  24074. - description: 成交类别 - 格式:1,2,3
  24075. in: query
  24076. name: tradeType
  24077. type: string
  24078. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24079. in: query
  24080. name: startDate
  24081. type: string
  24082. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24083. in: query
  24084. name: endDate
  24085. type: string
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 历史成交单查询(合约市场)
  24100. tags:
  24101. - 通用单据
  24102. /Order/QueryHisTradeOrderDetail:
  24103. get:
  24104. parameters:
  24105. - description: 资金账户 - 格式:1,2,3
  24106. in: query
  24107. name: accountID
  24108. required: true
  24109. type: string
  24110. - description: 交易模式 - 格式:1,2,3
  24111. in: query
  24112. name: tradeMode
  24113. type: string
  24114. - description: 委托状态 - 格式:1,2,3
  24115. in: query
  24116. name: orderStatus
  24117. type: string
  24118. - description: 委托单号
  24119. in: query
  24120. name: orderID
  24121. type: integer
  24122. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24123. in: query
  24124. name: startDate
  24125. type: string
  24126. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24127. in: query
  24128. name: endDate
  24129. type: string
  24130. produces:
  24131. - application/json
  24132. responses:
  24133. "200":
  24134. description: OK
  24135. schema:
  24136. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24137. "500":
  24138. description: Internal Server Error
  24139. schema:
  24140. $ref: '#/definitions/app.Response'
  24141. security:
  24142. - ApiKeyAuth: []
  24143. summary: 历史委托单查询请求(合约市场)
  24144. tags:
  24145. - 通用单据
  24146. /Order/QueryTradeDetail:
  24147. get:
  24148. parameters:
  24149. - description: 资金账户 - 格式:1,2,3
  24150. in: query
  24151. name: accountID
  24152. required: true
  24153. type: string
  24154. - description: 成交单号
  24155. in: query
  24156. name: tradeID
  24157. type: integer
  24158. - description: 委托单号
  24159. in: query
  24160. name: orderID
  24161. type: integer
  24162. - description: 交易模式 - 格式:1,2,3
  24163. in: query
  24164. name: tradeMode
  24165. type: string
  24166. - description: 委托单据类型
  24167. in: query
  24168. name: buildType
  24169. type: integer
  24170. - description: 成交类别 - 格式:1,2,3
  24171. in: query
  24172. name: tradeType
  24173. type: string
  24174. - description: 商品ID
  24175. in: query
  24176. name: goodsID
  24177. type: integer
  24178. produces:
  24179. - application/json
  24180. responses:
  24181. "200":
  24182. description: OK
  24183. schema:
  24184. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24185. "500":
  24186. description: Internal Server Error
  24187. schema:
  24188. $ref: '#/definitions/app.Response'
  24189. security:
  24190. - ApiKeyAuth: []
  24191. summary: 成交单查询(合约市场)
  24192. tags:
  24193. - 通用单据
  24194. /Order/QueryTradeHolderDetail:
  24195. get:
  24196. parameters:
  24197. - description: 用户id
  24198. in: query
  24199. name: userid
  24200. type: integer
  24201. - description: 资金账号, 格式 1,2,3
  24202. in: query
  24203. name: accids
  24204. type: string
  24205. - description: 交易模式, 格式 1,2,3
  24206. in: query
  24207. name: trademodes
  24208. type: string
  24209. - description: 市场id, 格式 1,2,3
  24210. in: query
  24211. name: marketids
  24212. type: string
  24213. - description: 商品id
  24214. in: query
  24215. name: goodsid
  24216. type: integer
  24217. - description: 买卖方向 0-买 1-卖
  24218. in: query
  24219. name: buyorsell
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. items:
  24228. $ref: '#/definitions/models.TradeHolderDetail'
  24229. type: array
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 查询持仓明细
  24237. tags:
  24238. - 通用单据
  24239. /Order/QueryTradeOrderDetail:
  24240. get:
  24241. parameters:
  24242. - description: 资金账户 - 格式:1,2,3
  24243. in: query
  24244. name: accountID
  24245. required: true
  24246. type: string
  24247. - description: 交易模式 - 格式:1,2,3
  24248. in: query
  24249. name: tradeMode
  24250. type: string
  24251. - description: 委托状态 - 格式:1,2,3
  24252. in: query
  24253. name: orderStatus
  24254. type: string
  24255. - description: 委托单号
  24256. in: query
  24257. name: orderID
  24258. type: integer
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24266. "500":
  24267. description: Internal Server Error
  24268. schema:
  24269. $ref: '#/definitions/app.Response'
  24270. security:
  24271. - ApiKeyAuth: []
  24272. summary: 委托单查询请求(合约市场)
  24273. tags:
  24274. - 通用单据
  24275. /Order/QueryTradePosition:
  24276. get:
  24277. parameters:
  24278. - description: 资金账户 - 格式:1,2,3
  24279. in: query
  24280. name: accountID
  24281. required: true
  24282. type: string
  24283. - description: 交易模式 - 格式:1,2,3
  24284. in: query
  24285. name: tradeMode
  24286. type: string
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. $ref: '#/definitions/order.QueryTradePositionRsp'
  24294. "500":
  24295. description: Internal Server Error
  24296. schema:
  24297. $ref: '#/definitions/app.Response'
  24298. security:
  24299. - ApiKeyAuth: []
  24300. summary: 持仓汇总查询(合约市场)
  24301. tags:
  24302. - 通用单据
  24303. /Qhj/QueryAccountInOutApply:
  24304. get:
  24305. parameters:
  24306. - description: 用户ID
  24307. in: query
  24308. name: userid
  24309. required: true
  24310. type: integer
  24311. - description: 申请起始日期(格式yyyymmdd)
  24312. in: query
  24313. name: begindate
  24314. type: string
  24315. - description: 申请截止日期(格式yyyymmdd)
  24316. in: query
  24317. name: enddate
  24318. type: string
  24319. - description: 模糊搜索名称
  24320. in: query
  24321. name: likename
  24322. type: string
  24323. produces:
  24324. - application/json
  24325. responses:
  24326. "200":
  24327. description: OK
  24328. schema:
  24329. items:
  24330. $ref: '#/definitions/models.QhjAccountOutInApply'
  24331. type: array
  24332. "500":
  24333. description: Internal Server Error
  24334. schema:
  24335. $ref: '#/definitions/app.Response'
  24336. security:
  24337. - ApiKeyAuth: []
  24338. summary: 查询充值提现
  24339. tags:
  24340. - 大连千海金
  24341. /Qhj/QueryAreaFinanceConfig:
  24342. get:
  24343. parameters:
  24344. - description: 机构用户ID 其他做市关系,都设置为 1
  24345. in: query
  24346. name: userid
  24347. type: integer
  24348. produces:
  24349. - application/json
  24350. responses:
  24351. "200":
  24352. description: OK
  24353. schema:
  24354. items:
  24355. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24356. type: array
  24357. "500":
  24358. description: Internal Server Error
  24359. schema:
  24360. $ref: '#/definitions/app.Response'
  24361. security:
  24362. - ApiKeyAuth: []
  24363. summary: 查询企业配置表
  24364. tags:
  24365. - 大连千海金
  24366. /Qhj/QueryBankAccountSign:
  24367. get:
  24368. parameters:
  24369. - description: 用户ID
  24370. in: query
  24371. name: userid
  24372. required: true
  24373. type: integer
  24374. produces:
  24375. - application/json
  24376. responses:
  24377. "200":
  24378. description: OK
  24379. schema:
  24380. items:
  24381. $ref: '#/definitions/models.QhjBankAccountSign'
  24382. type: array
  24383. "500":
  24384. description: Internal Server Error
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. security:
  24388. - ApiKeyAuth: []
  24389. summary: 查询签约银行信息(提现账户管理)
  24390. tags:
  24391. - 大连千海金
  24392. /Qhj/QueryBankInfo:
  24393. get:
  24394. produces:
  24395. - application/json
  24396. responses:
  24397. "200":
  24398. description: OK
  24399. schema:
  24400. items:
  24401. $ref: '#/definitions/models.QhjBankInfo'
  24402. type: array
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 查询开户行
  24410. tags:
  24411. - 大连千海金
  24412. /Qhj/QueryBrokerApply:
  24413. get:
  24414. parameters:
  24415. - description: 所属机构ID
  24416. in: query
  24417. name: userid
  24418. type: integer
  24419. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24420. in: query
  24421. name: filterstatus
  24422. type: string
  24423. produces:
  24424. - application/json
  24425. responses:
  24426. "200":
  24427. description: OK
  24428. schema:
  24429. items:
  24430. $ref: '#/definitions/models.QhjBrokerApply'
  24431. type: array
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 查询经纪人申请
  24439. tags:
  24440. - 大连千海金
  24441. /Qhj/QueryBrokerApplyEx:
  24442. get:
  24443. parameters:
  24444. - description: 所属机构ID
  24445. in: query
  24446. name: userid
  24447. type: integer
  24448. produces:
  24449. - application/json
  24450. responses:
  24451. "200":
  24452. description: OK
  24453. schema:
  24454. items:
  24455. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24456. type: array
  24457. "500":
  24458. description: Internal Server Error
  24459. schema:
  24460. $ref: '#/definitions/app.Response'
  24461. security:
  24462. - ApiKeyAuth: []
  24463. summary: 查询经纪人信息和申请记录
  24464. tags:
  24465. - 大连千海金
  24466. /Qhj/QueryBrokerRewardLog:
  24467. get:
  24468. parameters:
  24469. - description: 用户ID
  24470. in: query
  24471. name: userid
  24472. required: true
  24473. type: integer
  24474. - description: 开始交易日(yyyymmdd)
  24475. in: query
  24476. name: begindate
  24477. type: string
  24478. - description: 结束交易日(yyyymmdd)
  24479. in: query
  24480. name: enddate
  24481. type: string
  24482. produces:
  24483. - application/json
  24484. responses:
  24485. "200":
  24486. description: OK
  24487. schema:
  24488. items:
  24489. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24490. type: array
  24491. "500":
  24492. description: Internal Server Error
  24493. schema:
  24494. $ref: '#/definitions/app.Response'
  24495. security:
  24496. - ApiKeyAuth: []
  24497. summary: 查询奖励流水(我的奖励)
  24498. tags:
  24499. - 大连千海金
  24500. /Qhj/QueryContract:
  24501. get:
  24502. parameters:
  24503. - description: 用户ID
  24504. in: query
  24505. name: userid
  24506. type: integer
  24507. - description: scf合同id
  24508. in: query
  24509. name: scfcontractid
  24510. type: integer
  24511. produces:
  24512. - application/json
  24513. responses:
  24514. "200":
  24515. description: OK
  24516. schema:
  24517. items:
  24518. $ref: '#/definitions/models.QhjContract'
  24519. type: array
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 查询融资明细(合同)
  24527. tags:
  24528. - 大连千海金
  24529. /Qhj/QueryContractLog:
  24530. get:
  24531. parameters:
  24532. - description: scf合同id
  24533. in: query
  24534. name: scfcontractid
  24535. required: true
  24536. type: integer
  24537. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24538. in: query
  24539. name: amounttype
  24540. type: string
  24541. produces:
  24542. - application/json
  24543. responses:
  24544. "200":
  24545. description: OK
  24546. schema:
  24547. items:
  24548. $ref: '#/definitions/models.QhjContractLog'
  24549. type: array
  24550. "500":
  24551. description: Internal Server Error
  24552. schema:
  24553. $ref: '#/definitions/app.Response'
  24554. security:
  24555. - ApiKeyAuth: []
  24556. summary: 查询融资明细流水(融资明细详情页中的流水)
  24557. tags:
  24558. - 大连千海金
  24559. /Qhj/QueryCusBankSignBank:
  24560. get:
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. items:
  24568. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24569. type: array
  24570. "500":
  24571. description: Internal Server Error
  24572. schema:
  24573. $ref: '#/definitions/app.Response'
  24574. security:
  24575. - ApiKeyAuth: []
  24576. summary: 查询托管银行
  24577. tags:
  24578. - 大连千海金
  24579. /Qhj/QueryCustomerInfo:
  24580. get:
  24581. parameters:
  24582. - description: 用户ID
  24583. in: query
  24584. name: userid
  24585. required: true
  24586. type: integer
  24587. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24588. in: query
  24589. name: querytype
  24590. required: true
  24591. type: integer
  24592. - description: 客户类型 1-个人 2-企业
  24593. in: query
  24594. name: userinfotype
  24595. type: integer
  24596. - description: 客户名称(模糊匹配)
  24597. in: query
  24598. name: customername
  24599. type: string
  24600. - description: 昵称(模糊匹配)
  24601. in: query
  24602. name: nickname
  24603. type: string
  24604. - description: 是否包含子级 1-包含
  24605. in: query
  24606. name: includesub
  24607. type: integer
  24608. produces:
  24609. - application/json
  24610. responses:
  24611. "200":
  24612. description: OK
  24613. schema:
  24614. items:
  24615. $ref: '#/definitions/models.QhjCustomer'
  24616. type: array
  24617. "500":
  24618. description: Internal Server Error
  24619. schema:
  24620. $ref: '#/definitions/app.Response'
  24621. security:
  24622. - ApiKeyAuth: []
  24623. summary: 查询客户资料
  24624. tags:
  24625. - 大连千海金
  24626. /Qhj/QueryGoodsEx:
  24627. get:
  24628. parameters:
  24629. - description: 商品id
  24630. in: query
  24631. name: goodsid
  24632. type: integer
  24633. produces:
  24634. - application/json
  24635. responses:
  24636. "200":
  24637. description: OK
  24638. schema:
  24639. items:
  24640. $ref: '#/definitions/models.Qhjgoodsex'
  24641. type: array
  24642. "500":
  24643. description: Internal Server Error
  24644. schema:
  24645. $ref: '#/definitions/app.Response'
  24646. security:
  24647. - ApiKeyAuth: []
  24648. summary: 交易商品扩展表
  24649. tags:
  24650. - 大连千海金
  24651. /Qhj/QueryMyTeam:
  24652. get:
  24653. parameters:
  24654. - description: 用户ID
  24655. in: query
  24656. name: userid
  24657. required: true
  24658. type: integer
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. items:
  24666. $ref: '#/definitions/models.QhjMyTeamEx'
  24667. type: array
  24668. "500":
  24669. description: Internal Server Error
  24670. schema:
  24671. $ref: '#/definitions/app.Response'
  24672. security:
  24673. - ApiKeyAuth: []
  24674. summary: 查询我的团队
  24675. tags:
  24676. - 大连千海金
  24677. /Qhj/QueryMyTeamOrder:
  24678. get:
  24679. parameters:
  24680. - description: 页码
  24681. in: query
  24682. name: page
  24683. type: integer
  24684. - description: 每页条数
  24685. in: query
  24686. name: pagesize
  24687. type: integer
  24688. - description: 用户ID
  24689. in: query
  24690. name: userid
  24691. required: true
  24692. type: integer
  24693. - description: 交易模式
  24694. in: query
  24695. name: trademode
  24696. type: integer
  24697. - description: 名称(模糊搜索账户)
  24698. in: query
  24699. name: filtername
  24700. type: string
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. items:
  24708. $ref: '#/definitions/models.QhjTeamOrder'
  24709. type: array
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 查询团队订单(我的团队/团队订单)
  24717. tags:
  24718. - 大连千海金
  24719. /Qhj/QueryParentAreaList:
  24720. get:
  24721. parameters:
  24722. - description: 用户ID
  24723. in: query
  24724. name: userid
  24725. required: true
  24726. type: integer
  24727. produces:
  24728. - application/json
  24729. responses:
  24730. "200":
  24731. description: OK
  24732. schema:
  24733. items:
  24734. $ref: '#/definitions/models.QhjParentAreaList'
  24735. type: array
  24736. "500":
  24737. description: Internal Server Error
  24738. schema:
  24739. $ref: '#/definitions/app.Response'
  24740. security:
  24741. - ApiKeyAuth: []
  24742. summary: 查询所属机构列表
  24743. tags:
  24744. - 大连千海金
  24745. /Qhj/QueryPayOrder:
  24746. get:
  24747. parameters:
  24748. - description: 资金账号id
  24749. in: query
  24750. name: accountid
  24751. required: true
  24752. type: integer
  24753. - description: 成交单号
  24754. in: query
  24755. name: tradeid
  24756. type: integer
  24757. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24758. in: query
  24759. name: payflag
  24760. type: string
  24761. produces:
  24762. - application/json
  24763. responses:
  24764. "200":
  24765. description: OK
  24766. schema:
  24767. items:
  24768. $ref: '#/definitions/models.QhjPayOrder'
  24769. type: array
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 查询待付款单据
  24777. tags:
  24778. - 大连千海金
  24779. /Qhj/QueryPickArea:
  24780. get:
  24781. parameters:
  24782. - description: 用户ID
  24783. in: query
  24784. name: userid
  24785. type: integer
  24786. produces:
  24787. - application/json
  24788. responses:
  24789. "200":
  24790. description: OK
  24791. schema:
  24792. items:
  24793. $ref: '#/definitions/models.QhjPickArea'
  24794. type: array
  24795. "500":
  24796. description: Internal Server Error
  24797. schema:
  24798. $ref: '#/definitions/app.Response'
  24799. security:
  24800. - ApiKeyAuth: []
  24801. summary: 查询提货门店
  24802. tags:
  24803. - 大连千海金
  24804. /Qhj/QueryPickGoods:
  24805. get:
  24806. parameters:
  24807. - description: 交易商品id
  24808. in: query
  24809. name: goodsid
  24810. required: true
  24811. type: integer
  24812. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24813. in: query
  24814. name: status
  24815. type: string
  24816. produces:
  24817. - application/json
  24818. responses:
  24819. "200":
  24820. description: OK
  24821. schema:
  24822. items:
  24823. $ref: '#/definitions/models.QhjPickGoods'
  24824. type: array
  24825. "500":
  24826. description: Internal Server Error
  24827. schema:
  24828. $ref: '#/definitions/app.Response'
  24829. security:
  24830. - ApiKeyAuth: []
  24831. summary: 查询提货商品
  24832. tags:
  24833. - 大连千海金
  24834. /Qhj/QueryRSTriggerLog:
  24835. get:
  24836. parameters:
  24837. - description: 用户ID
  24838. in: query
  24839. name: userid
  24840. type: integer
  24841. - description: 定投策略id
  24842. in: query
  24843. name: regularlystrategyid
  24844. type: integer
  24845. - description: 商品id
  24846. in: query
  24847. name: goodsid
  24848. type: integer
  24849. - description: 开始交易日(yyyymmdd)
  24850. in: query
  24851. name: begindate
  24852. type: string
  24853. - description: 结束交易日(yyyymmdd)
  24854. in: query
  24855. name: enddate
  24856. type: string
  24857. - description: 名称(模糊搜索账户)
  24858. in: query
  24859. name: filtername
  24860. type: string
  24861. produces:
  24862. - application/json
  24863. responses:
  24864. "200":
  24865. description: OK
  24866. schema:
  24867. items:
  24868. $ref: '#/definitions/models.QhjRSTriggerLog'
  24869. type: array
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 查询定投记录(定投管理/详情/定投记录)
  24877. tags:
  24878. - 大连千海金
  24879. /Qhj/QueryRStrategy:
  24880. get:
  24881. parameters:
  24882. - description: 用户ID
  24883. in: query
  24884. name: userid
  24885. type: integer
  24886. - description: 商品id
  24887. in: query
  24888. name: goodsid
  24889. type: integer
  24890. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24891. in: query
  24892. name: status
  24893. type: string
  24894. - description: 名称(模糊搜索账户)
  24895. in: query
  24896. name: filtername
  24897. type: string
  24898. produces:
  24899. - application/json
  24900. responses:
  24901. "200":
  24902. description: OK
  24903. schema:
  24904. items:
  24905. $ref: '#/definitions/models.QhjRStrategy'
  24906. type: array
  24907. "500":
  24908. description: Internal Server Error
  24909. schema:
  24910. $ref: '#/definitions/app.Response'
  24911. security:
  24912. - ApiKeyAuth: []
  24913. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24914. tags:
  24915. - 大连千海金
  24916. /Qhj/QueryReckonPriceLog:
  24917. get:
  24918. parameters:
  24919. - description: 商品ID
  24920. in: query
  24921. name: goodsid
  24922. type: integer
  24923. - description: 交易日 格式(yyyymmdd)
  24924. in: query
  24925. name: tradedate
  24926. type: string
  24927. produces:
  24928. - application/json
  24929. responses:
  24930. "200":
  24931. description: OK
  24932. schema:
  24933. items:
  24934. $ref: '#/definitions/models.QhjReckonPriceLog'
  24935. type: array
  24936. "500":
  24937. description: Internal Server Error
  24938. schema:
  24939. $ref: '#/definitions/app.Response'
  24940. security:
  24941. - ApiKeyAuth: []
  24942. summary: 查询定投价(结算价)
  24943. tags:
  24944. - 大连千海金
  24945. /Qhj/QueryScoreLog:
  24946. get:
  24947. parameters:
  24948. - description: 用户ID
  24949. in: query
  24950. name: userid
  24951. required: true
  24952. type: integer
  24953. - description: 开始交易日(yyyymmdd)
  24954. in: query
  24955. name: begindate
  24956. type: string
  24957. - description: 结束交易日(yyyymmdd)
  24958. in: query
  24959. name: enddate
  24960. type: string
  24961. - description: 最近多少条
  24962. in: query
  24963. name: lastnum
  24964. type: integer
  24965. produces:
  24966. - application/json
  24967. responses:
  24968. "200":
  24969. description: OK
  24970. schema:
  24971. items:
  24972. $ref: '#/definitions/models.QhjScoreLog'
  24973. type: array
  24974. "500":
  24975. description: Internal Server Error
  24976. schema:
  24977. $ref: '#/definitions/app.Response'
  24978. security:
  24979. - ApiKeyAuth: []
  24980. summary: 查询积分流水(我的积分)
  24981. tags:
  24982. - 大连千海金
  24983. /Qhj/QuerySiteColumnDetail:
  24984. get:
  24985. parameters:
  24986. - description: 用户ID
  24987. in: query
  24988. name: userid
  24989. required: true
  24990. type: integer
  24991. produces:
  24992. - application/json
  24993. responses:
  24994. "200":
  24995. description: OK
  24996. schema:
  24997. items:
  24998. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24999. type: array
  25000. "500":
  25001. description: Internal Server Error
  25002. schema:
  25003. $ref: '#/definitions/app.Response'
  25004. security:
  25005. - ApiKeyAuth: []
  25006. summary: 查询资讯
  25007. tags:
  25008. - 大连千海金
  25009. /Qhj/QueryTradeGoodsPickup:
  25010. get:
  25011. parameters:
  25012. - description: 用户ID
  25013. in: query
  25014. name: userid
  25015. required: true
  25016. type: integer
  25017. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25018. 7:已拒绝 8:已撤销
  25019. in: query
  25020. name: takeorderstatus
  25021. type: integer
  25022. produces:
  25023. - application/json
  25024. responses:
  25025. "200":
  25026. description: OK
  25027. schema:
  25028. items:
  25029. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25030. type: array
  25031. "500":
  25032. description: Internal Server Error
  25033. schema:
  25034. $ref: '#/definitions/app.Response'
  25035. security:
  25036. - ApiKeyAuth: []
  25037. summary: 查询提货
  25038. tags:
  25039. - 大连千海金
  25040. /Qhj/QueryUserCollectConfig:
  25041. get:
  25042. parameters:
  25043. - description: 用户ID
  25044. in: query
  25045. name: userid
  25046. required: true
  25047. type: integer
  25048. produces:
  25049. - application/json
  25050. responses:
  25051. "200":
  25052. description: OK
  25053. schema:
  25054. items:
  25055. $ref: '#/definitions/models.UserCollectConfig'
  25056. type: array
  25057. "500":
  25058. description: Internal Server Error
  25059. schema:
  25060. $ref: '#/definitions/app.Response'
  25061. security:
  25062. - ApiKeyAuth: []
  25063. summary: 查询提现账户设置
  25064. tags:
  25065. - 大连千海金
  25066. /Qhj/QueryUserReceiveInfo:
  25067. get:
  25068. parameters:
  25069. - description: 用户ID
  25070. in: query
  25071. name: userid
  25072. required: true
  25073. type: integer
  25074. produces:
  25075. - application/json
  25076. responses:
  25077. "200":
  25078. description: OK
  25079. schema:
  25080. items:
  25081. $ref: '#/definitions/models.UserReceiveInfo'
  25082. type: array
  25083. "500":
  25084. description: Internal Server Error
  25085. schema:
  25086. $ref: '#/definitions/app.Response'
  25087. security:
  25088. - ApiKeyAuth: []
  25089. summary: 查询收货地址信息
  25090. tags:
  25091. - 大连千海金
  25092. /QhjMgr/QueryAccountInOutApply:
  25093. get:
  25094. parameters:
  25095. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25096. in: query
  25097. name: querytype
  25098. required: true
  25099. type: integer
  25100. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25101. in: query
  25102. name: applystatus
  25103. type: integer
  25104. - description: 申请起始日期(格式yyyymmdd)
  25105. in: query
  25106. name: begindate
  25107. type: string
  25108. - description: 申请截止日期(格式yyyymmdd)
  25109. in: query
  25110. name: enddate
  25111. type: string
  25112. - description: 模糊搜索名称
  25113. in: query
  25114. name: likename
  25115. type: string
  25116. produces:
  25117. - application/json
  25118. responses:
  25119. "200":
  25120. description: OK
  25121. schema:
  25122. items:
  25123. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25124. type: array
  25125. "500":
  25126. description: Internal Server Error
  25127. schema:
  25128. $ref: '#/definitions/app.Response'
  25129. security:
  25130. - ApiKeyAuth: []
  25131. summary: 查询充值提现
  25132. tags:
  25133. - 大连千海金(PCWeb)
  25134. /QhjMgr/QueryBrokerApply:
  25135. get:
  25136. parameters:
  25137. - description: 所属机构ID
  25138. in: query
  25139. name: userid
  25140. type: integer
  25141. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25142. in: query
  25143. name: filterstatus
  25144. type: string
  25145. - description: 名称(模糊匹配)
  25146. in: query
  25147. name: filtername
  25148. type: string
  25149. - description: 是否包含子级 1-包含
  25150. in: query
  25151. name: includesub
  25152. type: integer
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. items:
  25160. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25161. type: array
  25162. "500":
  25163. description: Internal Server Error
  25164. schema:
  25165. $ref: '#/definitions/app.Response'
  25166. security:
  25167. - ApiKeyAuth: []
  25168. summary: 查询经纪人申请
  25169. tags:
  25170. - 大连千海金(PCWeb)
  25171. /QhjMgr/QueryBrokerRewardReport:
  25172. get:
  25173. parameters:
  25174. - description: 所属机构ID
  25175. in: query
  25176. name: userid
  25177. required: true
  25178. type: integer
  25179. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25180. in: query
  25181. name: cycletype
  25182. required: true
  25183. type: integer
  25184. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25185. in: query
  25186. name: cycletime
  25187. required: true
  25188. type: string
  25189. - description: 名称(模糊匹配)
  25190. in: query
  25191. name: filtername
  25192. type: string
  25193. - description: 是否包含子级 1-包含
  25194. in: query
  25195. name: includesub
  25196. type: integer
  25197. produces:
  25198. - application/json
  25199. responses:
  25200. "200":
  25201. description: OK
  25202. schema:
  25203. items:
  25204. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25205. type: array
  25206. "500":
  25207. description: Internal Server Error
  25208. schema:
  25209. $ref: '#/definitions/app.Response'
  25210. security:
  25211. - ApiKeyAuth: []
  25212. summary: 查询经纪人奖励报表(废弃)
  25213. tags:
  25214. - 大连千海金(PCWeb)
  25215. /QhjMgr/QueryContract:
  25216. get:
  25217. parameters:
  25218. - description: 用户ID
  25219. in: query
  25220. name: userid
  25221. type: integer
  25222. - description: 商品id
  25223. in: query
  25224. name: goodsid
  25225. type: integer
  25226. - description: 名称(模糊搜索账户)
  25227. in: query
  25228. name: filtername
  25229. type: string
  25230. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25231. in: query
  25232. name: risklevel
  25233. type: string
  25234. - description: 开始交易日(yyyymmdd)
  25235. in: query
  25236. name: begindate
  25237. type: string
  25238. - description: 结束交易日(yyyymmdd)
  25239. in: query
  25240. name: enddate
  25241. type: string
  25242. produces:
  25243. - application/json
  25244. responses:
  25245. "200":
  25246. description: OK
  25247. schema:
  25248. items:
  25249. $ref: '#/definitions/models.QhjMgrContract'
  25250. type: array
  25251. "500":
  25252. description: Internal Server Error
  25253. schema:
  25254. $ref: '#/definitions/app.Response'
  25255. security:
  25256. - ApiKeyAuth: []
  25257. summary: 查询融资信息(合同)
  25258. tags:
  25259. - 大连千海金(PCWeb)
  25260. /QhjMgr/QueryCustomerInfo:
  25261. get:
  25262. parameters:
  25263. - description: 用户ID
  25264. in: query
  25265. name: userid
  25266. required: true
  25267. type: integer
  25268. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25269. in: query
  25270. name: querytype
  25271. required: true
  25272. type: integer
  25273. - description: 客户类型 1-个人 2-企业
  25274. in: query
  25275. name: userinfotype
  25276. type: integer
  25277. - description: 客户名称(模糊匹配)
  25278. in: query
  25279. name: customername
  25280. type: string
  25281. - description: 昵称(模糊匹配)
  25282. in: query
  25283. name: nickname
  25284. type: string
  25285. - description: 所属客户经理(模糊匹配)
  25286. in: query
  25287. name: brokername
  25288. type: string
  25289. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25290. 如0503 -5月3日)
  25291. in: query
  25292. name: birthday
  25293. type: string
  25294. - description: 是否包含子级 1-包含
  25295. in: query
  25296. name: includesub
  25297. type: integer
  25298. produces:
  25299. - application/json
  25300. responses:
  25301. "200":
  25302. description: OK
  25303. schema:
  25304. items:
  25305. $ref: '#/definitions/models.QhjMgrCustomer'
  25306. type: array
  25307. "500":
  25308. description: Internal Server Error
  25309. schema:
  25310. $ref: '#/definitions/app.Response'
  25311. security:
  25312. - ApiKeyAuth: []
  25313. summary: 查询客户资料
  25314. tags:
  25315. - 大连千海金(PCWeb)
  25316. /QhjMgr/QueryPickGoods:
  25317. get:
  25318. parameters:
  25319. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25320. in: query
  25321. name: status
  25322. type: string
  25323. produces:
  25324. - application/json
  25325. responses:
  25326. "200":
  25327. description: OK
  25328. schema:
  25329. items:
  25330. $ref: '#/definitions/models.QhjMgrPickGoods'
  25331. type: array
  25332. "500":
  25333. description: Internal Server Error
  25334. schema:
  25335. $ref: '#/definitions/app.Response'
  25336. security:
  25337. - ApiKeyAuth: []
  25338. summary: 查询提货商品
  25339. tags:
  25340. - 大连千海金(PCWeb)
  25341. /QhjMgr/QuerySubArea:
  25342. get:
  25343. parameters:
  25344. - description: 用户ID
  25345. in: query
  25346. name: userid
  25347. required: true
  25348. type: integer
  25349. produces:
  25350. - application/json
  25351. responses:
  25352. "200":
  25353. description: OK
  25354. schema:
  25355. items:
  25356. $ref: '#/definitions/models.QhjMgrSubArea'
  25357. type: array
  25358. "500":
  25359. description: Internal Server Error
  25360. schema:
  25361. $ref: '#/definitions/app.Response'
  25362. security:
  25363. - ApiKeyAuth: []
  25364. summary: 查询子机构列表
  25365. tags:
  25366. - 大连千海金(PCWeb)
  25367. /QhjMgr/QueryTradeDetail:
  25368. get:
  25369. parameters:
  25370. - description: 用户ID
  25371. in: query
  25372. name: userid
  25373. required: true
  25374. type: integer
  25375. - description: 用户类型 1-个人 2-企业
  25376. in: query
  25377. name: userinfotype
  25378. type: integer
  25379. - description: 交易模式
  25380. in: query
  25381. name: trademode
  25382. type: integer
  25383. - description: 商品id
  25384. in: query
  25385. name: goodsid
  25386. type: integer
  25387. - description: 名称(模糊搜索账户)
  25388. in: query
  25389. name: filtername
  25390. type: string
  25391. - description: 开始交易日(yyyymmdd)
  25392. in: query
  25393. name: begindate
  25394. type: string
  25395. - description: 结束交易日(yyyymmdd)
  25396. in: query
  25397. name: enddate
  25398. type: string
  25399. - description: 是否包含子级 1-包含
  25400. in: query
  25401. name: includesub
  25402. type: integer
  25403. produces:
  25404. - application/json
  25405. responses:
  25406. "200":
  25407. description: OK
  25408. schema:
  25409. items:
  25410. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25411. type: array
  25412. "500":
  25413. description: Internal Server Error
  25414. schema:
  25415. $ref: '#/definitions/app.Response'
  25416. security:
  25417. - ApiKeyAuth: []
  25418. summary: 查询成交明细
  25419. tags:
  25420. - 大连千海金(PCWeb)
  25421. /QhjMgr/QueryTradeOrderDetail:
  25422. get:
  25423. parameters:
  25424. - description: 用户ID
  25425. in: query
  25426. name: userid
  25427. required: true
  25428. type: integer
  25429. - description: 用户类型 1-个人 2-企业
  25430. in: query
  25431. name: userinfotype
  25432. type: integer
  25433. - description: 交易模式
  25434. in: query
  25435. name: trademode
  25436. type: integer
  25437. - description: 商品id
  25438. in: query
  25439. name: goodsid
  25440. type: integer
  25441. - description: 名称(模糊搜索账户)
  25442. in: query
  25443. name: filtername
  25444. type: string
  25445. - description: 开始交易日(yyyymmdd)
  25446. in: query
  25447. name: begindate
  25448. type: string
  25449. - description: 结束交易日(yyyymmdd)
  25450. in: query
  25451. name: enddate
  25452. type: string
  25453. - description: 是否包含子级 1-包含
  25454. in: query
  25455. name: includesub
  25456. type: integer
  25457. produces:
  25458. - application/json
  25459. responses:
  25460. "200":
  25461. description: OK
  25462. schema:
  25463. items:
  25464. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25465. type: array
  25466. "500":
  25467. description: Internal Server Error
  25468. schema:
  25469. $ref: '#/definitions/app.Response'
  25470. security:
  25471. - ApiKeyAuth: []
  25472. summary: 查询委托明细
  25473. tags:
  25474. - 大连千海金(PCWeb)
  25475. /QhjMgr/QueryTradePayOrder:
  25476. get:
  25477. parameters:
  25478. - description: 用户ID
  25479. in: query
  25480. name: userid
  25481. required: true
  25482. type: integer
  25483. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25484. in: query
  25485. name: payflag
  25486. type: string
  25487. - description: 用户类型 1-个人 2-企业
  25488. in: query
  25489. name: userinfotype
  25490. type: integer
  25491. - description: 交易模式
  25492. in: query
  25493. name: trademode
  25494. type: integer
  25495. - description: 商品id
  25496. in: query
  25497. name: goodsid
  25498. type: integer
  25499. - description: 名称(模糊搜索账户)
  25500. in: query
  25501. name: filtername
  25502. type: string
  25503. - description: 开始交易日(yyyymmdd)
  25504. in: query
  25505. name: begindate
  25506. type: string
  25507. - description: 结束交易日(yyyymmdd)
  25508. in: query
  25509. name: enddate
  25510. type: string
  25511. - description: 是否包含子级 1-包含
  25512. in: query
  25513. name: includesub
  25514. type: integer
  25515. produces:
  25516. - application/json
  25517. responses:
  25518. "200":
  25519. description: OK
  25520. schema:
  25521. items:
  25522. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25523. type: array
  25524. "500":
  25525. description: Internal Server Error
  25526. schema:
  25527. $ref: '#/definitions/app.Response'
  25528. security:
  25529. - ApiKeyAuth: []
  25530. summary: 查询待付款单
  25531. tags:
  25532. - 大连千海金(PCWeb)
  25533. /QhjMgr/QueryTradePosition:
  25534. get:
  25535. parameters:
  25536. - description: 用户ID
  25537. in: query
  25538. name: userid
  25539. required: true
  25540. type: integer
  25541. - description: 用户类型 1-个人 2-企业
  25542. in: query
  25543. name: userinfotype
  25544. type: integer
  25545. - description: 交易模式
  25546. in: query
  25547. name: trademode
  25548. type: integer
  25549. - description: 商品id
  25550. in: query
  25551. name: goodsid
  25552. type: integer
  25553. - description: 名称(模糊搜索账户)
  25554. in: query
  25555. name: filtername
  25556. type: string
  25557. - description: 是否包含子级 1-包含
  25558. in: query
  25559. name: includesub
  25560. type: integer
  25561. produces:
  25562. - application/json
  25563. responses:
  25564. "200":
  25565. description: OK
  25566. schema:
  25567. items:
  25568. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25569. type: array
  25570. "500":
  25571. description: Internal Server Error
  25572. schema:
  25573. $ref: '#/definitions/app.Response'
  25574. security:
  25575. - ApiKeyAuth: []
  25576. summary: 查询持仓汇总
  25577. tags:
  25578. - 大连千海金(PCWeb)
  25579. /QhjSys/QueryAgreementChangeLog:
  25580. get:
  25581. parameters:
  25582. - description: 协议ID
  25583. in: query
  25584. name: agreementid
  25585. type: integer
  25586. - description: 协议版本号
  25587. in: query
  25588. name: agreementversion
  25589. type: integer
  25590. - description: 协议类型 - 1:注册 2:登录 3:交易
  25591. in: query
  25592. name: agreementtype
  25593. type: integer
  25594. - description: 协议编号(模糊匹配)
  25595. in: query
  25596. name: agreementno
  25597. type: string
  25598. - description: 协议名称(模糊匹配)
  25599. in: query
  25600. name: agreementname
  25601. type: string
  25602. produces:
  25603. - application/json
  25604. responses:
  25605. "200":
  25606. description: OK
  25607. schema:
  25608. items:
  25609. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25610. type: array
  25611. "500":
  25612. description: Internal Server Error
  25613. schema:
  25614. $ref: '#/definitions/app.Response'
  25615. security:
  25616. - ApiKeyAuth: []
  25617. summary: 查询协议配置变更流水
  25618. tags:
  25619. - 大连千海金(协议和签约信息)
  25620. /QhjSys/QueryAgreementConfig:
  25621. get:
  25622. parameters:
  25623. - description: 协议ID
  25624. in: query
  25625. name: agreementid
  25626. type: integer
  25627. - description: 协议版本号
  25628. in: query
  25629. name: agreementversion
  25630. type: integer
  25631. - description: 协议类型 - 1:注册 2:登录 3:交易
  25632. in: query
  25633. name: agreementtype
  25634. type: integer
  25635. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25636. in: query
  25637. name: isvalid
  25638. type: integer
  25639. - description: 协议编号(模糊匹配)
  25640. in: query
  25641. name: agreementno
  25642. type: string
  25643. - description: 协议名称(模糊匹配)
  25644. in: query
  25645. name: agreementname
  25646. type: string
  25647. produces:
  25648. - application/json
  25649. responses:
  25650. "200":
  25651. description: OK
  25652. schema:
  25653. items:
  25654. $ref: '#/definitions/models.QhjAgreementConfig'
  25655. type: array
  25656. "500":
  25657. description: Internal Server Error
  25658. schema:
  25659. $ref: '#/definitions/app.Response'
  25660. security:
  25661. - ApiKeyAuth: []
  25662. summary: 查询协议配置
  25663. tags:
  25664. - 大连千海金(协议和签约信息)
  25665. /QhjSys/QueryCustomerSignStatus:
  25666. get:
  25667. parameters:
  25668. - description: 客户ID
  25669. in: query
  25670. name: userid
  25671. type: integer
  25672. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25673. in: query
  25674. name: nodetype
  25675. type: integer
  25676. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25677. in: query
  25678. name: goodsid
  25679. type: integer
  25680. - description: 创建交易日(yyyyMMdd)
  25681. in: query
  25682. name: tradedate
  25683. type: string
  25684. - description: 用户名称(模糊匹配)
  25685. in: query
  25686. name: username
  25687. type: string
  25688. produces:
  25689. - application/json
  25690. responses:
  25691. "200":
  25692. description: OK
  25693. schema:
  25694. items:
  25695. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25696. type: array
  25697. "500":
  25698. description: Internal Server Error
  25699. schema:
  25700. $ref: '#/definitions/app.Response'
  25701. security:
  25702. - ApiKeyAuth: []
  25703. summary: 查询客户协议签约状态
  25704. tags:
  25705. - 大连千海金(协议和签约信息)
  25706. /QhjSys/QueryNodeAgreementConfig:
  25707. get:
  25708. parameters:
  25709. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25710. in: query
  25711. name: configid
  25712. type: integer
  25713. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25714. in: query
  25715. name: nodetype
  25716. type: integer
  25717. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25718. in: query
  25719. name: goodsid
  25720. type: integer
  25721. - description: 协议ID
  25722. in: query
  25723. name: agreementid
  25724. type: integer
  25725. - description: 协议类型 - 1:注册 2:登录 3:交易
  25726. in: query
  25727. name: agreementtype
  25728. type: integer
  25729. - description: 协议版本号
  25730. in: query
  25731. name: agreementversion
  25732. type: integer
  25733. - description: 协议编号(模糊匹配)
  25734. in: query
  25735. name: agreementno
  25736. type: string
  25737. - description: 协议名称(模糊匹配)
  25738. in: query
  25739. name: agreementname
  25740. type: string
  25741. produces:
  25742. - application/json
  25743. responses:
  25744. "200":
  25745. description: OK
  25746. schema:
  25747. items:
  25748. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25749. type: array
  25750. "500":
  25751. description: Internal Server Error
  25752. schema:
  25753. $ref: '#/definitions/app.Response'
  25754. security:
  25755. - ApiKeyAuth: []
  25756. summary: 查询协议节点配置
  25757. tags:
  25758. - 大连千海金(协议和签约信息)
  25759. /QhjSys/QueryQhjCustomerSignLog:
  25760. get:
  25761. parameters:
  25762. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25763. in: query
  25764. name: logid
  25765. type: integer
  25766. - description: 客户ID
  25767. in: query
  25768. name: userid
  25769. type: integer
  25770. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25771. in: query
  25772. name: nodetype
  25773. type: integer
  25774. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25775. in: query
  25776. name: goodsid
  25777. type: integer
  25778. - description: 协议ID
  25779. in: query
  25780. name: agreementid
  25781. type: integer
  25782. - description: 用户名称(模糊匹配)
  25783. in: query
  25784. name: username
  25785. type: string
  25786. - description: 协议编号(模糊匹配)
  25787. in: query
  25788. name: agreementno
  25789. type: string
  25790. - description: 协议名称(模糊匹配)
  25791. in: query
  25792. name: agreementname
  25793. type: string
  25794. produces:
  25795. - application/json
  25796. responses:
  25797. "200":
  25798. description: OK
  25799. schema:
  25800. items:
  25801. $ref: '#/definitions/models.QhjCustomerSignLog'
  25802. type: array
  25803. "500":
  25804. description: Internal Server Error
  25805. schema:
  25806. $ref: '#/definitions/app.Response'
  25807. security:
  25808. - ApiKeyAuth: []
  25809. summary: 查询客户协议签约流水
  25810. tags:
  25811. - 大连千海金(协议和签约信息)
  25812. /QhjSys/QueryUserNodeCfgAndStatus:
  25813. get:
  25814. parameters:
  25815. - description: 客户ID
  25816. in: query
  25817. name: userid
  25818. type: integer
  25819. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25820. in: query
  25821. name: configid
  25822. type: integer
  25823. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25824. in: query
  25825. name: nodetype
  25826. type: string
  25827. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25828. in: query
  25829. name: goodsid
  25830. type: integer
  25831. - description: 协议ID
  25832. in: query
  25833. name: agreementid
  25834. type: integer
  25835. - description: 协议类型 - 1:注册 2:登录 3:交易
  25836. in: query
  25837. name: agreementtype
  25838. type: integer
  25839. - description: 协议版本号
  25840. in: query
  25841. name: agreementversion
  25842. type: integer
  25843. - description: 协议编号(模糊匹配)
  25844. in: query
  25845. name: agreementno
  25846. type: string
  25847. - description: 协议名称(模糊匹配)
  25848. in: query
  25849. name: agreementname
  25850. type: string
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. items:
  25858. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25859. type: array
  25860. "500":
  25861. description: Internal Server Error
  25862. schema:
  25863. $ref: '#/definitions/app.Response'
  25864. security:
  25865. - ApiKeyAuth: []
  25866. summary: 查询用户协议节点配置和状态
  25867. tags:
  25868. - 大连千海金(协议和签约信息)
  25869. /Quote/QueryHistoryDatas:
  25870. get:
  25871. parameters:
  25872. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25873. 日线'
  25874. in: query
  25875. name: cycleType
  25876. required: true
  25877. type: integer
  25878. - description: 商品代码
  25879. in: query
  25880. name: goodsCode
  25881. required: true
  25882. type: string
  25883. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25884. in: query
  25885. name: startTime
  25886. type: string
  25887. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25888. in: query
  25889. name: endTime
  25890. type: string
  25891. - description: 条数
  25892. in: query
  25893. name: count
  25894. type: integer
  25895. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25896. in: query
  25897. name: isAsc
  25898. type: boolean
  25899. produces:
  25900. - application/json
  25901. responses:
  25902. "200":
  25903. description: OK
  25904. schema:
  25905. $ref: '#/definitions/quote.HistoryData'
  25906. "500":
  25907. description: Internal Server Error
  25908. schema:
  25909. $ref: '#/definitions/app.Response'
  25910. security:
  25911. - ApiKeyAuth: []
  25912. summary: 查询行情历史数据
  25913. tags:
  25914. - 行情服务
  25915. /Quote/QueryHistoryTikDatas:
  25916. get:
  25917. parameters:
  25918. - description: 商品代码
  25919. in: query
  25920. name: goodsCode
  25921. required: true
  25922. type: string
  25923. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25924. in: query
  25925. name: startTime
  25926. type: string
  25927. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25928. in: query
  25929. name: endTime
  25930. type: string
  25931. - description: 条数
  25932. in: query
  25933. name: count
  25934. type: integer
  25935. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25936. in: query
  25937. name: isAsc
  25938. type: boolean
  25939. produces:
  25940. - application/json
  25941. responses:
  25942. "200":
  25943. description: OK
  25944. schema:
  25945. $ref: '#/definitions/quote.HistoryTikData'
  25946. "500":
  25947. description: Internal Server Error
  25948. schema:
  25949. $ref: '#/definitions/app.Response'
  25950. security:
  25951. - ApiKeyAuth: []
  25952. summary: 查询行情Tik数据
  25953. tags:
  25954. - 行情服务
  25955. /Quote/QueryQuoteDay:
  25956. get:
  25957. parameters:
  25958. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25959. in: query
  25960. name: goodsCodes
  25961. required: true
  25962. type: string
  25963. produces:
  25964. - application/json
  25965. responses:
  25966. "200":
  25967. description: OK
  25968. schema:
  25969. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25970. "500":
  25971. description: Internal Server Error
  25972. schema:
  25973. $ref: '#/definitions/app.Response'
  25974. security:
  25975. - ApiKeyAuth: []
  25976. summary: 获取商品盘面信息
  25977. tags:
  25978. - 行情服务
  25979. /Quote/QueryTSData:
  25980. get:
  25981. parameters:
  25982. - description: 商品代码
  25983. in: query
  25984. name: goodsCode
  25985. required: true
  25986. type: string
  25987. produces:
  25988. - application/json
  25989. responses:
  25990. "200":
  25991. description: OK
  25992. schema:
  25993. $ref: '#/definitions/quote.QueryTSDataRsp'
  25994. "500":
  25995. description: Internal Server Error
  25996. schema:
  25997. $ref: '#/definitions/app.Response'
  25998. security:
  25999. - ApiKeyAuth: []
  26000. summary: 分时图数据查询
  26001. tags:
  26002. - 行情服务
  26003. /SZDZ/QueryConvertConfig:
  26004. get:
  26005. parameters:
  26006. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26007. 6:交易转花生米(不设置)
  26008. in: query
  26009. name: convertType
  26010. type: integer
  26011. - description: 外部商品代码[JD\PD]
  26012. in: query
  26013. name: outerGoodsCode
  26014. type: string
  26015. - description: 内部商品ID列表[交易],格式:1,2,3
  26016. in: query
  26017. name: innerGoodsIDs
  26018. type: string
  26019. produces:
  26020. - application/json
  26021. responses:
  26022. "200":
  26023. description: OK
  26024. schema:
  26025. $ref: '#/definitions/models.Szdz3convertconfig'
  26026. "500":
  26027. description: Internal Server Error
  26028. schema:
  26029. $ref: '#/definitions/app.Response'
  26030. security:
  26031. - ApiKeyAuth: []
  26032. summary: 查询交易系统转换设置
  26033. tags:
  26034. - 定制【尚志大宗】
  26035. /SZDZ/QueryConvertLog:
  26036. get:
  26037. parameters:
  26038. - description: 资金账户 - 格式:1,2,3
  26039. in: query
  26040. name: accountID
  26041. required: true
  26042. type: string
  26043. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26044. in: query
  26045. name: startDate
  26046. type: string
  26047. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26048. in: query
  26049. name: endDate
  26050. type: string
  26051. produces:
  26052. - application/json
  26053. responses:
  26054. "200":
  26055. description: OK
  26056. schema:
  26057. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26058. "500":
  26059. description: Internal Server Error
  26060. schema:
  26061. $ref: '#/definitions/app.Response'
  26062. security:
  26063. - ApiKeyAuth: []
  26064. summary: 交易系统转换流水查询
  26065. tags:
  26066. - 定制【尚志大宗】
  26067. /SZDZ/QueryGoodsPickup:
  26068. get:
  26069. parameters:
  26070. - description: 资金账户 - 格式:1,2,3
  26071. in: query
  26072. name: accountID
  26073. required: true
  26074. type: string
  26075. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26076. in: query
  26077. name: takeOrderStatus
  26078. type: integer
  26079. produces:
  26080. - application/json
  26081. responses:
  26082. "200":
  26083. description: OK
  26084. schema:
  26085. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26086. "500":
  26087. description: Internal Server Error
  26088. schema:
  26089. $ref: '#/definitions/app.Response'
  26090. security:
  26091. - ApiKeyAuth: []
  26092. summary: 商品提货单查询
  26093. tags:
  26094. - 定制【尚志大宗】
  26095. /SZDZ/QueryRecieptOrder:
  26096. get:
  26097. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26098. parameters:
  26099. - description: 页码
  26100. in: query
  26101. name: page
  26102. type: integer
  26103. - description: 每页条数
  26104. in: query
  26105. name: pagesize
  26106. type: integer
  26107. - description: 商品ID
  26108. in: query
  26109. name: goodsID
  26110. required: true
  26111. type: integer
  26112. - description: 所属账户名称
  26113. in: query
  26114. name: accountName
  26115. type: string
  26116. - description: 市场ID
  26117. in: query
  26118. name: marketID
  26119. type: integer
  26120. - description: 方向 - 0:买 1:卖
  26121. in: query
  26122. name: buyorsell
  26123. required: true
  26124. type: integer
  26125. produces:
  26126. - application/json
  26127. responses:
  26128. "200":
  26129. description: OK
  26130. schema:
  26131. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26132. "500":
  26133. description: Internal Server Error
  26134. schema:
  26135. $ref: '#/definitions/app.Response'
  26136. security:
  26137. - ApiKeyAuth: []
  26138. summary: 点选挂牌委托单据查询(摘牌大厅)
  26139. tags:
  26140. - 定制【尚志大宗】
  26141. /SZDZ/QuerySZDZTradePosition:
  26142. get:
  26143. parameters:
  26144. - description: 资金账户
  26145. in: query
  26146. name: accountID
  26147. required: true
  26148. type: integer
  26149. produces:
  26150. - application/json
  26151. responses:
  26152. "200":
  26153. description: OK
  26154. schema:
  26155. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26156. "500":
  26157. description: Internal Server Error
  26158. schema:
  26159. $ref: '#/definitions/app.Response'
  26160. security:
  26161. - ApiKeyAuth: []
  26162. summary: 持仓汇总查询(尚志大宗)
  26163. tags:
  26164. - 定制【尚志大宗】
  26165. /SZDZ/SearchWhite:
  26166. get:
  26167. parameters:
  26168. - description: 用户ID
  26169. in: query
  26170. name: userID
  26171. required: true
  26172. type: integer
  26173. produces:
  26174. - application/json
  26175. responses:
  26176. "200":
  26177. description: OK
  26178. schema:
  26179. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26180. "500":
  26181. description: Internal Server Error
  26182. schema:
  26183. $ref: '#/definitions/app.Response'
  26184. security:
  26185. - ApiKeyAuth: []
  26186. summary: 搜索白名单
  26187. tags:
  26188. - 定制【尚志大宗】
  26189. /Search/SearchGoodses:
  26190. get:
  26191. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26192. parameters:
  26193. - description: 检索内容
  26194. in: query
  26195. name: content
  26196. required: true
  26197. type: string
  26198. - description: 交易模式,格式:1,2,3
  26199. in: query
  26200. name: tradeModes
  26201. type: string
  26202. produces:
  26203. - application/json
  26204. responses:
  26205. "200":
  26206. description: OK
  26207. schema:
  26208. $ref: '#/definitions/models.SearchGoods'
  26209. "500":
  26210. description: Internal Server Error
  26211. schema:
  26212. $ref: '#/definitions/app.Response'
  26213. summary: 检索商品信息
  26214. tags:
  26215. - 检索服务
  26216. /TaAccount/GetTaAccounts:
  26217. get:
  26218. parameters:
  26219. - description: 登录账户
  26220. in: query
  26221. name: loginID
  26222. required: true
  26223. type: integer
  26224. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26225. in: query
  26226. name: taAccountType
  26227. type: integer
  26228. produces:
  26229. - application/json
  26230. responses:
  26231. "200":
  26232. description: OK
  26233. schema:
  26234. $ref: '#/definitions/models.Taaccount'
  26235. "500":
  26236. description: Internal Server Error
  26237. schema:
  26238. $ref: '#/definitions/app.Response'
  26239. security:
  26240. - ApiKeyAuth: []
  26241. summary: 获取资金账户信息
  26242. tags:
  26243. - 资金账户
  26244. /TaAccount/QueryAmountLog:
  26245. get:
  26246. parameters:
  26247. - description: 页码
  26248. in: query
  26249. name: page
  26250. type: integer
  26251. - description: 每页条数
  26252. in: query
  26253. name: pagesize
  26254. type: integer
  26255. - description: 资金账户 - 格式:1,2,3
  26256. in: query
  26257. name: accountID
  26258. required: true
  26259. type: string
  26260. - description: 资金操作类型 - 格式:1,2,3
  26261. in: query
  26262. name: OperateType
  26263. type: string
  26264. produces:
  26265. - application/json
  26266. responses:
  26267. "200":
  26268. description: OK
  26269. schema:
  26270. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26271. "500":
  26272. description: Internal Server Error
  26273. schema:
  26274. $ref: '#/definitions/app.Response'
  26275. security:
  26276. - ApiKeyAuth: []
  26277. summary: 资金流水查询(当前)
  26278. tags:
  26279. - 资金账户
  26280. /TaAccount/QueryHisAmountLog:
  26281. get:
  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: 资金账户 - 格式:1,2,3
  26292. in: query
  26293. name: accountID
  26294. required: true
  26295. type: string
  26296. - description: 资金操作类型 - 格式:1,2,3
  26297. in: query
  26298. name: OperateType
  26299. type: string
  26300. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26301. in: query
  26302. name: startDate
  26303. type: string
  26304. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26305. in: query
  26306. name: endDate
  26307. type: string
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26315. "500":
  26316. description: Internal Server Error
  26317. schema:
  26318. $ref: '#/definitions/app.Response'
  26319. security:
  26320. - ApiKeyAuth: []
  26321. summary: 资金流水查询(历史)
  26322. tags:
  26323. - 资金账户
  26324. /Tjmd/QueryQuoteGoodsList:
  26325. get:
  26326. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26327. parameters:
  26328. - description: 用户类型
  26329. in: query
  26330. name: usertype
  26331. required: true
  26332. type: integer
  26333. - description: 市场id, 格式 1,2,3
  26334. in: query
  26335. name: marketids
  26336. type: string
  26337. - description: 商品组id
  26338. in: query
  26339. name: goodsgroupid
  26340. type: integer
  26341. - description: 商品id
  26342. in: query
  26343. name: goodsid
  26344. type: integer
  26345. produces:
  26346. - application/json
  26347. responses:
  26348. "200":
  26349. description: OK
  26350. schema:
  26351. items:
  26352. $ref: '#/definitions/models.TjmdQuoteGoods'
  26353. type: array
  26354. "500":
  26355. description: Internal Server Error
  26356. schema:
  26357. $ref: '#/definitions/app.Response'
  26358. security:
  26359. - ApiKeyAuth: []
  26360. summary: 查询掉期报价列表
  26361. tags:
  26362. - 天津麦顿
  26363. /Tjmd/QueryTjmdMarketSection:
  26364. get:
  26365. produces:
  26366. - application/json
  26367. responses:
  26368. "200":
  26369. description: OK
  26370. schema:
  26371. items:
  26372. $ref: '#/definitions/models.TjmdMarketSection'
  26373. type: array
  26374. "500":
  26375. description: Internal Server Error
  26376. schema:
  26377. $ref: '#/definitions/app.Response'
  26378. security:
  26379. - ApiKeyAuth: []
  26380. summary: 查询市场板块
  26381. tags:
  26382. - 天津麦顿
  26383. /Tjmd/QueryTjmdTodayAccountMargin:
  26384. get:
  26385. parameters:
  26386. - description: 市场id
  26387. in: query
  26388. name: marketid
  26389. type: string
  26390. - description: 商品id
  26391. in: query
  26392. name: goodsid
  26393. type: string
  26394. - description: 资金账号
  26395. in: query
  26396. name: accountid
  26397. type: string
  26398. produces:
  26399. - application/json
  26400. responses:
  26401. "200":
  26402. description: OK
  26403. schema:
  26404. items:
  26405. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26406. type: array
  26407. "500":
  26408. description: Internal Server Error
  26409. schema:
  26410. $ref: '#/definitions/app.Response'
  26411. security:
  26412. - ApiKeyAuth: []
  26413. summary: 查询今日账户保证金配置
  26414. tags:
  26415. - 天津麦顿
  26416. /Tjmd/QueryTjmdTradeOrderDetail:
  26417. get:
  26418. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26419. parameters:
  26420. - description: 页码
  26421. in: query
  26422. name: page
  26423. type: integer
  26424. - description: 每页条数
  26425. in: query
  26426. name: pagesize
  26427. type: integer
  26428. - description: 用户id
  26429. in: query
  26430. name: userid
  26431. required: true
  26432. type: integer
  26433. - description: 用户类型
  26434. in: query
  26435. name: usertype
  26436. required: true
  26437. type: integer
  26438. - description: 市场id, 格式 1,2,3
  26439. in: query
  26440. name: marketids
  26441. type: string
  26442. - description: 商品id
  26443. in: query
  26444. name: goodsid
  26445. required: true
  26446. type: integer
  26447. - description: 买卖方向 0-买 1-卖
  26448. in: query
  26449. name: buyorsell
  26450. required: true
  26451. type: integer
  26452. produces:
  26453. - application/json
  26454. responses:
  26455. "200":
  26456. description: OK
  26457. schema:
  26458. items:
  26459. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26460. type: array
  26461. "500":
  26462. description: Internal Server Error
  26463. schema:
  26464. $ref: '#/definitions/app.Response'
  26465. security:
  26466. - ApiKeyAuth: []
  26467. summary: 查询掉期买卖大厅
  26468. tags:
  26469. - 天津麦顿
  26470. /Tjmd/QueryTjmdTransferApply:
  26471. get:
  26472. parameters:
  26473. - description: 类型 1-我的申请 2-对方申请
  26474. in: query
  26475. name: applytype
  26476. required: true
  26477. type: integer
  26478. - description: 市场id, 格式 1,2,3
  26479. in: query
  26480. name: marketids
  26481. type: string
  26482. - description: 资金账号, 格式 25000000001,25000000003
  26483. in: query
  26484. name: accountids
  26485. type: string
  26486. - description: 开始交易日(yyyymmdd)
  26487. in: query
  26488. name: begindate
  26489. type: string
  26490. - description: 结束交易日(yyyymmdd)
  26491. in: query
  26492. name: enddate
  26493. type: string
  26494. produces:
  26495. - application/json
  26496. responses:
  26497. "200":
  26498. description: OK
  26499. schema:
  26500. items:
  26501. $ref: '#/definitions/models.TjmdTransferApply'
  26502. type: array
  26503. "500":
  26504. description: Internal Server Error
  26505. schema:
  26506. $ref: '#/definitions/app.Response'
  26507. security:
  26508. - ApiKeyAuth: []
  26509. summary: 查询掉期协议单
  26510. tags:
  26511. - 天津麦顿
  26512. /Trade/QueryRecieptOrder:
  26513. get:
  26514. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26515. parameters:
  26516. - description: 页码
  26517. in: query
  26518. name: page
  26519. type: integer
  26520. - description: 每页条数
  26521. in: query
  26522. name: pagesize
  26523. type: integer
  26524. - description: 商品ID
  26525. in: query
  26526. name: goodsID
  26527. required: true
  26528. type: integer
  26529. - description: 所属账户名称
  26530. in: query
  26531. name: accountName
  26532. type: string
  26533. - description: 市场ID
  26534. in: query
  26535. name: marketID
  26536. type: integer
  26537. - description: 方向 - 0:买 1:卖
  26538. in: query
  26539. name: buyorsell
  26540. required: true
  26541. type: integer
  26542. produces:
  26543. - application/json
  26544. responses:
  26545. "200":
  26546. description: OK
  26547. schema:
  26548. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26549. "500":
  26550. description: Internal Server Error
  26551. schema:
  26552. $ref: '#/definitions/app.Response'
  26553. security:
  26554. - ApiKeyAuth: []
  26555. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26556. tags:
  26557. - 通用交易
  26558. /User/AddMessageBoard:
  26559. post:
  26560. parameters:
  26561. - description: 用户ID
  26562. in: query
  26563. name: userID
  26564. required: true
  26565. type: integer
  26566. - description: 留言信息
  26567. in: query
  26568. name: message
  26569. required: true
  26570. type: string
  26571. - description: 联系电话
  26572. in: query
  26573. name: contactNum
  26574. required: true
  26575. type: string
  26576. produces:
  26577. - application/json
  26578. responses:
  26579. "200":
  26580. description: OK
  26581. schema:
  26582. $ref: '#/definitions/app.Response'
  26583. "500":
  26584. description: Internal Server Error
  26585. schema:
  26586. $ref: '#/definitions/app.Response'
  26587. security:
  26588. - ApiKeyAuth: []
  26589. summary: 添加用户留言板信息
  26590. tags:
  26591. - 用户信息
  26592. /User/AddUserFavoriteGoods:
  26593. post:
  26594. parameters:
  26595. - description: 用户ID
  26596. in: query
  26597. name: userID
  26598. required: true
  26599. type: integer
  26600. - description: 商品ID
  26601. in: query
  26602. name: goodsID
  26603. required: true
  26604. type: integer
  26605. produces:
  26606. - application/json
  26607. responses:
  26608. "200":
  26609. description: OK
  26610. schema:
  26611. $ref: '#/definitions/app.Response'
  26612. "500":
  26613. description: Internal Server Error
  26614. schema:
  26615. $ref: '#/definitions/app.Response'
  26616. security:
  26617. - ApiKeyAuth: []
  26618. summary: 添加用户商品收藏信息
  26619. tags:
  26620. - 用户信息
  26621. /User/GetLoginID:
  26622. get:
  26623. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26624. parameters:
  26625. - description: 登录代码
  26626. in: query
  26627. name: username
  26628. required: true
  26629. type: string
  26630. produces:
  26631. - application/json
  26632. responses:
  26633. "200":
  26634. description: OK
  26635. schema:
  26636. $ref: '#/definitions/app.Response'
  26637. "500":
  26638. description: Internal Server Error
  26639. schema:
  26640. $ref: '#/definitions/app.Response'
  26641. summary: 获取登录ID
  26642. tags:
  26643. - 用户信息
  26644. /User/GetUserAccount:
  26645. get:
  26646. parameters:
  26647. - description: 用户ID
  26648. in: query
  26649. name: userID
  26650. required: true
  26651. type: integer
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. $ref: '#/definitions/models.Useraccount'
  26659. "500":
  26660. description: Internal Server Error
  26661. schema:
  26662. $ref: '#/definitions/app.Response'
  26663. security:
  26664. - ApiKeyAuth: []
  26665. summary: 获取用户账号信息
  26666. tags:
  26667. - 用户信息
  26668. /User/GetUserAuthStatus:
  26669. get:
  26670. parameters:
  26671. - description: 用户ID
  26672. in: query
  26673. name: userID
  26674. required: true
  26675. type: integer
  26676. produces:
  26677. - application/json
  26678. responses:
  26679. "200":
  26680. description: OK
  26681. schema:
  26682. $ref: '#/definitions/app.Response'
  26683. "500":
  26684. description: Internal Server Error
  26685. schema:
  26686. $ref: '#/definitions/app.Response'
  26687. security:
  26688. - ApiKeyAuth: []
  26689. summary: 获取用户实名认证状态
  26690. tags:
  26691. - 用户信息
  26692. /User/LoginQuery:
  26693. get:
  26694. parameters:
  26695. - description: 登录账号
  26696. in: query
  26697. name: loginID
  26698. required: true
  26699. type: integer
  26700. produces:
  26701. - application/json
  26702. responses:
  26703. "200":
  26704. description: OK
  26705. schema:
  26706. $ref: '#/definitions/user.LoginQueryRsp'
  26707. "500":
  26708. description: Internal Server Error
  26709. schema:
  26710. $ref: '#/definitions/app.Response'
  26711. security:
  26712. - ApiKeyAuth: []
  26713. summary: 账户登录后信息查询
  26714. tags:
  26715. - 用户信息
  26716. /User/QueryMessageBoard:
  26717. get:
  26718. parameters:
  26719. - description: 用户ID
  26720. in: query
  26721. name: userID
  26722. required: true
  26723. type: integer
  26724. produces:
  26725. - application/json
  26726. responses:
  26727. "200":
  26728. description: OK
  26729. schema:
  26730. $ref: '#/definitions/models.Messageboard'
  26731. "500":
  26732. description: Internal Server Error
  26733. schema:
  26734. $ref: '#/definitions/app.Response'
  26735. security:
  26736. - ApiKeyAuth: []
  26737. summary: 获取用户留言板信息
  26738. tags:
  26739. - 用户信息
  26740. /User/QueryUserFavoriteGoodses:
  26741. get:
  26742. parameters:
  26743. - description: 用户ID
  26744. in: query
  26745. name: userID
  26746. required: true
  26747. type: integer
  26748. produces:
  26749. - application/json
  26750. responses:
  26751. "200":
  26752. description: OK
  26753. schema:
  26754. $ref: '#/definitions/models.Userfavoritegoods'
  26755. "500":
  26756. description: Internal Server Error
  26757. schema:
  26758. $ref: '#/definitions/app.Response'
  26759. security:
  26760. - ApiKeyAuth: []
  26761. summary: 获取用户商品收藏信息
  26762. tags:
  26763. - 用户信息
  26764. /User/QueryUserInfo:
  26765. get:
  26766. parameters:
  26767. - description: 用户ID
  26768. in: query
  26769. name: userID
  26770. required: true
  26771. type: integer
  26772. - description: 是否解密
  26773. in: query
  26774. name: isDecrypt
  26775. type: boolean
  26776. produces:
  26777. - application/json
  26778. responses:
  26779. "200":
  26780. description: OK
  26781. schema:
  26782. $ref: '#/definitions/models.Userinfo'
  26783. "500":
  26784. description: Internal Server Error
  26785. schema:
  26786. $ref: '#/definitions/app.Response'
  26787. security:
  26788. - ApiKeyAuth: []
  26789. summary: 获取用户信息
  26790. tags:
  26791. - 用户信息
  26792. /User/QueryUserReferNum:
  26793. get:
  26794. parameters:
  26795. - description: 用户ID
  26796. in: query
  26797. name: userID
  26798. required: true
  26799. type: integer
  26800. produces:
  26801. - application/json
  26802. responses:
  26803. "200":
  26804. description: OK
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. "500":
  26808. description: Internal Server Error
  26809. schema:
  26810. $ref: '#/definitions/app.Response'
  26811. summary: 获取用户邀请码
  26812. tags:
  26813. - 用户信息
  26814. /User/RemoveUserFavoriteGoods:
  26815. post:
  26816. parameters:
  26817. - description: 用户ID
  26818. in: query
  26819. name: userID
  26820. required: true
  26821. type: integer
  26822. - description: 商品ID
  26823. in: query
  26824. name: goodsID
  26825. required: true
  26826. type: integer
  26827. produces:
  26828. - application/json
  26829. responses:
  26830. "200":
  26831. description: OK
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. "500":
  26835. description: Internal Server Error
  26836. schema:
  26837. $ref: '#/definitions/app.Response'
  26838. security:
  26839. - ApiKeyAuth: []
  26840. summary: 移除用户商品收藏信息
  26841. tags:
  26842. - 用户信息
  26843. /User/UpdateUserAccountStatus:
  26844. post:
  26845. parameters:
  26846. - description: 用户ID
  26847. in: query
  26848. name: userID
  26849. required: true
  26850. type: integer
  26851. - description: 账户状态 - 4:正常 6:注销(停用)
  26852. in: query
  26853. name: accountStatus
  26854. required: true
  26855. type: integer
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. $ref: '#/definitions/app.Response'
  26863. "500":
  26864. description: Internal Server Error
  26865. schema:
  26866. $ref: '#/definitions/app.Response'
  26867. security:
  26868. - ApiKeyAuth: []
  26869. summary: 更新用户状态
  26870. tags:
  26871. - 用户信息
  26872. /WRTrade/GetAllDeliveryGoods:
  26873. get:
  26874. produces:
  26875. - application/json
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. "500":
  26883. description: Internal Server Error
  26884. schema:
  26885. $ref: '#/definitions/app.Response'
  26886. security:
  26887. - ApiKeyAuth: []
  26888. - ApiKeyAuth: []
  26889. summary: 获取带仓单分类的种类信息
  26890. tags:
  26891. - 仓单贸易
  26892. - 仓单贸易
  26893. /WrTrade2/QueryDeliveryGoodsSection:
  26894. get:
  26895. produces:
  26896. - application/json
  26897. responses:
  26898. "200":
  26899. description: OK
  26900. schema:
  26901. items:
  26902. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26903. type: array
  26904. "500":
  26905. description: Internal Server Error
  26906. schema:
  26907. $ref: '#/definitions/app.Response'
  26908. security:
  26909. - ApiKeyAuth: []
  26910. summary: 查询板块(分类)
  26911. tags:
  26912. - 仓单贸易v2
  26913. /WrTrade2/QueryFaProductDetail:
  26914. get:
  26915. description: 页面 买卖大厅 -> 选择融资方案
  26916. parameters:
  26917. - description: 仓单要素id
  26918. in: query
  26919. name: wrfactortypeid
  26920. required: true
  26921. type: integer
  26922. produces:
  26923. - application/json
  26924. responses:
  26925. "200":
  26926. description: OK
  26927. schema:
  26928. items:
  26929. $ref: '#/definitions/models.WrFAProductDetail'
  26930. type: array
  26931. "500":
  26932. description: Internal Server Error
  26933. schema:
  26934. $ref: '#/definitions/app.Response'
  26935. security:
  26936. - ApiKeyAuth: []
  26937. summary: 查询融资产品列表
  26938. tags:
  26939. - 仓单贸易v2
  26940. /WrTrade2/QueryFilterItem:
  26941. get:
  26942. parameters:
  26943. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26944. in: query
  26945. name: itype
  26946. required: true
  26947. type: string
  26948. produces:
  26949. - application/json
  26950. responses:
  26951. "200":
  26952. description: OK
  26953. schema:
  26954. items:
  26955. $ref: '#/definitions/models.WrFilterItem'
  26956. type: array
  26957. "500":
  26958. description: Internal Server Error
  26959. schema:
  26960. $ref: '#/definitions/app.Response'
  26961. security:
  26962. - ApiKeyAuth: []
  26963. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26964. tags:
  26965. - 仓单贸易v2
  26966. /WrTrade2/QueryFtDeliveryGoods:
  26967. get:
  26968. produces:
  26969. - application/json
  26970. responses:
  26971. "200":
  26972. description: OK
  26973. schema:
  26974. items:
  26975. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26976. type: array
  26977. "500":
  26978. description: Internal Server Error
  26979. schema:
  26980. $ref: '#/definitions/app.Response'
  26981. security:
  26982. - ApiKeyAuth: []
  26983. summary: 查询品种品类筛选框列表
  26984. tags:
  26985. - 仓单贸易v2
  26986. /WrTrade2/QueryHoldLB:
  26987. get:
  26988. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26989. parameters:
  26990. - description: 资金账号
  26991. in: query
  26992. name: accountid
  26993. required: true
  26994. type: integer
  26995. - description: 仓库id
  26996. in: query
  26997. name: warehouseid
  26998. type: integer
  26999. - description: 品种id
  27000. in: query
  27001. name: deliverygoodsid
  27002. type: integer
  27003. - description: 品类id
  27004. in: query
  27005. name: wrstandardid
  27006. type: integer
  27007. - description: 仓单要素id
  27008. in: query
  27009. name: wrfactortypeid
  27010. type: integer
  27011. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27012. in: query
  27013. name: dgitemname
  27014. type: string
  27015. produces:
  27016. - application/json
  27017. responses:
  27018. "200":
  27019. description: OK
  27020. schema:
  27021. items:
  27022. $ref: '#/definitions/models.WrHoldLB'
  27023. type: array
  27024. "500":
  27025. description: Internal Server Error
  27026. schema:
  27027. $ref: '#/definitions/app.Response'
  27028. security:
  27029. - ApiKeyAuth: []
  27030. summary: 查询仓单持有记录
  27031. tags:
  27032. - 仓单贸易v2
  27033. /WrTrade2/QueryOrderQuote:
  27034. get:
  27035. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27036. 唯一确定1条记录
  27037. parameters:
  27038. - description: 页码
  27039. in: query
  27040. name: page
  27041. type: integer
  27042. - description: 每页条数
  27043. in: query
  27044. name: pagesize
  27045. type: integer
  27046. - description: 仓单贸易市场id
  27047. in: query
  27048. name: marketid
  27049. type: integer
  27050. - description: 价格方式 - 1:固定价 2-浮动价
  27051. in: query
  27052. name: wrpricetype
  27053. required: true
  27054. type: integer
  27055. - description: 0:仓单预售 1:仓单贸易
  27056. in: query
  27057. name: haswr
  27058. type: integer
  27059. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27060. in: query
  27061. name: dgitemname
  27062. type: string
  27063. - description: 仓库id(筛选条件)
  27064. in: query
  27065. name: warehouseid
  27066. type: integer
  27067. - description: 品种id
  27068. in: query
  27069. name: deliverygoodsid
  27070. type: integer
  27071. - description: 品类id
  27072. in: query
  27073. name: wrstandardid
  27074. type: integer
  27075. - description: 仓单要素id
  27076. in: query
  27077. name: wrfactortypeid
  27078. type: integer
  27079. - description: 交收月(yyyy-mm) 仓单预售填写
  27080. in: query
  27081. name: deliverymonth
  27082. type: string
  27083. produces:
  27084. - application/json
  27085. responses:
  27086. "200":
  27087. description: OK
  27088. schema:
  27089. items:
  27090. $ref: '#/definitions/models.WrOrderQuote'
  27091. type: array
  27092. "500":
  27093. description: Internal Server Error
  27094. schema:
  27095. $ref: '#/definitions/app.Response'
  27096. security:
  27097. - ApiKeyAuth: []
  27098. summary: 查询大厅行情列表
  27099. tags:
  27100. - 仓单贸易v2
  27101. /WrTrade2/QueryOrderQuoteDetail:
  27102. get:
  27103. parameters:
  27104. - description: 页码
  27105. in: query
  27106. name: page
  27107. type: integer
  27108. - description: 每页条数
  27109. in: query
  27110. name: pagesize
  27111. type: integer
  27112. - description: 仓单贸易市场id
  27113. in: query
  27114. name: marketid
  27115. type: integer
  27116. - description: 价格方式 - 1:固定价 2-浮动价
  27117. in: query
  27118. name: wrpricetype
  27119. required: true
  27120. type: integer
  27121. - description: 0:仓单预售 1:仓单贸易
  27122. in: query
  27123. name: haswr
  27124. type: integer
  27125. - description: 仓单要素id
  27126. in: query
  27127. name: wrfactortypeid
  27128. required: true
  27129. type: integer
  27130. - description: 期货商品id(浮动价方式时填)
  27131. in: query
  27132. name: goodsid
  27133. type: integer
  27134. - description: 买卖方向 0-买 1-卖
  27135. in: query
  27136. name: buyorsell
  27137. required: true
  27138. type: integer
  27139. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27140. in: query
  27141. name: deliverymonth
  27142. type: string
  27143. produces:
  27144. - application/json
  27145. responses:
  27146. "200":
  27147. description: OK
  27148. schema:
  27149. items:
  27150. $ref: '#/definitions/models.WrOrderQuoteDetail'
  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/QueryOrderQuoteMyq:
  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. - description: 用户id
  27173. in: query
  27174. name: userid
  27175. required: true
  27176. type: integer
  27177. - description: 仓单贸易市场id
  27178. in: query
  27179. name: marketid
  27180. type: integer
  27181. - description: 0:仓单预售 1:仓单贸易
  27182. in: query
  27183. name: haswr
  27184. type: integer
  27185. - description: 买卖方向 0-买 1-卖
  27186. in: query
  27187. name: buyorsell
  27188. required: true
  27189. type: integer
  27190. - description: 品种id
  27191. in: query
  27192. name: deliverygoodsid
  27193. type: integer
  27194. - description: 品类id
  27195. in: query
  27196. name: wrstandardid
  27197. type: integer
  27198. - description: 交收月(yyyy-mm) 仓单预售填写
  27199. in: query
  27200. name: deliverymonth
  27201. type: string
  27202. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27203. in: query
  27204. name: dgitemname
  27205. type: string
  27206. produces:
  27207. - application/json
  27208. responses:
  27209. "200":
  27210. description: OK
  27211. schema:
  27212. items:
  27213. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27214. type: array
  27215. "500":
  27216. description: Internal Server Error
  27217. schema:
  27218. $ref: '#/definitions/app.Response'
  27219. security:
  27220. - ApiKeyAuth: []
  27221. summary: 查询贸易圈挂牌大厅
  27222. tags:
  27223. - 仓单贸易v2
  27224. /WrTrade2/QueryPerformancePlan:
  27225. get:
  27226. parameters:
  27227. - description: 用户id
  27228. in: query
  27229. name: userid
  27230. required: true
  27231. type: integer
  27232. - description: 买卖方向 0-买 1-卖
  27233. in: query
  27234. name: buyorsell
  27235. required: true
  27236. type: integer
  27237. produces:
  27238. - application/json
  27239. responses:
  27240. "200":
  27241. description: OK
  27242. schema:
  27243. items:
  27244. $ref: '#/definitions/models.WrPerformancePlan'
  27245. type: array
  27246. "500":
  27247. description: Internal Server Error
  27248. schema:
  27249. $ref: '#/definitions/app.Response'
  27250. security:
  27251. - ApiKeyAuth: []
  27252. summary: 查询履约信息
  27253. tags:
  27254. - 仓单贸易v2
  27255. /WrTrade2/QueryPermancePlanTmp:
  27256. get:
  27257. description: |-
  27258. 返回指定用户的模板和公共模板(用户id为空)
  27259. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27260. parameters:
  27261. - description: 用户id
  27262. in: query
  27263. name: userid
  27264. type: integer
  27265. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27266. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27267. in: query
  27268. name: tmptype
  27269. type: string
  27270. - description: 是否包含公共模板(用户id为空的) 1-包含
  27271. in: query
  27272. name: includepub
  27273. type: integer
  27274. - description: 市场id(天津麦顿指定此参数,其它不用)
  27275. in: query
  27276. name: marketid
  27277. type: integer
  27278. produces:
  27279. - application/json
  27280. responses:
  27281. "200":
  27282. description: OK
  27283. schema:
  27284. items:
  27285. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27286. type: array
  27287. "500":
  27288. description: Internal Server Error
  27289. schema:
  27290. $ref: '#/definitions/app.Response'
  27291. security:
  27292. - ApiKeyAuth: []
  27293. summary: 查询履约模板
  27294. tags:
  27295. - 仓单贸易v2
  27296. /WrTrade2/QuerySiteColumnDetail:
  27297. get:
  27298. parameters:
  27299. - description: 页码
  27300. in: query
  27301. name: page
  27302. type: integer
  27303. - description: 每页条数
  27304. in: query
  27305. name: pagesize
  27306. type: integer
  27307. produces:
  27308. - application/json
  27309. responses:
  27310. "200":
  27311. description: OK
  27312. schema:
  27313. items:
  27314. $ref: '#/definitions/models.WrSiteColumnDetail'
  27315. type: array
  27316. "500":
  27317. description: Internal Server Error
  27318. schema:
  27319. $ref: '#/definitions/app.Response'
  27320. security:
  27321. - ApiKeyAuth: []
  27322. summary: 查询资讯
  27323. tags:
  27324. - 仓单贸易v2
  27325. /WrTrade2/QuerySpotGroupTradeSum:
  27326. get:
  27327. produces:
  27328. - application/json
  27329. responses:
  27330. "200":
  27331. description: OK
  27332. schema:
  27333. items:
  27334. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27335. type: array
  27336. "500":
  27337. description: Internal Server Error
  27338. schema:
  27339. $ref: '#/definitions/app.Response'
  27340. security:
  27341. - ApiKeyAuth: []
  27342. summary: 查询指数
  27343. tags:
  27344. - 仓单贸易v2
  27345. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27346. get:
  27347. description: 查询的结果将会按日期 从小到大 排序
  27348. parameters:
  27349. - description: 现货商品id
  27350. in: query
  27351. name: deliverygoodsid
  27352. required: true
  27353. type: integer
  27354. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27355. in: query
  27356. name: lastnum
  27357. type: integer
  27358. produces:
  27359. - application/json
  27360. responses:
  27361. "200":
  27362. description: OK
  27363. schema:
  27364. items:
  27365. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27366. type: array
  27367. "500":
  27368. description: Internal Server Error
  27369. schema:
  27370. $ref: '#/definitions/app.Response'
  27371. security:
  27372. - ApiKeyAuth: []
  27373. summary: 查询指数详细(价格走势图)
  27374. tags:
  27375. - 仓单贸易v2
  27376. /WrTrade2/QueryWrAverageTradePrice:
  27377. get:
  27378. parameters:
  27379. - description: 页码
  27380. in: query
  27381. name: page
  27382. type: integer
  27383. - description: 每页条数
  27384. in: query
  27385. name: pagesize
  27386. type: integer
  27387. - description: 0:仓单预售 1:仓单贸易
  27388. in: query
  27389. name: haswr
  27390. required: true
  27391. type: integer
  27392. - description: 仓单要素id
  27393. in: query
  27394. name: wrfactortypeid
  27395. required: true
  27396. type: integer
  27397. produces:
  27398. - application/json
  27399. responses:
  27400. "200":
  27401. description: OK
  27402. schema:
  27403. items:
  27404. $ref: '#/definitions/models.WrAverageTradePrice'
  27405. type: array
  27406. "500":
  27407. description: Internal Server Error
  27408. schema:
  27409. $ref: '#/definitions/app.Response'
  27410. security:
  27411. - ApiKeyAuth: []
  27412. summary: 查询成交价(历史走势)
  27413. tags:
  27414. - 仓单贸易v2
  27415. /WrTrade2/QueryWrBsGoodsInfo:
  27416. get:
  27417. description: 合约交易/买卖大厅/详情
  27418. parameters:
  27419. - description: 商品id
  27420. in: query
  27421. name: goodsid
  27422. required: true
  27423. type: integer
  27424. produces:
  27425. - application/json
  27426. responses:
  27427. "200":
  27428. description: OK
  27429. schema:
  27430. items:
  27431. $ref: '#/definitions/models.WrBsGoodsInfo'
  27432. type: array
  27433. "500":
  27434. description: Internal Server Error
  27435. schema:
  27436. $ref: '#/definitions/app.Response'
  27437. security:
  27438. - ApiKeyAuth: []
  27439. summary: 查询合约交易买卖大厅详情
  27440. tags:
  27441. - 仓单贸易v2
  27442. /WrTrade2/QueryWrBuybackDetail:
  27443. get:
  27444. parameters:
  27445. - description: 融资合同id
  27446. in: query
  27447. name: scfcontractid
  27448. type: integer
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. items:
  27456. $ref: '#/definitions/models.WrBuybackDetail'
  27457. type: array
  27458. "500":
  27459. description: Internal Server Error
  27460. schema:
  27461. $ref: '#/definitions/app.Response'
  27462. security:
  27463. - ApiKeyAuth: []
  27464. summary: 查询仓单回购明细
  27465. tags:
  27466. - 仓单贸易v2
  27467. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27468. get:
  27469. parameters:
  27470. - description: 资金账号
  27471. in: query
  27472. name: accountid
  27473. required: true
  27474. type: integer
  27475. - description: 商品id
  27476. in: query
  27477. name: goodsid
  27478. required: true
  27479. type: integer
  27480. produces:
  27481. - application/json
  27482. responses:
  27483. "200":
  27484. description: OK
  27485. schema:
  27486. items:
  27487. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27488. type: array
  27489. "500":
  27490. description: Internal Server Error
  27491. schema:
  27492. $ref: '#/definitions/app.Response'
  27493. security:
  27494. - ApiKeyAuth: []
  27495. summary: 查询合约交收可点选仓单
  27496. tags:
  27497. - 仓单贸易v2
  27498. /WrTrade2/QueryWrDeliveryDetail:
  27499. get:
  27500. parameters:
  27501. - description: 用户id
  27502. in: query
  27503. name: userid
  27504. required: true
  27505. type: integer
  27506. - description: 资金账号id
  27507. in: query
  27508. name: accountid
  27509. type: integer
  27510. - description: 开始交易日(yyyymmdd)
  27511. in: query
  27512. name: begindate
  27513. type: string
  27514. - description: 结束交易日(yyyymmdd)
  27515. in: query
  27516. name: enddate
  27517. type: string
  27518. produces:
  27519. - application/json
  27520. responses:
  27521. "200":
  27522. description: OK
  27523. schema:
  27524. items:
  27525. $ref: '#/definitions/models.WrDeliveryDetail'
  27526. type: array
  27527. "500":
  27528. description: Internal Server Error
  27529. schema:
  27530. $ref: '#/definitions/app.Response'
  27531. security:
  27532. - ApiKeyAuth: []
  27533. summary: 查询交收
  27534. tags:
  27535. - 仓单贸易v2
  27536. /WrTrade2/QueryWrFactorTypeInfo:
  27537. get:
  27538. parameters:
  27539. - description: 仓单要素id
  27540. in: query
  27541. name: wrfactortypeid
  27542. required: true
  27543. type: integer
  27544. produces:
  27545. - application/json
  27546. responses:
  27547. "200":
  27548. description: OK
  27549. schema:
  27550. items:
  27551. $ref: '#/definitions/models.WrFactorTypeInfo'
  27552. type: array
  27553. "500":
  27554. description: Internal Server Error
  27555. schema:
  27556. $ref: '#/definitions/app.Response'
  27557. security:
  27558. - ApiKeyAuth: []
  27559. summary: 查询仓单要素详细信息
  27560. tags:
  27561. - 仓单贸易v2
  27562. /WrTrade2/QueryWrFactorTypeInfoEx:
  27563. get:
  27564. parameters:
  27565. - description: 仓单要素id
  27566. in: query
  27567. name: wrfactortypeid
  27568. required: true
  27569. type: integer
  27570. produces:
  27571. - application/json
  27572. responses:
  27573. "200":
  27574. description: OK
  27575. schema:
  27576. items:
  27577. $ref: '#/definitions/models.WrTypeItem'
  27578. type: array
  27579. "500":
  27580. description: Internal Server Error
  27581. schema:
  27582. $ref: '#/definitions/app.Response'
  27583. security:
  27584. - ApiKeyAuth: []
  27585. summary: 查询仓单要素详细信息列表项
  27586. tags:
  27587. - 仓单贸易v2
  27588. /WrTrade2/QueryWrFinanceBuyApply:
  27589. get:
  27590. description: 页面 融资信息+ / 申请单
  27591. parameters:
  27592. - description: 用户id
  27593. in: query
  27594. name: userid
  27595. required: true
  27596. type: integer
  27597. produces:
  27598. - application/json
  27599. responses:
  27600. "200":
  27601. description: OK
  27602. schema:
  27603. items:
  27604. $ref: '#/definitions/models.WrFinanceBuyApply'
  27605. type: array
  27606. "500":
  27607. description: Internal Server Error
  27608. schema:
  27609. $ref: '#/definitions/app.Response'
  27610. security:
  27611. - ApiKeyAuth: []
  27612. summary: 查询融资购买申请
  27613. tags:
  27614. - 仓单贸易v2
  27615. /WrTrade2/QueryWrFriendApply:
  27616. get:
  27617. parameters:
  27618. - description: 用户id
  27619. in: query
  27620. name: userid
  27621. required: true
  27622. type: integer
  27623. produces:
  27624. - application/json
  27625. responses:
  27626. "200":
  27627. description: OK
  27628. schema:
  27629. items:
  27630. $ref: '#/definitions/models.WrFriendApply'
  27631. type: array
  27632. "500":
  27633. description: Internal Server Error
  27634. schema:
  27635. $ref: '#/definitions/app.Response'
  27636. security:
  27637. - ApiKeyAuth: []
  27638. summary: 查询好友申请记录
  27639. tags:
  27640. - 仓单贸易v2
  27641. /WrTrade2/QueryWrGoodsInfo:
  27642. get:
  27643. parameters:
  27644. - description: 仓单贸易市场id
  27645. in: query
  27646. name: marketid
  27647. type: integer
  27648. - description: 0:仓单预售 1:仓单贸易
  27649. in: query
  27650. name: haswr
  27651. required: true
  27652. type: integer
  27653. - description: 仓单要素id
  27654. in: query
  27655. name: wrfactortypeid
  27656. required: true
  27657. type: integer
  27658. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27659. in: query
  27660. name: tmplateid
  27661. type: integer
  27662. produces:
  27663. - application/json
  27664. responses:
  27665. "200":
  27666. description: OK
  27667. schema:
  27668. items:
  27669. $ref: '#/definitions/models.WrGoodsInfo'
  27670. type: array
  27671. "500":
  27672. description: Internal Server Error
  27673. schema:
  27674. $ref: '#/definitions/app.Response'
  27675. security:
  27676. - ApiKeyAuth: []
  27677. summary: 查询仓单商品信息
  27678. tags:
  27679. - 仓单贸易v2
  27680. /WrTrade2/QueryWrMarketTradeConfig:
  27681. get:
  27682. parameters:
  27683. - description: 市场id
  27684. in: query
  27685. name: marketid
  27686. type: integer
  27687. produces:
  27688. - application/json
  27689. responses:
  27690. "200":
  27691. description: OK
  27692. schema:
  27693. items:
  27694. $ref: '#/definitions/models.WrMarketTradeConfig'
  27695. type: array
  27696. "500":
  27697. description: Internal Server Error
  27698. schema:
  27699. $ref: '#/definitions/app.Response'
  27700. security:
  27701. - ApiKeyAuth: []
  27702. summary: 查询市场交易参数配置
  27703. tags:
  27704. - 仓单贸易v2
  27705. /WrTrade2/QueryWrOrderDetail:
  27706. get:
  27707. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27708. parameters:
  27709. - description: 页码
  27710. in: query
  27711. name: page
  27712. type: integer
  27713. - description: 每页条数
  27714. in: query
  27715. name: pagesize
  27716. type: integer
  27717. - description: 用户id
  27718. in: query
  27719. name: userid
  27720. required: true
  27721. type: integer
  27722. - description: 仓单贸易市场id
  27723. in: query
  27724. name: marketid
  27725. type: integer
  27726. - description: 0:仓单预售 1:仓单贸易
  27727. in: query
  27728. name: haswr
  27729. required: true
  27730. type: integer
  27731. - description: 开始交易日(yyyymmdd)
  27732. in: query
  27733. name: begindate
  27734. type: string
  27735. - description: 结束交易日(yyyymmdd)
  27736. in: query
  27737. name: enddate
  27738. type: string
  27739. produces:
  27740. - application/json
  27741. responses:
  27742. "200":
  27743. description: OK
  27744. schema:
  27745. items:
  27746. $ref: '#/definitions/models.WrOrderDetail'
  27747. type: array
  27748. "500":
  27749. description: Internal Server Error
  27750. schema:
  27751. $ref: '#/definitions/app.Response'
  27752. security:
  27753. - ApiKeyAuth: []
  27754. summary: 查询仓单委托单(挂单)
  27755. tags:
  27756. - 仓单贸易v2
  27757. /WrTrade2/QueryWrOutInApply:
  27758. get:
  27759. parameters:
  27760. - description: 用户id
  27761. in: query
  27762. name: userid
  27763. required: true
  27764. type: integer
  27765. - description: 开始交易日(yyyymmdd)
  27766. in: query
  27767. name: begindate
  27768. type: string
  27769. - description: 结束交易日(yyyymmdd)
  27770. in: query
  27771. name: enddate
  27772. type: string
  27773. produces:
  27774. - application/json
  27775. responses:
  27776. "200":
  27777. description: OK
  27778. schema:
  27779. items:
  27780. $ref: '#/definitions/models.WrOutInApply'
  27781. type: array
  27782. "500":
  27783. description: Internal Server Error
  27784. schema:
  27785. $ref: '#/definitions/app.Response'
  27786. security:
  27787. - ApiKeyAuth: []
  27788. summary: 查询提货申请
  27789. tags:
  27790. - 仓单贸易v2
  27791. /WrTrade2/QueryWrPerformancePlanStep:
  27792. get:
  27793. parameters:
  27794. - description: 履约计划id(performanceplanid)
  27795. in: query
  27796. name: planid
  27797. required: true
  27798. type: integer
  27799. - description: 当前步骤id
  27800. in: query
  27801. name: curstepid
  27802. type: integer
  27803. produces:
  27804. - application/json
  27805. responses:
  27806. "200":
  27807. description: OK
  27808. schema:
  27809. items:
  27810. $ref: '#/definitions/models.WrPerformancePlanStep'
  27811. type: array
  27812. "500":
  27813. description: Internal Server Error
  27814. schema:
  27815. $ref: '#/definitions/app.Response'
  27816. security:
  27817. - ApiKeyAuth: []
  27818. summary: 查询履约信息详情
  27819. tags:
  27820. - 仓单贸易v2
  27821. /WrTrade2/QueryWrPerformanceStepType:
  27822. get:
  27823. produces:
  27824. - application/json
  27825. responses:
  27826. "200":
  27827. description: OK
  27828. schema:
  27829. items:
  27830. $ref: '#/definitions/models.WrPerformanceStepType'
  27831. type: array
  27832. "500":
  27833. description: Internal Server Error
  27834. schema:
  27835. $ref: '#/definitions/app.Response'
  27836. security:
  27837. - ApiKeyAuth: []
  27838. summary: 查询履约步骤枚举
  27839. tags:
  27840. - 仓单贸易v2
  27841. /WrTrade2/QueryWrPosition:
  27842. get:
  27843. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27844. parameters:
  27845. - description: 用户id
  27846. in: query
  27847. name: userid
  27848. required: true
  27849. type: integer
  27850. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27851. in: query
  27852. name: querytype
  27853. required: true
  27854. type: integer
  27855. - description: 0:仓单预售 1:仓单贸易
  27856. in: query
  27857. name: haswr
  27858. required: true
  27859. type: integer
  27860. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27861. in: query
  27862. name: dgitemname
  27863. type: string
  27864. - description: 仓库id(筛选条件)
  27865. in: query
  27866. name: warehouseid
  27867. type: integer
  27868. - description: 品种id
  27869. in: query
  27870. name: deliverygoodsid
  27871. type: integer
  27872. - description: 品类id
  27873. in: query
  27874. name: wrstandardid
  27875. type: integer
  27876. produces:
  27877. - application/json
  27878. responses:
  27879. "200":
  27880. description: OK
  27881. schema:
  27882. items:
  27883. $ref: '#/definitions/models.WrPosition'
  27884. type: array
  27885. "500":
  27886. description: Internal Server Error
  27887. schema:
  27888. $ref: '#/definitions/app.Response'
  27889. security:
  27890. - ApiKeyAuth: []
  27891. summary: 查询现货(预售)仓单持仓
  27892. tags:
  27893. - 仓单贸易v2
  27894. /WrTrade2/QueryWrScfContract:
  27895. get:
  27896. parameters:
  27897. - description: 用户id
  27898. in: query
  27899. name: userid
  27900. required: true
  27901. type: integer
  27902. - description: 融资合同id
  27903. in: query
  27904. name: scfcontractid
  27905. type: integer
  27906. produces:
  27907. - application/json
  27908. responses:
  27909. "200":
  27910. description: OK
  27911. schema:
  27912. items:
  27913. $ref: '#/definitions/models.WrScfContract'
  27914. type: array
  27915. "500":
  27916. description: Internal Server Error
  27917. schema:
  27918. $ref: '#/definitions/app.Response'
  27919. security:
  27920. - ApiKeyAuth: []
  27921. summary: 查询仓单贸易融资合同
  27922. tags:
  27923. - 仓单贸易v2
  27924. /WrTrade2/QueryWrScfContractInterest:
  27925. get:
  27926. parameters:
  27927. - description: 融资合同id
  27928. in: query
  27929. name: scfcontractid
  27930. type: integer
  27931. produces:
  27932. - application/json
  27933. responses:
  27934. "200":
  27935. description: OK
  27936. schema:
  27937. items:
  27938. $ref: '#/definitions/models.WrScfContractInterest'
  27939. type: array
  27940. "500":
  27941. description: Internal Server Error
  27942. schema:
  27943. $ref: '#/definitions/app.Response'
  27944. security:
  27945. - ApiKeyAuth: []
  27946. summary: 查询融资合同费用明细
  27947. tags:
  27948. - 仓单贸易v2
  27949. /WrTrade2/QueryWrSpecialMatchOrder:
  27950. get:
  27951. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27952. parameters:
  27953. - description: 页码
  27954. in: query
  27955. name: page
  27956. type: integer
  27957. - description: 每页条数
  27958. in: query
  27959. name: pagesize
  27960. type: integer
  27961. - description: 用户id
  27962. in: query
  27963. name: userid
  27964. required: true
  27965. type: integer
  27966. - description: 仓单贸易市场id
  27967. in: query
  27968. name: marketid
  27969. type: integer
  27970. - description: 0:仓单预售 1:仓单贸易
  27971. in: query
  27972. name: haswr
  27973. required: true
  27974. type: integer
  27975. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27976. in: query
  27977. name: isspecified
  27978. type: integer
  27979. produces:
  27980. - application/json
  27981. responses:
  27982. "200":
  27983. description: OK
  27984. schema:
  27985. items:
  27986. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27987. type: array
  27988. "500":
  27989. description: Internal Server Error
  27990. schema:
  27991. $ref: '#/definitions/app.Response'
  27992. security:
  27993. - ApiKeyAuth: []
  27994. summary: 查询指定成交
  27995. tags:
  27996. - 仓单贸易v2
  27997. /WrTrade2/QueryWrStandardFactoryItem:
  27998. get:
  27999. parameters:
  28000. - description: 品类id
  28001. in: query
  28002. name: wrstandardid
  28003. required: true
  28004. type: integer
  28005. produces:
  28006. - application/json
  28007. responses:
  28008. "200":
  28009. description: OK
  28010. schema:
  28011. items:
  28012. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28013. type: array
  28014. "500":
  28015. description: Internal Server Error
  28016. schema:
  28017. $ref: '#/definitions/app.Response'
  28018. security:
  28019. - ApiKeyAuth: []
  28020. summary: 查询品类要素定义项
  28021. tags:
  28022. - 仓单贸易v2
  28023. /WrTrade2/QueryWrTradeBargainApply:
  28024. get:
  28025. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28026. 议价->对方议价 填写matchuserid=登录用户id
  28027. parameters:
  28028. - description: 议价人id(摘牌方)
  28029. in: query
  28030. name: userid
  28031. type: integer
  28032. - description: 挂牌方id(查对方议价时,填写此项)
  28033. in: query
  28034. name: matchuserid
  28035. type: integer
  28036. - description: 关联委托单id
  28037. in: query
  28038. name: wrtradeorderid
  28039. type: integer
  28040. - description: 0:仓单预售 1:仓单贸易
  28041. in: query
  28042. name: haswr
  28043. required: true
  28044. type: integer
  28045. - description: 开始交易日(yyyymmdd)
  28046. in: query
  28047. name: begindate
  28048. type: string
  28049. - description: 结束交易日(yyyymmdd)
  28050. in: query
  28051. name: enddate
  28052. type: string
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. items:
  28060. $ref: '#/definitions/models.WRTradeBargainApply'
  28061. type: array
  28062. "500":
  28063. description: Internal Server Error
  28064. schema:
  28065. $ref: '#/definitions/app.Response'
  28066. security:
  28067. - ApiKeyAuth: []
  28068. summary: 查询议价单
  28069. tags:
  28070. - 仓单贸易v2
  28071. /WrTrade2/QueryWrTradeDetail:
  28072. get:
  28073. parameters:
  28074. - description: 页码
  28075. in: query
  28076. name: page
  28077. type: integer
  28078. - description: 每页条数
  28079. in: query
  28080. name: pagesize
  28081. type: integer
  28082. - description: 用户id
  28083. in: query
  28084. name: userid
  28085. required: true
  28086. type: integer
  28087. - description: 仓单贸易市场id
  28088. in: query
  28089. name: marketid
  28090. type: integer
  28091. - description: 0:仓单预售 1:仓单贸易
  28092. in: query
  28093. name: haswr
  28094. required: true
  28095. type: integer
  28096. - description: 开始交易日(yyyymmdd)
  28097. in: query
  28098. name: begindate
  28099. type: string
  28100. - description: 结束交易日(yyyymmdd)
  28101. in: query
  28102. name: enddate
  28103. type: string
  28104. produces:
  28105. - application/json
  28106. responses:
  28107. "200":
  28108. description: OK
  28109. schema:
  28110. items:
  28111. $ref: '#/definitions/models.WrTradeDetail'
  28112. type: array
  28113. "500":
  28114. description: Internal Server Error
  28115. schema:
  28116. $ref: '#/definitions/app.Response'
  28117. security:
  28118. - ApiKeyAuth: []
  28119. summary: 查询仓单成交明细
  28120. tags:
  28121. - 仓单贸易v2
  28122. /WrTrade2/QueryWrTradeOrderDetail:
  28123. get:
  28124. parameters:
  28125. - description: 页码
  28126. in: query
  28127. name: page
  28128. type: integer
  28129. - description: 每页条数
  28130. in: query
  28131. name: pagesize
  28132. type: integer
  28133. - description: 商品id
  28134. in: query
  28135. name: goodsid
  28136. required: true
  28137. type: integer
  28138. - description: 买卖方向 0-买 1-卖
  28139. in: query
  28140. name: buyorsell
  28141. required: true
  28142. type: integer
  28143. produces:
  28144. - application/json
  28145. responses:
  28146. "200":
  28147. description: OK
  28148. schema:
  28149. items:
  28150. $ref: '#/definitions/models.WrTradeOrderDetail'
  28151. type: array
  28152. "500":
  28153. description: Internal Server Error
  28154. schema:
  28155. $ref: '#/definitions/app.Response'
  28156. security:
  28157. - ApiKeyAuth: []
  28158. summary: 查询合约交易买卖大厅
  28159. tags:
  28160. - 仓单贸易v2
  28161. /WrTrade2/QueryWrUserFriend:
  28162. get:
  28163. parameters:
  28164. - description: 用户id
  28165. in: query
  28166. name: userid
  28167. required: true
  28168. type: integer
  28169. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28170. in: query
  28171. name: newuserid
  28172. type: integer
  28173. produces:
  28174. - application/json
  28175. responses:
  28176. "200":
  28177. description: OK
  28178. schema:
  28179. items:
  28180. $ref: '#/definitions/models.WrUserFriend'
  28181. type: array
  28182. "500":
  28183. description: Internal Server Error
  28184. schema:
  28185. $ref: '#/definitions/app.Response'
  28186. security:
  28187. - ApiKeyAuth: []
  28188. summary: 查询我的朋友
  28189. tags:
  28190. - 仓单贸易v2
  28191. /WrTrade2/QueryWrUserReceiptInfo:
  28192. get:
  28193. parameters:
  28194. - description: 用户id
  28195. in: query
  28196. name: userid
  28197. type: integer
  28198. - description: 发票类型 - 1:个人 2:企业
  28199. in: query
  28200. name: receipttype
  28201. type: integer
  28202. produces:
  28203. - application/json
  28204. responses:
  28205. "200":
  28206. description: OK
  28207. schema:
  28208. items:
  28209. $ref: '#/definitions/models.WrUserReceiptInfo'
  28210. type: array
  28211. "500":
  28212. description: Internal Server Error
  28213. schema:
  28214. $ref: '#/definitions/app.Response'
  28215. security:
  28216. - ApiKeyAuth: []
  28217. summary: 查询发票信息
  28218. tags:
  28219. - 仓单贸易v2
  28220. /ZJ/GetBankTip:
  28221. get:
  28222. produces:
  28223. - application/json
  28224. responses:
  28225. "200":
  28226. description: OK
  28227. schema:
  28228. type: string
  28229. "500":
  28230. description: Internal Server Error
  28231. schema:
  28232. $ref: '#/definitions/app.Response'
  28233. summary: 获取中江网银端出入金提示信息
  28234. tags:
  28235. - 中江
  28236. /ZJ/GetCusBankChannels:
  28237. get:
  28238. produces:
  28239. - application/json
  28240. responses:
  28241. "200":
  28242. description: OK
  28243. schema:
  28244. items:
  28245. type: string
  28246. type: array
  28247. "500":
  28248. description: Internal Server Error
  28249. schema:
  28250. $ref: '#/definitions/app.Response'
  28251. summary: 获取中江出入金渠道显示列表
  28252. tags:
  28253. - 中江
  28254. securityDefinitions:
  28255. ApiKeyAuth:
  28256. in: header
  28257. name: Authorization
  28258. type: apiKey
  28259. swagger: "2.0"