swagger.yaml 840 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234
  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. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2hedgeditem:
  3973. properties:
  3974. accountName:
  3975. description: 套期主体
  3976. type: string
  3977. applyid:
  3978. description: 申请人
  3979. type: integer
  3980. applysrc:
  3981. description: 申请来源 - 1:管理端 2:终端
  3982. type: integer
  3983. areauserid:
  3984. description: 企业ID
  3985. type: integer
  3986. auditid:
  3987. description: 审核人
  3988. type: integer
  3989. auditremark:
  3990. description: 审核备注
  3991. type: string
  3992. auditsrc:
  3993. description: 审核来源 - 1:管理端 2:终端
  3994. type: integer
  3995. audittime:
  3996. description: 审核时间
  3997. type: string
  3998. audittradedate:
  3999. description: 审核交易日(yyyyMMdd)
  4000. type: string
  4001. createtime:
  4002. description: 申请时间
  4003. type: string
  4004. curprice:
  4005. description: 当前市场价
  4006. type: number
  4007. curstock:
  4008. description: 期末库存量 = 采购总量 - 销售总量
  4009. type: number
  4010. deliverygoodsid:
  4011. description: 现货品种ID
  4012. type: integer
  4013. enddate:
  4014. description: 完成日期
  4015. type: string
  4016. endtradedate:
  4017. description: 完成交易日
  4018. type: string
  4019. enumdicname:
  4020. description: 单位
  4021. type: string
  4022. exeamount:
  4023. description: 执行市价总额
  4024. type: number
  4025. exeavgprice:
  4026. description: 执行市场均价= 执行市价总额 / 执行现货量
  4027. type: number
  4028. execontractamount:
  4029. description: 执行定价总额
  4030. type: number
  4031. exeqty:
  4032. description: 执行现货量
  4033. type: number
  4034. exerestamount:
  4035. description: 执行剩余市价总额【现货贸易】
  4036. type: number
  4037. futurefloatpl:
  4038. description: 期货浮动损益
  4039. type: number
  4040. futurehedgepl:
  4041. description: 期货实际损益
  4042. type: number
  4043. futurehedgeplchange:
  4044. description: 期货实际损益变动
  4045. type: number
  4046. futurepl:
  4047. description: 期货套期损益
  4048. type: number
  4049. futureplchange:
  4050. description: 期货套期损益变动
  4051. type: number
  4052. hedgeamount:
  4053. description: 套期市价总额
  4054. type: number
  4055. hedgecontractamount:
  4056. description: 套期定价总额 【定价采购合同】【现货贸易】
  4057. type: number
  4058. hedgeditemid:
  4059. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4060. type: string
  4061. hedgeditemname:
  4062. description: 项目名称
  4063. type: string
  4064. hedgeditemnum:
  4065. description: 项目编号
  4066. type: string
  4067. hedgeditemstatus:
  4068. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4069. type: integer
  4070. hedgedtype:
  4071. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4072. type: integer
  4073. hedgeqty:
  4074. description: 套期现货量
  4075. type: number
  4076. hedgerate:
  4077. description: 套保比率
  4078. type: number
  4079. hedgerestamount:
  4080. description: 套期剩余市价总额【现货贸易】
  4081. type: number
  4082. hedgesumpl:
  4083. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4084. type: number
  4085. middlegoodslist:
  4086. description: 套期商品列表
  4087. items:
  4088. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4089. type: array
  4090. oriavgprice:
  4091. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4092. type: number
  4093. orifuturehedgepl:
  4094. description: 期初期货实际损益
  4095. type: number
  4096. orifuturepl:
  4097. description: 期初期货套期损益
  4098. type: number
  4099. orispothedgepl:
  4100. description: 期初现货实际损益
  4101. type: number
  4102. orispotpl:
  4103. description: 期初现货套期损益
  4104. type: number
  4105. planenddate:
  4106. description: 计划结束日期
  4107. type: string
  4108. planstartdate:
  4109. description: 计划开始日期
  4110. type: string
  4111. remark:
  4112. description: 备注
  4113. type: string
  4114. spotbookamount:
  4115. description: 现货账面总额
  4116. type: number
  4117. spotfloatpl:
  4118. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4119. type: number
  4120. spothedgepl:
  4121. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4122. type: number
  4123. spothedgeplchange:
  4124. description: 现货实际损益变动
  4125. type: number
  4126. spotpl:
  4127. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4128. type: number
  4129. spotplchange:
  4130. description: 现货套期损益变动
  4131. type: number
  4132. spottradepl:
  4133. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4134. type: number
  4135. sumobspl:
  4136. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4137. type: number
  4138. tradeuserid:
  4139. description: 交易用户ID
  4140. type: integer
  4141. unexeqty:
  4142. description: 未执行现货量 = 套期现货量 - 执行现货量
  4143. type: number
  4144. updatetime:
  4145. description: 更新时间
  4146. type: string
  4147. vatpl:
  4148. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4149. type: number
  4150. vatrate:
  4151. description: 增值税
  4152. type: number
  4153. wrstandardid:
  4154. description: 现货商品ID
  4155. type: integer
  4156. wrstandardname:
  4157. description: 商品名称
  4158. type: string
  4159. type: object
  4160. models.Ermcp2hedgeditemspot:
  4161. properties:
  4162. areauserid:
  4163. description: 企业ID
  4164. type: integer
  4165. createtime:
  4166. description: 创建时间
  4167. type: string
  4168. customeruserid:
  4169. description: 对手方 【3:采购合同 4:销售合同】
  4170. type: integer
  4171. deliverygoodsid:
  4172. description: 现货品种ID
  4173. type: integer
  4174. enumdicname:
  4175. description: 单位
  4176. type: string
  4177. hedgeditemid:
  4178. description: 被套期项目ID
  4179. type: string
  4180. hedgeditemspotid:
  4181. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4182. type: string
  4183. hedgedtype:
  4184. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4185. type: integer
  4186. hedgeplanno:
  4187. description: 计划编号
  4188. type: string
  4189. oriavgprice:
  4190. description: 期初市场价[当初市场价]
  4191. type: number
  4192. relatedamount:
  4193. description: 市价总额 = 关联数量 * 期初市场价
  4194. type: number
  4195. relatedhedgeplanid:
  4196. description: 关联计划ID 【1:采购计划 2:销售计划】
  4197. type: integer
  4198. relatedqty:
  4199. description: 关联数量[数量]
  4200. type: number
  4201. relatedspotcontractid:
  4202. description: 关联合同ID 【3:采购合同 4:销售合同】
  4203. type: integer
  4204. relatedtype:
  4205. description: 关联类型 - 1:套期关联 2:执行关联
  4206. type: integer
  4207. spotgoodsbrandid:
  4208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4209. type: integer
  4210. spotpricedamount:
  4211. description: 定价总额
  4212. type: number
  4213. spotpricedavgprice:
  4214. description: 现货均价 = 定价总额 / 关联数量
  4215. type: number
  4216. spottype:
  4217. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4218. type: integer
  4219. tradeuserid:
  4220. description: 交易用户ID
  4221. type: integer
  4222. wrstandardid:
  4223. description: 现货商品ID
  4224. type: integer
  4225. wrstandardname:
  4226. description: 现货商品
  4227. type: string
  4228. required:
  4229. - hedgeditemid
  4230. type: object
  4231. models.Ermcp2hedgeditemspotDetail:
  4232. properties:
  4233. accountName:
  4234. description: 对手方
  4235. type: string
  4236. areauserid:
  4237. description: 企业ID
  4238. type: integer
  4239. brandname:
  4240. description: 品牌
  4241. type: string
  4242. contractno:
  4243. description: 合同编号
  4244. type: string
  4245. createtime:
  4246. description: 创建时间
  4247. type: string
  4248. customeruserid:
  4249. description: 对手方 【3:采购合同 4:销售合同】
  4250. type: integer
  4251. deliverygoodsid:
  4252. description: 现货品种ID
  4253. type: integer
  4254. enumdicname:
  4255. description: 单位
  4256. type: string
  4257. hedgeditemid:
  4258. description: 被套期项目ID
  4259. type: string
  4260. hedgeditemspotid:
  4261. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4262. type: string
  4263. hedgedtype:
  4264. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4265. type: integer
  4266. oriavgprice:
  4267. description: 期初市场价[当初市场价]
  4268. type: number
  4269. relatedamount:
  4270. description: 市价总额 = 关联数量 * 期初市场价
  4271. type: number
  4272. relatedhedgeplanid:
  4273. description: 关联计划ID 【1:采购计划 2:销售计划】
  4274. type: integer
  4275. relatedqty:
  4276. description: 关联数量[数量]
  4277. type: number
  4278. relatedspotcontractid:
  4279. description: 关联合同ID 【3:采购合同 4:销售合同】
  4280. type: integer
  4281. relatedtype:
  4282. description: 关联类型 - 1:套期关联 2:执行关联
  4283. type: integer
  4284. spotgoodsbrandid:
  4285. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4286. type: integer
  4287. spotpricedamount:
  4288. description: 定价总额[金额]
  4289. type: number
  4290. spotpricedavgprice:
  4291. description: 现货均价 = 定价总额 / 关联数量
  4292. type: number
  4293. spottype:
  4294. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4295. type: integer
  4296. tradeuserid:
  4297. description: 交易用户ID
  4298. type: integer
  4299. wrstandardid:
  4300. description: 现货商品ID
  4301. type: integer
  4302. wrstandardname:
  4303. description: 现货商品
  4304. type: string
  4305. required:
  4306. - hedgeditemid
  4307. type: object
  4308. models.Ermcp2himiddlegoods:
  4309. properties:
  4310. futurehedgeqty:
  4311. description: 期货持仓套期量
  4312. type: number
  4313. hedgeditemid:
  4314. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4315. type: integer
  4316. hiexpsoure:
  4317. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4318. type: number
  4319. middlegoodscode:
  4320. description: 套保商品代码
  4321. type: string
  4322. middlegoodsid:
  4323. description: 套保品种ID
  4324. type: integer
  4325. middlegoodsname:
  4326. description: 套保商品名称
  4327. type: string
  4328. unexehedgeqty:
  4329. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4330. type: number
  4331. required:
  4332. - hedgeditemid
  4333. - middlegoodsid
  4334. type: object
  4335. models.Ermcp3AreaSpot:
  4336. properties:
  4337. areauserid:
  4338. description: 所属机构
  4339. type: integer
  4340. convertratio:
  4341. description: 套保系数
  4342. type: number
  4343. decreaseqty:
  4344. description: 减少数量=-(销售已定价数量+采购计划数量)
  4345. type: number
  4346. enumdicname:
  4347. description: 单位名称
  4348. type: string
  4349. increaseqty:
  4350. description: 增加数量=销售计划数量+采购已定价数量
  4351. type: number
  4352. oritoalspotqty:
  4353. description: 昨日数量
  4354. type: number
  4355. totalspotqty:
  4356. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4357. type: number
  4358. unitid:
  4359. description: 现货商品单位id
  4360. type: integer
  4361. updatetime:
  4362. description: 更新时间
  4363. type: string
  4364. wrstandardcode:
  4365. description: 现货商品代码
  4366. type: string
  4367. wrstandardid:
  4368. description: 现货商品ID(SEQ_WRSTANDARD)
  4369. type: integer
  4370. wrstandardname:
  4371. description: 现货商品名称
  4372. type: string
  4373. type: object
  4374. models.Ermcp3AreaSpotDetail:
  4375. properties:
  4376. contracttype:
  4377. description: 合同类型 1-采购 -1-销售
  4378. type: integer
  4379. createtime:
  4380. description: 创建时间
  4381. type: string
  4382. enumdicname:
  4383. description: 现货商品单位名称
  4384. type: string
  4385. logtype:
  4386. description: 记录类型 1-套保 2-现货合同
  4387. type: integer
  4388. qty:
  4389. description: 数量
  4390. type: number
  4391. recordname:
  4392. description: 类型名称
  4393. type: string
  4394. relatedid:
  4395. description: 套保计划ID/现货合同ID
  4396. type: string
  4397. relatedno:
  4398. description: 编号
  4399. type: string
  4400. strtime:
  4401. description: 时间
  4402. type: string
  4403. wrstandardcode:
  4404. description: 现货商品代码
  4405. type: string
  4406. wrstandardid:
  4407. description: 现货商品ID(SEQ_WRSTANDARD)
  4408. type: integer
  4409. wrstandardname:
  4410. description: 现货商品名称
  4411. type: string
  4412. type: object
  4413. models.Ermcp3AreaSpotPLReport:
  4414. properties:
  4415. accountid:
  4416. description: 期货账户ID (作废, 默认为0)
  4417. type: integer
  4418. accountname:
  4419. description: 机构名称
  4420. type: string
  4421. actualpl:
  4422. description: 现货损益
  4423. type: number
  4424. areauserid:
  4425. description: 所属机构\交易用户ID
  4426. type: integer
  4427. begindate:
  4428. description: 开始交易日
  4429. type: string
  4430. biztype:
  4431. description: 业务类型 - 1:套保 2:套利
  4432. type: integer
  4433. brandname:
  4434. description: 品牌名称
  4435. type: string
  4436. curamount:
  4437. description: 期末额
  4438. type: number
  4439. curaverageprice:
  4440. description: 期末均价
  4441. type: number
  4442. curbuyamount:
  4443. description: 期末采购总额
  4444. type: number
  4445. curbuyqty:
  4446. description: 期末采购总量
  4447. type: number
  4448. curmarketvalue:
  4449. description: 参考市值(期末市值)
  4450. type: number
  4451. curqty:
  4452. description: 期末量
  4453. type: number
  4454. currencyid:
  4455. description: 结算币种ID【原值】
  4456. type: integer
  4457. currencyname:
  4458. description: 币种名称
  4459. type: string
  4460. cursellamount:
  4461. description: 期末销售总额
  4462. type: number
  4463. cursellqty:
  4464. description: 期末销售总量
  4465. type: number
  4466. curspotprice:
  4467. description: 参考市价(最新价)
  4468. type: number
  4469. cycletime:
  4470. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4471. type: string
  4472. cycletype:
  4473. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4474. type: integer
  4475. deliverygoodscode:
  4476. description: 现货品种代码
  4477. type: string
  4478. deliverygoodsid:
  4479. description: 现货品种ID
  4480. type: integer
  4481. deliverygoodsname:
  4482. description: 现货品种名称
  4483. type: string
  4484. enddate:
  4485. description: 结束交易日
  4486. type: string
  4487. enumdicname:
  4488. description: 现货品种单位名称(作废)
  4489. type: string
  4490. floatpl:
  4491. description: 浮动损益
  4492. type: number
  4493. goodsunitid:
  4494. description: 现货品种单位id(作废)
  4495. type: integer
  4496. oriamount:
  4497. description: 期初额
  4498. type: number
  4499. oriaverageprice:
  4500. description: 期初均价
  4501. type: number
  4502. oribuyamount:
  4503. description: 期初采购总额
  4504. type: number
  4505. oribuyqty:
  4506. description: 期初采购总量
  4507. type: number
  4508. oriqty:
  4509. description: 期初量
  4510. type: number
  4511. orisellamount:
  4512. description: 期初销售总额
  4513. type: number
  4514. orisellqty:
  4515. description: 期初销售总量
  4516. type: number
  4517. reckondate:
  4518. description: 日照时期(yyyyMMdd)
  4519. type: string
  4520. spotgoodsbrandid:
  4521. description: 现货品牌ID
  4522. type: integer
  4523. todaybuyamount:
  4524. description: 今日采购额(今采购额)
  4525. type: number
  4526. todaybuyaverageprice:
  4527. description: 今日采购均价
  4528. type: number
  4529. todaybuyqty:
  4530. description: 今日采购量(今采购量)
  4531. type: number
  4532. todayinqty:
  4533. description: 今日入库量(今入库量)
  4534. type: number
  4535. todayoutqty:
  4536. description: 今日出库量(今出库量)
  4537. type: number
  4538. todaysellamount:
  4539. description: 今日销售额(今销售额)
  4540. type: number
  4541. todaysellaverageprice:
  4542. description: 今日销售均价
  4543. type: number
  4544. todaysellqty:
  4545. description: 今日销售量(今销售量)
  4546. type: number
  4547. unitid:
  4548. description: 品类单位id
  4549. type: integer
  4550. unitidname:
  4551. description: 品类单位名称
  4552. type: string
  4553. updatetime:
  4554. description: 更新时间
  4555. type: string
  4556. wrfactortypeid:
  4557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4558. type: integer
  4559. wrstandardcode:
  4560. description: 现货商品(品类)代码
  4561. type: string
  4562. wrstandardid:
  4563. description: 现货品类ID
  4564. type: integer
  4565. wrstandardname:
  4566. description: 现货商品(品类)名称
  4567. type: string
  4568. type: object
  4569. models.Ermcp3AreaStock:
  4570. properties:
  4571. brandname:
  4572. description: 品牌名称
  4573. type: string
  4574. curstock:
  4575. description: 期末库存量(今日量)
  4576. type: number
  4577. deliverygoodscode:
  4578. description: 现货品种代码
  4579. type: string
  4580. deliverygoodsid:
  4581. description: 现货品种id
  4582. type: integer
  4583. deliverygoodsname:
  4584. description: 现货品种名称
  4585. type: string
  4586. enumdicname:
  4587. description: 单位名称
  4588. type: string
  4589. goodsunitid:
  4590. description: 现货商品单位id
  4591. type: integer
  4592. oristock:
  4593. description: 期初库存量(昨日量)
  4594. type: number
  4595. spotgoodsbrandid:
  4596. description: 现货品牌ID
  4597. type: integer
  4598. todaybuyinqty:
  4599. description: 今日采购入库量
  4600. type: number
  4601. todayproduceinqty:
  4602. description: 今日生产入库量
  4603. type: number
  4604. todayproduceoutqty:
  4605. description: 今日生产出库量
  4606. type: number
  4607. todayselloutqty:
  4608. description: 今日销售出库量
  4609. type: number
  4610. unitid:
  4611. description: 单位id
  4612. type: integer
  4613. updatetime:
  4614. description: 更新时间
  4615. type: string
  4616. userid:
  4617. description: 机构ID
  4618. type: integer
  4619. username:
  4620. description: 机构名称
  4621. type: string
  4622. warehousecode:
  4623. description: 仓库代码
  4624. type: string
  4625. warehouseinfoid:
  4626. description: 仓库ID
  4627. type: string
  4628. warehousename:
  4629. description: 仓库名称
  4630. type: string
  4631. warehousetype:
  4632. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4633. type: integer
  4634. wrstandardcode:
  4635. description: 品类代码
  4636. type: string
  4637. wrstandardid:
  4638. description: 品类ID
  4639. type: string
  4640. wrstandardname:
  4641. description: 品类名称
  4642. type: string
  4643. required:
  4644. - userid
  4645. type: object
  4646. models.Ermcp3AreaStockApply:
  4647. properties:
  4648. applyid:
  4649. description: 申请人
  4650. type: integer
  4651. applyname:
  4652. description: 申请人名称
  4653. type: string
  4654. applyremark:
  4655. description: 申请备注
  4656. type: string
  4657. applysrc:
  4658. description: 申请来源 - 1:管理端 2:终端
  4659. type: integer
  4660. applystatus:
  4661. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4662. type: integer
  4663. applytime:
  4664. description: 申请时间
  4665. type: string
  4666. auditid:
  4667. description: 审核人
  4668. type: integer
  4669. auditname:
  4670. description: 审核人名称
  4671. type: string
  4672. auditremark:
  4673. description: 审核备注
  4674. type: string
  4675. auditsrc:
  4676. description: 审核来源 - 1:管理端 2:终端
  4677. type: integer
  4678. audittime:
  4679. description: 审核时间
  4680. type: string
  4681. audittradedate:
  4682. description: 审核交易日(yyyyMMdd)
  4683. type: string
  4684. brandname:
  4685. description: 品牌名称
  4686. type: string
  4687. buynickname:
  4688. description: 采购方昵称
  4689. type: string
  4690. buyuserid:
  4691. description: 采购方userid
  4692. type: integer
  4693. buyusername:
  4694. description: 采购方名称
  4695. type: string
  4696. contractno:
  4697. description: 合同编号
  4698. type: string
  4699. contractqty:
  4700. description: 合同量
  4701. type: number
  4702. contracttype:
  4703. description: 现货合同类型 - 1:采购 -1:销售
  4704. type: integer
  4705. deliverygoodscode:
  4706. description: 现货品种代码
  4707. type: string
  4708. deliverygoodsid:
  4709. description: 现货品种id
  4710. type: integer
  4711. deliverygoodsname:
  4712. description: 现货品种名称
  4713. type: string
  4714. detailjson:
  4715. description: 明细数据
  4716. type: string
  4717. enumdicname:
  4718. description: 现货商品单位名称
  4719. type: string
  4720. inoutapplyid:
  4721. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4722. type: string
  4723. inouttype:
  4724. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4725. type: integer
  4726. pricetype:
  4727. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4728. type: integer
  4729. qty:
  4730. description: 数量
  4731. type: number
  4732. sellnickname:
  4733. description: 销售方昵称
  4734. type: string
  4735. selluserid:
  4736. description: 销售方userid
  4737. type: integer
  4738. sellusername:
  4739. description: 销售方名称
  4740. type: string
  4741. spotcontractid:
  4742. description: 关联现货合同ID
  4743. type: string
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. unitid:
  4748. description: 单位id
  4749. type: integer
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehousecode:
  4754. description: 仓库代码
  4755. type: string
  4756. warehouseinfoid:
  4757. description: 现货仓库ID
  4758. type: string
  4759. warehousename:
  4760. description: 仓库名称
  4761. type: string
  4762. warehousetype:
  4763. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4764. type: integer
  4765. wrstandardcode:
  4766. description: 品类代码
  4767. type: string
  4768. wrstandardid:
  4769. description: 品类ID
  4770. type: integer
  4771. wrstandardname:
  4772. description: 品类名称
  4773. type: string
  4774. type: object
  4775. models.Ermcp3AreaStockApplySum:
  4776. properties:
  4777. brandname:
  4778. description: 品牌名称
  4779. type: string
  4780. inouttype:
  4781. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4782. type: integer
  4783. spotcontractid:
  4784. description: 关联现货合同ID
  4785. type: string
  4786. spotgoodsbrandid:
  4787. description: 品牌id
  4788. type: integer
  4789. totalqty:
  4790. description: 总数量
  4791. type: number
  4792. wrstandardid:
  4793. description: 品类id
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3AreaStockReportEx:
  4800. properties:
  4801. begindate:
  4802. description: 开始交易日
  4803. type: string
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. curstock:
  4808. description: 期末库存量
  4809. type: number
  4810. cycletime:
  4811. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4812. type: string
  4813. cycletype:
  4814. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4815. type: integer
  4816. deliverygoodscode:
  4817. description: 现货品种代码
  4818. type: string
  4819. deliverygoodsid:
  4820. description: 现货品种id
  4821. type: integer
  4822. deliverygoodsname:
  4823. description: 现货品种名称
  4824. type: string
  4825. diffqty:
  4826. description: 库存变化量 = 期末 - 期初
  4827. type: number
  4828. enddate:
  4829. description: 结束交易日
  4830. type: string
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. goodsunitid:
  4835. description: 现货单位id
  4836. type: integer
  4837. oristock:
  4838. description: 期初库存量
  4839. type: number
  4840. reckondate:
  4841. description: 日照时期(yyyyMMdd)
  4842. type: string
  4843. spotgoodsbrandid:
  4844. description: 现货品牌ID
  4845. type: integer
  4846. todaybuyinqty:
  4847. description: 今采购入库量
  4848. type: number
  4849. todayproduceinqty:
  4850. description: 今内部入库量
  4851. type: number
  4852. todayproduceoutqty:
  4853. description: 今内部出库量
  4854. type: number
  4855. todayselloutqty:
  4856. description: 今销售出库量
  4857. type: number
  4858. unbuyinqty:
  4859. description: 采购未入库量(数据库未找到相关字段?)
  4860. type: number
  4861. unitid:
  4862. description: 品类单位id
  4863. type: integer
  4864. unselloutqty:
  4865. description: 销售未出库量(数据库未找到相关字段?)
  4866. type: number
  4867. updatetime:
  4868. description: 更新时间
  4869. type: string
  4870. userid:
  4871. description: 机构ID
  4872. type: integer
  4873. username:
  4874. description: 机构名称
  4875. type: string
  4876. warehousecode:
  4877. description: 仓库代码
  4878. type: string
  4879. warehouseinfoid:
  4880. description: 仓库ID
  4881. type: string
  4882. warehousename:
  4883. description: 仓库名称
  4884. type: string
  4885. warehousetype:
  4886. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4887. type: integer
  4888. wrstandardcode:
  4889. description: 品类代码
  4890. type: string
  4891. wrstandardid:
  4892. description: 品类ID
  4893. type: integer
  4894. wrstandardname:
  4895. description: 品类名称
  4896. type: string
  4897. type: object
  4898. models.Ermcp3ArealSumPL:
  4899. properties:
  4900. accountname:
  4901. description: 机构名称
  4902. type: string
  4903. areauserid:
  4904. description: 所属机构\交易用户ID
  4905. type: integer
  4906. begindate:
  4907. description: 开始交易日
  4908. type: string
  4909. currencyid:
  4910. description: 结算币种ID
  4911. type: integer
  4912. currencyname:
  4913. description: 币种名称
  4914. type: string
  4915. cycletime:
  4916. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4917. type: string
  4918. cycletype:
  4919. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4920. type: integer
  4921. enddate:
  4922. description: 结束交易日
  4923. type: string
  4924. enumdicname:
  4925. description: 单位名称(套保品种)
  4926. type: string
  4927. futureactualpl:
  4928. description: 期货损益
  4929. type: number
  4930. futurefloatpl:
  4931. description: 期货浮动损益
  4932. type: number
  4933. futurespotratio:
  4934. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4935. type: number
  4936. goodsunitid:
  4937. description: 套保品种单位id
  4938. type: integer
  4939. hedgeexposurepl:
  4940. description: 套保敞口损益
  4941. type: number
  4942. middlegoodscode:
  4943. description: 套保品种代码
  4944. type: string
  4945. middlegoodsid:
  4946. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4947. type: integer
  4948. middlegoodsname:
  4949. description: 套保品种名称
  4950. type: string
  4951. reckondate:
  4952. description: 日照时期(yyyyMMdd)
  4953. type: string
  4954. spotactualpl:
  4955. description: 现货损益
  4956. type: number
  4957. spotfloatpl:
  4958. description: 现货浮动损益
  4959. type: number
  4960. sumactualpl:
  4961. description: 实际损益 = (ActualPL + FutureActualPL)
  4962. type: number
  4963. sumpl:
  4964. description: 总敞口损益 | 汇总损益
  4965. type: number
  4966. totalfutureqty:
  4967. description: 期货头寸总量
  4968. type: number
  4969. totalneedhedgeqty:
  4970. description: 应套保总量
  4971. type: number
  4972. totalspotqty:
  4973. description: 现货头寸总量
  4974. type: number
  4975. updatetime:
  4976. description: 更新时间
  4977. type: string
  4978. type: object
  4979. models.Ermcp3Brand:
  4980. properties:
  4981. areauserid:
  4982. description: 用户id
  4983. type: integer
  4984. brandid:
  4985. description: 品牌id
  4986. type: integer
  4987. brandname:
  4988. description: 品牌名称
  4989. type: string
  4990. deliverygoodsid:
  4991. description: 品种ID
  4992. type: integer
  4993. isvalid:
  4994. description: 是否有效
  4995. type: integer
  4996. type: object
  4997. models.Ermcp3Contract:
  4998. properties:
  4999. accountid:
  5000. description: 期货账户id
  5001. type: string
  5002. amount:
  5003. description: 金额 [1:一口价、3:暂定价]
  5004. type: number
  5005. attachment:
  5006. description: 附件
  5007. type: string
  5008. auditremark:
  5009. description: 审核意见
  5010. type: string
  5011. audittime:
  5012. description: 审核时间
  5013. type: string
  5014. biztype:
  5015. description: 业务类型 1-套保 2-套利
  5016. type: integer
  5017. brandname:
  5018. description: 品牌名称
  5019. type: string
  5020. buynickname:
  5021. description: 销售方昵称
  5022. type: string
  5023. buyuserid:
  5024. description: 采购方ID
  5025. type: integer
  5026. buyusername:
  5027. description: 采购方名称
  5028. type: string
  5029. contracctstatus:
  5030. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5031. type: integer
  5032. contractmargin:
  5033. description: 合同保证金
  5034. type: number
  5035. contractno:
  5036. description: 现货合同编号
  5037. type: string
  5038. contracttype:
  5039. description: 现货合同类型 - 1:采购 -1:销售
  5040. type: integer
  5041. convertfactor:
  5042. description: 标仓系数(品类)
  5043. type: number
  5044. createtime:
  5045. description: 创建时间
  5046. type: string
  5047. currencyid:
  5048. description: 币种id
  5049. type: integer
  5050. currencyname:
  5051. description: 币种名称
  5052. type: string
  5053. deliveryenddate:
  5054. description: 交收期(结束)
  5055. type: string
  5056. deliverygoodscode:
  5057. description: 现货品种代码
  5058. type: string
  5059. deliverygoodsid:
  5060. description: 现货品种ID
  5061. type: integer
  5062. deliverygoodsname:
  5063. description: 现货品种名称
  5064. type: string
  5065. deliverystartdate:
  5066. description: 交收期(开始)
  5067. type: string
  5068. enddate:
  5069. description: 点价结束日期 [2:点价 3:暂定价]
  5070. type: string
  5071. enumdicname:
  5072. description: 单位名称
  5073. type: string
  5074. goodscode:
  5075. description: 点价合约代码
  5076. type: string
  5077. goodsid:
  5078. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5079. type: integer
  5080. goodsname:
  5081. description: 点价商品名称
  5082. type: string
  5083. margin:
  5084. description: 当前保证金
  5085. type: number
  5086. meruserid:
  5087. description: 跟单员id
  5088. type: integer
  5089. meruserlogincode:
  5090. description: 跟单员登录代码
  5091. type: string
  5092. merusername:
  5093. description: 跟单员名称
  5094. type: string
  5095. pointdesc:
  5096. description: 点价备注
  5097. type: string
  5098. price:
  5099. description: 价格\暂定价 [1:一口价、3:暂定价]
  5100. type: number
  5101. pricemove:
  5102. description: 升贴水 [2:点价 3:暂定价]
  5103. type: number
  5104. pricetype:
  5105. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5106. type: integer
  5107. producttype:
  5108. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5109. type: integer
  5110. qty:
  5111. description: 数量
  5112. type: number
  5113. remark:
  5114. description: 备注
  5115. type: string
  5116. saleuserid:
  5117. description: 业务员id
  5118. type: integer
  5119. saleuserlogincode:
  5120. description: 业务员登录代码
  5121. type: string
  5122. saleusername:
  5123. description: 业务员名称
  5124. type: string
  5125. sellnickname:
  5126. description: 采购方昵称
  5127. type: string
  5128. selluserid:
  5129. description: 销售方ID
  5130. type: integer
  5131. sellusername:
  5132. description: 销售方名称
  5133. type: string
  5134. spotcontractid:
  5135. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. spotgoodsbrandid:
  5138. description: 现货品牌ID(DGFactoryItem表的ID)
  5139. type: integer
  5140. spotgoodsdesc:
  5141. description: 商品型号
  5142. type: string
  5143. startdate:
  5144. description: 点价开始日期 [2:点价 3:暂定价]
  5145. type: string
  5146. subjectid:
  5147. description: 交易主体ID
  5148. type: integer
  5149. subjectname:
  5150. description: 交易主体名称
  5151. type: string
  5152. tradeuserid:
  5153. description: 交易员id
  5154. type: integer
  5155. tradeuserlogincode:
  5156. description: 交易员登录代码
  5157. type: string
  5158. tradeusername:
  5159. description: 交易员名称
  5160. type: string
  5161. unitid:
  5162. description: 单位id(取品类上的单位id)
  5163. type: integer
  5164. updatetime:
  5165. description: 更新时间
  5166. type: string
  5167. userid:
  5168. description: 所属机构ID
  5169. type: integer
  5170. vatrate:
  5171. description: 增值税率
  5172. type: number
  5173. wrstandardcode:
  5174. description: 品类代码
  5175. type: string
  5176. wrstandardid:
  5177. description: 品类ID
  5178. type: integer
  5179. wrstandardname:
  5180. description: 品类名称
  5181. type: string
  5182. type: object
  5183. models.Ermcp3ContractMiddleGoodsCfg:
  5184. properties:
  5185. agreeunit:
  5186. description: 合约乘数
  5187. type: number
  5188. convertratio:
  5189. description: 期货品种系数
  5190. type: number
  5191. covertqty:
  5192. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5193. type: integer
  5194. middlegoodsid:
  5195. description: 套保品种ID
  5196. type: integer
  5197. middlegoodspricedqty3:
  5198. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5199. example: "0"
  5200. type: string
  5201. pendingpricedqty:
  5202. description: 待点价量
  5203. example: "0"
  5204. type: string
  5205. relatedmiddlegoodsqty:
  5206. description: 已关联量(套保品种-期货)
  5207. example: "0"
  5208. type: string
  5209. spotcontractid:
  5210. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5211. type: string
  5212. type: object
  5213. models.Ermcp3ExposureContractDetail:
  5214. properties:
  5215. biztype:
  5216. description: 业务类型 1-套保 2-套利
  5217. type: integer
  5218. brandname:
  5219. description: 品牌名称
  5220. type: string
  5221. buyuserid:
  5222. description: 采购方id
  5223. type: integer
  5224. buyusername:
  5225. description: 采购方名称
  5226. type: string
  5227. contractno:
  5228. description: 合同编号
  5229. type: string
  5230. contracttype:
  5231. description: 现货合同类型 - 1:采购 -1:销售
  5232. type: integer
  5233. convertfactor:
  5234. description: 标仓系数
  5235. type: number
  5236. convertratio:
  5237. description: 折算系数(套保品种)
  5238. type: number
  5239. curqty:
  5240. description: 今定价量
  5241. type: number
  5242. deliverygoodscode:
  5243. description: 现货品种代码
  5244. type: string
  5245. deliverygoodsid:
  5246. description: 现货品种id
  5247. type: integer
  5248. deliverygoodsname:
  5249. description: 现货品种名称
  5250. type: string
  5251. diffhedgeqty:
  5252. description: 套保变动量
  5253. type: number
  5254. diffneedhedgeqty:
  5255. description: 应套保变动量
  5256. type: number
  5257. diffqty:
  5258. description: 套保品种今变动量
  5259. type: number
  5260. enumdicname:
  5261. description: 单位名称
  5262. type: string
  5263. mgunitname:
  5264. description: 套保品种单位名称
  5265. type: string
  5266. middlegoodscode:
  5267. description: 套保品种代码
  5268. type: string
  5269. middlegoodsid:
  5270. description: 套保品种id
  5271. type: integer
  5272. middlegoodsname:
  5273. description: 套保品种名称
  5274. type: string
  5275. needarbitrageratio:
  5276. description: 应套利比例
  5277. type: number
  5278. needhedgeratio:
  5279. description: 应套保比例
  5280. type: number
  5281. pricedqty:
  5282. description: 已定价量
  5283. type: number
  5284. qty:
  5285. description: 合同量
  5286. type: number
  5287. reckondate:
  5288. description: 交易日(reckondate)
  5289. type: string
  5290. selluserid:
  5291. description: 销售方id
  5292. type: integer
  5293. sellusername:
  5294. description: 销售方名称
  5295. type: string
  5296. spotcontractid:
  5297. description: 合同id
  5298. type: string
  5299. todaypricedqty:
  5300. description: 今定价量
  5301. type: number
  5302. tradedate:
  5303. description: 交易日
  5304. type: string
  5305. unitid:
  5306. description: 品类单位id
  5307. type: integer
  5308. userid:
  5309. description: 机构id
  5310. type: integer
  5311. username:
  5312. description: 交易用户
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品id
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.Ermcp3ExposureDetail:
  5325. properties:
  5326. areauserid:
  5327. description: 机构ID
  5328. type: integer
  5329. changeQty:
  5330. description: 套保变动量
  5331. type: number
  5332. contracttype:
  5333. description: 现货合同类型 - 1:采购 -1:销售
  5334. type: integer
  5335. convertfactor:
  5336. description: 标仓系数
  5337. type: number
  5338. convertratio:
  5339. description: 折算系数
  5340. type: number
  5341. createtime:
  5342. description: 时间
  5343. type: string
  5344. enumdicname:
  5345. description: 现货商品单位名称
  5346. type: string
  5347. logtype:
  5348. description: 类型 - 1:套保计划 2:现货合同
  5349. type: integer
  5350. mgunitid:
  5351. description: 套保品种单位id
  5352. type: integer
  5353. mgunitidname:
  5354. description: 套保品种单位名称
  5355. type: string
  5356. middlegoodsId:
  5357. description: 套保商品id
  5358. type: integer
  5359. middlegoodscode:
  5360. description: 套保商品代码
  5361. type: string
  5362. middlegoodsname:
  5363. description: 套保商品名称
  5364. type: string
  5365. qty:
  5366. description: 数量
  5367. type: number
  5368. relateNo:
  5369. description: 现货合同/套保计划编号
  5370. type: string
  5371. unitid:
  5372. description: 现货商品单位id
  5373. type: integer
  5374. wrstandardcode:
  5375. description: 现货商品代码
  5376. type: string
  5377. wrstandardid:
  5378. description: 现货商品ID(SEQ_WRSTANDARD)
  5379. type: integer
  5380. wrstandardname:
  5381. description: 现货商品名称
  5382. type: string
  5383. type: object
  5384. models.Ermcp3ExposureFutuDetail:
  5385. properties:
  5386. accountid:
  5387. description: 交易账户id
  5388. type: integer
  5389. accountname:
  5390. description: 交易账户
  5391. type: string
  5392. begindate:
  5393. description: 开始交易日
  5394. type: string
  5395. buyorsell:
  5396. description: 方向 0-买 1-卖
  5397. type: integer
  5398. diffmgqty:
  5399. description: 套保品种今变化量
  5400. type: number
  5401. diffneedqty:
  5402. description: 应套保总量变化量
  5403. type: number
  5404. difftradeqty:
  5405. description: 交易品种今变化量
  5406. type: number
  5407. enddate:
  5408. description: 结束交易日
  5409. type: string
  5410. enumdicname:
  5411. description: 单位名称
  5412. type: string
  5413. goodscode:
  5414. description: 商品代码
  5415. type: string
  5416. goodsid:
  5417. description: 商品id
  5418. type: integer
  5419. goodsname:
  5420. description: 商品名称
  5421. type: string
  5422. holdqty:
  5423. description: 期末持仓量
  5424. type: number
  5425. middlegoodscode:
  5426. description: 套保商品代码
  5427. type: string
  5428. middlegoodsid:
  5429. description: 套保商品id
  5430. type: integer
  5431. middlegoodsname:
  5432. description: 套保商品名称
  5433. type: string
  5434. oriholdqty:
  5435. description: 期初持仓量
  5436. type: number
  5437. reckondate:
  5438. description: 交易日(RECKONDATE)
  5439. type: string
  5440. todaycloseqty:
  5441. description: 今平仓量
  5442. type: number
  5443. todayopenqty:
  5444. description: 今开仓量
  5445. type: number
  5446. tradedate:
  5447. description: 交易日(RECKONDATE)
  5448. type: string
  5449. username:
  5450. description: 用户名称(交易用户)
  5451. type: string
  5452. type: object
  5453. models.Ermcp3ExposureHedgeplanDetail:
  5454. properties:
  5455. biztype:
  5456. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5457. type: integer
  5458. changqty:
  5459. description: 应套保总量变化量
  5460. type: number
  5461. contracttype:
  5462. description: 计划类型 - 1:采购 -1:销售
  5463. type: integer
  5464. convertratio:
  5465. description: 折算系数(套保品种)
  5466. type: number
  5467. deliverygoodscode:
  5468. description: 现货商品代码
  5469. type: string
  5470. deliverygoodsid:
  5471. description: 现货商品id
  5472. type: integer
  5473. deliverygoodsname:
  5474. description: 现货商吕名称
  5475. type: string
  5476. dgunitid:
  5477. description: 现货商品单位id
  5478. type: integer
  5479. dgunitidname:
  5480. description: 单位名称(现货商品)
  5481. type: string
  5482. diffqty:
  5483. description: 套保品种今变动量
  5484. type: number
  5485. enumdicname:
  5486. description: 单位名称(品类)
  5487. type: string
  5488. hedgeplanid:
  5489. description: 套保计划id
  5490. type: string
  5491. hedgeplanno:
  5492. description: 套保计划名称
  5493. type: string
  5494. hedgeplanstatus:
  5495. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5496. type: integer
  5497. mgunitidname:
  5498. description: 单位名称(套保商品)
  5499. type: string
  5500. middlegoodscode:
  5501. description: 套保品种代码
  5502. type: string
  5503. middlegoodsid:
  5504. description: 套保品种id
  5505. type: integer
  5506. middlegoodsname:
  5507. description: 套保品种名称
  5508. type: string
  5509. needarbitrageratio:
  5510. description: 应套利比例
  5511. type: number
  5512. needhedgeratio:
  5513. description: 应套保比例
  5514. type: number
  5515. pricedqty:
  5516. description: 已定价量
  5517. type: number
  5518. qty:
  5519. description: 合同量
  5520. type: number
  5521. reckondate:
  5522. description: 交易日(reckondate)
  5523. type: string
  5524. tradedate:
  5525. description: 交易日(登记日)
  5526. type: string
  5527. unitid:
  5528. description: 品类单位id
  5529. type: integer
  5530. userid:
  5531. description: 机构id
  5532. type: integer
  5533. wrstandardcode:
  5534. description: 品类代码
  5535. type: string
  5536. wrstandardid:
  5537. description: 品类id
  5538. type: integer
  5539. wrstandardname:
  5540. description: 品类名称
  5541. type: string
  5542. type: object
  5543. models.Ermcp3ExposureParamChLog:
  5544. properties:
  5545. accountid:
  5546. description: 期货账户ID (作废, 默认为0)
  5547. type: integer
  5548. aftervalue:
  5549. description: 应套保\套利量变更后(调整后应套保总量)
  5550. type: number
  5551. areauserid:
  5552. description: 所属机构\交易用户ID
  5553. type: integer
  5554. beforevalue:
  5555. description: 应套保\套利量变更前(调整前应套保总量)
  5556. type: number
  5557. begindate:
  5558. description: 开始交易日
  5559. type: string
  5560. changelogtype:
  5561. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5562. type: integer
  5563. curvalue:
  5564. description: 当前套保\套利量(套保总量|套利总量)
  5565. type: number
  5566. diffvalue:
  5567. description: 应套保总量变化量
  5568. type: number
  5569. enddate:
  5570. description: 结束交易日
  5571. type: string
  5572. logdatetime:
  5573. description: 流水日期
  5574. type: string
  5575. logid:
  5576. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. paramaftervalue:
  5588. description: 参数变更后(调整后参数值)
  5589. type: number
  5590. parambeforevalue:
  5591. description: 参数变更前(调整前参数值)
  5592. type: number
  5593. reckondate:
  5594. description: 交易日(reckondate)
  5595. type: string
  5596. tradedate:
  5597. description: 交易日(yyyyMMdd)
  5598. type: string
  5599. type: object
  5600. models.Ermcp3ExpourseReport:
  5601. properties:
  5602. accountid:
  5603. description: 期货账户ID (作废, 默认为0)
  5604. type: integer
  5605. accountname:
  5606. description: 机构名称
  5607. type: string
  5608. arbitrageqty:
  5609. description: 套利量
  5610. type: number
  5611. areauserid:
  5612. description: 所属机构\交易用户ID
  5613. type: integer
  5614. begindate:
  5615. description: 开始交易日
  5616. type: string
  5617. buyfutureqty:
  5618. description: 买入期货数量
  5619. type: number
  5620. buyplanqty:
  5621. description: 采购计划数量
  5622. type: number
  5623. buypricedqty:
  5624. description: 采购合同已定价数量
  5625. type: number
  5626. cycletime:
  5627. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5628. type: string
  5629. cycletype:
  5630. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5631. type: integer
  5632. diffexposure:
  5633. description: 变动量(套保敞口)
  5634. type: number
  5635. difffutuqty:
  5636. description: 变动量(期货)
  5637. type: number
  5638. diffhedgeqty:
  5639. description: 变动量(现货应套保总量)
  5640. type: number
  5641. diffmgqtya:
  5642. description: 套保变动量
  5643. type: number
  5644. diffmgqtyb:
  5645. description: 套利变动量
  5646. type: number
  5647. diffneedqty:
  5648. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5649. type: number
  5650. diffqty:
  5651. description: 变动量(总敞口)
  5652. type: number
  5653. diffspotqty:
  5654. description: 变动量(现货) | 除税变动量
  5655. type: number
  5656. enddate:
  5657. description: 结束交易日
  5658. type: string
  5659. enumdicname:
  5660. description: 单位名称
  5661. type: string
  5662. hedgeqty:
  5663. description: 套保量
  5664. type: number
  5665. mgneedhedgeratio:
  5666. description: 套保比例(套保品的)
  5667. type: number
  5668. middlegoodsid:
  5669. description: 套保品种ID
  5670. type: integer
  5671. middlegoodsname:
  5672. description: 套保商品名称
  5673. type: string
  5674. middlgoodscode:
  5675. description: 套保商品代码
  5676. type: string
  5677. needarbitrageqty:
  5678. description: 应套利量
  5679. type: number
  5680. needarbitrageratio:
  5681. description: 套利比例(套保品的)
  5682. type: number
  5683. needhedgeexposoure:
  5684. description: 应套保敞口(套保敞口)
  5685. type: number
  5686. needhedgeqty:
  5687. description: 应套保量
  5688. type: number
  5689. needhedgeratio:
  5690. description: 应套保敞口比例
  5691. type: number
  5692. needqty:
  5693. description: 应套总量 = 应套保量 + 应套利量
  5694. type: number
  5695. oriarbitrageqty:
  5696. description: 期初套利量
  5697. type: number
  5698. oribuyfutureqty:
  5699. description: 期初买入期货数量
  5700. type: number
  5701. oribuyplanqty:
  5702. description: 期初采购计划数量
  5703. type: number
  5704. oribuypricedqty:
  5705. description: 期初采购合同已定价数量
  5706. type: number
  5707. orihedgeqty:
  5708. description: 期初套保量
  5709. type: number
  5710. orineedarbitrageqty:
  5711. description: 期初应套利量
  5712. type: number
  5713. orineedhedgeexposoure:
  5714. description: 期初应套保敞口
  5715. type: number
  5716. orineedhedgeqty:
  5717. description: 期初应套保量
  5718. type: number
  5719. orisellfutureqty:
  5720. description: 期初卖出期货数量
  5721. type: number
  5722. orisellplanqty:
  5723. description: 期初销售计划数量
  5724. type: number
  5725. orisellpricedqty:
  5726. description: 期初销售合同已定价数量
  5727. type: number
  5728. oritotalexposure:
  5729. description: 期初实时总敞口
  5730. type: number
  5731. oritotalfutureqty:
  5732. description: 期初期货头寸总量
  5733. type: number
  5734. oritotalneedhedgeqty:
  5735. description: 期初应套保总量
  5736. type: number
  5737. oritotalspotqty:
  5738. description: 期初现货头寸总量
  5739. type: number
  5740. reckondate:
  5741. description: 日照时期(yyyyMMdd)
  5742. type: string
  5743. sellfutureqty:
  5744. description: 卖出期货数量
  5745. type: number
  5746. sellplanqty:
  5747. description: 销售计划数量
  5748. type: number
  5749. sellpricedqty:
  5750. description: 销售合同已定价数量
  5751. type: number
  5752. totalexposure:
  5753. description: 实时总敞口(总敞口)
  5754. type: number
  5755. totalfutureqty:
  5756. description: 期货头寸总量(期货总量)
  5757. type: number
  5758. totalhedgeratio:
  5759. description: 敞口比例
  5760. type: number
  5761. totalneedhedgeqty:
  5762. description: 应套保总量(现货应套保总量)
  5763. type: number
  5764. totalspotqty:
  5765. description: 现货头寸总量 | 除税总量
  5766. type: number
  5767. unitid:
  5768. description: 单位id
  5769. type: integer
  5770. updatetime:
  5771. description: 更新时间
  5772. type: string
  5773. type: object
  5774. models.Ermcp3FinanceReport:
  5775. properties:
  5776. accountname:
  5777. description: 机构名称
  5778. type: string
  5779. areauserid:
  5780. description: 所属机构\交易用户ID
  5781. type: integer
  5782. begindate:
  5783. description: 开始交易日
  5784. type: string
  5785. biztype:
  5786. description: 业务类型 - 1:套保 2:套利
  5787. type: integer
  5788. brandname:
  5789. description: 品牌名称
  5790. type: string
  5791. buypreinvoicedamount:
  5792. description: 采购预收票额(预收票额)
  5793. type: number
  5794. buyprepaidamount:
  5795. description: 采购预付款额(预付货款额)
  5796. type: number
  5797. buytodayinvoiceamount:
  5798. description: 采购今收票额(今收票额)
  5799. type: number
  5800. buytodayrefundamount:
  5801. description: 采购今收退款额(今收退款额)
  5802. type: number
  5803. buytodaysettleamount:
  5804. description: 采购今付款额(今付货款额)
  5805. type: number
  5806. buyuninvoicedamount:
  5807. description: 采购应收票额(应收票额)
  5808. type: number
  5809. buyunpaidamount:
  5810. description: 采购应付款额(应付货款额)
  5811. type: number
  5812. currencyid:
  5813. description: 结算币种ID
  5814. type: integer
  5815. currencyname:
  5816. description: 币种名称
  5817. type: string
  5818. cycletime:
  5819. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5820. type: string
  5821. cycletype:
  5822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5823. type: integer
  5824. deliverygoodscode:
  5825. description: 现货品种代码
  5826. type: string
  5827. deliverygoodsid:
  5828. description: 现货品种ID
  5829. type: integer
  5830. deliverygoodsname:
  5831. description: 现货品种名称
  5832. type: string
  5833. enddate:
  5834. description: 结束交易日
  5835. type: string
  5836. reckondate:
  5837. description: 日照时期(yyyyMMdd)
  5838. type: string
  5839. sellpreinvoicedamount:
  5840. description: 销售预开票额(预开票额)
  5841. type: number
  5842. sellprepaidamount:
  5843. description: 销售预收款额(预收货款额)
  5844. type: number
  5845. selltodayinvoiceamount:
  5846. description: 销售今开票额(今开票额)
  5847. type: number
  5848. selltodayrefundamount:
  5849. description: 销售今付退款额(今付退款额)
  5850. type: number
  5851. selltodaysettleamount:
  5852. description: 销售今收款额(今收货款额)
  5853. type: number
  5854. selluninvoicedamount:
  5855. description: 销售应开票额(应开票额)
  5856. type: number
  5857. sellunpaidamount:
  5858. description: 销售应收款额(应收货款额)
  5859. type: number
  5860. spotgoodsbrandid:
  5861. description: 现货品牌ID
  5862. type: integer
  5863. todaypaysum:
  5864. description: 今付款合计
  5865. type: number
  5866. todayreceivesum:
  5867. description: 今收款合计
  5868. type: number
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. wrfactortypeid:
  5873. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5874. type: integer
  5875. wrstandardcode:
  5876. description: 品类代码
  5877. type: string
  5878. wrstandardid:
  5879. description: 现货商品ID
  5880. type: integer
  5881. wrstandardname:
  5882. description: 品类名称
  5883. type: string
  5884. type: object
  5885. models.Ermcp3GoodsGroup:
  5886. properties:
  5887. agreeunit:
  5888. description: 合约单位
  5889. type: number
  5890. areauserid:
  5891. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5892. type: integer
  5893. canshort:
  5894. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5895. type: integer
  5896. closepricemode:
  5897. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5898. type: integer
  5899. createtime:
  5900. description: 创建时间
  5901. type: string
  5902. creatorid:
  5903. description: 创建人
  5904. type: integer
  5905. currencyid:
  5906. description: 报价货币ID
  5907. type: integer
  5908. decimalplace:
  5909. description: 报价小数位
  5910. type: integer
  5911. enumdicname:
  5912. description: 单位名称
  5913. type: string
  5914. exchangefullname:
  5915. description: 交易所全称
  5916. type: string
  5917. excludecfg:
  5918. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5919. type: integer
  5920. exexchangecode:
  5921. description: 交易所代码
  5922. type: string
  5923. exexchangeid:
  5924. description: 外部交易所ID[通道交易]
  5925. type: integer
  5926. exexchangename:
  5927. description: 交易所名称
  5928. type: string
  5929. goodsgroupid:
  5930. description: 商品组ID(自增ID)
  5931. type: integer
  5932. goodsgroupname:
  5933. description: 商品组名称
  5934. type: string
  5935. goodsgroupstatus:
  5936. description: 商品组状态 - 1:正常 2:注销
  5937. type: integer
  5938. goodunitid:
  5939. description: 报价单位ID
  5940. type: integer
  5941. groupcategroyid:
  5942. description: 品种分类ID
  5943. type: integer
  5944. innerdealmode:
  5945. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5946. type: integer
  5947. marketid:
  5948. description: 所属市场ID
  5949. type: integer
  5950. modifierid:
  5951. description: 修改人
  5952. type: integer
  5953. modifytime:
  5954. description: 修改时间
  5955. type: string
  5956. outerdealmode:
  5957. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. outergroupcode:
  5960. description: 外部商品组代码[通道交易]
  5961. type: string
  5962. quoteminunit:
  5963. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5964. type: integer
  5965. quotesourcegroupid:
  5966. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5967. type: integer
  5968. syncgoodsqty:
  5969. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5970. type: integer
  5971. required:
  5972. - areauserid
  5973. type: object
  5974. models.Ermcp3HPMiddleGoods:
  5975. properties:
  5976. biztype:
  5977. description: 业务类型 1:套保 2:套利
  5978. type: integer
  5979. contracttype:
  5980. description: 合同类型 1:采购 -1:销售
  5981. type: integer
  5982. convertratio:
  5983. description: 折算系数
  5984. type: number
  5985. customername:
  5986. description: 对手手名称
  5987. type: string
  5988. customeruserid:
  5989. description: 对手id
  5990. type: integer
  5991. enumdicname:
  5992. description: 现货单位名称
  5993. type: string
  5994. hedgeplanid:
  5995. description: 计划id
  5996. type: string
  5997. hedgeplanno:
  5998. description: 计划编号
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID
  6002. type: integer
  6003. middlegoodsplanqty3:
  6004. description: 应套保计划量
  6005. type: number
  6006. needhedgeratio:
  6007. description: 套保比例
  6008. type: number
  6009. pricedqty:
  6010. description: 已定价量
  6011. type: number
  6012. relatedmiddlegoodsqty:
  6013. description: 已关联量(套保品种)(期货)
  6014. type: number
  6015. unitid:
  6016. description: 现货单位id
  6017. type: integer
  6018. userid:
  6019. description: 用户id
  6020. type: integer
  6021. vatrate:
  6022. description: 增值税率
  6023. type: number
  6024. wrstandardcode:
  6025. description: 现货商品代码
  6026. type: string
  6027. wrstandardid:
  6028. description: 现货商品id
  6029. type: integer
  6030. wrstandardname:
  6031. description: 现货商品名称
  6032. type: string
  6033. type: object
  6034. models.Ermcp3HedgePlan:
  6035. properties:
  6036. accountid:
  6037. description: 资金账号
  6038. type: integer
  6039. areauserid:
  6040. description: 用户ID
  6041. type: integer
  6042. auditid:
  6043. description: 审核id
  6044. type: integer
  6045. auditname:
  6046. description: 审核人名称
  6047. type: string
  6048. auditremark:
  6049. description: 审核备注
  6050. type: string
  6051. auditsrc:
  6052. description: 审核来源 1-管理端 2-终端
  6053. type: integer
  6054. audittime:
  6055. description: 审核时间
  6056. type: string
  6057. contracttype:
  6058. description: 计划类型 - 1:采购 -1:销售
  6059. type: integer
  6060. convertfactor:
  6061. description: 标仓系数
  6062. type: number
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. currencyid:
  6067. description: 币种id
  6068. type: integer
  6069. currencyname:
  6070. description: 币种名称
  6071. type: string
  6072. deliverygoodscode:
  6073. description: 现货品种代码
  6074. type: string
  6075. deliverygoodsid:
  6076. description: 现货品种ID
  6077. type: integer
  6078. deliverygoodsname:
  6079. description: 现货品种名称
  6080. type: string
  6081. enumdicname:
  6082. description: 单位名称(现货商品)
  6083. type: string
  6084. hedgeplanid:
  6085. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6086. type: string
  6087. hedgeplanno:
  6088. description: 套保计划编号(名称)
  6089. type: string
  6090. hedgeplanstatus:
  6091. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6092. type: integer
  6093. planqty:
  6094. description: 计划数量
  6095. type: number
  6096. plantime:
  6097. description: 计划时间
  6098. type: string
  6099. producttype:
  6100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6101. type: integer
  6102. remark:
  6103. description: 备注
  6104. type: string
  6105. spotgoodsdesc:
  6106. description: 商品型号
  6107. type: string
  6108. taaccountname:
  6109. description: 资金账号名称
  6110. type: string
  6111. tradeuserid:
  6112. description: 交易用户id
  6113. type: integer
  6114. tradeusername:
  6115. description: 交易用户名称
  6116. type: string
  6117. unitid:
  6118. description: 单位id(现货商品)
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. vatrate:
  6124. description: 增值税率
  6125. type: number
  6126. wrstandardcode:
  6127. description: 品类代码
  6128. type: string
  6129. wrstandardid:
  6130. description: 品类id
  6131. type: integer
  6132. wrstandardname:
  6133. description: 品类名称
  6134. type: string
  6135. wrunitid:
  6136. description: 品类单位id
  6137. type: integer
  6138. wrunitidame:
  6139. description: 品类单位名称
  6140. type: string
  6141. type: object
  6142. models.Ermcp3InnerTradeLink:
  6143. properties:
  6144. accountid:
  6145. description: 期货账号代码 | 资金账号ID
  6146. type: integer
  6147. buyorsell:
  6148. description: 方向 - 0:买 1:卖
  6149. type: integer
  6150. channelbuildtype:
  6151. description: 委托单据类型 0:无 1:建仓 2:平仓
  6152. type: integer
  6153. currencyid:
  6154. description: 币种id
  6155. type: integer
  6156. currencyname:
  6157. description: 结算币种 名称
  6158. type: string
  6159. goodscode:
  6160. description: 商品代码
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. outtradeid:
  6169. description: 外部成交单号
  6170. type: string
  6171. taname:
  6172. description: 期货账户名称
  6173. type: string
  6174. tradeid:
  6175. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6176. type: string
  6177. tradeprice:
  6178. description: 成交价格
  6179. type: number
  6180. tradeqty:
  6181. description: 期货成交数量
  6182. type: integer
  6183. tradetime:
  6184. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6185. type: string
  6186. username:
  6187. description: 用户名称
  6188. type: string
  6189. type: object
  6190. models.Ermcp3OutTradeLink:
  6191. properties:
  6192. buyorsell:
  6193. description: 买卖方向 - 0:买 1:卖
  6194. type: integer
  6195. channelbuildtype:
  6196. description: 开平标志- 0:无 1:建仓 2:平仓
  6197. type: integer
  6198. currencyname:
  6199. description: 币种名称
  6200. type: string
  6201. exexchangecode:
  6202. description: 交易所代码
  6203. type: string
  6204. exexchangename:
  6205. description: 交易所名称
  6206. type: string
  6207. goodscode:
  6208. description: 合约代码
  6209. type: string
  6210. goodsid:
  6211. description: 合约id
  6212. type: integer
  6213. goodsname:
  6214. description: 合约名称
  6215. type: string
  6216. hasinnerorder:
  6217. description: 是否有内部单关联 - 0:无 1:有
  6218. type: integer
  6219. hedgeaccountcode:
  6220. description: 外部账号 | 对冲账号
  6221. type: string
  6222. outtradeid:
  6223. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6224. type: string
  6225. tradeprice:
  6226. description: 成交价格
  6227. type: number
  6228. tradeqty:
  6229. description: 成交数量
  6230. type: integer
  6231. tradetime:
  6232. description: 成交时间
  6233. type: string
  6234. type: object
  6235. models.Ermcp3PaAreaAuditCfg:
  6236. properties:
  6237. areauserid:
  6238. description: 用户ID
  6239. type: integer
  6240. buyinauditflag:
  6241. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6242. type: integer
  6243. costratioauditflag:
  6244. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6245. type: integer
  6246. customerauditflag:
  6247. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6248. type: integer
  6249. deliveryauditflag:
  6250. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6251. type: integer
  6252. invoiceauditflag:
  6253. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6254. type: integer
  6255. mgneedhedgeratioauditflag:
  6256. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6257. type: integer
  6258. moneyauditflag:
  6259. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6260. type: integer
  6261. operatorid:
  6262. description: 操作人
  6263. type: integer
  6264. operatorsrc:
  6265. description: 操作来源 - 1:管理端 2:终端
  6266. type: integer
  6267. pointpriceauditflag:
  6268. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6269. type: integer
  6270. produceinauditflag:
  6271. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6272. type: integer
  6273. produceoutauditflag:
  6274. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6275. type: integer
  6276. selloutauditflag:
  6277. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6278. type: integer
  6279. sgconvertratioauditflag:
  6280. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6281. type: integer
  6282. sgvtaratioauditflag:
  6283. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6284. type: integer
  6285. spotcontractauditflag:
  6286. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6287. type: integer
  6288. updatetime:
  6289. description: 更新时间
  6290. type: string
  6291. type: object
  6292. models.Ermcp3PaAreaSubject:
  6293. properties:
  6294. areauserid:
  6295. description: 所属机构
  6296. type: integer
  6297. canmodify:
  6298. description: 是否可修改 - 0:否 1:是
  6299. type: integer
  6300. createtime:
  6301. description: 创建时间
  6302. type: string
  6303. creatorid:
  6304. description: 创建人ID
  6305. type: string
  6306. creatorsrc:
  6307. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6308. type: integer
  6309. modifierid:
  6310. description: 修改人
  6311. type: string
  6312. modifiersrc:
  6313. description: 修改人来源 - 1:管理端 2:终端
  6314. type: integer
  6315. modifytime:
  6316. description: 修改时间
  6317. type: string
  6318. parentsubjectid:
  6319. description: 上级主体ID
  6320. type: string
  6321. remark:
  6322. description: 备注
  6323. type: string
  6324. subjectid:
  6325. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6326. type: integer
  6327. subjectname:
  6328. description: 主体名称
  6329. type: string
  6330. subjectstatus:
  6331. description: '主体状态 - 1:正常 2: 停用'
  6332. type: integer
  6333. subjecttype:
  6334. description: 主体类型 - 1:交易主体 2:业务部门
  6335. type: integer
  6336. type: object
  6337. models.Ermcp3PaTradeLink:
  6338. properties:
  6339. accountid:
  6340. description: 期货账户代码 | 账号ID
  6341. type: integer
  6342. agreeunit:
  6343. description: 合约乘数
  6344. type: number
  6345. buyorsell:
  6346. description: 方向 - 0:买 1:卖
  6347. type: integer
  6348. channelbuildtype:
  6349. description: 委托单据类型 0:无 1:建仓 2:平仓
  6350. type: integer
  6351. charge:
  6352. description: 手续费
  6353. type: number
  6354. closepl:
  6355. description: 平仓盈亏
  6356. type: number
  6357. closetype:
  6358. description: 平仓方式 - 0:无 1:平今 2:平昨
  6359. type: integer
  6360. convertratio:
  6361. description: 折算系数
  6362. type: number
  6363. enumdicname:
  6364. description: 单位名称
  6365. type: string
  6366. executeprice:
  6367. description: 执行价 [期权]
  6368. type: integer
  6369. goodscode:
  6370. description: 合约代码
  6371. type: string
  6372. goodsgroupid:
  6373. description: 对冲品种ID[期货合约商品组ID]
  6374. type: integer
  6375. goodsid:
  6376. description: 商品ID
  6377. type: integer
  6378. goodsname:
  6379. description: 合约名称
  6380. type: string
  6381. goodunitid:
  6382. description: 单位id
  6383. type: integer
  6384. hedgeflag:
  6385. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6386. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6387. type: integer
  6388. marketid:
  6389. description: 市场ID
  6390. type: integer
  6391. middlegoodsid:
  6392. description: 套保品种ID
  6393. type: integer
  6394. middlegoodsqty:
  6395. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6396. type: number
  6397. optioncode:
  6398. description: 期权代码 [期权]
  6399. type: string
  6400. ordertype:
  6401. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6402. type: integer
  6403. ordertypename:
  6404. description: 订单类型
  6405. type: string
  6406. parentaccountid:
  6407. description: 所属母账户
  6408. type: integer
  6409. premium:
  6410. description: 权利金 [期权]
  6411. type: number
  6412. relatedlot:
  6413. description: 已关联数量(已关联数量手) | db:关联手数
  6414. type: number
  6415. relatedouttradeid:
  6416. description: 关联外部成交单ID
  6417. type: string
  6418. relatedqty:
  6419. description: 关联数量
  6420. type: number
  6421. spotcontractid:
  6422. description: 现货合同ID [4:套期保值\10\11]
  6423. type: string
  6424. taname:
  6425. description: 期货账户名称
  6426. type: string
  6427. tradeamount:
  6428. description: 成交金额(账户)
  6429. type: number
  6430. tradedate:
  6431. description: 交易日(yyyyMMdd)
  6432. type: string
  6433. tradeid:
  6434. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6435. type: string
  6436. tradelot:
  6437. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6438. type: integer
  6439. tradeprice:
  6440. description: 成交价格
  6441. type: number
  6442. tradetime:
  6443. description: 时间 | db:成交时间
  6444. type: string
  6445. tradetype:
  6446. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6447. type: integer
  6448. userid:
  6449. description: 所属机构 - 所属母账户的UserID
  6450. type: string
  6451. username:
  6452. description: 用户名称
  6453. type: string
  6454. type: object
  6455. models.Ermcp3ParamChangeApp:
  6456. properties:
  6457. aftervalue:
  6458. description: 变更后
  6459. type: number
  6460. applicationid:
  6461. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6462. type: string
  6463. applyid:
  6464. description: 申请人
  6465. type: string
  6466. applyname:
  6467. description: 申请人名称(代码)
  6468. type: string
  6469. applyremark:
  6470. description: 申请备注
  6471. type: string
  6472. applysrc:
  6473. description: 申请来源 - 1:管理端 2:终端
  6474. type: integer
  6475. applystatus:
  6476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6477. type: integer
  6478. applytime:
  6479. description: 申请时间
  6480. type: string
  6481. areauserid:
  6482. description: 所属机构用户ID
  6483. type: integer
  6484. auditid:
  6485. description: 审核人
  6486. type: string
  6487. auditname:
  6488. description: 审核人名称(代码)
  6489. type: string
  6490. auditremark:
  6491. description: 审核备注
  6492. type: string
  6493. auditsrc:
  6494. description: 审核来源 - 1:管理端 2:终端
  6495. type: integer
  6496. audittime:
  6497. description: 审核时间
  6498. type: string
  6499. audittradedate:
  6500. description: 审核交易日(yyyyMMdd)
  6501. type: string
  6502. beforevalue:
  6503. description: 变更前
  6504. type: number
  6505. deliverygoodscode:
  6506. description: 品种代码
  6507. type: string
  6508. deliverygoodsid:
  6509. description: 品种id
  6510. type: integer
  6511. deliverygoodsname:
  6512. description: 品种名称
  6513. type: string
  6514. middlegoodscode:
  6515. description: 套保品种代码
  6516. type: string
  6517. middlegoodsid:
  6518. description: 套保品种ID [ParamChangeType = 2,3,4]
  6519. type: integer
  6520. middlegoodsname:
  6521. description: 套保品种名称
  6522. type: string
  6523. operatetype:
  6524. description: 操作类型 - 1:新增 2:修改
  6525. type: integer
  6526. paramchangetype:
  6527. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6528. type: integer
  6529. wrstandardcode:
  6530. description: 现货商品代码
  6531. type: string
  6532. wrstandardid:
  6533. description: 现货商品ID [ParamChangeType = 1,2,3]
  6534. type: integer
  6535. wrstandardname:
  6536. description: 现货商品名称
  6537. type: string
  6538. type: object
  6539. models.Ermcp3RootUserAccount:
  6540. properties:
  6541. accountname:
  6542. description: 账户名称(机构名称)
  6543. type: string
  6544. accountstatus:
  6545. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6546. type: integer
  6547. applysrc:
  6548. description: 申请来源 - 1:管理端 2:终端
  6549. type: integer
  6550. auditremark:
  6551. description: 审核备注
  6552. type: string
  6553. auditsrc:
  6554. description: 审核来源 - 1:管理端 2:终端
  6555. type: integer
  6556. audittime:
  6557. description: 审核时间
  6558. type: string
  6559. audituserid:
  6560. description: 审核人
  6561. type: integer
  6562. broker:
  6563. description: 所属经纪人ID
  6564. type: integer
  6565. canceltime:
  6566. description: 销户时间
  6567. type: string
  6568. canceluserid:
  6569. description: 销户人
  6570. type: integer
  6571. canrecommend:
  6572. description: 是否可推荐 - 0:不可 1;可
  6573. type: integer
  6574. createtime:
  6575. description: 创建时间
  6576. type: string
  6577. creatorid:
  6578. description: 创建人
  6579. type: integer
  6580. hasauth:
  6581. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6582. type: integer
  6583. isanonymous:
  6584. description: 是否匿名下单 - 0:否 1:是
  6585. type: integer
  6586. maxinvestornum:
  6587. description: 最大用户数(经纪会员下投资者个数)
  6588. type: integer
  6589. memberuserid:
  6590. description: 所属会员ID
  6591. type: integer
  6592. modifierid:
  6593. description: 修改人
  6594. type: integer
  6595. modifyremark:
  6596. description: 变更备注
  6597. type: string
  6598. modifystatus:
  6599. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6600. type: integer
  6601. modifytime:
  6602. description: 修改时间
  6603. type: string
  6604. nickname:
  6605. description: 昵称
  6606. type: string
  6607. parenttopuser:
  6608. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6609. type: string
  6610. parentuserid:
  6611. description: 所属机构ID
  6612. type: integer
  6613. reckonaccountid:
  6614. description: 默认结算资金账号ID(机构分润使用) 作废
  6615. type: integer
  6616. refercount:
  6617. description: 推荐总人数
  6618. type: integer
  6619. refereeuserid:
  6620. description: 推荐人ID
  6621. type: integer
  6622. refernum:
  6623. description: 推荐码
  6624. type: string
  6625. rootuserid:
  6626. description: 根用户ID
  6627. type: integer
  6628. subaccountlevel:
  6629. description: 子账户层数
  6630. type: integer
  6631. subarealevelpath:
  6632. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6633. type: string
  6634. userid:
  6635. description: 用户ID
  6636. type: integer
  6637. usertype:
  6638. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6639. type: integer
  6640. type: object
  6641. models.Ermcp3SCMiddleGoods:
  6642. properties:
  6643. biztype:
  6644. description: 业务类型 1:套保 2:套利
  6645. type: integer
  6646. contractno:
  6647. description: 合同编号
  6648. type: string
  6649. contracttype:
  6650. description: 合同类型 1:采购 -1:销售
  6651. type: integer
  6652. convertratio:
  6653. description: 折算系数
  6654. type: number
  6655. customername:
  6656. description: 对手手名称
  6657. type: string
  6658. customeruserid:
  6659. description: 对手id
  6660. type: integer
  6661. deliverygoodscode:
  6662. description: 现货品种代码
  6663. type: string
  6664. deliverygoodsid:
  6665. description: 现货品种ID
  6666. type: integer
  6667. deliverygoodsname:
  6668. description: 现货品种名称
  6669. type: string
  6670. enumdicname:
  6671. description: 现货单位名称
  6672. type: string
  6673. middlegoodsid:
  6674. description: 套保品种ID
  6675. type: integer
  6676. middlegoodspricedqty3:
  6677. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6678. type: number
  6679. needhedgeratio:
  6680. description: 套保比例
  6681. type: number
  6682. pricedqty:
  6683. description: 已定价量
  6684. type: number
  6685. relatedmiddlegoodsqty:
  6686. description: 已关联量(套保品种)(期货)
  6687. type: number
  6688. spotcontractid:
  6689. description: 合同编号
  6690. type: string
  6691. unitid:
  6692. description: 现货单位id
  6693. type: integer
  6694. userid:
  6695. description: 用户id
  6696. type: integer
  6697. vatrate:
  6698. description: 增值税率
  6699. type: number
  6700. wrstandardcode:
  6701. description: 现货商品代码
  6702. type: string
  6703. wrstandardid:
  6704. description: 现货商品id
  6705. type: integer
  6706. wrstandardname:
  6707. description: 现货商品名称
  6708. type: string
  6709. type: object
  6710. models.Ermcp3SCMiddleGoodsReport:
  6711. properties:
  6712. begindate:
  6713. description: 开始交易日
  6714. type: string
  6715. contractno:
  6716. description: 合同编号
  6717. type: string
  6718. contracttype:
  6719. description: 合同类型 1:采购 -1:销售
  6720. type: integer
  6721. convertratio:
  6722. description: 折算系数
  6723. type: number
  6724. cycletime:
  6725. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6726. type: string
  6727. cycletype:
  6728. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6729. type: integer
  6730. deliverygoodscode:
  6731. description: 品种代码
  6732. type: string
  6733. deliverygoodsid:
  6734. description: 现货品种ID
  6735. type: integer
  6736. deliverygoodsname:
  6737. description: 品种名称
  6738. type: string
  6739. diffprice:
  6740. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6741. type: number
  6742. diffqty:
  6743. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6744. type: number
  6745. enddate:
  6746. description: 结束交易日
  6747. type: string
  6748. hedgeplanqty:
  6749. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6750. type: number
  6751. matchname:
  6752. description: 交易对手方(个人:用户名称 企业:简称)
  6753. type: string
  6754. matchnickname:
  6755. description: 交易对手方昵称
  6756. type: string
  6757. middlegoodscode:
  6758. description: 套保品种代码
  6759. type: string
  6760. middlegoodsid:
  6761. description: 套保品种ID
  6762. type: integer
  6763. middlegoodsname:
  6764. description: 套保品种名称
  6765. type: string
  6766. middlegoodspricedqty:
  6767. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6768. type: number
  6769. middlegoodspricedqty2:
  6770. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6771. type: number
  6772. middlegoodspricedqty3:
  6773. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6774. type: number
  6775. needhedgeratio:
  6776. description: 套保系数
  6777. type: number
  6778. pricedamount:
  6779. description: 已定价额(现货)
  6780. type: number
  6781. pricedamount2:
  6782. description: 已定价额(现货-基价额)
  6783. type: number
  6784. pricedqty:
  6785. description: 已定价量(现货)
  6786. type: number
  6787. reckondate:
  6788. description: 日照时期(yyyyMMdd)
  6789. type: string
  6790. relatedmiddlegoodsamount:
  6791. description: 已关联额(期货)
  6792. type: number
  6793. relatedmiddlegoodsqty:
  6794. description: 已关联量(套保品种)(期货)
  6795. type: number
  6796. spotcontractid:
  6797. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6798. type: string
  6799. todayavgfutuprice:
  6800. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6801. type: number
  6802. todayavgprice:
  6803. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6804. type: number
  6805. todayavgprice2:
  6806. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6807. type: number
  6808. todaypricedamount:
  6809. description: 今日定价额(现货)
  6810. type: number
  6811. todaypricedamount2:
  6812. description: 今日定价额(现货-基价额)
  6813. type: number
  6814. todaypricedqty:
  6815. description: 今日定价量(现货)
  6816. type: number
  6817. todayrelatedfutureqty:
  6818. description: 今日关联量(期货)
  6819. type: number
  6820. todayrelatedmiddlegoodsamount:
  6821. description: 今日关联额(期货)
  6822. type: number
  6823. todayrelatedmiddlegoodsqty:
  6824. description: 今日关联量(套保品-期货)
  6825. type: number
  6826. updatetime:
  6827. description: 更新时间
  6828. type: string
  6829. userid:
  6830. description: 合同所属用户id
  6831. type: integer
  6832. vatrate:
  6833. description: 增值税率
  6834. type: number
  6835. wrstandardcode:
  6836. description: 商品(品类) 代码
  6837. type: string
  6838. wrstandardid:
  6839. description: 现货商品ID
  6840. type: integer
  6841. wrstandardname:
  6842. description: 商品(品类) 名称
  6843. type: string
  6844. type: object
  6845. models.Ermcp3SellBuyContract:
  6846. properties:
  6847. accountid:
  6848. description: 期货账户id
  6849. type: string
  6850. accountname:
  6851. description: 账户名称
  6852. type: string
  6853. attachment:
  6854. description: 附件
  6855. type: string
  6856. audittime:
  6857. description: 审核时间
  6858. type: string
  6859. bizsubjectid:
  6860. description: 归属业务部门ID - SubjectID
  6861. type: integer
  6862. biztype:
  6863. description: 业务类型 1-套保 2-套利
  6864. type: integer
  6865. brandname:
  6866. description: 品牌名称
  6867. type: string
  6868. contracctstatus:
  6869. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6870. type: integer
  6871. contractmargin:
  6872. description: 合同保证金
  6873. type: number
  6874. contractno:
  6875. description: 合同编号
  6876. type: string
  6877. contracttype:
  6878. description: 合同类型 1-采购, -1-销售
  6879. type: integer
  6880. convertfactor:
  6881. description: 标仓系数(品类)
  6882. type: number
  6883. createtime:
  6884. description: 创建时间
  6885. type: string
  6886. currencyid:
  6887. description: 币种id
  6888. type: integer
  6889. currencyname:
  6890. description: 币种名称
  6891. type: string
  6892. daikaiamount:
  6893. description: 应收(开)票额 | 未收票额
  6894. type: number
  6895. deliveryenddate:
  6896. description: 交割结束日
  6897. type: string
  6898. deliverygoodscode:
  6899. description: 现货品种代码
  6900. type: string
  6901. deliverygoodsid:
  6902. description: 现货商品ID
  6903. type: integer
  6904. deliverygoodsname:
  6905. description: 现货品种名称
  6906. type: string
  6907. deliverystartdate:
  6908. description: 交割开始日
  6909. type: string
  6910. enddate:
  6911. description: 点价结束日
  6912. type: string
  6913. enumdicname:
  6914. description: 单位名称
  6915. type: string
  6916. goodscode:
  6917. description: 点价商品代码
  6918. type: string
  6919. goodsgroupid:
  6920. description: 点价商品组id
  6921. type: integer
  6922. goodsid:
  6923. description: 点价商品ID
  6924. type: integer
  6925. goodsname:
  6926. description: 点价商品名称
  6927. type: string
  6928. invoiceamount:
  6929. description: 已开票额
  6930. type: number
  6931. loanamount:
  6932. description: 贷款总额=已定价额+调整金额
  6933. type: number
  6934. margin:
  6935. description: 保证金
  6936. type: number
  6937. meruserid:
  6938. description: 跟单员id
  6939. type: integer
  6940. meruserlogincode:
  6941. description: 跟单员登录代码
  6942. type: string
  6943. merusername:
  6944. description: 跟单员名称
  6945. type: string
  6946. nickname:
  6947. description: 账户昵称
  6948. type: string
  6949. orireckonrealqty:
  6950. description: 应交收量
  6951. type: number
  6952. payamount:
  6953. description: 已收付额(收款或付款)
  6954. type: number
  6955. preinvoiceamount:
  6956. description: 预收(开)票额
  6957. type: number
  6958. prepayamount:
  6959. description: 预收付额
  6960. type: number
  6961. price:
  6962. description: 价格
  6963. type: number
  6964. pricedamount:
  6965. description: 已定价额
  6966. type: number
  6967. pricedavg:
  6968. description: 已点均价
  6969. type: number
  6970. pricedqty:
  6971. description: 已定价量
  6972. type: number
  6973. pricemove:
  6974. description: 升贴水
  6975. type: number
  6976. pricetype:
  6977. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6978. type: integer
  6979. producttype:
  6980. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6981. type: integer
  6982. qty:
  6983. description: 合同量
  6984. type: number
  6985. reckonadjustamount:
  6986. description: 调整金额
  6987. type: number
  6988. reckonedamount:
  6989. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6990. type: number
  6991. reckonotheramount:
  6992. description: 其它费用
  6993. type: number
  6994. reckonrealqty:
  6995. description: 已交收量
  6996. type: number
  6997. remark:
  6998. description: 备注
  6999. type: string
  7000. saleuserid:
  7001. description: 业务员id
  7002. type: integer
  7003. saleuserlogincode:
  7004. description: 业务员登录代码
  7005. type: string
  7006. saleusername:
  7007. description: 业务员名称
  7008. type: string
  7009. spotcontractid:
  7010. description: 合同ID
  7011. type: string
  7012. spotgoodsbrandid:
  7013. description: 现货品牌ID(DGFactoryItem表的ID)
  7014. type: integer
  7015. spotgoodsdesc:
  7016. description: 商品型号(商品规格)
  7017. type: string
  7018. startdate:
  7019. description: 点价开始日
  7020. type: string
  7021. subjectid:
  7022. description: 交易主体ID
  7023. type: integer
  7024. subjectname:
  7025. description: 交易主体名称
  7026. type: string
  7027. totalamount:
  7028. description: 合计总额
  7029. type: number
  7030. tradeuserid:
  7031. description: 交易员id
  7032. type: integer
  7033. tradeuserlogincode:
  7034. description: 交易员登录代码
  7035. type: string
  7036. tradeusername:
  7037. description: 交易员名称
  7038. type: string
  7039. unpayamount:
  7040. description: 应收付款额(应支付或应收款) | 未付款额
  7041. type: number
  7042. unpricedqty:
  7043. description: 未定价量
  7044. type: number
  7045. unsureqty:
  7046. description: 未确定量 | 未交收量
  7047. type: number
  7048. userid:
  7049. description: 机构ID
  7050. type: integer
  7051. vatrate:
  7052. description: 增值税率
  7053. type: number
  7054. wrstandardcode:
  7055. description: 品类代码
  7056. type: string
  7057. wrstandardid:
  7058. description: 品类ID
  7059. type: integer
  7060. wrstandardname:
  7061. description: 品类名称
  7062. type: string
  7063. type: object
  7064. models.Ermcp3SpotGoodsPrice:
  7065. properties:
  7066. areauserid:
  7067. description: 所属机构id
  7068. type: integer
  7069. brandname:
  7070. description: 品牌名称
  7071. type: string
  7072. currencyid:
  7073. description: 报价货币ID
  7074. type: integer
  7075. currencyname:
  7076. description: 币种名称
  7077. type: string
  7078. deliverygoodscode:
  7079. description: 现货商品代码
  7080. type: string
  7081. deliverygoodsid:
  7082. description: 现货商品id
  7083. type: integer
  7084. deliverygoodsname:
  7085. description: 现货商品名称
  7086. type: string
  7087. enumdicname:
  7088. description: 现货商品单位名称
  7089. type: string
  7090. gbenumdicname:
  7091. description: 品类单位名称
  7092. type: string
  7093. gmunitid:
  7094. description: 品类单位id
  7095. type: integer
  7096. isvalid:
  7097. description: 是否有效 - 0:无效 1:有效
  7098. type: integer
  7099. operateid:
  7100. description: 最后操作人
  7101. type: integer
  7102. operatesrc:
  7103. description: 最后操作来源 - 1:管理端 2:终端
  7104. type: integer
  7105. operatetime:
  7106. description: 最后操作时间
  7107. type: string
  7108. operatorname:
  7109. description: 操作人名称
  7110. type: string
  7111. spotgoodsbrandid:
  7112. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7113. type: integer
  7114. spotgoodsprice:
  7115. description: 现货价格
  7116. type: number
  7117. tradedate:
  7118. description: 交易日(yyyyMMdd)
  7119. type: string
  7120. unitid:
  7121. description: 现货商品单位id
  7122. type: integer
  7123. wrstandardcode:
  7124. description: 品类代码
  7125. type: string
  7126. wrstandardid:
  7127. description: 现货品类ID(通用则为0)
  7128. type: integer
  7129. wrstandardname:
  7130. description: 品类名称
  7131. type: string
  7132. type: object
  7133. models.Ermcp3SpotGoodsPriceLog:
  7134. properties:
  7135. areauserid:
  7136. description: 所属机构id
  7137. type: integer
  7138. brandname:
  7139. description: 品牌名称
  7140. type: string
  7141. currencyid:
  7142. description: 报价货币ID
  7143. type: integer
  7144. deliverygoodscode:
  7145. description: 现货商品代码
  7146. type: string
  7147. deliverygoodsid:
  7148. description: 现货商品id
  7149. type: integer
  7150. deliverygoodsname:
  7151. description: 现货商品名称
  7152. type: string
  7153. enumdicname:
  7154. description: 现货商品单位名称
  7155. type: string
  7156. gbenumdicname:
  7157. description: 品类单位名称
  7158. type: string
  7159. gmunitid:
  7160. description: 品类单位id
  7161. type: integer
  7162. logid:
  7163. description: 日志id
  7164. type: integer
  7165. operateid:
  7166. description: 最后操作人
  7167. type: integer
  7168. operatesrc:
  7169. description: 最后操作来源 - 1:管理端 2:终端
  7170. type: integer
  7171. operatetime:
  7172. description: 最后操作时间
  7173. type: string
  7174. operatorname:
  7175. description: 操作人名称
  7176. type: string
  7177. spotgoodsbrandid:
  7178. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7179. type: integer
  7180. spotgoodsprice:
  7181. description: 现货价格
  7182. type: number
  7183. tradedate:
  7184. description: 交易日(yyyyMMdd)
  7185. type: string
  7186. unitid:
  7187. description: 现货商品单位id
  7188. type: integer
  7189. wrstandardcode:
  7190. description: 品类代码
  7191. type: string
  7192. wrstandardid:
  7193. description: 现货品类ID(通用则为0)
  7194. type: integer
  7195. wrstandardname:
  7196. description: 品类名称
  7197. type: string
  7198. type: object
  7199. models.Ermcp3SubTaaccount:
  7200. properties:
  7201. accountid:
  7202. description: 资金账户ID
  7203. type: integer
  7204. parentaccountcode:
  7205. description: 所属根账号代码(母账号代码)
  7206. type: string
  7207. parentaccountid:
  7208. description: 所属根账号(母账号)
  7209. type: integer
  7210. taname:
  7211. description: 资金账号名称
  7212. type: string
  7213. tradestatus:
  7214. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7215. type: integer
  7216. username:
  7217. description: 交易用户
  7218. type: string
  7219. type: object
  7220. models.Ermcp3TaFutuReDataReport:
  7221. properties:
  7222. accountid:
  7223. description: 交易账户
  7224. type: integer
  7225. accountname:
  7226. description: 交易账号名称
  7227. type: string
  7228. agreeunit:
  7229. description: 商品合约单位
  7230. type: number
  7231. begindate:
  7232. description: 开始交易日
  7233. type: string
  7234. buyorsell:
  7235. description: 持仓方向
  7236. type: integer
  7237. charge:
  7238. description: 手续费
  7239. type: number
  7240. closeavgprice:
  7241. description: 平仓均价
  7242. type: number
  7243. closepl:
  7244. description: 平仓损益
  7245. type: number
  7246. currencyid:
  7247. description: 结算币种ID
  7248. type: integer
  7249. currencyname:
  7250. description: 币种名称
  7251. type: string
  7252. cycletime:
  7253. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7254. type: string
  7255. cycletype:
  7256. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7257. type: integer
  7258. enddate:
  7259. description: 结束交易日
  7260. type: string
  7261. enumdicname:
  7262. description: 单位名称
  7263. type: string
  7264. floatpl:
  7265. description: 浮动损益
  7266. type: number
  7267. goodscode:
  7268. description: 交易合约代码
  7269. type: string
  7270. goodsgroupid:
  7271. description: 交易品种
  7272. type: integer
  7273. goodsgroupname:
  7274. description: 交易品种名称
  7275. type: string
  7276. goodsgroupspotqty:
  7277. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7278. type: number
  7279. goodsid:
  7280. description: 交易合约
  7281. type: integer
  7282. goodsname:
  7283. description: 交易合约名称
  7284. type: string
  7285. goodunitid:
  7286. description: 交易合约单位id
  7287. type: integer
  7288. holdamount:
  7289. description: 期末持仓额
  7290. type: number
  7291. holdqty:
  7292. description: 期末持仓量
  7293. type: number
  7294. lastholdamount:
  7295. description: 当前持仓额
  7296. type: number
  7297. lastprice:
  7298. description: 最新价
  7299. type: number
  7300. middlegoodsid:
  7301. description: 套保品种id
  7302. type: integer
  7303. middlegoodsname:
  7304. description: 套保商品名称
  7305. type: string
  7306. middlegoodsqty:
  7307. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7308. type: number
  7309. middlgoodscode:
  7310. description: 套保商品代码
  7311. type: string
  7312. openamount:
  7313. description: 期末开仓额
  7314. type: number
  7315. openavgprice:
  7316. description: 开仓均价
  7317. type: number
  7318. oriholdamount:
  7319. description: 期初持仓额
  7320. type: number
  7321. oriholdqty:
  7322. description: 期初持仓量
  7323. type: number
  7324. oriopenamount:
  7325. description: 期初开仓额
  7326. type: number
  7327. outergroupcode:
  7328. description: 交易品种代码
  7329. type: string
  7330. qtydecimalplace:
  7331. description: 成交量小数位
  7332. type: integer
  7333. reckondate:
  7334. description: 日照时期(yyyyMMdd)
  7335. type: string
  7336. reckonholdamount:
  7337. description: 结算持仓额
  7338. type: number
  7339. reckonpl:
  7340. description: 结算损益
  7341. type: number
  7342. reckonpl2:
  7343. description: 结算逐笔盈亏
  7344. type: number
  7345. reckonprice:
  7346. description: 结算价
  7347. type: number
  7348. relateduserid:
  7349. description: 账户关联用户ID
  7350. type: integer
  7351. todaycloseamount:
  7352. description: 今平仓额
  7353. type: number
  7354. todaycloseqty:
  7355. description: 今平仓量
  7356. type: number
  7357. todaygoodsgroupspotqty:
  7358. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7359. type: number
  7360. todaymiddlegoodsqty:
  7361. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7362. type: number
  7363. todayopenamount:
  7364. description: 今开仓额
  7365. type: number
  7366. todayopenqty:
  7367. description: 今开仓量
  7368. type: number
  7369. userid:
  7370. description: 账户所属用户ID
  7371. type: integer
  7372. type: object
  7373. models.Ermcp3TradeLinkDetail:
  7374. properties:
  7375. accountid:
  7376. description: 资金账号
  7377. type: integer
  7378. agreeunit:
  7379. description: 合约乘数
  7380. type: number
  7381. areauserid:
  7382. description: 所属机构
  7383. type: string
  7384. bizsubjectid:
  7385. description: 归属业务部门ID - SubjectID
  7386. type: string
  7387. buyorsell:
  7388. description: 方向 - 0:买 1:卖
  7389. type: integer
  7390. channelbuildtype:
  7391. description: 委托单据类型 0:无 1:建仓 2:平仓
  7392. type: integer
  7393. contractno:
  7394. description: 现货编号 (合同编号)
  7395. type: string
  7396. convertratio:
  7397. description: 折算系数
  7398. type: number
  7399. createtime:
  7400. description: 关联时间 | 创建时间
  7401. type: string
  7402. creatorid:
  7403. description: 创建人ID
  7404. type: string
  7405. creatorsrc:
  7406. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7407. type: integer
  7408. enumdicname:
  7409. description: 单位名称
  7410. type: string
  7411. goodscode:
  7412. description: 合约代码
  7413. type: string
  7414. goodsgroupid:
  7415. description: 对冲品种ID[期货合约商品组ID]
  7416. type: integer
  7417. goodsid:
  7418. description: 商品ID
  7419. type: integer
  7420. goodsname:
  7421. description: 合约名称
  7422. type: string
  7423. hedgeflag:
  7424. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7425. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7426. type: integer
  7427. linkdetailid:
  7428. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7429. type: string
  7430. linkstatus:
  7431. description: 关联状态 - 1:成功 2:失败 3:解绑
  7432. type: integer
  7433. middlegoodscode:
  7434. description: 套保品种代码
  7435. type: string
  7436. middlegoodsid:
  7437. description: 套保品种ID
  7438. type: integer
  7439. middlegoodsname:
  7440. description: 套保品种名称
  7441. type: string
  7442. relatedlot:
  7443. description: 关联手数
  7444. type: number
  7445. relatedmode:
  7446. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7447. type: integer
  7448. relatedqty:
  7449. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7450. type: number
  7451. retcode:
  7452. description: 返回码
  7453. type: integer
  7454. saleuserid:
  7455. description: 业务员ID
  7456. type: string
  7457. spotcontractid:
  7458. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7459. type: string
  7460. taname:
  7461. description: 期货账户
  7462. type: string
  7463. tradedate:
  7464. description: 关联交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 期货订单号 | 内部成交单ID
  7468. type: string
  7469. tradelot:
  7470. description: 成交数量 | 成交手数
  7471. type: integer
  7472. tradeprice:
  7473. description: 成交价格
  7474. type: number
  7475. tradetime:
  7476. description: 期货成交时间
  7477. type: string
  7478. tradetradedate:
  7479. description: 成交交易日(yyyyMMdd)
  7480. type: string
  7481. username:
  7482. description: 用户名称
  7483. type: string
  7484. type: object
  7485. models.Ermcp3Wrstandard:
  7486. properties:
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. cantrade:
  7491. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7492. type: integer
  7493. convertfactor:
  7494. description: 标仓系数
  7495. type: number
  7496. createtime:
  7497. description: 创建时间
  7498. type: string
  7499. creatorid:
  7500. description: 创建人
  7501. type: integer
  7502. deliverygoodsid:
  7503. description: 现货品种ID
  7504. type: integer
  7505. enumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. isvalid:
  7509. description: 是否有效 0-无效(停用) 1-有效(正常)
  7510. type: integer
  7511. minivalue:
  7512. description: 最小变动值
  7513. type: integer
  7514. minivaluedp:
  7515. description: 最小变动值小数位
  7516. type: integer
  7517. realminivalue:
  7518. description: 实际最小变动值
  7519. type: integer
  7520. realminivaluedp:
  7521. description: 实际最小变动值小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. unitid:
  7527. description: 品类单位ID
  7528. type: integer
  7529. updatetime:
  7530. description: 更新时间
  7531. type: string
  7532. wrstandardcode:
  7533. description: 品类代码
  7534. type: string
  7535. wrstandardid:
  7536. description: 品类ID(SEQ_WRSTANDARD)
  7537. type: integer
  7538. wrstandardname:
  7539. description: 品类名称
  7540. type: string
  7541. type: object
  7542. models.ErmcpBizGroupEx:
  7543. properties:
  7544. acclist:
  7545. description: 账号列表
  7546. items:
  7547. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7548. type: array
  7549. bizgroupid:
  7550. description: 业务分组id
  7551. type: integer
  7552. biztype:
  7553. description: 业务类型 1-套保 2-套利
  7554. type: integer
  7555. wrlist:
  7556. description: 现货商品表
  7557. items:
  7558. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7559. type: array
  7560. type: object
  7561. models.ErmcpBizGroupSpotGoods:
  7562. properties:
  7563. areauserid:
  7564. description: 所属机构id
  7565. type: integer
  7566. bizgroupid:
  7567. description: 分组id
  7568. type: integer
  7569. biztype:
  7570. description: 业务类型 1-套保 2-套利
  7571. type: integer
  7572. deliverygoodscode:
  7573. description: 现货商品代码
  7574. type: string
  7575. deliverygoodsid:
  7576. description: 现货商品id
  7577. type: integer
  7578. deliverygoodsname:
  7579. description: 现货商品名称
  7580. type: string
  7581. unitid:
  7582. description: 现货商品单位id
  7583. type: integer
  7584. type: object
  7585. models.ErmcpBizGroupTaAccount:
  7586. properties:
  7587. accountid:
  7588. description: 账号id
  7589. type: integer
  7590. accountname:
  7591. description: 账号名称
  7592. type: string
  7593. areauserid:
  7594. description: 所属机构id
  7595. type: integer
  7596. bizgroupid:
  7597. description: 业务分组id
  7598. type: integer
  7599. ismain:
  7600. description: 是否主账号 1-是 0-否
  7601. type: integer
  7602. type: object
  7603. models.ErmcpDGFactoryItem:
  7604. properties:
  7605. areauserid:
  7606. description: 用户id
  7607. type: integer
  7608. deliverygoodsid:
  7609. description: 现货品种ID
  7610. type: integer
  7611. dgfactoryitemid:
  7612. description: 选择项ID(SEQ_DGFACTORYITEM)
  7613. type: integer
  7614. dgfactoryitemtypeid:
  7615. description: 要素项类型
  7616. type: integer
  7617. dgfactoryitemvalue:
  7618. description: 要素项值(类型为仓库时填写仓库名称)
  7619. type: string
  7620. isvalid:
  7621. description: 是否有效 - 0:无效 1:有效
  7622. type: integer
  7623. orderindex:
  7624. description: 顺序
  7625. type: integer
  7626. warehouseid:
  7627. description: 仓库ID(类型为仓库时填写)
  7628. type: integer
  7629. type: object
  7630. models.ErmcpDeliveryGoods:
  7631. properties:
  7632. agreeunit:
  7633. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7634. type: integer
  7635. areauserid:
  7636. description: 所属机构
  7637. type: integer
  7638. auditflag:
  7639. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7640. type: integer
  7641. categoryid:
  7642. description: 类别ID(SEQ_WRCATEGORY)
  7643. type: integer
  7644. deliverygoodscode:
  7645. description: 现货品种代码
  7646. type: string
  7647. deliverygoodsid:
  7648. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7649. type: integer
  7650. deliverygoodsname:
  7651. description: 现货品种名称
  7652. type: string
  7653. deliverygoodstype:
  7654. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7655. type: integer
  7656. dgstatus:
  7657. description: 品种状态 - 作废 - 0:未激活 1:正常
  7658. type: integer
  7659. enumdicname:
  7660. description: 现货品种单位名称
  7661. type: string
  7662. goodsunitid:
  7663. description: 现货品种单位ID
  7664. type: integer
  7665. isvalid:
  7666. description: 是否有效 - 0:无效 1:有效
  7667. type: integer
  7668. qtydecimalplace:
  7669. description: 成交量小数位
  7670. type: integer
  7671. remark:
  7672. description: 备注
  7673. type: string
  7674. standardqty:
  7675. description: 标准数量(库位数量) [标准品特有]
  7676. type: integer
  7677. standardqtyrange:
  7678. description: 标准数量偏差范围 [标准品特有]
  7679. type: integer
  7680. type: object
  7681. models.ErmcpFuturesCompany:
  7682. properties:
  7683. brokerid:
  7684. description: 经纪公司代码
  7685. type: string
  7686. channeladdress:
  7687. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7688. type: string
  7689. channelid:
  7690. description: 对冲渠道ID
  7691. type: string
  7692. createtime:
  7693. description: 创建时间
  7694. type: string
  7695. creatorid:
  7696. description: 创建人
  7697. type: string
  7698. fcid:
  7699. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7700. type: integer
  7701. fcname:
  7702. description: 期货公司名称
  7703. type: string
  7704. isvalid:
  7705. description: 是否有效 - 0:无效 1:有效
  7706. type: integer
  7707. mhpaddress:
  7708. description: MHP服务地址(IP:Port)
  7709. type: string
  7710. riskrulegroupid:
  7711. description: 风控规则组ID
  7712. type: string
  7713. tradefeetmpid:
  7714. description: 手续费模板ID[TradeConfigTmpType为2]
  7715. type: string
  7716. trademargintmpid:
  7717. description: 保证金模板ID [TradeConfigTmpType为1]
  7718. type: string
  7719. traderatetmpid:
  7720. description: 汇率模板ID[TradeConfigTmpType为3]
  7721. type: string
  7722. updatetime:
  7723. description: 更新时间
  7724. type: string
  7725. updatorid:
  7726. description: 更新人
  7727. type: string
  7728. type: object
  7729. models.ErmcpGGConvertCfg:
  7730. properties:
  7731. convertratio:
  7732. description: 折算系数
  7733. type: number
  7734. destgoodsgroupid:
  7735. description: 目标品种ID
  7736. type: integer
  7737. dstcode:
  7738. description: 目录品种代码
  7739. type: string
  7740. dstexchangecode:
  7741. description: 目标期货交易所
  7742. type: string
  7743. dstname:
  7744. description: 目标品种名称
  7745. type: string
  7746. dstunitid:
  7747. description: 目标品种单位ID
  7748. type: integer
  7749. dstunitidname:
  7750. description: 目标品种单位名称
  7751. type: string
  7752. modifytime:
  7753. description: 修改时间
  7754. type: string
  7755. srccode:
  7756. description: 源品种代码
  7757. type: string
  7758. srcexchangecode:
  7759. description: 源期货交易所
  7760. type: string
  7761. srcgoodsgroupid:
  7762. description: 源品种ID
  7763. type: integer
  7764. srcname:
  7765. description: 源品种名称
  7766. type: string
  7767. srcunitid:
  7768. description: 源品种单位ID
  7769. type: integer
  7770. srcunitidname:
  7771. description: 源品种单位名称
  7772. type: string
  7773. type: object
  7774. models.ErmcpGoods:
  7775. properties:
  7776. agreeunit:
  7777. description: 合约单位
  7778. type: number
  7779. areauserid:
  7780. description: 所属机构
  7781. type: integer
  7782. auditaccountid:
  7783. description: 审核操作员账号
  7784. type: integer
  7785. audittime:
  7786. description: 审核时间
  7787. type: string
  7788. cancelaccountid:
  7789. description: 注销操作员账号
  7790. type: integer
  7791. canceltime:
  7792. description: 注销时间
  7793. type: string
  7794. closepricemode:
  7795. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7796. type: integer
  7797. closepriceparam:
  7798. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7799. type: number
  7800. createtime:
  7801. description: 创建时间
  7802. type: string
  7803. creatorid:
  7804. description: 创建人
  7805. type: integer
  7806. currencyid:
  7807. description: 报价货币ID
  7808. type: integer
  7809. cutmode:
  7810. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7811. type: integer
  7812. decimalplace:
  7813. description: 报价小数位
  7814. type: integer
  7815. delistingdate:
  7816. description: 商品退市时间(状态:退市) -- 已作废
  7817. type: string
  7818. delistingmode:
  7819. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7820. type: integer
  7821. deliveryflag:
  7822. description: 交割标志 - 0:不可交割 1:可交割
  7823. type: integer
  7824. enumdicname:
  7825. description: 单位名称
  7826. type: string
  7827. forceclosemode:
  7828. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7829. type: integer
  7830. forceclosevalue:
  7831. description: 定期强平参数 [收益权]
  7832. type: integer
  7833. goodscode:
  7834. description: 商品代码(内部)
  7835. type: string
  7836. goodscurrencyid:
  7837. description: 合约货币ID
  7838. type: integer
  7839. goodsgroupid:
  7840. description: 所属商品组ID
  7841. type: integer
  7842. goodsid:
  7843. description: 商品ID(自增ID SEQ_GOODS)
  7844. type: integer
  7845. goodsname:
  7846. description: 商品名称
  7847. type: string
  7848. goodsquotetype:
  7849. description: '合约报价类型: 1-直接报价 2-间接报价'
  7850. type: integer
  7851. goodsstatus:
  7852. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7853. type: integer
  7854. goodstradetype:
  7855. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7856. type: integer
  7857. goodunitid:
  7858. description: 报价单位ID
  7859. type: integer
  7860. hasquoter:
  7861. description: 是否有报价商 - 0:无报价商 1:有报价商
  7862. type: integer
  7863. hqprotecttime:
  7864. description: 行情保护时间(秒)
  7865. type: integer
  7866. innerdealmode:
  7867. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7868. type: integer
  7869. isbuylimited:
  7870. description: 是否限制建仓量 - 0:不限制 1:限制
  7871. type: integer
  7872. isvisible:
  7873. description: 游客是否可见 - 0:不可见 1:可见
  7874. type: integer
  7875. lasttradedate:
  7876. description: 最后交易日期(状态:待退市)
  7877. type: string
  7878. listingdate:
  7879. description: 交易开始日期
  7880. type: string
  7881. marketid:
  7882. description: 所属市场ID
  7883. type: integer
  7884. modifierid:
  7885. description: 修改人
  7886. type: integer
  7887. modifystatus:
  7888. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7889. type: integer
  7890. modifytime:
  7891. description: 修改时间
  7892. type: string
  7893. outerdealmode:
  7894. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7895. type: integer
  7896. outgoodscode:
  7897. description: 商品代码(外部)
  7898. type: string
  7899. pictureurl:
  7900. description: 商品图片
  7901. type: string
  7902. qtydecimalplace:
  7903. description: 成交量小数位
  7904. type: integer
  7905. quotegear:
  7906. description: 行情档位(1-10)
  7907. type: integer
  7908. quoteminunit:
  7909. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7910. type: integer
  7911. quoteshowtype:
  7912. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7913. type: integer
  7914. quoteshowtypeinterval:
  7915. description: 行情报价间隔时间(秒)(成交价时为0)
  7916. type: integer
  7917. relatedgoodsid:
  7918. description: 关联参考商品ID
  7919. type: integer
  7920. remark:
  7921. description: 备注
  7922. type: string
  7923. trademode:
  7924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7925. 21:竞拍-大宗式 22:受托竞价
  7926. type: integer
  7927. required:
  7928. - goodscode
  7929. - goodsid
  7930. - goodsname
  7931. - marketid
  7932. type: object
  7933. models.ErmcpGoodsBrand:
  7934. properties:
  7935. areauserid:
  7936. description: 所属机构
  7937. type: integer
  7938. brandid:
  7939. description: BrandID(SEQ_SPOTGOODSBRAND)
  7940. type: integer
  7941. brandname:
  7942. description: 品牌名称
  7943. type: string
  7944. createtime:
  7945. description: 创建时间
  7946. type: string
  7947. creatorid:
  7948. description: 创建人
  7949. type: integer
  7950. creatorsrc:
  7951. description: 创建人来源 - 1:管理端 2:终端
  7952. type: integer
  7953. deliverygoodsid:
  7954. description: 现货品种ID
  7955. type: integer
  7956. isvalid:
  7957. description: 是否有效 - 0:无效 1:有效
  7958. type: integer
  7959. updatetime:
  7960. description: 更新时间
  7961. type: string
  7962. updatorid:
  7963. description: 更新人
  7964. type: integer
  7965. updatorsrc:
  7966. description: 更新人来源 - 1:管理端 2:终端
  7967. type: integer
  7968. wrstandardid:
  7969. description: 现货商品ID
  7970. type: integer
  7971. type: object
  7972. models.ErmcpGoodsModel:
  7973. properties:
  7974. areauserid:
  7975. description: 所属机构
  7976. type: integer
  7977. convertfactor:
  7978. description: 标仓系数
  7979. type: number
  7980. createtime:
  7981. description: 创建时间
  7982. type: string
  7983. creatorid:
  7984. description: 创建人
  7985. type: integer
  7986. creatorsrc:
  7987. description: 创建人来源 - 1:管理端 2:终端
  7988. type: integer
  7989. deliverygoodsid:
  7990. description: 现货品种ID
  7991. type: integer
  7992. isvalid:
  7993. description: 是否有效 - 0:无效 1:有效
  7994. type: integer
  7995. modelid:
  7996. description: ModelID(SEQ_SPOTGOODSMODEL)
  7997. type: integer
  7998. modelname:
  7999. description: 型号名称
  8000. type: string
  8001. updatetime:
  8002. description: 更新时间
  8003. type: string
  8004. updatorid:
  8005. description: 更新人
  8006. type: integer
  8007. updatorsrc:
  8008. description: 更新人来源 - 1:管理端 2:终端
  8009. type: integer
  8010. wrstandardid:
  8011. description: 现货商品ID
  8012. type: integer
  8013. type: object
  8014. models.ErmcpHisExposure:
  8015. properties:
  8016. needhedgeexposoure:
  8017. description: 应套保敞口
  8018. type: number
  8019. reckondate:
  8020. description: 日照时期(yyyyMMdd)
  8021. type: string
  8022. totalexposure:
  8023. description: 总敞口
  8024. type: number
  8025. type: object
  8026. models.ErmcpLoginTaAccount:
  8027. properties:
  8028. accountid:
  8029. description: 账号id
  8030. type: integer
  8031. accountname:
  8032. description: 账号名称
  8033. type: string
  8034. type: object
  8035. models.ErmcpLoginUser:
  8036. properties:
  8037. acclist:
  8038. description: 关联资金账号
  8039. items:
  8040. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8041. type: array
  8042. accountname:
  8043. description: 用户名称
  8044. type: string
  8045. clientroleid:
  8046. description: 角色id(usertype=2)
  8047. type: integer
  8048. createtime:
  8049. description: 创建时间
  8050. type: string
  8051. logincode:
  8052. description: 登录代码
  8053. type: string
  8054. loginid:
  8055. description: 登录id(LOGINID)
  8056. type: integer
  8057. loginname:
  8058. description: 登录名称(loginaccount表中的accountname字段)
  8059. type: string
  8060. loginstatus:
  8061. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8062. type: integer
  8063. memberuserid:
  8064. description: 所属会员id
  8065. type: integer
  8066. mobile:
  8067. description: 手机号
  8068. type: string
  8069. modifytime:
  8070. description: 修改时间
  8071. type: string
  8072. password:
  8073. description: 密码(不可解密)
  8074. type: string
  8075. rolename:
  8076. description: 角色名称
  8077. type: string
  8078. rolestatus:
  8079. description: 角色状态 1-启用 2-停用
  8080. type: integer
  8081. roletype:
  8082. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8083. type: string
  8084. userid:
  8085. description: 用户id
  8086. type: integer
  8087. usertype:
  8088. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8089. type: integer
  8090. type: object
  8091. models.ErmcpLoginUserEx:
  8092. properties:
  8093. accountstatus:
  8094. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8095. type: integer
  8096. mobile:
  8097. description: 手机号
  8098. type: string
  8099. querytype:
  8100. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8101. type: integer
  8102. roleid:
  8103. description: 角色id(交易账户->用户id)
  8104. type: integer
  8105. rolename:
  8106. description: 角色名称(交易账户->用户名称)
  8107. type: string
  8108. userlist:
  8109. description: 用户列表
  8110. items:
  8111. $ref: '#/definitions/models.ErmcpLoginUser'
  8112. type: array
  8113. usertype:
  8114. description: 用户类型 2-机构 7-企业成员(云平台)
  8115. type: integer
  8116. type: object
  8117. models.ErmcpMiddleGoodsModel:
  8118. properties:
  8119. areauserid:
  8120. description: 机构用户ID
  8121. type: integer
  8122. createtime:
  8123. description: 修改时间
  8124. type: string
  8125. enumdicname:
  8126. description: 单位名称
  8127. type: string
  8128. evaluateratio:
  8129. description: 估价系数
  8130. type: number
  8131. goodsgroupid:
  8132. description: 关联期货品种ID
  8133. type: integer
  8134. goodsunitid:
  8135. description: 单位ID
  8136. type: integer
  8137. isvalid:
  8138. description: 状态 0-无效(停用) 1-有效(正常)
  8139. type: integer
  8140. middlegoodscode:
  8141. description: 套保品种代码
  8142. type: string
  8143. middlegoodsid:
  8144. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8145. type: integer
  8146. middlegoodsname:
  8147. description: 套保品种名称
  8148. type: string
  8149. modifytime:
  8150. description: 修改时间
  8151. type: string
  8152. needarbitrageratio:
  8153. description: 套利比例
  8154. type: number
  8155. needhedgeratio:
  8156. description: 套保比率
  8157. type: number
  8158. qtydecimalplace:
  8159. description: 数量小数位
  8160. type: integer
  8161. relatedgoodsid:
  8162. description: 关联交易商品ID
  8163. type: integer
  8164. relatedgoodstype:
  8165. description: 关联商品类型 - 1:期货合约 2:现货品种
  8166. type: integer
  8167. remark:
  8168. description: 备注
  8169. type: string
  8170. type: object
  8171. models.ErmcpMiddlegoodsRelateGoods:
  8172. properties:
  8173. agreeunit:
  8174. description: 合约乘数
  8175. type: number
  8176. convertratio:
  8177. description: 折算系数
  8178. type: number
  8179. enumdicname:
  8180. description: 单位名称(交易商品)
  8181. type: string
  8182. goodscode:
  8183. description: 交易商品代码
  8184. type: string
  8185. goodsgroupid:
  8186. description: 交易品种id
  8187. type: integer
  8188. goodsid:
  8189. description: 商品Id
  8190. type: integer
  8191. goodsname:
  8192. description: 交易商品名称
  8193. type: string
  8194. goodunitid:
  8195. description: 交易商品单位id
  8196. type: integer
  8197. middlegoodsid:
  8198. description: 套保商品id
  8199. type: integer
  8200. middlegoodsname:
  8201. description: 套保商品名称
  8202. type: string
  8203. middlegoodsswcode:
  8204. description: 套保商品代码
  8205. type: string
  8206. needarbitrageratio:
  8207. description: 应套利比例
  8208. type: number
  8209. needhedgeratio:
  8210. description: 应套保比例
  8211. type: number
  8212. type: object
  8213. models.ErmcpRole:
  8214. properties:
  8215. areauserid:
  8216. description: 所属机构
  8217. type: integer
  8218. autoid:
  8219. description: 角色ID(自增ID)
  8220. type: integer
  8221. modifierid:
  8222. description: 修改人(创建人)
  8223. type: integer
  8224. modifiername:
  8225. description: 修改人名称
  8226. type: string
  8227. modifytime:
  8228. description: 修改时间(创建时间)
  8229. type: string
  8230. rolename:
  8231. description: 角色名称
  8232. type: string
  8233. rolestatus:
  8234. description: 角色状态 - 1:启用 2:停用
  8235. type: integer
  8236. roletype:
  8237. description: 角色类型 - 1- 管理端 2- 交易端
  8238. type: integer
  8239. type: object
  8240. models.ErmcpRoleMenu:
  8241. properties:
  8242. iconame:
  8243. description: 菜单图标
  8244. type: string
  8245. ishadrole:
  8246. description: 是否有权限
  8247. type: boolean
  8248. menutype:
  8249. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8250. type: integer
  8251. parentcode:
  8252. description: 上级资源代码
  8253. type: string
  8254. remark:
  8255. description: 菜单备注
  8256. type: string
  8257. resourcecode:
  8258. description: 菜单代码
  8259. type: string
  8260. resourcelevel:
  8261. description: 级别
  8262. type: integer
  8263. resourcename:
  8264. description: 菜单名称
  8265. type: string
  8266. roleid:
  8267. description: 角色id
  8268. type: integer
  8269. sort:
  8270. description: 排序
  8271. type: integer
  8272. url:
  8273. description: URL
  8274. type: string
  8275. userid:
  8276. description: 用户id
  8277. type: integer
  8278. type: object
  8279. models.ErmcpRoleMenuEx:
  8280. properties:
  8281. menu:
  8282. $ref: '#/definitions/models.ErmcpRoleMenu'
  8283. description: 父级菜单
  8284. subMenu:
  8285. description: 子级菜单
  8286. items:
  8287. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8288. type: array
  8289. type: object
  8290. models.ErmcpTaAccount:
  8291. properties:
  8292. accountid:
  8293. description: 账户id
  8294. type: integer
  8295. accountname:
  8296. description: 账户名称
  8297. type: string
  8298. currencyid:
  8299. description: 币种id
  8300. type: integer
  8301. hedgeaccountcode:
  8302. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8303. type: string
  8304. ismain:
  8305. description: 是否主账户 0-否 1-是
  8306. type: integer
  8307. parentaccountid:
  8308. description: 父账户id
  8309. type: integer
  8310. relateduserid:
  8311. description: 关联userid
  8312. type: integer
  8313. tradefeetmpid:
  8314. description: 手续费模板id
  8315. type: integer
  8316. tradefeetmpname:
  8317. description: 手续费模板名称
  8318. type: string
  8319. trademargintmpid:
  8320. description: 保证金模板id
  8321. type: integer
  8322. trademargintmpname:
  8323. description: 保证金模板名称
  8324. type: string
  8325. traderatetmpid:
  8326. description: 汇率模板id
  8327. type: integer
  8328. traderatetmpname:
  8329. description: 汇率模板名称
  8330. type: string
  8331. tradestatus:
  8332. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8333. type: integer
  8334. userid:
  8335. description: 用户id
  8336. type: integer
  8337. type: object
  8338. models.ErmcpTaAccountEx:
  8339. properties:
  8340. mainAcc:
  8341. $ref: '#/definitions/models.ErmcpTaAccountM'
  8342. description: 主账号
  8343. subacclist:
  8344. description: 子账号列表
  8345. items:
  8346. $ref: '#/definitions/models.ErmcpTaAccount'
  8347. type: array
  8348. type: object
  8349. models.ErmcpTaAccountInfo:
  8350. properties:
  8351. accountid:
  8352. description: 资金账户ID
  8353. type: integer
  8354. accountname:
  8355. description: 账户名称
  8356. type: string
  8357. balance:
  8358. description: 期初余额
  8359. type: number
  8360. capitalbalance:
  8361. description: 本金余额[外部子账户实际出入金余额]
  8362. type: number
  8363. closepl:
  8364. description: 今日平仓盈亏
  8365. type: number
  8366. creditdecrease:
  8367. description: 今日授信减少
  8368. type: number
  8369. creditincrease:
  8370. description: 今日授信增加
  8371. type: number
  8372. curdebt:
  8373. description: 期末欠款
  8374. type: number
  8375. currencyid:
  8376. description: 货币ID
  8377. type: integer
  8378. currentbalance:
  8379. description: 期末余额
  8380. type: number
  8381. freezecharge:
  8382. description: 手续费冻结
  8383. type: number
  8384. freezemargin:
  8385. description: 冻结保证金
  8386. type: number
  8387. fromaccountid:
  8388. description: 所属上级账户
  8389. type: integer
  8390. inamount:
  8391. description: 今日入金金额(包括三方入金)
  8392. type: number
  8393. ismain:
  8394. description: 是否母账号 0:不是母账户 1:是母账户
  8395. type: integer
  8396. mortgagecredit:
  8397. description: 授信金额
  8398. type: number
  8399. oridebt:
  8400. description: 期初欠款
  8401. type: number
  8402. orifreezecharge:
  8403. description: 期初手续费冻结
  8404. type: number
  8405. orifreezemargin:
  8406. description: 期初冻结保证金
  8407. type: number
  8408. orimortgagecredit:
  8409. description: 期初授信金额
  8410. type: number
  8411. oriothercredit:
  8412. description: 期初其它授信金额
  8413. type: number
  8414. oriotherfreezemargin:
  8415. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8416. type: number
  8417. orioutamountfreeze:
  8418. description: 期初出金冻结
  8419. type: number
  8420. oriusedmargin:
  8421. description: 期初占用保证金
  8422. type: number
  8423. othercredit:
  8424. description: 其它授信金额
  8425. type: number
  8426. othercreditdecrease:
  8427. description: 今日其它授信减少
  8428. type: number
  8429. othercreditincrease:
  8430. description: 今日其它授信增加
  8431. type: number
  8432. otherfreezemargin:
  8433. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8434. type: number
  8435. outamount:
  8436. description: 今日出金金额(包括三方出金)
  8437. type: number
  8438. outamountfreeze:
  8439. description: 出金冻结
  8440. type: number
  8441. outthreshold:
  8442. description: 出金阈值
  8443. type: number
  8444. parentaccountid:
  8445. description: 所属根账号
  8446. type: integer
  8447. paycharge:
  8448. description: 今日手续费支出
  8449. type: number
  8450. relateduserid:
  8451. description: 关联用户
  8452. type: integer
  8453. signstatus:
  8454. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8455. type: integer
  8456. sublevelpath:
  8457. description: 账号层级路径(逗号分隔,首尾加逗号)
  8458. type: string
  8459. taaccounttype:
  8460. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8461. type: integer
  8462. thirdinamount:
  8463. description: 今日三方入金
  8464. type: number
  8465. thirdoutamount:
  8466. description: 今日三方出金
  8467. type: number
  8468. tradestatus:
  8469. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8470. type: integer
  8471. transferamount:
  8472. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8473. type: number
  8474. usedmargin:
  8475. description: 占用保证金
  8476. type: number
  8477. userid:
  8478. description: 用户ID
  8479. type: integer
  8480. type: object
  8481. models.ErmcpTaAccountM:
  8482. properties:
  8483. accountid:
  8484. description: 账户id
  8485. type: integer
  8486. accountname:
  8487. description: 账户名称
  8488. type: string
  8489. currencyid:
  8490. description: 币种id
  8491. type: integer
  8492. fcid:
  8493. description: 期货公司id
  8494. type: integer
  8495. fcname:
  8496. description: 期货公司代码
  8497. type: string
  8498. hedgeaccountcode:
  8499. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8500. type: string
  8501. ismain:
  8502. description: 是否主账户 0-否 1-是
  8503. type: integer
  8504. parentaccountid:
  8505. description: 父账户id
  8506. type: integer
  8507. relateduserid:
  8508. description: 关联userid
  8509. type: integer
  8510. tradefeetmpid:
  8511. description: 手续费模板id
  8512. type: integer
  8513. tradefeetmpname:
  8514. description: 手续费模板名称
  8515. type: string
  8516. trademargintmpid:
  8517. description: 保证金模板id
  8518. type: integer
  8519. trademargintmpname:
  8520. description: 保证金模板名称
  8521. type: string
  8522. traderatetmpid:
  8523. description: 汇率模板id
  8524. type: integer
  8525. traderatetmpname:
  8526. description: 汇率模板名称
  8527. type: string
  8528. tradestatus:
  8529. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8530. type: integer
  8531. userid:
  8532. description: 用户id
  8533. type: integer
  8534. type: object
  8535. models.ErmcpTradeConfigTMP:
  8536. properties:
  8537. areauserid:
  8538. description: 所属机构
  8539. type: integer
  8540. basiccurrencyid:
  8541. description: 基本币种ID[汇率] - 目标币种
  8542. type: integer
  8543. mainaccountid:
  8544. description: 主账户ID
  8545. type: integer
  8546. modifierid:
  8547. description: 修改人
  8548. type: integer
  8549. remark:
  8550. description: 备注
  8551. type: string
  8552. tradeconfigtmpid:
  8553. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8554. type: integer
  8555. tradeconfigtmpname:
  8556. description: 交易配置模板名称
  8557. type: string
  8558. tradeconfigtmptype:
  8559. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8560. type: integer
  8561. updatetime:
  8562. description: 更新时间
  8563. type: string
  8564. type: object
  8565. models.Ermcpjrlinkpos:
  8566. properties:
  8567. areauserid:
  8568. description: 所属企业
  8569. type: integer
  8570. averageprice:
  8571. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  8572. type: number
  8573. closepl:
  8574. description: 总平仓盈亏 [期货损益]
  8575. type: number
  8576. executeprice:
  8577. description: 执行价 - 1:期货单 为 0
  8578. type: integer
  8579. futurehedgeqty:
  8580. description: 期货套期量
  8581. type: number
  8582. goodsid:
  8583. description: 期货合约
  8584. type: integer
  8585. middlegoodscode:
  8586. description: 套保商品代码
  8587. type: string
  8588. middlegoodsname:
  8589. description: 套保商品名称
  8590. type: string
  8591. netqty:
  8592. description: 净头寸
  8593. type: number
  8594. optioncode:
  8595. description: 期权代码
  8596. type: string
  8597. ordertype:
  8598. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8599. type: integer
  8600. reckonpl:
  8601. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  8602. type: number
  8603. spotcontractid:
  8604. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  8605. type: string
  8606. todayfutureclosepl:
  8607. description: 今日平仓盈亏
  8608. type: number
  8609. totalbuyamount:
  8610. description: 买金额 [期货]
  8611. type: number
  8612. totalbuyholdamount:
  8613. description: 买持仓总金额[期货]
  8614. type: number
  8615. totalbuyqty:
  8616. description: 买数量
  8617. type: number
  8618. totalcharge:
  8619. description: 手续费
  8620. type: number
  8621. totalpremium:
  8622. description: 权利金 [期权]
  8623. type: number
  8624. totalsellamount:
  8625. description: 卖金额 [期货]
  8626. type: number
  8627. totalsellholdamount:
  8628. description: 卖持仓总金额[期货]
  8629. type: number
  8630. totalsellqty:
  8631. description: 卖数量
  8632. type: number
  8633. updatetime:
  8634. description: 更新时间
  8635. type: string
  8636. required:
  8637. - spotcontractid
  8638. type: object
  8639. models.Ermcppatradelinkdetail:
  8640. properties:
  8641. agreeunit:
  8642. description: 合约乘数
  8643. type: number
  8644. amount:
  8645. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  8646. type: number
  8647. areauserid:
  8648. description: 所属机构
  8649. type: integer
  8650. bizsubjectid:
  8651. description: 归属业务部门ID - SubjectID
  8652. type: integer
  8653. buyorsell:
  8654. description: 方向 - 0:买 1:卖
  8655. type: integer
  8656. convertratio:
  8657. description: 品种系数
  8658. type: number
  8659. createtime:
  8660. description: 创建时间
  8661. type: string
  8662. creatorid:
  8663. description: 创建人ID
  8664. type: integer
  8665. creatorsrc:
  8666. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8667. type: integer
  8668. goodsgroupid:
  8669. description: 对冲品种ID[期货合约商品组ID]
  8670. type: integer
  8671. goodsid:
  8672. description: 商品ID
  8673. type: integer
  8674. hedgeditemid:
  8675. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  8676. type: integer
  8677. hedgeflag:
  8678. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  8679. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  8680. type: integer
  8681. linkdetailid:
  8682. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  8683. type: string
  8684. linkstatus:
  8685. description: 关联状态 - 1:成功 2:失败 3:解绑
  8686. type: integer
  8687. middlegoodsid:
  8688. description: 套保品种ID
  8689. type: integer
  8690. name:
  8691. description: 账户名/子账户
  8692. type: string
  8693. optioncode:
  8694. description: '[期货合约]期权代码 [期权]'
  8695. type: string
  8696. ordertype:
  8697. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8698. type: integer
  8699. relatedlot:
  8700. description: '[数量]关联手数'
  8701. type: number
  8702. relatedmode:
  8703. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8704. type: integer
  8705. relatedqty:
  8706. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8707. type: number
  8708. retcode:
  8709. description: 返回码
  8710. type: integer
  8711. saleuserid:
  8712. description: 业务员ID
  8713. type: integer
  8714. tradedate:
  8715. description: 关联交易日(yyyyMMdd)
  8716. type: string
  8717. tradeid:
  8718. description: '[成交单号]内部成交单ID'
  8719. type: string
  8720. tradelot:
  8721. description: 成交手数
  8722. type: integer
  8723. tradeprice:
  8724. description: '[价格]成交价格'
  8725. type: number
  8726. tradetime:
  8727. description: 日期时间
  8728. type: string
  8729. tradetradedate:
  8730. description: 成交交易日(yyyyMMdd)
  8731. type: string
  8732. required:
  8733. - hedgeditemid
  8734. type: object
  8735. models.Externalexchange:
  8736. properties:
  8737. autoid:
  8738. description: AutoID - SEQ_EXTERNALEXCHANGE
  8739. type: integer
  8740. exchangefullname:
  8741. description: 外部交易所全称
  8742. type: string
  8743. exexchangecode:
  8744. description: 外部交易所代码
  8745. type: string
  8746. exexchangename:
  8747. description: 外部交易所名称(简称)
  8748. type: string
  8749. ismarketprice:
  8750. description: 是否支持市价 - 0:不支持 1:支持
  8751. type: integer
  8752. quotegear:
  8753. description: 行情档位(1-10)
  8754. type: integer
  8755. showbrokerflag:
  8756. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8757. type: integer
  8758. updatetime:
  8759. description: 更新时间
  8760. type: string
  8761. required:
  8762. - autoid
  8763. type: object
  8764. models.Funcmenulist:
  8765. properties:
  8766. iconame:
  8767. description: 菜单图标
  8768. type: string
  8769. menutype:
  8770. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8771. type: integer
  8772. parentcode:
  8773. description: 上级资源代码
  8774. type: string
  8775. remark:
  8776. description: 备注
  8777. type: string
  8778. resourcecode:
  8779. description: 资源代码
  8780. type: string
  8781. resourcelevel:
  8782. description: 级别 1-一级 2-二级 3-三级 4-四级
  8783. type: integer
  8784. resourcename:
  8785. description: 资源名
  8786. type: string
  8787. sort:
  8788. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8789. type: integer
  8790. url:
  8791. description: URL
  8792. type: string
  8793. required:
  8794. - resourcecode
  8795. type: object
  8796. models.Goods:
  8797. properties:
  8798. agreeunit:
  8799. description: 合约单位
  8800. type: number
  8801. areauserid:
  8802. description: 所属机构
  8803. type: integer
  8804. auditaccountid:
  8805. description: 审核操作员账号
  8806. type: integer
  8807. audittime:
  8808. description: 审核时间
  8809. type: string
  8810. cancelaccountid:
  8811. description: 注销操作员账号
  8812. type: integer
  8813. canceltime:
  8814. description: 注销时间
  8815. type: string
  8816. closepricemode:
  8817. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8818. type: integer
  8819. closepriceparam:
  8820. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8821. type: number
  8822. createtime:
  8823. description: 创建时间
  8824. type: string
  8825. creatorid:
  8826. description: 创建人
  8827. type: integer
  8828. currencyid:
  8829. description: 报价货币ID
  8830. type: integer
  8831. cutmode:
  8832. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8833. type: integer
  8834. decimalplace:
  8835. description: 报价小数位
  8836. type: integer
  8837. delistingdate:
  8838. description: 商品退市时间(状态:退市) -- 已作废
  8839. type: string
  8840. delistingmode:
  8841. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8842. type: integer
  8843. deliveryflag:
  8844. description: 交割标志 - 0:不可交割 1:可交割
  8845. type: integer
  8846. forceclosemode:
  8847. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8848. type: integer
  8849. forceclosevalue:
  8850. description: 定期强平参数 [收益权]
  8851. type: integer
  8852. goodscode:
  8853. description: 商品代码(内部)
  8854. type: string
  8855. goodscurrencyid:
  8856. description: 合约货币ID
  8857. type: integer
  8858. goodsgroupid:
  8859. description: 所属商品组ID
  8860. type: integer
  8861. goodsid:
  8862. description: 商品ID(自增ID SEQ_GOODS)
  8863. type: integer
  8864. goodsname:
  8865. description: 商品名称
  8866. type: string
  8867. goodsquotetype:
  8868. description: '合约报价类型: 1-直接报价 2-间接报价'
  8869. type: integer
  8870. goodsstatus:
  8871. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8872. type: integer
  8873. goodstradetype:
  8874. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8875. type: integer
  8876. goodunitid:
  8877. description: 报价单位ID
  8878. type: integer
  8879. hasquoter:
  8880. description: 是否有报价商 - 0:无报价商 1:有报价商
  8881. type: integer
  8882. hqprotecttime:
  8883. description: 行情保护时间(秒)
  8884. type: integer
  8885. innerdealmode:
  8886. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8887. type: integer
  8888. isbuylimited:
  8889. description: 是否限制建仓量 - 0:不限制 1:限制
  8890. type: integer
  8891. isvisible:
  8892. description: 游客是否可见 - 0:不可见 1:可见
  8893. type: integer
  8894. lasttradedate:
  8895. description: 最后交易日期(状态:待退市)
  8896. type: string
  8897. listingdate:
  8898. description: 交易开始日期
  8899. type: string
  8900. marketid:
  8901. description: 所属市场ID
  8902. type: integer
  8903. modifierid:
  8904. description: 修改人
  8905. type: integer
  8906. modifystatus:
  8907. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8908. type: integer
  8909. modifytime:
  8910. description: 修改时间
  8911. type: string
  8912. outerdealmode:
  8913. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8914. type: integer
  8915. outgoodscode:
  8916. description: 商品代码(外部)
  8917. type: string
  8918. pictureurl:
  8919. description: 商品图片
  8920. type: string
  8921. qtydecimalplace:
  8922. description: 成交量小数位
  8923. type: integer
  8924. quotegear:
  8925. description: 行情档位(1-10)
  8926. type: integer
  8927. quoteminunit:
  8928. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8929. type: integer
  8930. quoteshowtype:
  8931. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8932. type: integer
  8933. quoteshowtypeinterval:
  8934. description: 行情报价间隔时间(秒)(成交价时为0)
  8935. type: integer
  8936. remark:
  8937. description: 备注
  8938. type: string
  8939. required:
  8940. - goodscode
  8941. - goodsid
  8942. - goodsname
  8943. - marketid
  8944. type: object
  8945. models.GoodsIDAndName:
  8946. properties:
  8947. goodscode:
  8948. description: 商品代码(内部)
  8949. type: string
  8950. goodsid:
  8951. description: 商品ID(自增ID SEQ_GOODS)
  8952. type: integer
  8953. goodsname:
  8954. description: 商品名称
  8955. type: string
  8956. marketid:
  8957. description: 所属市场ID
  8958. type: integer
  8959. required:
  8960. - goodscode
  8961. - goodsid
  8962. - goodsname
  8963. - marketid
  8964. type: object
  8965. models.Goodsgroup:
  8966. properties:
  8967. agreeunit:
  8968. description: 合约单位
  8969. type: number
  8970. canshort:
  8971. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8972. type: integer
  8973. closepricemode:
  8974. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8975. type: integer
  8976. closepriceparam:
  8977. description: 强平最新价浮动比例 - 方式为2时使用
  8978. type: number
  8979. createtime:
  8980. description: 创建时间
  8981. type: string
  8982. creatorid:
  8983. description: 创建人
  8984. type: integer
  8985. currencyid:
  8986. description: 报价货币ID
  8987. type: integer
  8988. decimalplace:
  8989. description: 报价小数位
  8990. type: integer
  8991. exercisetype:
  8992. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8993. type: integer
  8994. exexchangeid:
  8995. description: 外部交易所ID[通道交易]
  8996. type: integer
  8997. goodsgroupid:
  8998. description: 商品组ID(自增ID)
  8999. type: integer
  9000. goodsgroupname:
  9001. description: 商品组名称
  9002. type: string
  9003. goodsgroupstatus:
  9004. description: 商品组状态 - 1:正常 2:注销
  9005. type: integer
  9006. goodunitid:
  9007. description: 报价单位ID
  9008. type: integer
  9009. innerdealmode:
  9010. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9011. type: integer
  9012. isbuylimited:
  9013. description: 是否限制建仓量 - 0:不限制 1:限制
  9014. type: integer
  9015. marketid:
  9016. description: 所属市场ID
  9017. type: integer
  9018. modifierid:
  9019. description: 修改人
  9020. type: integer
  9021. modifytime:
  9022. description: 修改时间
  9023. type: string
  9024. outerdealmode:
  9025. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9026. type: integer
  9027. outergroupcode:
  9028. description: 外部商品组代码[通道交易]
  9029. type: string
  9030. premiumdecimalplace:
  9031. description: 权利金小数位[场外期权]
  9032. type: integer
  9033. premiumspreadalgorithm:
  9034. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9035. type: integer
  9036. premiumspreadvalue:
  9037. description: 权利金点差值[场外期权]
  9038. type: number
  9039. qtydecimalplace:
  9040. description: 成交量小数位
  9041. type: integer
  9042. quotegear:
  9043. description: 行情档位(1-10)
  9044. type: integer
  9045. quoteminunit:
  9046. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9047. type: integer
  9048. quoterid:
  9049. description: 报价商ID[场外期权]
  9050. type: integer
  9051. quotesourcegroupid:
  9052. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9053. type: integer
  9054. syncgoodsqty:
  9055. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9056. type: integer
  9057. required:
  9058. - goodsgroupid
  9059. - goodsgroupname
  9060. - goodsgroupstatus
  9061. - marketid
  9062. type: object
  9063. models.Goodssortbypreposition:
  9064. properties:
  9065. goodscode:
  9066. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9067. type: string
  9068. goodsgroupcode:
  9069. description: 品种代码
  9070. type: string
  9071. prepositionqty:
  9072. description: 昨持仓量
  9073. type: integer
  9074. sortindex:
  9075. description: 排序
  9076. type: integer
  9077. tradedate:
  9078. description: 交易日
  9079. type: string
  9080. updatetime:
  9081. description: 更新时间
  9082. type: string
  9083. required:
  9084. - goodscode
  9085. - tradedate
  9086. type: object
  9087. models.Hedgeinnerholderdetail:
  9088. properties:
  9089. accountid:
  9090. description: 账号ID
  9091. type: integer
  9092. buyorsell:
  9093. description: 方向 - 0:买 1:卖
  9094. type: integer
  9095. freezeqty:
  9096. description: 冻结数量 - 按单平使用
  9097. type: integer
  9098. goodsid:
  9099. description: 商品ID
  9100. type: integer
  9101. holderamount:
  9102. description: 持仓金额 [商品币种]
  9103. type: number
  9104. holderdays:
  9105. description: 剩余冻结天数
  9106. type: integer
  9107. holderprice:
  9108. description: 持仓价格
  9109. type: number
  9110. holderqty:
  9111. description: 持仓数量
  9112. type: integer
  9113. marketid:
  9114. description: 市场ID
  9115. type: integer
  9116. openprice:
  9117. description: 建仓价格
  9118. type: number
  9119. openqty:
  9120. description: 建仓数量
  9121. type: integer
  9122. parentaccountid:
  9123. description: 所属母账户
  9124. type: integer
  9125. releaseamount:
  9126. description: 释放持仓金额[商品币种]
  9127. type: number
  9128. tradeamount:
  9129. description: 成交金额[账户]
  9130. type: number
  9131. tradedate:
  9132. description: 交易日(yyyyMMdd)
  9133. type: string
  9134. tradeid:
  9135. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9136. type: string
  9137. tradetime:
  9138. description: 交易时间
  9139. type: string
  9140. required:
  9141. - buyorsell
  9142. - tradeid
  9143. type: object
  9144. models.Hedgemarketopenlog:
  9145. properties:
  9146. accountid:
  9147. description: 资金账号[外部母账户]
  9148. type: integer
  9149. fcname:
  9150. description: 期货公司名称
  9151. type: string
  9152. handlestatus:
  9153. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9154. type: integer
  9155. marketid:
  9156. description: 市场ID
  9157. type: integer
  9158. status:
  9159. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9160. type: integer
  9161. tradedate:
  9162. description: 交易日(yyyyMMdd)
  9163. type: string
  9164. updatetime:
  9165. description: 更新时间
  9166. type: string
  9167. required:
  9168. - accountid
  9169. type: object
  9170. models.HsbyBuyMyPayOrder:
  9171. properties:
  9172. agreeunit:
  9173. description: 合约单位
  9174. type: number
  9175. buyaccountid:
  9176. description: 买方账号ID[报价币种]
  9177. type: integer
  9178. buyorderid:
  9179. description: 买方委托单号
  9180. type: string
  9181. createtime:
  9182. description: 创建时间
  9183. type: string
  9184. currencysign:
  9185. description: 货币符号
  9186. type: string
  9187. decimalplace:
  9188. description: 报价小数位
  9189. type: integer
  9190. goodscode:
  9191. description: 商品代码(内部)
  9192. type: string
  9193. goodsid:
  9194. description: 商品ID
  9195. type: integer
  9196. goodsname:
  9197. description: 商品名称
  9198. type: string
  9199. marketid:
  9200. description: 市场ID
  9201. type: integer
  9202. offamount:
  9203. description: 优惠金额
  9204. type: number
  9205. originalamount:
  9206. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9207. type: number
  9208. payamount:
  9209. description: 支付金额 = TradeAmount + TradeCharge
  9210. type: number
  9211. payflag:
  9212. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9213. type: integer
  9214. paylimitedtime:
  9215. description: 支付期限
  9216. type: string
  9217. paytime:
  9218. description: 付款时间
  9219. type: string
  9220. picurls1:
  9221. description: 预售商品介绍图片[多张用逗号分隔]
  9222. type: string
  9223. picurls2:
  9224. description: 挂牌商品介绍图片[多张用逗号分隔]
  9225. type: string
  9226. sellaccountid:
  9227. description: 卖方账号ID[报价币种]
  9228. type: integer
  9229. sellorderid:
  9230. description: 卖方委托单号
  9231. type: string
  9232. tradeamount:
  9233. description: 成交金额
  9234. type: number
  9235. tradecharge:
  9236. description: 成交手续费(买方)
  9237. type: number
  9238. tradedate:
  9239. description: 交易日(yyyyMMdd)
  9240. type: string
  9241. tradeid:
  9242. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9243. type: string
  9244. trademode:
  9245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9246. 21:竞拍-大宗式 22:受托竞价
  9247. type: integer
  9248. tradeprice:
  9249. description: 成交价格
  9250. type: number
  9251. tradeqty:
  9252. description: 成交数量
  9253. type: integer
  9254. vendorname1:
  9255. description: 预售商品供应商名称
  9256. type: string
  9257. vendorname2:
  9258. description: 挂牌商品供应商名称
  9259. type: string
  9260. required:
  9261. - goodscode
  9262. - goodsname
  9263. - tradeid
  9264. - trademode
  9265. type: object
  9266. models.HsbyBuyMyTradeDetail:
  9267. properties:
  9268. accountid:
  9269. description: 账户ID[报价币种]
  9270. type: integer
  9271. agreeunit:
  9272. description: 合约单位
  9273. type: number
  9274. amount:
  9275. description: 金额 = 价格 * 数量 * 合约单位
  9276. type: number
  9277. buyorsell:
  9278. description: 买卖 - 0:买 1:卖
  9279. type: integer
  9280. currencysign:
  9281. description: 货币符号
  9282. type: string
  9283. decimalplace:
  9284. description: 报价小数位
  9285. type: integer
  9286. goodscode:
  9287. description: 商品代码(内部)
  9288. type: string
  9289. goodsid:
  9290. description: 商品ID
  9291. type: integer
  9292. goodsname:
  9293. description: 商品名称
  9294. type: string
  9295. marketid:
  9296. description: 市场ID
  9297. type: integer
  9298. orderamount:
  9299. description: 委托金额
  9300. type: number
  9301. orderid:
  9302. description: 单号(成交单号)
  9303. type: string
  9304. picurls1:
  9305. description: 预售商品介绍图片[多张用逗号分隔]
  9306. type: string
  9307. picurls2:
  9308. description: 挂牌商品介绍图片[多张用逗号分隔]
  9309. type: string
  9310. price:
  9311. description: 价格
  9312. type: number
  9313. qty:
  9314. description: 数量
  9315. type: integer
  9316. time:
  9317. description: 时间
  9318. type: string
  9319. trademode:
  9320. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9321. 21:竞拍-大宗式 22:受托竞价
  9322. type: integer
  9323. vendorname1:
  9324. description: 预售商品供应商名称
  9325. type: string
  9326. vendorname2:
  9327. description: 挂牌商品供应商名称
  9328. type: string
  9329. required:
  9330. - accountid
  9331. - buyorsell
  9332. - goodscode
  9333. - goodsid
  9334. - goodsname
  9335. - marketid
  9336. - orderid
  9337. - qty
  9338. - time
  9339. - trademode
  9340. type: object
  9341. models.HsbyGoodsOrderDetail:
  9342. properties:
  9343. buyorsell:
  9344. description: 买卖 - 0:买 1:卖
  9345. type: integer
  9346. currencysign:
  9347. description: 货币符号
  9348. type: string
  9349. customername:
  9350. description: 客户名称(企业名称),已脱敏
  9351. type: string
  9352. enableqty:
  9353. description: 可用数量
  9354. type: integer
  9355. goodunit:
  9356. description: 报价单位
  9357. type: string
  9358. orderid:
  9359. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9360. type: string
  9361. orderprice:
  9362. description: 委托价格
  9363. type: number
  9364. ordertime:
  9365. description: 委托时间
  9366. type: string
  9367. required:
  9368. - buyorsell
  9369. - orderid
  9370. - ordertime
  9371. type: object
  9372. models.HsbyListingGoodsDetail:
  9373. properties:
  9374. agreeunit:
  9375. description: 合约单位
  9376. type: number
  9377. buymaxqty:
  9378. description: 购买上限 [71] - 0为不限
  9379. type: integer
  9380. currency:
  9381. description: 货币
  9382. type: string
  9383. currencysign:
  9384. description: 货币符号
  9385. type: string
  9386. decimalplace:
  9387. description: 报价小数位
  9388. type: integer
  9389. desccityid:
  9390. description: 目的地(市)ID
  9391. type: integer
  9392. descprovinceid:
  9393. description: 目的地(省)ID
  9394. type: integer
  9395. goodscode:
  9396. description: 商品代码(内部)
  9397. type: string
  9398. goodsdesc:
  9399. description: 商品详情
  9400. type: string
  9401. goodsid:
  9402. description: 商品ID(自增ID SEQ_GOODS)
  9403. type: integer
  9404. goodsname:
  9405. description: 商品名称
  9406. type: string
  9407. goodsprice:
  9408. description: 商品价格
  9409. type: number
  9410. hotindex:
  9411. description: 景点热度
  9412. type: integer
  9413. last:
  9414. description: 现价
  9415. type: number
  9416. limitdown:
  9417. description: 跌停价
  9418. type: number
  9419. limitup:
  9420. description: 涨停价
  9421. type: number
  9422. lotsize:
  9423. description: 手数最小变动单位
  9424. type: integer
  9425. marketid:
  9426. description: 所属市场ID
  9427. type: integer
  9428. picurls:
  9429. description: 介绍图片[多张用逗号分隔]
  9430. type: string
  9431. quoteminunit:
  9432. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9433. type: integer
  9434. stepvalue:
  9435. description: 价格最小变动单位
  9436. type: number
  9437. trademode:
  9438. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9439. 21:竞拍-大宗式 22:受托竞价
  9440. type: integer
  9441. vendorattr:
  9442. description: 供应商附件(多张,逗号分隔)
  9443. type: string
  9444. vendorname:
  9445. description: 供应商名称
  9446. type: string
  9447. vendorphone:
  9448. description: 供应商客服电话
  9449. type: string
  9450. videourls:
  9451. description: 介绍视频[多张用逗号分隔]
  9452. type: string
  9453. required:
  9454. - goodscode
  9455. - goodsid
  9456. - goodsname
  9457. - marketid
  9458. - trademode
  9459. type: object
  9460. models.HsbyMarketGoods:
  9461. properties:
  9462. accountid:
  9463. description: 账户ID[报价币种]
  9464. type: integer
  9465. agreeunit:
  9466. description: 合约单位
  9467. type: number
  9468. buyorsell:
  9469. description: 买卖 - 0:买 1:卖
  9470. type: integer
  9471. categoryid:
  9472. description: 类别ID(WRCATEGORY)
  9473. type: integer
  9474. currency:
  9475. description: 货币
  9476. type: string
  9477. currencysign:
  9478. description: 货币符号
  9479. type: string
  9480. customername:
  9481. description: 卖家名称
  9482. type: string
  9483. decimalplace:
  9484. description: 报价小数位
  9485. type: integer
  9486. goodscode:
  9487. description: 商品代码(内部)
  9488. type: string
  9489. goodsid:
  9490. description: 商品ID
  9491. type: integer
  9492. goodsname:
  9493. description: 商品名称
  9494. type: string
  9495. goodsprice:
  9496. description: 商品价格
  9497. type: number
  9498. hascoupon:
  9499. description: 是否可用优惠卷
  9500. type: boolean
  9501. hotindex:
  9502. description: 景点热度
  9503. type: integer
  9504. marketid:
  9505. description: 市场ID
  9506. type: integer
  9507. orderid:
  9508. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9509. type: string
  9510. orderprice:
  9511. description: 委托价格
  9512. type: number
  9513. orderstatus:
  9514. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9515. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9516. 16:成交失败违约(荷兰式竞拍专用)
  9517. type: integer
  9518. picurls:
  9519. description: 介绍图片[多张用逗号分隔]
  9520. type: string
  9521. quoteminunit:
  9522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9523. type: integer
  9524. sellUserID:
  9525. description: 卖方UserID
  9526. type: integer
  9527. trademode:
  9528. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9529. 21:竞拍-大宗式 22:受托竞价
  9530. type: integer
  9531. videourls:
  9532. description: 介绍视频[多张用逗号分隔]
  9533. type: string
  9534. required:
  9535. - accountid
  9536. - buyorsell
  9537. - goodscode
  9538. - goodsid
  9539. - goodsname
  9540. - marketid
  9541. - orderid
  9542. - trademode
  9543. type: object
  9544. models.HsbyMarketGoodsDetail:
  9545. properties:
  9546. accountid:
  9547. description: 账户ID[报价币种]
  9548. type: integer
  9549. agreeunit:
  9550. description: 合约单位
  9551. type: number
  9552. buymaxqty:
  9553. description: 购买上限 [71] - 0为不限
  9554. type: integer
  9555. buyorsell:
  9556. description: 买卖 - 0:买 1:卖
  9557. type: integer
  9558. cancelqty:
  9559. description: 撤单数量
  9560. type: integer
  9561. categoryid:
  9562. description: 类别ID(WRCATEGORY)
  9563. type: integer
  9564. currency:
  9565. description: 货币
  9566. type: string
  9567. currencysign:
  9568. description: 货币符号
  9569. type: string
  9570. customername:
  9571. description: 卖家名称
  9572. type: string
  9573. decimalplace:
  9574. description: 报价小数位
  9575. type: integer
  9576. goodscode:
  9577. description: 商品代码(内部)
  9578. type: string
  9579. goodsdesc:
  9580. description: 商品详情
  9581. type: string
  9582. goodsid:
  9583. description: 商品ID
  9584. type: integer
  9585. goodsname:
  9586. description: 商品名称
  9587. type: string
  9588. goodsprice:
  9589. description: 商品价格
  9590. type: number
  9591. hotindex:
  9592. description: 景点热度
  9593. type: integer
  9594. lotsize:
  9595. description: 手数最小变动单位
  9596. type: integer
  9597. marketid:
  9598. description: 市场ID
  9599. type: integer
  9600. orderid:
  9601. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9602. type: string
  9603. orderprice:
  9604. description: 委托价格
  9605. type: number
  9606. orderqty:
  9607. description: 委托数量
  9608. type: integer
  9609. orderstatus:
  9610. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9611. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9612. 16:成交失败违约(荷兰式竞拍专用)
  9613. type: integer
  9614. picurls:
  9615. description: 介绍图片[多张用逗号分隔]
  9616. type: string
  9617. quoteminunit:
  9618. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9619. type: integer
  9620. sellUserID:
  9621. description: 卖方UserID
  9622. type: integer
  9623. trademode:
  9624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9625. 21:竞拍-大宗式 22:受托竞价
  9626. type: integer
  9627. tradeqty:
  9628. description: 成交数量
  9629. type: integer
  9630. vendorattr:
  9631. description: 供应商附件(多张,逗号分隔)
  9632. type: string
  9633. vendorname:
  9634. description: 供应商名称
  9635. type: string
  9636. vendorphone:
  9637. description: 供应商客服电话
  9638. type: string
  9639. videourls:
  9640. description: 介绍视频[多张用逗号分隔]
  9641. type: string
  9642. required:
  9643. - accountid
  9644. - buyorsell
  9645. - goodscode
  9646. - goodsid
  9647. - goodsname
  9648. - marketid
  9649. - orderid
  9650. - orderqty
  9651. - trademode
  9652. type: object
  9653. models.HsbyMarketInfo:
  9654. properties:
  9655. marketid:
  9656. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9657. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9658. type: integer
  9659. marketname:
  9660. description: 市场名称
  9661. type: string
  9662. marketstatus:
  9663. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9664. type: integer
  9665. trademode:
  9666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9667. 21:竞拍-大宗式 22:受托竞价
  9668. type: integer
  9669. required:
  9670. - marketid
  9671. - marketstatus
  9672. - trademode
  9673. type: object
  9674. models.HsbyMyGoods:
  9675. properties:
  9676. accountid:
  9677. description: 账号Id
  9678. type: integer
  9679. agreeunit:
  9680. description: 合约单位
  9681. type: number
  9682. buyaverageprice:
  9683. description: 持仓均价
  9684. type: number
  9685. buycurholderamount:
  9686. description: 买当前持仓总金额[商品币种]
  9687. type: number
  9688. buycurpositionqty:
  9689. description: 买当前持仓总数量
  9690. type: integer
  9691. buymaxqty:
  9692. description: 购买上限 [71] - 0为不限
  9693. type: integer
  9694. currencysign:
  9695. description: 货币符号
  9696. type: string
  9697. decimalplace:
  9698. description: 报价小数位
  9699. type: integer
  9700. enableqty:
  9701. description: 可用数量
  9702. type: integer
  9703. goodscode:
  9704. description: 商品代码(内部)
  9705. type: string
  9706. goodsid:
  9707. description: 商品Id
  9708. type: integer
  9709. goodsname:
  9710. description: 商品名称
  9711. type: string
  9712. goodsprice:
  9713. description: 商品价格
  9714. type: number
  9715. goodsstatus:
  9716. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9717. type: integer
  9718. last:
  9719. description: 现价(仅使用于挂牌点选)
  9720. type: number
  9721. limitdown:
  9722. description: 跌停价(仅使用于挂牌点选)
  9723. type: number
  9724. limitup:
  9725. description: 涨停价(仅使用于挂牌点选)
  9726. type: number
  9727. lotsize:
  9728. description: 手数最小变动单位
  9729. type: integer
  9730. marketid:
  9731. description: 所属市场ID
  9732. type: integer
  9733. picurls:
  9734. description: 介绍图片[多张用逗号分隔]
  9735. type: string
  9736. quoteminunit:
  9737. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9738. type: integer
  9739. stepvalue:
  9740. description: 价格最小变动单位
  9741. type: number
  9742. trademode:
  9743. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9744. 21:竞拍-大宗式 22:受托竞价
  9745. type: integer
  9746. required:
  9747. - accountid
  9748. - goodscode
  9749. - goodsid
  9750. - goodsname
  9751. - marketid
  9752. - trademode
  9753. type: object
  9754. models.HsbyMyPackage:
  9755. properties:
  9756. accountid:
  9757. description: 账户ID
  9758. type: integer
  9759. address:
  9760. description: 提货人详细地址
  9761. type: string
  9762. agreeunit:
  9763. description: 合约单位
  9764. type: number
  9765. amount:
  9766. description: 提货金额
  9767. type: number
  9768. auditer:
  9769. description: 审核人
  9770. type: integer
  9771. audittime:
  9772. description: 审核时间
  9773. type: string
  9774. averageprice:
  9775. description: 均价
  9776. type: number
  9777. cardnum:
  9778. description: 提货人证件号码
  9779. type: string
  9780. cardtypeid:
  9781. description: 提货人证件类型
  9782. type: integer
  9783. checkremark:
  9784. description: 审核备注
  9785. type: string
  9786. currencysign:
  9787. description: 货币符号
  9788. type: string
  9789. decimalplace:
  9790. description: 报价小数位
  9791. type: integer
  9792. goodscode:
  9793. description: 商品代码(内部)
  9794. type: string
  9795. goodsid:
  9796. description: 商品ID
  9797. type: integer
  9798. goodsname:
  9799. description: 商品名称
  9800. type: string
  9801. handlestatus:
  9802. description: 处理状态
  9803. type: integer
  9804. marketid:
  9805. description: 市场ID
  9806. type: integer
  9807. phonenum:
  9808. description: 提货人联系方式
  9809. type: string
  9810. picurls:
  9811. description: 介绍图片[多张用逗号分隔]
  9812. type: string
  9813. qty:
  9814. description: 提货数量
  9815. type: number
  9816. recivername:
  9817. description: 提货人姓名
  9818. type: string
  9819. reqtime:
  9820. description: 更新时间
  9821. type: string
  9822. takemode:
  9823. description: 提货方式 - 2:自提 3:配送
  9824. type: integer
  9825. takeorderid:
  9826. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9827. type: string
  9828. takeorderstatus:
  9829. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9830. type: integer
  9831. takeremark:
  9832. description: 提货备注
  9833. type: string
  9834. tradedate:
  9835. description: 交易日(yyyyMMdd)
  9836. type: string
  9837. trademode:
  9838. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9839. 21:竞拍-大宗式 22:受托竞价
  9840. type: integer
  9841. userid:
  9842. description: 用户ID
  9843. type: integer
  9844. vendorname:
  9845. description: 供应商名称
  9846. type: string
  9847. required:
  9848. - goodscode
  9849. - goodsname
  9850. - takeorderid
  9851. - trademode
  9852. type: object
  9853. models.HsbyPreGoods:
  9854. properties:
  9855. agreeunit:
  9856. description: 合约单位
  9857. type: number
  9858. currency:
  9859. description: 货币
  9860. type: string
  9861. currencysign:
  9862. description: 货币符号
  9863. type: string
  9864. decimalplace:
  9865. description: 报价小数位
  9866. type: integer
  9867. desccityid:
  9868. description: 目的地(市)
  9869. type: integer
  9870. descprovinceid:
  9871. description: 目的地(省)
  9872. type: integer
  9873. enableqty:
  9874. description: 剩余数量
  9875. type: integer
  9876. goodscode:
  9877. description: 商品代码(内部)
  9878. type: string
  9879. goodsid:
  9880. description: 商品ID(自增ID SEQ_GOODS)
  9881. type: integer
  9882. goodsname:
  9883. description: 商品名称
  9884. type: string
  9885. goodsstatus:
  9886. description: 商品状态- 2:未上市 3:上市
  9887. type: integer
  9888. lasttradedate:
  9889. description: 最后交易日期(状态:待退市)
  9890. type: string
  9891. listingdate:
  9892. description: 交易开始日期
  9893. type: string
  9894. marketid:
  9895. description: 所属市场ID
  9896. type: integer
  9897. picurls:
  9898. description: 介绍图片[多张用逗号分隔]
  9899. type: string
  9900. presaledqty:
  9901. description: 已预售量(预售结束时更新)
  9902. type: integer
  9903. presaleqty:
  9904. description: 预售数量
  9905. type: integer
  9906. quoteminunit:
  9907. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9908. type: integer
  9909. refprice:
  9910. description: 参考价格[一口价]
  9911. type: number
  9912. relatedgoodsid:
  9913. description: 关联交易合约ID
  9914. type: integer
  9915. trademode:
  9916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9917. 21:竞拍-大宗式 22:受托竞价
  9918. type: integer
  9919. videourls:
  9920. description: 介绍视频[多张用逗号分隔]
  9921. type: string
  9922. required:
  9923. - goodscode
  9924. - goodsid
  9925. - goodsname
  9926. - marketid
  9927. - trademode
  9928. type: object
  9929. models.HsbyPreGoodsDetail:
  9930. properties:
  9931. agreeunit:
  9932. description: 合约单位
  9933. type: number
  9934. buymaxqty:
  9935. description: 购买上限 [71] - 0为不限
  9936. type: integer
  9937. currency:
  9938. description: 货币
  9939. type: string
  9940. currencysign:
  9941. description: 货币符号
  9942. type: string
  9943. customername:
  9944. description: 发行单位
  9945. type: string
  9946. decimalplace:
  9947. description: 报价小数位
  9948. type: integer
  9949. desccityid:
  9950. description: 目的地(市)ID
  9951. type: integer
  9952. descprovinceid:
  9953. description: 目的地(省)ID
  9954. type: integer
  9955. enableqty:
  9956. description: 剩余数量
  9957. type: integer
  9958. goodscode:
  9959. description: 商品代码(内部)
  9960. type: string
  9961. goodsdesc:
  9962. description: 商品详情
  9963. type: string
  9964. goodsid:
  9965. description: 商品ID(自增ID SEQ_GOODS)
  9966. type: integer
  9967. goodsname:
  9968. description: 商品名称
  9969. type: string
  9970. goodsstatus:
  9971. description: 商品状态- 2:未上市 3:上市
  9972. type: integer
  9973. goodunit:
  9974. description: 报价单位
  9975. type: string
  9976. lasttradedate:
  9977. description: 最后交易日期(状态:待退市)
  9978. type: string
  9979. listingdate:
  9980. description: 交易开始日期
  9981. type: string
  9982. lotsize:
  9983. description: 手数最小变动单位
  9984. type: integer
  9985. marketid:
  9986. description: 所属市场ID
  9987. type: integer
  9988. picurls:
  9989. description: 介绍图片[多张用逗号分隔]
  9990. type: string
  9991. presaledqty:
  9992. description: 已预售量(预售结束时更新)
  9993. type: integer
  9994. presaleqty:
  9995. description: 预售数量
  9996. type: integer
  9997. quoteminunit:
  9998. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9999. type: integer
  10000. refprice:
  10001. description: 参考价格[一口价]
  10002. type: number
  10003. relatedgoodsid:
  10004. description: 关联交易合约ID
  10005. type: integer
  10006. stepvalue:
  10007. description: 价格最小变动单位
  10008. type: number
  10009. trademode:
  10010. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10011. 21:竞拍-大宗式 22:受托竞价
  10012. type: integer
  10013. vendorattr:
  10014. description: 供应商附件(多张,逗号分隔)
  10015. type: string
  10016. vendorname:
  10017. description: 供应商名称
  10018. type: string
  10019. vendorphone:
  10020. description: 供应商客服电话
  10021. type: string
  10022. videourls:
  10023. description: 介绍视频[多张用逗号分隔]
  10024. type: string
  10025. required:
  10026. - goodscode
  10027. - goodsid
  10028. - goodsname
  10029. - marketid
  10030. - trademode
  10031. type: object
  10032. models.HsbySellCollectionOrder:
  10033. properties:
  10034. agreeunit:
  10035. description: 合约单位
  10036. type: number
  10037. buyaccountid:
  10038. description: 买方账号ID[报价币种]
  10039. type: integer
  10040. buyorderid:
  10041. description: 买方委托单号
  10042. type: string
  10043. createtime:
  10044. description: 创建时间
  10045. type: string
  10046. currencysign:
  10047. description: 货币符号
  10048. type: string
  10049. decimalplace:
  10050. description: 报价小数位
  10051. type: integer
  10052. goodscode:
  10053. description: 商品代码(内部)
  10054. type: string
  10055. goodsid:
  10056. description: 商品ID
  10057. type: integer
  10058. goodsname:
  10059. description: 商品名称
  10060. type: string
  10061. marketid:
  10062. description: 市场ID
  10063. type: integer
  10064. offamount:
  10065. description: 优惠金额
  10066. type: number
  10067. payamount:
  10068. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10069. type: number
  10070. payflag:
  10071. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10072. type: integer
  10073. paylimitedtime:
  10074. description: 支付期限
  10075. type: string
  10076. paytime:
  10077. description: 付款时间
  10078. type: string
  10079. picurls:
  10080. description: 商品介绍图片[多张用逗号分隔]
  10081. type: string
  10082. sellaccountid:
  10083. description: 卖方账号ID[报价币种]
  10084. type: integer
  10085. sellorderid:
  10086. description: 卖方委托单号
  10087. type: string
  10088. tradeamount:
  10089. description: 成交金额
  10090. type: number
  10091. tradecharge:
  10092. description: 成交手续费(买方)
  10093. type: number
  10094. tradedate:
  10095. description: 交易日(yyyyMMdd)
  10096. type: string
  10097. tradeid:
  10098. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10099. type: string
  10100. trademode:
  10101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10102. 21:竞拍-大宗式 22:受托竞价
  10103. type: integer
  10104. tradeprice:
  10105. description: 成交价格
  10106. type: number
  10107. tradeqty:
  10108. description: 成交数量
  10109. type: integer
  10110. required:
  10111. - goodscode
  10112. - goodsname
  10113. - tradeid
  10114. - trademode
  10115. type: object
  10116. models.HsbySellMyDetail:
  10117. properties:
  10118. accountid:
  10119. description: 账户ID[报价币种]
  10120. type: integer
  10121. agreeunit:
  10122. description: 合约单位
  10123. type: number
  10124. buyorsell:
  10125. description: 买卖 - 0:买 1:卖
  10126. type: integer
  10127. currencysign:
  10128. description: 货币符号
  10129. type: string
  10130. decimalplace:
  10131. description: 报价小数位
  10132. type: integer
  10133. goodscode:
  10134. description: 商品代码(内部)
  10135. type: string
  10136. goodsid:
  10137. description: 商品ID
  10138. type: integer
  10139. goodsname:
  10140. description: 商品名称
  10141. type: string
  10142. marketid:
  10143. description: 市场ID
  10144. type: integer
  10145. orderid:
  10146. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10147. type: string
  10148. ordertype:
  10149. description: 单据类型:0 - 发布中, 1 - 已完成
  10150. type: integer
  10151. picurls:
  10152. description: 介绍图片[多张用逗号分隔]
  10153. type: string
  10154. price:
  10155. description: 价格
  10156. type: number
  10157. qty:
  10158. description: 数量
  10159. type: integer
  10160. time:
  10161. description: 时间
  10162. type: string
  10163. trademode:
  10164. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10165. 21:竞拍-大宗式 22:受托竞价
  10166. type: integer
  10167. vendorname:
  10168. description: 供应商名称
  10169. type: string
  10170. required:
  10171. - accountid
  10172. - buyorsell
  10173. - goodscode
  10174. - goodsid
  10175. - goodsname
  10176. - marketid
  10177. - orderid
  10178. - time
  10179. - trademode
  10180. type: object
  10181. models.HsbyTopGoods:
  10182. properties:
  10183. agreeunit:
  10184. description: 合约单位
  10185. type: number
  10186. currency:
  10187. description: 货币
  10188. type: string
  10189. currencysign:
  10190. description: 货币符号
  10191. type: string
  10192. decimalplace:
  10193. description: 报价小数位
  10194. type: integer
  10195. desccityid:
  10196. description: 目的地(市)
  10197. type: integer
  10198. descprovinceid:
  10199. description: 目的地(省)
  10200. type: integer
  10201. goodscode:
  10202. description: 商品代码(内部)
  10203. type: string
  10204. goodsid:
  10205. description: 商品ID(自增ID SEQ_GOODS)
  10206. type: integer
  10207. goodsname:
  10208. description: 商品名称
  10209. type: string
  10210. hotindex:
  10211. description: 景点热度
  10212. type: integer
  10213. last:
  10214. description: 现价
  10215. type: number
  10216. marketid:
  10217. description: 所属市场ID
  10218. type: integer
  10219. picurls:
  10220. description: 介绍图片[多张用逗号分隔]
  10221. type: string
  10222. quoteminunit:
  10223. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10224. type: integer
  10225. trademode:
  10226. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10227. 21:竞拍-大宗式 22:受托竞价
  10228. type: integer
  10229. videourls:
  10230. description: 介绍视频[多张用逗号分隔]
  10231. type: string
  10232. required:
  10233. - goodscode
  10234. - goodsid
  10235. - goodsname
  10236. - marketid
  10237. - trademode
  10238. type: object
  10239. models.HybsMyBuyOrderDetail:
  10240. properties:
  10241. accountid:
  10242. description: 账户ID[报价币种]
  10243. type: integer
  10244. agreeunit:
  10245. description: 合约单位
  10246. type: number
  10247. buyorsell:
  10248. description: 买卖 - 0:买 1:卖
  10249. type: integer
  10250. cancelqty:
  10251. description: 撤单数量
  10252. type: integer
  10253. currencysign:
  10254. description: 货币符号
  10255. type: string
  10256. decimalplace:
  10257. description: 报价小数位
  10258. type: integer
  10259. goodscode:
  10260. description: 商品代码(内部)
  10261. type: string
  10262. goodsid:
  10263. description: 商品ID
  10264. type: integer
  10265. goodsname:
  10266. description: 商品名称
  10267. type: string
  10268. listingselecttype:
  10269. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10270. type: integer
  10271. marketid:
  10272. description: 市场ID
  10273. type: integer
  10274. mybuystatus:
  10275. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10276. type: integer
  10277. orderamount:
  10278. description: 委托金额
  10279. type: number
  10280. orderid:
  10281. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10282. type: string
  10283. orderprice:
  10284. description: 委托价格
  10285. type: number
  10286. orderqty:
  10287. description: 委托数量
  10288. type: integer
  10289. orderstatus:
  10290. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10291. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10292. 16:成交失败违约(荷兰式竞拍专用)
  10293. type: integer
  10294. ordertime:
  10295. description: 委托时间
  10296. type: string
  10297. picurls1:
  10298. description: 预售商品介绍图片[多张用逗号分隔]
  10299. type: string
  10300. picurls2:
  10301. description: 挂牌商品介绍图片[多张用逗号分隔]
  10302. type: string
  10303. trademode:
  10304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10305. 21:竞拍-大宗式 22:受托竞价
  10306. type: integer
  10307. tradeqty:
  10308. description: 成交数量
  10309. type: integer
  10310. vendorname1:
  10311. description: 预售商品供应商名称
  10312. type: string
  10313. vendorname2:
  10314. description: 挂牌商品供应商名称
  10315. type: string
  10316. required:
  10317. - accountid
  10318. - buyorsell
  10319. - goodscode
  10320. - goodsid
  10321. - goodsname
  10322. - marketid
  10323. - orderid
  10324. - orderqty
  10325. - ordertime
  10326. - trademode
  10327. type: object
  10328. models.InternalUncorrelatedTradeDetail:
  10329. properties:
  10330. accountname:
  10331. description: 套期主体
  10332. type: string
  10333. agreeunit:
  10334. description: 合约乘数
  10335. type: number
  10336. areauserid:
  10337. description: 所属机构
  10338. type: integer
  10339. bizsubjectid:
  10340. description: 归属业务部门ID - SubjectID
  10341. type: integer
  10342. buyorsell:
  10343. description: 方向 - 0:买 1:卖
  10344. type: integer
  10345. convertratio:
  10346. description: 品种系数
  10347. type: number
  10348. createtime:
  10349. description: 创建时间
  10350. type: string
  10351. creatorid:
  10352. description: 创建人ID
  10353. type: integer
  10354. creatorsrc:
  10355. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10356. type: integer
  10357. enableqty:
  10358. description: 项目可关联手数 = 成交手数 - 关联数量
  10359. type: number
  10360. goodscode:
  10361. description: 合约代码
  10362. type: string
  10363. goodsgroupid:
  10364. description: 对冲品种ID[期货合约商品组ID]
  10365. type: integer
  10366. goodsid:
  10367. description: 商品ID
  10368. type: integer
  10369. goodsname:
  10370. description: 合约名称
  10371. type: string
  10372. hedgeditemid:
  10373. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10374. type: integer
  10375. hedgeflag:
  10376. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10377. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10378. type: integer
  10379. linkdetailid:
  10380. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10381. type: string
  10382. linkstatus:
  10383. description: 关联状态 - 1:成功 2:失败 3:解绑
  10384. type: integer
  10385. middlegoodsid:
  10386. description: 套保品种ID
  10387. type: integer
  10388. relatedlot:
  10389. description: '[数量]关联手数'
  10390. type: number
  10391. relatedmode:
  10392. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10393. type: integer
  10394. relatedqty:
  10395. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10396. type: number
  10397. retcode:
  10398. description: 返回码
  10399. type: integer
  10400. saleuserid:
  10401. description: 业务员ID
  10402. type: integer
  10403. tradedate:
  10404. description: 关联交易日(yyyyMMdd)
  10405. type: string
  10406. tradeid:
  10407. description: 成交单号
  10408. type: string
  10409. tradelot:
  10410. description: 成交手数
  10411. type: integer
  10412. tradeprice:
  10413. description: 成交价
  10414. type: number
  10415. tradetime:
  10416. description: 成交时间
  10417. type: string
  10418. tradetradedate:
  10419. description: 成交交易日(yyyyMMdd)
  10420. type: string
  10421. type: object
  10422. models.Loginaccount:
  10423. properties:
  10424. accountname:
  10425. description: 账户名称
  10426. type: string
  10427. canoutin:
  10428. description: 是否可出入金 - 0:不可 1:可
  10429. type: integer
  10430. clientroleid:
  10431. description: 终端角色ID
  10432. type: integer
  10433. haslogined:
  10434. description: 是否已登录 - 0:未登录 1:已登录
  10435. type: integer
  10436. hasupdatedpwd:
  10437. description: 是否已更改密码 - 0:未修改 1:已修改
  10438. type: integer
  10439. lastloginip:
  10440. description: 最新登录地址
  10441. type: string
  10442. lastloginmode:
  10443. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10444. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10445. type: integer
  10446. lastloginremark:
  10447. description: 最新登录描述
  10448. type: string
  10449. lastlogintime:
  10450. description: 最新登录时间
  10451. type: string
  10452. logincode:
  10453. description: 登录代码
  10454. type: string
  10455. loginfailnum:
  10456. description: 连续登录失败次数(登录成功时清零)
  10457. type: integer
  10458. loginid:
  10459. description: 登陆账号
  10460. type: integer
  10461. loginport:
  10462. description: 最新登录端口
  10463. type: integer
  10464. loginstatus:
  10465. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10466. type: integer
  10467. loginusertype:
  10468. description: 登录账号类型 - 1:投资者 2:机构交易员
  10469. type: integer
  10470. mobile:
  10471. description: 手机号码(加密存储)
  10472. type: string
  10473. modifierid:
  10474. description: 修改人
  10475. type: integer
  10476. modifysrc:
  10477. description: 审核来源 - 1:管理端 2:终端
  10478. type: integer
  10479. modifytime:
  10480. description: 修改时间
  10481. type: string
  10482. password:
  10483. description: 登陆密码
  10484. type: string
  10485. pwdwrongcount:
  10486. description: 密码错误次数
  10487. type: integer
  10488. relateduserid:
  10489. description: 关联用户ID(机构)
  10490. type: integer
  10491. taaccountrighttype:
  10492. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10493. type: integer
  10494. unfreezetime:
  10495. description: 账户解冻时间
  10496. type: string
  10497. userid:
  10498. description: 用户ID
  10499. type: integer
  10500. required:
  10501. - loginid
  10502. type: object
  10503. models.MainAccountInfo:
  10504. properties:
  10505. accountid:
  10506. description: 账号id
  10507. type: integer
  10508. accountname:
  10509. description: 账号名称(taaccount表中的名称)
  10510. type: string
  10511. appid:
  10512. description: AppID
  10513. type: string
  10514. authcode:
  10515. description: 授权码
  10516. type: string
  10517. brokerid:
  10518. description: 经纪商id
  10519. type: string
  10520. fcid:
  10521. description: 期货公司id
  10522. type: integer
  10523. fcname:
  10524. description: 期货公司代码
  10525. type: string
  10526. hedgeaccountcode:
  10527. description: 外部账号代码(主账号登录代码)
  10528. type: string
  10529. hedgeaccountpwd:
  10530. description: 密码
  10531. type: string
  10532. ismain:
  10533. description: 是否主账号
  10534. type: integer
  10535. relateduserid:
  10536. description: 关联用户id
  10537. type: integer
  10538. userid:
  10539. description: 关联用户id
  10540. type: integer
  10541. type: object
  10542. models.Market:
  10543. properties:
  10544. auctionwrtype:
  10545. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10546. type: integer
  10547. canacceptquote:
  10548. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10549. type: integer
  10550. cangoodsexercise:
  10551. description: '[期权]是否可现货行权- 0:否 1:是'
  10552. type: integer
  10553. cangoodsexercisetype:
  10554. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10555. type: integer
  10556. canmanualquotestrike:
  10557. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10558. type: integer
  10559. canmutistage:
  10560. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10561. type: integer
  10562. canpreexercise:
  10563. description: '[期权]是否可预申报- 0:否 1:是'
  10564. type: integer
  10565. clearinterval:
  10566. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10567. type: integer
  10568. contracttmp:
  10569. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10570. type: string
  10571. exchareaid:
  10572. description: 所属交易所,可以没有
  10573. type: integer
  10574. goodstype:
  10575. description: 商品类型 - 1:交易商品 2:仓单商品
  10576. type: integer
  10577. hasrebate:
  10578. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10579. type: integer
  10580. hastradecredit:
  10581. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10582. type: integer
  10583. haswr:
  10584. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10585. type: integer
  10586. isdeductmargin:
  10587. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10588. type: integer
  10589. isrecordsource:
  10590. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10591. type: integer
  10592. isreleasemargin:
  10593. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10594. type: integer
  10595. marginformula:
  10596. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10597. type: integer
  10598. marginformula2:
  10599. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10600. type: integer
  10601. marketid:
  10602. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10603. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10604. type: integer
  10605. marketname:
  10606. description: 市场名称
  10607. type: string
  10608. marketserviceid:
  10609. description: 市场服务ID
  10610. type: integer
  10611. marketstatus:
  10612. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10613. type: integer
  10614. markettype:
  10615. description: 市场类型- 1:非交易服务 2:交易服务
  10616. type: integer
  10617. matchermode:
  10618. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10619. type: integer
  10620. openmethod:
  10621. description: 开盘模式 - 0 自动 1手动
  10622. type: integer
  10623. otcuserid:
  10624. description: 场外期权做市商[场外期权]
  10625. type: integer
  10626. outersynctime:
  10627. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10628. type: string
  10629. pendingflag:
  10630. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10631. type: integer
  10632. pendingtime:
  10633. description: 待开市时间[通道交易-对冲](HH:mm)
  10634. type: string
  10635. performancetempid:
  10636. description: 履约计划模板ID - 作废
  10637. type: integer
  10638. premiumquotemode:
  10639. description: 权利金报价方式 - 1:自动 2:手动
  10640. type: integer
  10641. rebateratio:
  10642. description: 返利比率[竞价式]
  10643. type: number
  10644. reckonorder:
  10645. description: 结算顺序
  10646. type: integer
  10647. reckonpricealgorithm:
  10648. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10649. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10650. type: integer
  10651. reckonpriceparam:
  10652. description: 结算价参数
  10653. type: integer
  10654. reckontime:
  10655. description: 结算时间[通道交易-对冲](HH:mm)
  10656. type: string
  10657. roleprioritytype:
  10658. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10659. type: integer
  10660. selllistingauditflag:
  10661. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10662. type: integer
  10663. trademarkettype:
  10664. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10665. type: integer
  10666. trademode:
  10667. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10668. 21:竞拍-大宗式 22:受托竞价
  10669. type: integer
  10670. tradeproperty:
  10671. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10672. 8:场外期权
  10673. type: integer
  10674. tradetype:
  10675. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10676. type: integer
  10677. required:
  10678. - marketid
  10679. - marketstatus
  10680. - openmethod
  10681. - reckonpricealgorithm
  10682. - trademode
  10683. - tradeproperty
  10684. type: object
  10685. models.Marketrun:
  10686. properties:
  10687. afternexttradedate:
  10688. description: 下下交易日
  10689. type: string
  10690. clearquoteflag:
  10691. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10692. type: integer
  10693. lastreckondate:
  10694. description: 最新交易日(结算成功)
  10695. type: string
  10696. machinedate:
  10697. description: 机器时间
  10698. type: string
  10699. manualflag:
  10700. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10701. type: integer
  10702. marketid:
  10703. description: 市场ID
  10704. type: integer
  10705. nexttradedate:
  10706. description: 下一交易日
  10707. type: string
  10708. pretradedate:
  10709. description: 上一交易日
  10710. type: string
  10711. reckonflag:
  10712. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10713. type: integer
  10714. runstatus:
  10715. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10716. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10717. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10718. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10719. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10720. 62.今日免清算
  10721. type: integer
  10722. sectionid:
  10723. description: 时间段号[多时段时用]
  10724. type: integer
  10725. tradedate:
  10726. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10727. type: string
  10728. tradedate2:
  10729. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10730. type: string
  10731. updatetime:
  10732. description: 更新时间
  10733. type: string
  10734. required:
  10735. - marketid
  10736. - nexttradedate
  10737. - reckonflag
  10738. - runstatus
  10739. - tradedate
  10740. - tradedate2
  10741. type: object
  10742. models.Messageboard:
  10743. properties:
  10744. contactnum:
  10745. description: 联系电话
  10746. type: string
  10747. createtime:
  10748. description: 创建时间
  10749. type: string
  10750. message:
  10751. description: 留言信息
  10752. type: string
  10753. messageboardid:
  10754. description: 留言簿ID(SEQ_MessageBoard)
  10755. type: integer
  10756. userid:
  10757. description: 用户ID
  10758. type: integer
  10759. required:
  10760. - messageboardid
  10761. type: object
  10762. models.MyCoupon:
  10763. properties:
  10764. accountid:
  10765. description: 资金账户ID
  10766. type: integer
  10767. areauserid:
  10768. description: 所属机构
  10769. type: integer
  10770. conditionvalue:
  10771. description: 条件阈值(可为0)
  10772. type: number
  10773. couponcategroy:
  10774. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10775. type: integer
  10776. couponname:
  10777. description: 优惠券名称
  10778. type: string
  10779. coupontypeid:
  10780. description: 优惠券类型ID
  10781. type: string
  10782. couponvalue:
  10783. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10784. type: number
  10785. curfreezeqty:
  10786. description: 期末冻结数量
  10787. type: integer
  10788. curqty:
  10789. description: 期末数量
  10790. type: integer
  10791. isgeneral:
  10792. description: 是否通用券 - 0:否 1:是
  10793. type: integer
  10794. isunusable:
  10795. description: 是否不可用
  10796. type: boolean
  10797. limitedflag:
  10798. description: 是否指定商品 - 0:不限 1:限制
  10799. type: integer
  10800. limitedgoodsids:
  10801. description: 指定商品IDs[逗号分隔,前后加逗号]
  10802. type: string
  10803. orifreezeqty:
  10804. description: 期初冻结数量
  10805. type: integer
  10806. oriqty:
  10807. description: 期初数量
  10808. type: integer
  10809. reasontype:
  10810. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10811. type: integer
  10812. todaydecrease:
  10813. description: 今日减少
  10814. type: integer
  10815. todayincrease:
  10816. description: 今日增加
  10817. type: integer
  10818. userid:
  10819. description: 用户ID
  10820. type: integer
  10821. userscope:
  10822. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10823. type: string
  10824. required:
  10825. - accountid
  10826. - coupontypeid
  10827. type: object
  10828. models.MyCouponHold:
  10829. properties:
  10830. accountid:
  10831. description: 资金账户ID
  10832. type: integer
  10833. conditionvalue:
  10834. description: 条件阈值(可为0)
  10835. type: number
  10836. couponcategroy:
  10837. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10838. type: integer
  10839. couponholdid:
  10840. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10841. type: string
  10842. couponname:
  10843. description: 优惠券名称
  10844. type: string
  10845. coupontypeid:
  10846. description: 优惠券类型ID - SEQ_COUPONTYPE
  10847. type: string
  10848. couponvalue:
  10849. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10850. type: number
  10851. createtime:
  10852. description: 创建时间
  10853. type: string
  10854. enddate:
  10855. description: 结束日期
  10856. type: string
  10857. giveapplyid:
  10858. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10859. type: integer
  10860. holdstatus:
  10861. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10862. type: integer
  10863. isgeneral:
  10864. description: 是否通用券 - 0:否 1:是
  10865. type: integer
  10866. limitedflag:
  10867. description: 是否指定商品 - 0:不限 1:限制
  10868. type: integer
  10869. limitedgoodsids:
  10870. description: 指定商品IDs[逗号分隔]
  10871. type: string
  10872. qty:
  10873. description: 数量(按1平铺)
  10874. type: integer
  10875. startdate:
  10876. description: 开始日期
  10877. type: string
  10878. userid:
  10879. description: 用户ID
  10880. type: integer
  10881. userscope:
  10882. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10883. type: string
  10884. required:
  10885. - couponholdid
  10886. type: object
  10887. models.MyUsedCoupon:
  10888. properties:
  10889. accountid:
  10890. description: 资金账户ID(买方)
  10891. type: integer
  10892. conditionvalue:
  10893. description: 条件阈值(可为0)
  10894. type: number
  10895. couponcategroy:
  10896. description: 种类 - 1:现金券 2:折扣券
  10897. type: integer
  10898. couponname:
  10899. description: 优惠券名称
  10900. type: string
  10901. coupontypeid:
  10902. description: 优惠券类型ID(买方)
  10903. type: string
  10904. couponvalue:
  10905. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10906. type: number
  10907. createtime:
  10908. description: 创建时间
  10909. type: string
  10910. goodsid:
  10911. description: 商品ID
  10912. type: integer
  10913. handlestatus:
  10914. description: 处理状态
  10915. type: integer
  10916. marketid:
  10917. description: 市场ID
  10918. type: integer
  10919. offamount:
  10920. description: 优惠金额
  10921. type: number
  10922. orderid:
  10923. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10924. type: string
  10925. sellaccountid:
  10926. description: 资金账户ID(卖方)
  10927. type: integer
  10928. tradeamount:
  10929. description: 成交金额
  10930. type: number
  10931. tradeid:
  10932. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10933. type: string
  10934. usedqty:
  10935. description: 使用数量
  10936. type: integer
  10937. required:
  10938. - coupontypeid
  10939. - orderid
  10940. type: object
  10941. models.OperationPrimaryMenu:
  10942. properties:
  10943. Children:
  10944. description: 二级功能菜单
  10945. items:
  10946. $ref: '#/definitions/models.OperationSecondaryMenu'
  10947. type: array
  10948. Key:
  10949. description: 菜单KEY
  10950. type: string
  10951. Label:
  10952. description: 菜单标题
  10953. type: string
  10954. type: object
  10955. models.OperationSecondaryMenu:
  10956. properties:
  10957. Key:
  10958. description: 菜单KEY
  10959. type: string
  10960. Label:
  10961. description: 菜单标题
  10962. type: string
  10963. TabList:
  10964. description: 三级功能菜单
  10965. items:
  10966. $ref: '#/definitions/models.OperationTabMenu'
  10967. type: array
  10968. type: object
  10969. models.OperationTabMenu:
  10970. properties:
  10971. Key:
  10972. description: 菜单KEY
  10973. type: string
  10974. Label:
  10975. description: 菜单标题
  10976. type: string
  10977. type: object
  10978. models.QhjAccountOutInApply:
  10979. properties:
  10980. accountcode:
  10981. description: 资金账号
  10982. type: string
  10983. accountname:
  10984. description: 用户名称(名称)
  10985. type: string
  10986. accountpwd:
  10987. description: 资金密码
  10988. type: string
  10989. accountticket:
  10990. description: 最新账户服务流水号
  10991. type: string
  10992. amount:
  10993. description: 金额
  10994. type: number
  10995. applyremark:
  10996. description: 申请备注
  10997. type: string
  10998. applystatus:
  10999. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11000. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11001. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11002. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11003. type: integer
  11004. auditid:
  11005. description: 审核人
  11006. type: integer
  11007. audittime:
  11008. description: 审核时间
  11009. type: string
  11010. bank_apply_ticket:
  11011. description: 银行申请流水
  11012. type: string
  11013. bankaccountname:
  11014. description: 银行账户名
  11015. type: string
  11016. bankaccountno:
  11017. description: 银行卡号
  11018. type: string
  11019. bankid:
  11020. description: 银行编号
  11021. type: string
  11022. bankticket:
  11023. description: 银行流水
  11024. type: string
  11025. branchbankid:
  11026. description: 银行支行号
  11027. type: string
  11028. branchbankname:
  11029. description: 银行支行名称
  11030. type: string
  11031. capamountout:
  11032. description: 出金(劣后本金) - 外部子账户
  11033. type: number
  11034. certificatephotourl:
  11035. description: 凭证地址
  11036. type: string
  11037. charge:
  11038. description: 手续费
  11039. type: number
  11040. checkerrorflag:
  11041. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11042. type: integer
  11043. currency:
  11044. description: 币种
  11045. type: string
  11046. cusbankid:
  11047. description: 托管银行编号
  11048. type: string
  11049. exchticket:
  11050. description: 银行服务流水号
  11051. type: string
  11052. executetype:
  11053. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11054. 7:外部子账户:入金 8:外部子账户:出金'
  11055. type: integer
  11056. extendinfo:
  11057. description: 扩展信息
  11058. type: string
  11059. extoperateid:
  11060. description: 交易服务流水号
  11061. type: integer
  11062. infamount:
  11063. description: 劣后金额(自有)
  11064. type: number
  11065. logincode:
  11066. description: 登录账号(账号)
  11067. type: string
  11068. netaddr:
  11069. description: 调转网址
  11070. type: string
  11071. priamount:
  11072. description: 优先金额(授信)
  11073. type: number
  11074. reauditid:
  11075. description: 复审人
  11076. type: integer
  11077. reauditremark:
  11078. description: 复审备注
  11079. type: string
  11080. reaudittime:
  11081. description: 复审时间
  11082. type: string
  11083. relatedorderid:
  11084. description: 三方关联ID
  11085. type: string
  11086. remark:
  11087. description: 备注
  11088. type: string
  11089. remark2:
  11090. description: 备注(失败原因)
  11091. type: string
  11092. soucreamount:
  11093. description: 原始出入金金额
  11094. type: number
  11095. soucrecurrencyid:
  11096. description: 原始出入金币种
  11097. type: integer
  11098. tradedate:
  11099. description: 交易日(yyyyMMdd)
  11100. type: string
  11101. updatetime:
  11102. description: 更新时间(申请时间)
  11103. type: string
  11104. userid:
  11105. description: 用户id
  11106. type: integer
  11107. userinfotype:
  11108. description: 账户类型 1-个人 2-企业
  11109. type: integer
  11110. type: object
  11111. models.QhjAgreementChangeLog:
  11112. properties:
  11113. agreementcontent:
  11114. description: 协议内容
  11115. type: string
  11116. agreementfrequency:
  11117. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11118. type: integer
  11119. agreementid:
  11120. description: 协议ID
  11121. type: integer
  11122. agreementname:
  11123. description: 协议名称
  11124. type: string
  11125. agreementno:
  11126. description: 协议编号
  11127. type: string
  11128. agreementtype:
  11129. description: 协议类型 - 1:注册 2:登录 3:交易
  11130. type: integer
  11131. agreementversion:
  11132. description: 协议版本号
  11133. type: integer
  11134. logid:
  11135. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11136. type: integer
  11137. reviserid:
  11138. description: 修改人
  11139. type: integer
  11140. revisersrc:
  11141. description: 修改来源 - 1:管理端 2:终端
  11142. type: integer
  11143. updatetime:
  11144. description: 更新时间
  11145. type: string
  11146. type: object
  11147. models.QhjAgreementConfig:
  11148. properties:
  11149. agreementcontent:
  11150. description: 协议内容
  11151. type: string
  11152. agreementfrequency:
  11153. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11154. type: integer
  11155. agreementid:
  11156. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11157. type: integer
  11158. agreementname:
  11159. description: 协议名称
  11160. type: string
  11161. agreementno:
  11162. description: 协议编号
  11163. type: string
  11164. agreementtype:
  11165. description: 协议类型 - 1:注册 2:登录 3:交易
  11166. type: integer
  11167. agreementversion:
  11168. description: 协议版本号(从1开始每次修改加1)
  11169. type: integer
  11170. createtime:
  11171. description: 创建时间
  11172. type: string
  11173. creatorid:
  11174. description: 创建人
  11175. type: integer
  11176. creatorsrc:
  11177. description: 创建来源 - 1:管理端 2:终端
  11178. type: integer
  11179. isvalid:
  11180. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11181. type: integer
  11182. reviserid:
  11183. description: 修改人
  11184. type: integer
  11185. revisersrc:
  11186. description: 修改来源 - 1:管理端 2:终端
  11187. type: integer
  11188. updatetime:
  11189. description: 更新时间
  11190. type: string
  11191. type: object
  11192. models.QhjAreaFinanceConfig:
  11193. properties:
  11194. additionalratio:
  11195. description: 追加款比例
  11196. type: number
  11197. advanceratio:
  11198. description: 预付款比例
  11199. type: number
  11200. alarmratio:
  11201. description: 告警比例
  11202. type: number
  11203. consumptiondirectreward:
  11204. description: 消费直推奖励值
  11205. type: number
  11206. consumptionenabled:
  11207. description: 是否启用消费奖励 - 0:不启用 1:启用
  11208. type: integer
  11209. consumptionindirectreward:
  11210. description: 消费间推奖励值
  11211. type: number
  11212. consumptionmodel:
  11213. description: 消费奖励方式 - 1:比率 2:固定
  11214. type: integer
  11215. customerservicenum:
  11216. description: 客服电话
  11217. type: string
  11218. dayinterestrate:
  11219. description: 日利率
  11220. type: number
  11221. disableconsumptiontips:
  11222. description: 关闭消费奖励提示
  11223. type: string
  11224. modifierid:
  11225. description: 修改人ID
  11226. type: integer
  11227. modifysrc:
  11228. description: 审核来源 - 1:管理端 2:终端
  11229. type: integer
  11230. modifytime:
  11231. description: 修改时间
  11232. type: string
  11233. promotionvalue:
  11234. description: 推广奖励值(固定)
  11235. type: number
  11236. scoreconfigvalue1:
  11237. description: 提货积分配置1
  11238. type: integer
  11239. scoreconfigvalue2:
  11240. description: 提货积分配置2
  11241. type: integer
  11242. userid:
  11243. description: 机构用户ID其他做市关系,都设置为 1
  11244. type: integer
  11245. username:
  11246. description: 用户名称
  11247. type: string
  11248. type: object
  11249. models.QhjBankAccountSign:
  11250. properties:
  11251. accountcode:
  11252. description: 资金账号
  11253. type: string
  11254. accountname:
  11255. description: 资金账号对应的账号名(UserName)
  11256. type: string
  11257. accountname2:
  11258. description: 资金账号对应的账号名(UserName) - 密文
  11259. type: string
  11260. accounttype:
  11261. description: 账户类型(UserType)
  11262. type: integer
  11263. applicationtime:
  11264. description: 最后一次更新的时间
  11265. type: string
  11266. applyexchticket:
  11267. description: 申请流水
  11268. type: string
  11269. auditid:
  11270. description: 审核人
  11271. type: integer
  11272. audittime:
  11273. description: 审核时间
  11274. type: string
  11275. bankaccountname:
  11276. description: 签约银行卡账号名
  11277. type: string
  11278. bankaccountname2:
  11279. description: 签约银行卡账号名 - 密文
  11280. type: string
  11281. bankaccountno:
  11282. description: 银行卡号
  11283. type: string
  11284. bankaccountno2:
  11285. description: 银行卡号 - 密文
  11286. type: string
  11287. bankaccounttype:
  11288. description: 银行账户类型 - 1-对私; 2-对公
  11289. type: integer
  11290. bankcardtype:
  11291. description: 银行卡类型
  11292. type: integer
  11293. bankchildaccount:
  11294. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11295. type: string
  11296. bankcity:
  11297. description: 开户行城市
  11298. type: string
  11299. bankid:
  11300. description: 签约银行ID
  11301. type: string
  11302. bankname:
  11303. description: 签约银行名称
  11304. type: string
  11305. bankprovince:
  11306. description: 开户行省份
  11307. type: string
  11308. branchbankid:
  11309. description: 签约银行支行号
  11310. type: string
  11311. branchbankname:
  11312. description: 签约银行支行名称
  11313. type: string
  11314. cardno:
  11315. description: 证件号码
  11316. type: string
  11317. cardno2:
  11318. description: 证件号码 - 密文
  11319. type: string
  11320. cardtype:
  11321. description: 证件类型
  11322. type: string
  11323. currency:
  11324. description: 币种
  11325. type: string
  11326. cusbankid:
  11327. description: 托管银行编号
  11328. type: string
  11329. direct:
  11330. description: 方向(可以判断那方先发起的签约)
  11331. type: integer
  11332. exchticket:
  11333. description: 最后一次签约成功的流水号
  11334. type: string
  11335. extendinfo:
  11336. description: 扩展信息(JSON字符串)
  11337. type: string
  11338. mobilephone:
  11339. description: 手机号
  11340. type: string
  11341. mobilephone2:
  11342. description: 手机号 - 密文
  11343. type: string
  11344. netaddr:
  11345. description: 调转网址
  11346. type: string
  11347. relateduserid:
  11348. description: 关联使用者userid
  11349. type: integer
  11350. signstatus:
  11351. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11352. 10:审核拒绝 11:换签待审核
  11353. type: integer
  11354. updatetime:
  11355. description: 更新时间(签解约更新时间)
  11356. type: string
  11357. type: object
  11358. models.QhjBankInfo:
  11359. properties:
  11360. bankid:
  11361. description: 银行ID
  11362. type: string
  11363. bankname:
  11364. description: 银行名称
  11365. type: string
  11366. clearbankno:
  11367. description: 清算系统银行编号
  11368. type: string
  11369. orderindex:
  11370. description: 排序顺序
  11371. type: integer
  11372. status:
  11373. description: 状态 - 0:正常 1:注销
  11374. type: integer
  11375. type: object
  11376. models.QhjBrokerApply:
  11377. properties:
  11378. applicantid:
  11379. description: 申请人
  11380. type: integer
  11381. applysrc:
  11382. description: 申请来源 - 1:管理端 2:终端
  11383. type: integer
  11384. applystatus:
  11385. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11386. type: integer
  11387. applytime:
  11388. description: 申请时间
  11389. type: string
  11390. auditorid:
  11391. description: 审核人
  11392. type: integer
  11393. auditremark:
  11394. description: 审核备注
  11395. type: string
  11396. auditsrc:
  11397. description: 审核来源 - 1:管理端 2:终端
  11398. type: integer
  11399. audittime:
  11400. description: 审核时间
  11401. type: string
  11402. audittradedate:
  11403. description: 审核交易日(yyyyMMdd)
  11404. type: string
  11405. brokerapplyid:
  11406. description: 申请ID(SEQ_BROKERAPPLY)
  11407. type: integer
  11408. cardbackphotourl:
  11409. description: 证件背面图片地址
  11410. type: string
  11411. cardfrontphotourl:
  11412. description: 证件正面图片地址
  11413. type: string
  11414. cardnum:
  11415. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11416. type: string
  11417. customername:
  11418. description: 姓名
  11419. type: string
  11420. logincode:
  11421. description: 登录代码
  11422. type: string
  11423. mobile:
  11424. description: 手机号码
  11425. type: string
  11426. parentuserid:
  11427. description: 所属机构id
  11428. type: integer
  11429. parentusername:
  11430. description: 所属机构名称
  11431. type: string
  11432. refereeuserid:
  11433. description: 推荐人id(经纪人)
  11434. type: integer
  11435. refernum:
  11436. description: 推荐码
  11437. type: string
  11438. remark:
  11439. description: 备注
  11440. type: string
  11441. subarealevelpath:
  11442. description: 层级路径
  11443. type: string
  11444. tradedate:
  11445. description: 交易日(yyyyMMdd)
  11446. type: string
  11447. userid:
  11448. description: 申请人用户ID
  11449. type: integer
  11450. userinfotype:
  11451. description: 用户类型 1-个人 2-企业
  11452. type: integer
  11453. username:
  11454. description: 用户名称
  11455. type: string
  11456. type: object
  11457. models.QhjBrokerApplyEx:
  11458. properties:
  11459. applylist:
  11460. description: 经纪人申请记录(只返回最新一条)
  11461. items:
  11462. $ref: '#/definitions/models.QhjBrokerApply'
  11463. type: array
  11464. canrecommend:
  11465. description: 是否经纪人 0-不是 1-是
  11466. type: integer
  11467. refernum:
  11468. description: 推荐码
  11469. type: string
  11470. userid:
  11471. description: 用户id
  11472. type: integer
  11473. userinfotype:
  11474. description: 用户类型 1-个人 2-企业
  11475. type: integer
  11476. type: object
  11477. models.QhjBrokerRewardLog:
  11478. properties:
  11479. accountid:
  11480. description: 资金账号ID
  11481. type: integer
  11482. createtime:
  11483. description: 创建时间(时间)
  11484. type: string
  11485. handlestatus:
  11486. description: 处理状态
  11487. type: integer
  11488. logid:
  11489. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11490. type: string
  11491. marketid:
  11492. description: 市场ID
  11493. type: integer
  11494. mmaccountid:
  11495. description: 做市商资金账号ID
  11496. type: string
  11497. mmuserid:
  11498. description: 做市商用户ID
  11499. type: string
  11500. rewardamount:
  11501. description: 奖励金额
  11502. type: number
  11503. rewardmodel:
  11504. description: 消费奖励方式 - 1:比率 2:固定
  11505. type: integer
  11506. rewardtype:
  11507. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11508. type: integer
  11509. rewardvalue:
  11510. description: 配置奖励值
  11511. type: number
  11512. srcamount:
  11513. description: 成交金额 [消费奖励] (金额)
  11514. type: number
  11515. srcgoodsid:
  11516. description: 来源商品ID [消费奖励]
  11517. type: string
  11518. srctime:
  11519. description: 来源时间 (成交时间) [消费奖励]
  11520. type: string
  11521. srctradeid:
  11522. description: 来源成交单ID [消费奖励] - 排除提货成交
  11523. type: string
  11524. srcuserid:
  11525. description: 来源用户ID(推广账户)
  11526. type: string
  11527. srcusername:
  11528. description: 推广账户名称
  11529. type: string
  11530. tradedate:
  11531. description: 交易日(yyyyMMdd)
  11532. type: string
  11533. userid:
  11534. description: 经纪人用户ID
  11535. type: integer
  11536. type: object
  11537. models.QhjContract:
  11538. properties:
  11539. contractconfirmtime:
  11540. description: 合同确认时间(时间)
  11541. type: string
  11542. currisklevel:
  11543. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11544. type: integer
  11545. decimalplace:
  11546. description: 商品报价小数位
  11547. type: integer
  11548. enumdicname:
  11549. description: 单位名称
  11550. type: string
  11551. goodscode:
  11552. description: 商品代码
  11553. type: string
  11554. goodsid:
  11555. description: 商品ID [5:融资单]
  11556. type: integer
  11557. goodsname:
  11558. description: 商品名称
  11559. type: string
  11560. goodunitid:
  11561. description: 商品单位id
  11562. type: integer
  11563. initmargin:
  11564. description: 初始保证金(首付款)
  11565. type: number
  11566. lenderamount:
  11567. description: 贷款金额(总额|订单总额)
  11568. type: number
  11569. marginratio:
  11570. description: 保证金比率(首付比例)
  11571. type: number
  11572. payamount:
  11573. description: 已付(已付货款)
  11574. type: number
  11575. reckonrecovermargin:
  11576. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11577. type: number
  11578. recoveredmargin:
  11579. description: 已追缴保证金
  11580. type: number
  11581. remainamount:
  11582. description: 合同剩余金额(融资额)
  11583. type: number
  11584. scfcontractid:
  11585. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11586. type: string
  11587. scfcontractstatus:
  11588. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11589. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11590. type: integer
  11591. scfcontracttype:
  11592. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11593. type: integer
  11594. totalinterest:
  11595. description: 已计总利息(利息)
  11596. type: number
  11597. tradeprice:
  11598. description: 成交价格(成本价格)
  11599. type: number
  11600. userid:
  11601. description: 用户ID
  11602. type: integer
  11603. username:
  11604. description: 用户名称
  11605. type: string
  11606. wrqty:
  11607. description: 仓单数量(数量)
  11608. type: number
  11609. type: object
  11610. models.QhjContractLog:
  11611. properties:
  11612. amount:
  11613. description: 支付金额
  11614. type: number
  11615. amounttype:
  11616. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11617. type: integer
  11618. logid:
  11619. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11620. type: string
  11621. remainamount:
  11622. description: 剩余货款
  11623. type: number
  11624. scfcontractid:
  11625. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11626. type: integer
  11627. updatetime:
  11628. description: 更新时间
  11629. type: string
  11630. type: object
  11631. models.QhjCusBankSignBankEx:
  11632. properties:
  11633. banklst:
  11634. description: 银行列表
  11635. items:
  11636. $ref: '#/definitions/models.QhjBankInfo'
  11637. type: array
  11638. canallot:
  11639. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11640. type: integer
  11641. canallotquery:
  11642. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11643. type: integer
  11644. canbindcard:
  11645. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11646. type: integer
  11647. caninamount:
  11648. description: 是否可入金 - 0:不可 1:可以
  11649. type: integer
  11650. caninamount2:
  11651. description: 是否可入金(网银端) - 0:不可 1:可以
  11652. type: integer
  11653. canmodifybankcard:
  11654. description: 是否可修改银行卡号 - 0:不可 1:可以
  11655. type: integer
  11656. canmodifyphone:
  11657. description: 是否可修改手机号 - 0:不可 1:可以
  11658. type: integer
  11659. canmodifysigninfo:
  11660. description: 是否可修改签约信息 - 0:不可 1:可以
  11661. type: integer
  11662. canoutamount:
  11663. description: 是否可出金 - 0:不可 1:可以
  11664. type: integer
  11665. canoutamount2:
  11666. description: 是否可出金(网银端) - 0:不可 1:可以
  11667. type: integer
  11668. canrelease:
  11669. description: 是否可解约 - 0:不可 1:可以
  11670. type: integer
  11671. canrelease2:
  11672. description: 是否可解约(网银端) - 0:不可 1:可以
  11673. type: integer
  11674. cansign:
  11675. description: 是否可签约 - 0:不可 1:可以
  11676. type: integer
  11677. cansign2:
  11678. description: 是否可签约(网银端) - 0:不可 1:可以
  11679. type: integer
  11680. currency:
  11681. description: 币种
  11682. type: string
  11683. cusbankid:
  11684. description: 托管银行编号(对应清算中心TRAN_NO)
  11685. type: string
  11686. cusbankname:
  11687. description: 银行业务名称
  11688. type: string
  11689. cusbankshortname:
  11690. description: 银行业务简称
  11691. type: string
  11692. exchbankid:
  11693. description: 交易所开户银行ID
  11694. type: string
  11695. exchpaybankaccname:
  11696. description: 交易所支出结算账户户名
  11697. type: string
  11698. exchpaybankaccno:
  11699. description: 交易所支出结算账户
  11700. type: string
  11701. isneedcheck:
  11702. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11703. type: integer
  11704. isneedclear:
  11705. description: 是否需要清算 - 0:不需要 1:需要
  11706. type: integer
  11707. lastcheckstatus:
  11708. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11709. type: integer
  11710. lastchecktime:
  11711. description: 最后对账时间
  11712. type: string
  11713. lastclearstatus:
  11714. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11715. type: integer
  11716. lastcleartime:
  11717. description: 最后清算时间
  11718. type: string
  11719. lastsignintime:
  11720. description: 最后签到时间
  11721. type: string
  11722. lastsignouttime:
  11723. description: 最后签退时间
  11724. type: string
  11725. riskinfo:
  11726. description: 签约风险提示书
  11727. type: string
  11728. signstatus:
  11729. description: 当前签到/签退状态 - 1:签到 2:签退
  11730. type: integer
  11731. tradedate:
  11732. description: 交易日(yyyyMMdd)
  11733. type: string
  11734. updatetime:
  11735. description: 当前签到/签退更新时间
  11736. type: string
  11737. type: object
  11738. models.QhjCustomer:
  11739. properties:
  11740. address:
  11741. description: 通讯地址
  11742. type: string
  11743. attachment1:
  11744. description: 附件1
  11745. type: string
  11746. attachment2:
  11747. description: 附件2
  11748. type: string
  11749. audittime:
  11750. description: 审核时间
  11751. type: string
  11752. cardbackphotourl:
  11753. description: 证件反面图片地址
  11754. type: string
  11755. cardfrontphotourl:
  11756. description: 证件正面图片地址
  11757. type: string
  11758. cardnum:
  11759. description: 证件号码
  11760. type: string
  11761. cardtype:
  11762. description: 证件类型
  11763. type: integer
  11764. cardtypename:
  11765. description: 证件类型名称
  11766. type: string
  11767. cityid:
  11768. description: 市
  11769. type: integer
  11770. cityname:
  11771. description: 城市名称
  11772. type: string
  11773. contactname:
  11774. description: 联系人
  11775. type: string
  11776. countryid:
  11777. description: 国家
  11778. type: integer
  11779. countryname:
  11780. description: 国家名称
  11781. type: string
  11782. createtime:
  11783. description: 创建时间
  11784. type: string
  11785. customername:
  11786. description: 客户名称
  11787. type: string
  11788. districtid:
  11789. description: 区域
  11790. type: integer
  11791. districtname:
  11792. description: 地区名称
  11793. type: string
  11794. email:
  11795. description: 邮件
  11796. type: string
  11797. legalpersonname:
  11798. description: 法人姓名(企业)
  11799. type: string
  11800. logincode:
  11801. description: 登录账号(代码)
  11802. type: string
  11803. memberuserid:
  11804. description: 所属机构ID(所属会员)
  11805. type: integer
  11806. memberusername:
  11807. description: 所属会员名称
  11808. type: string
  11809. mobile:
  11810. description: 手机号码
  11811. type: string
  11812. modifytime:
  11813. description: 修改时间
  11814. type: string
  11815. nickname:
  11816. description: 昵称
  11817. type: string
  11818. parentuserid:
  11819. description: 上级机构(所属机构)
  11820. type: integer
  11821. parentusername:
  11822. description: 所属机构名称
  11823. type: string
  11824. provinceid:
  11825. description: 省
  11826. type: integer
  11827. provincename:
  11828. description: 省名称
  11829. type: string
  11830. proxystatementurl:
  11831. description: 授权委托书
  11832. type: string
  11833. remark:
  11834. description: 备注
  11835. type: string
  11836. status:
  11837. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11838. type: integer
  11839. statusdesc:
  11840. description: 账户状态中文描述
  11841. type: string
  11842. taxpayernum:
  11843. description: 纳税人识别号
  11844. type: string
  11845. telphone:
  11846. description: 联系电话
  11847. type: string
  11848. userid:
  11849. description: 用户ID
  11850. type: integer
  11851. userinfotype:
  11852. description: 客户类型 1-个人 2-企业
  11853. type: integer
  11854. username:
  11855. description: 用户名称
  11856. type: string
  11857. type: object
  11858. models.QhjCustomerSignLog:
  11859. properties:
  11860. agreementcontent:
  11861. description: 协议内容
  11862. type: string
  11863. agreementid:
  11864. description: 协议ID
  11865. type: integer
  11866. agreementname:
  11867. description: 协议名称
  11868. type: string
  11869. agreementno:
  11870. description: 协议编号
  11871. type: string
  11872. agreementtype:
  11873. description: 协议类型 - 1:注册 2:登录 3:交易
  11874. type: integer
  11875. agreementversion:
  11876. description: 协议版本号
  11877. type: integer
  11878. createtime:
  11879. description: 创建时间
  11880. type: string
  11881. goodscode:
  11882. description: 商品代码
  11883. type: string
  11884. goodsid:
  11885. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11886. type: integer
  11887. goodsname:
  11888. description: 商品名称
  11889. type: string
  11890. logid:
  11891. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11892. type: integer
  11893. nodetype:
  11894. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11895. type: integer
  11896. signadressurl:
  11897. description: 签约文件地址
  11898. type: string
  11899. signtimestamp:
  11900. description: 签约状态时间戳
  11901. type: string
  11902. userid:
  11903. description: 客户ID
  11904. type: integer
  11905. username:
  11906. description: 客户名称
  11907. type: string
  11908. type: object
  11909. models.QhjCustomerSignStatus:
  11910. properties:
  11911. createtime:
  11912. description: 创建时间
  11913. type: string
  11914. goodscode:
  11915. description: 商品代码
  11916. type: string
  11917. goodsid:
  11918. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11919. type: integer
  11920. goodsname:
  11921. description: 商品名称
  11922. type: string
  11923. nodetype:
  11924. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11925. type: integer
  11926. signtimestamp:
  11927. description: 签约状态时间戳
  11928. type: string
  11929. tradedate:
  11930. description: 创建交易日(yyyyMMdd)
  11931. type: string
  11932. updatetime:
  11933. description: 更新时间
  11934. type: string
  11935. userid:
  11936. description: 客户ID
  11937. type: integer
  11938. username:
  11939. description: 客户名称
  11940. type: string
  11941. type: object
  11942. models.QhjMgrAccountOutInApply:
  11943. properties:
  11944. accountcode:
  11945. description: 资金账号
  11946. type: string
  11947. accountname:
  11948. description: 用户名称(名称)
  11949. type: string
  11950. accountpwd:
  11951. description: 资金密码
  11952. type: string
  11953. accountticket:
  11954. description: 最新账户服务流水号
  11955. type: string
  11956. amount:
  11957. description: 金额
  11958. type: number
  11959. applyremark:
  11960. description: 申请备注
  11961. type: string
  11962. applystatus:
  11963. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11964. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11965. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11966. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11967. type: integer
  11968. auditid:
  11969. description: 审核人
  11970. type: integer
  11971. audittime:
  11972. description: 审核时间
  11973. type: string
  11974. bank_apply_ticket:
  11975. description: 银行申请流水
  11976. type: string
  11977. bankaccountname:
  11978. description: 银行账户名
  11979. type: string
  11980. bankaccountno:
  11981. description: 银行卡号
  11982. type: string
  11983. bankid:
  11984. description: 银行编号
  11985. type: string
  11986. bankname:
  11987. description: 银行名称
  11988. type: string
  11989. bankticket:
  11990. description: 银行流水
  11991. type: string
  11992. branchbankid:
  11993. description: 银行支行号
  11994. type: string
  11995. branchbankname:
  11996. description: 银行支行名称
  11997. type: string
  11998. capamountout:
  11999. description: 出金(劣后本金) - 外部子账户
  12000. type: number
  12001. certificatephotourl:
  12002. description: 凭证地址
  12003. type: string
  12004. charge:
  12005. description: 手续费
  12006. type: number
  12007. checkerrorflag:
  12008. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12009. type: integer
  12010. currency:
  12011. description: 币种
  12012. type: string
  12013. cusbankid:
  12014. description: 托管银行编号
  12015. type: string
  12016. exchticket:
  12017. description: 银行服务流水号
  12018. type: string
  12019. executetype:
  12020. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12021. 7:外部子账户:入金 8:外部子账户:出金'
  12022. type: integer
  12023. extendinfo:
  12024. description: 扩展信息
  12025. type: string
  12026. extoperateid:
  12027. description: 交易服务流水号
  12028. type: integer
  12029. infamount:
  12030. description: 劣后金额(自有)
  12031. type: number
  12032. logincode:
  12033. description: 登录账号(账号)
  12034. type: string
  12035. netaddr:
  12036. description: 调转网址
  12037. type: string
  12038. priamount:
  12039. description: 优先金额(授信)
  12040. type: number
  12041. reauditid:
  12042. description: 复审人
  12043. type: integer
  12044. reauditremark:
  12045. description: 复审备注
  12046. type: string
  12047. reaudittime:
  12048. description: 复审时间
  12049. type: string
  12050. relatedorderid:
  12051. description: 三方关联ID
  12052. type: string
  12053. remark:
  12054. description: 备注
  12055. type: string
  12056. remark2:
  12057. description: 备注(失败原因)
  12058. type: string
  12059. soucreamount:
  12060. description: 原始出入金金额
  12061. type: number
  12062. soucrecurrencyid:
  12063. description: 原始出入金币种
  12064. type: integer
  12065. tradedate:
  12066. description: 交易日(yyyyMMdd)
  12067. type: string
  12068. updatetime:
  12069. description: 更新时间(申请时间)
  12070. type: string
  12071. userid:
  12072. description: 用户id
  12073. type: integer
  12074. userinfotype:
  12075. description: 账户类型 1-个人 2-企业
  12076. type: integer
  12077. type: object
  12078. models.QhjMgrBrokerApply:
  12079. properties:
  12080. applicantid:
  12081. description: 申请人
  12082. type: integer
  12083. applysrc:
  12084. description: 申请来源 - 1:管理端 2:终端
  12085. type: integer
  12086. applystatus:
  12087. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12088. type: integer
  12089. applytime:
  12090. description: 申请时间
  12091. type: string
  12092. auditorid:
  12093. description: 审核人
  12094. type: integer
  12095. auditremark:
  12096. description: 审核备注
  12097. type: string
  12098. auditsrc:
  12099. description: 审核来源 - 1:管理端 2:终端
  12100. type: integer
  12101. audittime:
  12102. description: 审核时间
  12103. type: string
  12104. audittradedate:
  12105. description: 审核交易日(yyyyMMdd)
  12106. type: string
  12107. brokerapplyid:
  12108. description: 申请ID(SEQ_BROKERAPPLY)
  12109. type: integer
  12110. cardbackphotourl:
  12111. description: 证件背面图片地址
  12112. type: string
  12113. cardfrontphotourl:
  12114. description: 证件正面图片地址
  12115. type: string
  12116. cardnum:
  12117. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12118. type: string
  12119. customername:
  12120. description: 姓名
  12121. type: string
  12122. filterstatus:
  12123. description: 筛选条件
  12124. type: string
  12125. logincode:
  12126. description: 登录代码
  12127. type: string
  12128. mobile:
  12129. description: 手机号码
  12130. type: string
  12131. parentuserid:
  12132. description: 所属机构id
  12133. type: integer
  12134. parentusername:
  12135. description: 所属机构名称
  12136. type: string
  12137. refereeuserid:
  12138. description: 推荐人id(经纪人)
  12139. type: integer
  12140. refernum:
  12141. description: 推荐码
  12142. type: string
  12143. remark:
  12144. description: 备注
  12145. type: string
  12146. subarealevelpath:
  12147. description: 层级路径
  12148. type: string
  12149. tradedate:
  12150. description: 交易日(yyyyMMdd)
  12151. type: string
  12152. userid:
  12153. description: 申请人用户ID
  12154. type: integer
  12155. userinfotype:
  12156. description: 用户类型 1-个人 2-企业
  12157. type: integer
  12158. username:
  12159. description: 用户名称
  12160. type: string
  12161. type: object
  12162. models.QhjMgrBrokerRewardReport:
  12163. properties:
  12164. createtime:
  12165. description: 创建时间(注册时间)
  12166. type: string
  12167. cycletime:
  12168. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12169. type: string
  12170. cycletype:
  12171. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12172. type: integer
  12173. directtotalnum:
  12174. description: 直推总人数【期末】
  12175. type: integer
  12176. indirecttotalnum:
  12177. description: 间推总人数【期末】
  12178. type: integer
  12179. mobile:
  12180. description: 电话号码
  12181. type: string
  12182. refereeuserid:
  12183. description: 推荐人id(经纪人id)
  12184. type: integer
  12185. refereeusername:
  12186. description: 推荐人名称(经纪人) 上级经纪人名称
  12187. type: string
  12188. refernum:
  12189. description: 推荐码
  12190. type: string
  12191. subarealevelpath:
  12192. description: 用户层级路径
  12193. type: string
  12194. todayrewardamount:
  12195. description: 奖励总金额【汇总】
  12196. type: number
  12197. updatetime:
  12198. description: 更新时间
  12199. type: string
  12200. userid:
  12201. description: 经纪人用户ID
  12202. type: integer
  12203. userinfotype:
  12204. description: 用户类型 1-个人 2-企业
  12205. type: integer
  12206. username:
  12207. description: 用户名称
  12208. type: string
  12209. type: object
  12210. models.QhjMgrContract:
  12211. properties:
  12212. contractconfirmtime:
  12213. description: 合同确认时间(时间)
  12214. type: string
  12215. currisklevel:
  12216. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12217. type: integer
  12218. decimalplace:
  12219. description: 商品报价小数位
  12220. type: integer
  12221. enumdicname:
  12222. description: 单位名称
  12223. type: string
  12224. goodscode:
  12225. description: 商品代码
  12226. type: string
  12227. goodsid:
  12228. description: 商品ID [5:融资单]
  12229. type: integer
  12230. goodsname:
  12231. description: 商品名称
  12232. type: string
  12233. goodunitid:
  12234. description: 商品单位id
  12235. type: integer
  12236. initmargin:
  12237. description: 初始保证金(首付款)
  12238. type: number
  12239. lenderamount:
  12240. description: 贷款金额(总额|订单总额)
  12241. type: number
  12242. logincode:
  12243. description: 账号(登录代码)
  12244. type: string
  12245. marginratio:
  12246. description: 保证金比率(首付比例)
  12247. type: number
  12248. mobile:
  12249. description: 电话号码(用户资料里的电话)
  12250. type: string
  12251. payamount:
  12252. description: 已付(已付货款)
  12253. type: number
  12254. reckonrecovermargin:
  12255. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12256. type: number
  12257. recoveredmargin:
  12258. description: 已追缴保证金
  12259. type: number
  12260. remainamount:
  12261. description: 合同剩余金额(融资额)
  12262. type: number
  12263. scfcontractid:
  12264. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12265. type: string
  12266. scfcontractstatus:
  12267. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12268. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12269. type: integer
  12270. scfcontracttype:
  12271. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12272. type: integer
  12273. totalinterest:
  12274. description: 已计总利息(利息)
  12275. type: number
  12276. tradedate:
  12277. description: 交易日
  12278. type: string
  12279. tradeprice:
  12280. description: 成交价格(成本价格)
  12281. type: number
  12282. userid:
  12283. description: 用户ID
  12284. type: integer
  12285. userinfotype:
  12286. description: 用户类型 1-个人 2-企业
  12287. type: integer
  12288. username:
  12289. description: 用户名称
  12290. type: string
  12291. wrqty:
  12292. description: 仓单数量(数量)
  12293. type: number
  12294. type: object
  12295. models.QhjMgrCustomer:
  12296. properties:
  12297. address:
  12298. description: 通讯地址
  12299. type: string
  12300. attachment1:
  12301. description: 附件1
  12302. type: string
  12303. audittime:
  12304. description: 审核时间
  12305. type: string
  12306. birthday:
  12307. description: 生日
  12308. type: string
  12309. brokerid:
  12310. description: 所属客户经理id
  12311. type: integer
  12312. brokername:
  12313. description: 所属客户经理名称
  12314. type: string
  12315. cardbackphotourl:
  12316. description: 证件反面图片地址
  12317. type: string
  12318. cardfrontphotourl:
  12319. description: 证件正面图片地址
  12320. type: string
  12321. cardnum:
  12322. description: 证件号码
  12323. type: string
  12324. cardtype:
  12325. description: 证件类型
  12326. type: integer
  12327. cardtypename:
  12328. description: 证件类型名称
  12329. type: string
  12330. cityid:
  12331. description: 市
  12332. type: integer
  12333. cityname:
  12334. description: 城市名称
  12335. type: string
  12336. contactname:
  12337. description: 联系人
  12338. type: string
  12339. countryid:
  12340. description: 国家
  12341. type: integer
  12342. countryname:
  12343. description: 国家名称
  12344. type: string
  12345. createtime:
  12346. description: 创建时间
  12347. type: string
  12348. customername:
  12349. description: 客户名称
  12350. type: string
  12351. districtid:
  12352. description: 区域
  12353. type: integer
  12354. districtname:
  12355. description: 地区名称
  12356. type: string
  12357. email:
  12358. description: 邮件
  12359. type: string
  12360. legalpersonname:
  12361. description: 法人姓名(企业)
  12362. type: string
  12363. logincode:
  12364. description: 登录账号(代码)
  12365. type: string
  12366. memberuserid:
  12367. description: 所属机构ID(所属会员)
  12368. type: integer
  12369. memberusername:
  12370. description: 所属会员名称
  12371. type: string
  12372. mobile:
  12373. description: 手机号码
  12374. type: string
  12375. modifytime:
  12376. description: 修改时间
  12377. type: string
  12378. nickname:
  12379. description: 昵称
  12380. type: string
  12381. parentuserid:
  12382. description: 上级机构(所属机构)
  12383. type: integer
  12384. parentusername:
  12385. description: 所属机构名称
  12386. type: string
  12387. provinceid:
  12388. description: 省
  12389. type: integer
  12390. provincename:
  12391. description: 省名称
  12392. type: string
  12393. proxystatementurl:
  12394. description: 授权委托书
  12395. type: string
  12396. querytype:
  12397. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12398. type: integer
  12399. remark:
  12400. description: 备注
  12401. type: string
  12402. sex:
  12403. description: 性别 0-女 1-男
  12404. type: integer
  12405. status:
  12406. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12407. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12408. type: integer
  12409. statusdesc:
  12410. description: 账户状态中文描述
  12411. type: string
  12412. taxpayernum:
  12413. description: 纳税人识别号
  12414. type: string
  12415. telphone:
  12416. description: 联系电话
  12417. type: string
  12418. userid:
  12419. description: 用户ID
  12420. type: integer
  12421. userinfotype:
  12422. description: 客户类型 1-个人 2-企业
  12423. type: integer
  12424. username:
  12425. description: 用户名称
  12426. type: string
  12427. type: object
  12428. models.QhjMgrPickGoods:
  12429. properties:
  12430. enumdicname:
  12431. description: 单位名称(提货商品)
  12432. type: string
  12433. goodsid:
  12434. description: 商品id
  12435. type: integer
  12436. imageaddress:
  12437. description: 图片
  12438. type: string
  12439. modifierid:
  12440. description: 修改人
  12441. type: integer
  12442. modifiername:
  12443. description: 修改人名称
  12444. type: string
  12445. modifysrc:
  12446. description: 修改来源 - 1:管理端 2:终端
  12447. type: integer
  12448. pickupgoodsagreeunit:
  12449. description: 合约乘数
  12450. type: number
  12451. pickupgoodsdesc:
  12452. description: 描述
  12453. type: string
  12454. pickupgoodsid:
  12455. description: 提货商品ID
  12456. type: string
  12457. pickupgoodsname:
  12458. description: 提货商品名称
  12459. type: string
  12460. pickupgoodsstatus:
  12461. description: 状态 - 1:正常 2:停用 3:注销
  12462. type: integer
  12463. pickupgoodsunitid:
  12464. description: 单位ID
  12465. type: integer
  12466. pickupratio:
  12467. description: 提货系数
  12468. type: number
  12469. preparedays:
  12470. description: 备货期(天)
  12471. type: integer
  12472. remark:
  12473. description: 备注
  12474. type: string
  12475. updatetime:
  12476. description: 更新时间
  12477. type: string
  12478. type: object
  12479. models.QhjMgrPositionRsp:
  12480. properties:
  12481. accountid:
  12482. description: 账号Id
  12483. type: integer
  12484. accountname:
  12485. description: 用户名称
  12486. type: string
  12487. agreeunit:
  12488. description: 合约乘数
  12489. type: number
  12490. averageprice:
  12491. description: 均价
  12492. type: number
  12493. avialqty:
  12494. description: 可用数量
  12495. type: number
  12496. decimalplace:
  12497. description: 报价小数位
  12498. type: integer
  12499. enumdicname:
  12500. description: 单位名称(商品)
  12501. type: string
  12502. frozenqty:
  12503. description: 冻结数量
  12504. type: number
  12505. goodscode:
  12506. description: 商品代码(内部)
  12507. type: string
  12508. goodsid:
  12509. description: 商品Id
  12510. type: integer
  12511. goodsname:
  12512. description: 商品名称
  12513. type: string
  12514. goodunitid:
  12515. description: 报价单位ID
  12516. type: integer
  12517. holderamount:
  12518. description: 金额
  12519. type: number
  12520. holderqty:
  12521. description: 持有数量
  12522. type: number
  12523. holdertype:
  12524. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12525. type: integer
  12526. logincode:
  12527. description: 登录代码(账户)
  12528. type: string
  12529. marketid:
  12530. description: 市场id
  12531. type: integer
  12532. qtydecimalplace:
  12533. description: 成交量小数位
  12534. type: integer
  12535. trademode:
  12536. description: 交易模式
  12537. type: integer
  12538. userid:
  12539. description: 用户id
  12540. type: integer
  12541. userinfotype:
  12542. description: 账户类型 1-个人 2-企业
  12543. type: integer
  12544. type: object
  12545. models.QhjMgrSubArea:
  12546. properties:
  12547. accountname:
  12548. description: 账户名称(机构名称)
  12549. type: string
  12550. memberuserid:
  12551. description: 所属会员ID
  12552. type: integer
  12553. parenttopuser:
  12554. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12555. type: string
  12556. parentuserid:
  12557. description: 所属机构ID
  12558. type: integer
  12559. rootuserid:
  12560. description: 根用户ID
  12561. type: string
  12562. subaccountlevel:
  12563. description: 子账户层数
  12564. type: integer
  12565. subarealevelpath:
  12566. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12567. type: string
  12568. userid:
  12569. description: 用户ID
  12570. type: integer
  12571. usertype:
  12572. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12573. type: integer
  12574. type: object
  12575. models.QhjMgrTradeDetailRsp:
  12576. properties:
  12577. accountid:
  12578. description: 资金账号
  12579. type: integer
  12580. accountname:
  12581. description: 用户名称
  12582. type: string
  12583. agreeunit:
  12584. description: 合约乘数
  12585. type: number
  12586. buyorsell:
  12587. description: 成交类型(方向) 0:买 1:卖
  12588. type: integer
  12589. decimalplace:
  12590. description: 报价小数位
  12591. type: integer
  12592. enumdicname:
  12593. description: 单位名称(商品)
  12594. type: string
  12595. goodscode:
  12596. description: 商品代码(内部)
  12597. type: string
  12598. goodsid:
  12599. description: 商品id
  12600. type: integer
  12601. goodsname:
  12602. description: 商品名称
  12603. type: string
  12604. goodunitid:
  12605. description: 报价单位ID
  12606. type: integer
  12607. logincode:
  12608. description: 登录代码(账户)
  12609. type: string
  12610. marketid:
  12611. description: 市场id
  12612. type: integer
  12613. orderid:
  12614. description: 关联委托单号
  12615. type: string
  12616. qtydecimalplace:
  12617. description: 成交量小数位
  12618. type: integer
  12619. tradeamount:
  12620. description: 金额
  12621. type: number
  12622. tradedate:
  12623. description: 交易日
  12624. type: string
  12625. tradeid:
  12626. description: 成交单号
  12627. type: string
  12628. trademode:
  12629. description: 交易模式
  12630. type: integer
  12631. tradeprice:
  12632. description: 价格
  12633. type: number
  12634. tradeqty:
  12635. description: 数量
  12636. type: number
  12637. tradetime:
  12638. description: 成交时间
  12639. type: string
  12640. userid:
  12641. description: 用户id
  12642. type: integer
  12643. userinfotype:
  12644. description: 账户类型 1-个人 2-企业
  12645. type: integer
  12646. type: object
  12647. models.QhjMgrTradeOrderDetailRsp:
  12648. properties:
  12649. accountid:
  12650. description: 资金账号
  12651. type: integer
  12652. accountname:
  12653. description: 用户名称
  12654. type: string
  12655. agreeunit:
  12656. description: 合约乘数
  12657. type: number
  12658. amount:
  12659. description: 金额
  12660. type: number
  12661. decimalplace:
  12662. description: 报价小数位
  12663. type: integer
  12664. enumdicname:
  12665. description: 单位名称(商品)
  12666. type: string
  12667. goodscode:
  12668. description: 商品代码(内部)
  12669. type: string
  12670. goodsid:
  12671. description: 商品id
  12672. type: integer
  12673. goodsname:
  12674. description: 商品名称
  12675. type: string
  12676. goodunitid:
  12677. description: 报价单位ID
  12678. type: integer
  12679. logincode:
  12680. description: 登录代码(账户)
  12681. type: string
  12682. marketid:
  12683. description: 市场id
  12684. type: integer
  12685. orderid:
  12686. description: 关联委托单号
  12687. type: string
  12688. orderprice:
  12689. description: 价格
  12690. type: number
  12691. orderqty:
  12692. description: 数量
  12693. type: number
  12694. orderstatus:
  12695. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12696. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12697. 16:成交失败违约(荷兰式竞拍专用)
  12698. type: integer
  12699. ordertime:
  12700. description: 委托时间
  12701. type: string
  12702. qtydecimalplace:
  12703. description: 成交量小数位
  12704. type: integer
  12705. tradedate:
  12706. description: 交易日
  12707. type: string
  12708. trademode:
  12709. description: 交易模式
  12710. type: integer
  12711. userid:
  12712. description: 用户id
  12713. type: integer
  12714. userinfotype:
  12715. description: 账户类型 1-个人 2-企业
  12716. type: integer
  12717. type: object
  12718. models.QhjMgrTradePayOrder:
  12719. properties:
  12720. accountname:
  12721. description: 用户名称
  12722. type: string
  12723. advanceratio:
  12724. description: 首付比率
  12725. type: number
  12726. agreeunit:
  12727. description: 合约乘数
  12728. type: number
  12729. buyaccountid:
  12730. description: 买方账号ID[报价币种]
  12731. type: integer
  12732. buyorderid:
  12733. description: 买方委托单号(关联单号)
  12734. type: string
  12735. createtime:
  12736. description: 创建时间
  12737. type: string
  12738. decimalplace:
  12739. description: 报价小数位
  12740. type: integer
  12741. enumdicname:
  12742. description: 单位名称(商品)
  12743. type: string
  12744. goodscode:
  12745. description: 商品代码(内部)
  12746. type: string
  12747. goodsid:
  12748. description: 商品ID
  12749. type: integer
  12750. goodsname:
  12751. description: 商品名称
  12752. type: string
  12753. goodunitid:
  12754. description: 报价单位ID
  12755. type: integer
  12756. logincode:
  12757. description: 登录代码(账户)
  12758. type: string
  12759. marketid:
  12760. description: 市场id
  12761. type: integer
  12762. offamount:
  12763. description: 优惠金额
  12764. type: number
  12765. operatetype:
  12766. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12767. type: integer
  12768. payamount:
  12769. description: 支付金额(金额)
  12770. type: number
  12771. payflag:
  12772. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12773. type: integer
  12774. paylimitedtime:
  12775. description: 支付期限
  12776. type: string
  12777. paytime:
  12778. description: 付款时间
  12779. type: string
  12780. qtydecimalplace:
  12781. description: 成交量小数位
  12782. type: integer
  12783. sellaccountid:
  12784. description: 卖方账号ID[报价币种]
  12785. type: integer
  12786. sellorderid:
  12787. description: 卖方委托单号
  12788. type: string
  12789. tradeamount:
  12790. description: 成交金额(优惠后金额)
  12791. type: number
  12792. tradecharge:
  12793. description: 成交手续费(买方)
  12794. type: number
  12795. tradedate:
  12796. description: 交易日(yyyyMMdd)
  12797. type: string
  12798. tradeid:
  12799. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12800. type: string
  12801. trademode:
  12802. description: 交易模式
  12803. type: integer
  12804. tradeprice:
  12805. description: 成交价格(价格)
  12806. type: number
  12807. tradeqty:
  12808. description: 成交数量(数量)
  12809. type: number
  12810. tradetime:
  12811. description: 成交时间
  12812. type: string
  12813. userid:
  12814. description: 用户id
  12815. type: integer
  12816. userinfotype:
  12817. description: 账户类型 1-个人 2-企业
  12818. type: integer
  12819. type: object
  12820. models.QhjMyTeamEx:
  12821. properties:
  12822. accountname:
  12823. description: 用户名称
  12824. type: string
  12825. accountstatus:
  12826. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12827. type: integer
  12828. createtime:
  12829. description: 创建时间
  12830. type: string
  12831. mobile:
  12832. description: 手机号码
  12833. type: string
  12834. refereeuserid:
  12835. description: 推荐人id
  12836. type: integer
  12837. refernum:
  12838. description: 推荐码
  12839. type: string
  12840. subList:
  12841. items:
  12842. $ref: '#/definitions/models.QhjMyTeamEx'
  12843. type: array
  12844. userid:
  12845. description: 用户id
  12846. type: integer
  12847. userinfotype:
  12848. description: 用户类型 1-个人 2-企业
  12849. type: integer
  12850. type: object
  12851. models.QhjNodeAgreementConfig:
  12852. properties:
  12853. agreementcontent:
  12854. description: 协议内容
  12855. type: string
  12856. agreementid:
  12857. description: 协议ID
  12858. type: integer
  12859. agreementname:
  12860. description: 协议名称
  12861. type: string
  12862. agreementno:
  12863. description: 协议编号
  12864. type: string
  12865. agreementtype:
  12866. description: 协议类型 - 1:注册 2:登录 3:交易
  12867. type: integer
  12868. agreementversion:
  12869. description: 协议版本号
  12870. type: integer
  12871. configid:
  12872. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12873. type: integer
  12874. createtime:
  12875. description: 创建时间
  12876. type: string
  12877. goodsid:
  12878. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12879. type: integer
  12880. nodetype:
  12881. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12882. type: integer
  12883. type: object
  12884. models.QhjParentAreaList:
  12885. properties:
  12886. accountname:
  12887. description: 账户名称(机构名称)
  12888. type: string
  12889. userid:
  12890. description: 用户ID
  12891. type: integer
  12892. usertype:
  12893. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12894. type: integer
  12895. type: object
  12896. models.QhjPayOrder:
  12897. properties:
  12898. advanceratio:
  12899. description: 首付比率
  12900. type: number
  12901. buyaccountid:
  12902. description: 买方账号ID[报价币种]
  12903. type: integer
  12904. buyorderid:
  12905. description: 买方委托单号
  12906. type: string
  12907. createtime:
  12908. description: 创建时间
  12909. type: string
  12910. decimalplace:
  12911. description: 商品报价小数位
  12912. type: integer
  12913. enumdicname:
  12914. description: 单位名称
  12915. type: string
  12916. goodscode:
  12917. description: 商品代码
  12918. type: string
  12919. goodsid:
  12920. description: 商品ID
  12921. type: integer
  12922. goodsname:
  12923. description: 商品名称
  12924. type: string
  12925. goodunitid:
  12926. description: 商品单位id
  12927. type: integer
  12928. marketid:
  12929. description: 市场ID
  12930. type: integer
  12931. offamount:
  12932. description: 优惠金额
  12933. type: number
  12934. operatetype:
  12935. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12936. type: integer
  12937. payamount:
  12938. description: 支付金额
  12939. type: number
  12940. payflag:
  12941. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12942. type: integer
  12943. paylimitedtime:
  12944. description: 支付期限
  12945. type: string
  12946. paytime:
  12947. description: 付款时间
  12948. type: string
  12949. qtydecimalplace:
  12950. description: 成交量小数位
  12951. type: integer
  12952. sellaccountid:
  12953. description: 卖方账号ID[报价币种]
  12954. type: integer
  12955. sellorderid:
  12956. description: 卖方委托单号
  12957. type: string
  12958. tradeamount:
  12959. description: 成交金额(优惠后金额)
  12960. type: number
  12961. tradecharge:
  12962. description: 成交手续费(买方)
  12963. type: number
  12964. tradedate:
  12965. description: 交易日(yyyyMMdd)
  12966. type: string
  12967. tradeid:
  12968. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12969. type: string
  12970. tradeprice:
  12971. description: 成交价格
  12972. type: number
  12973. tradeqty:
  12974. description: 成交数量
  12975. type: number
  12976. type: object
  12977. models.QhjPickArea:
  12978. properties:
  12979. address:
  12980. description: 详细地址
  12981. type: string
  12982. cityid:
  12983. description: 市
  12984. type: integer
  12985. cityname:
  12986. description: 城市名称
  12987. type: string
  12988. countryid:
  12989. description: 国家
  12990. type: integer
  12991. countryname:
  12992. description: 国家名称
  12993. type: string
  12994. districtid:
  12995. description: 地区
  12996. type: integer
  12997. districtname:
  12998. description: 地区名称
  12999. type: string
  13000. fromuserid:
  13001. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13002. type: integer
  13003. fromusername:
  13004. description: 所属机构名称
  13005. type: string
  13006. provinceid:
  13007. description: 省
  13008. type: integer
  13009. provincename:
  13010. description: 省名称
  13011. type: string
  13012. suborgtype:
  13013. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13014. type: integer
  13015. userid:
  13016. description: 机构用户ID 其他做市关系,都设置为 1
  13017. type: integer
  13018. username:
  13019. description: 机构用户名称(门店门称)
  13020. type: string
  13021. type: object
  13022. models.QhjPickGoods:
  13023. properties:
  13024. enumdicname:
  13025. description: 单位名称(提货商品)
  13026. type: string
  13027. goodsid:
  13028. description: 商品id
  13029. type: integer
  13030. imageaddress:
  13031. description: 图片
  13032. type: string
  13033. modifierid:
  13034. description: 修改人
  13035. type: integer
  13036. modifiername:
  13037. description: 修改人名称
  13038. type: string
  13039. modifysrc:
  13040. description: 修改来源 - 1:管理端 2:终端
  13041. type: integer
  13042. pickupgoodsagreeunit:
  13043. description: 合约乘数
  13044. type: number
  13045. pickupgoodsdesc:
  13046. description: 描述
  13047. type: string
  13048. pickupgoodsid:
  13049. description: 提货商品ID
  13050. type: string
  13051. pickupgoodsname:
  13052. description: 提货商品名称
  13053. type: string
  13054. pickupgoodsstatus:
  13055. description: 状态 - 1:正常 2:停用 3:注销
  13056. type: integer
  13057. pickupgoodsunitid:
  13058. description: 单位ID
  13059. type: integer
  13060. pickupratio:
  13061. description: 提货系数
  13062. type: number
  13063. preparedays:
  13064. description: 备货期(天)
  13065. type: integer
  13066. remark:
  13067. description: 备注
  13068. type: string
  13069. updatetime:
  13070. description: 更新时间
  13071. type: string
  13072. type: object
  13073. models.QhjRSTriggerLog:
  13074. properties:
  13075. accountid:
  13076. description: 用户资金账户
  13077. type: integer
  13078. accountname:
  13079. description: 账号名称(ACCOUNTID对应的名称)
  13080. type: string
  13081. currencyid:
  13082. description: 币种id
  13083. type: integer
  13084. currencyname:
  13085. description: 币种名称
  13086. type: string
  13087. decimalplace:
  13088. description: 商品报价小数位
  13089. type: integer
  13090. enumdicname:
  13091. description: 单位名称
  13092. type: string
  13093. goodscode:
  13094. description: 定投商品代码
  13095. type: string
  13096. goodsid:
  13097. description: 定投商品ID
  13098. type: integer
  13099. goodsname:
  13100. description: 定投商品名称
  13101. type: string
  13102. goodunitid:
  13103. description: 定投商品单位id
  13104. type: integer
  13105. logid:
  13106. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13107. type: string
  13108. logincode:
  13109. description: 账号(登录代码)
  13110. type: string
  13111. qtydecimalplace:
  13112. description: 成交量小数位
  13113. type: integer
  13114. regularlycycle:
  13115. description: 定投频率 - 1:每周 2:每月
  13116. type: integer
  13117. regularlycyclevalue:
  13118. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13119. type: string
  13120. regularlymode:
  13121. description: 定投方式 - 1:按数量 2:按金额
  13122. type: integer
  13123. regularlymodevalue:
  13124. description: 定投方式值 - 数量或金额
  13125. type: number
  13126. regularlystrategyid:
  13127. description: 定投策略ID
  13128. type: integer
  13129. retcode:
  13130. description: 错误码
  13131. type: string
  13132. tradeid:
  13133. description: 成交单ID
  13134. type: string
  13135. triggeramount:
  13136. description: 触发金额
  13137. type: number
  13138. triggerqty:
  13139. description: 触发数量
  13140. type: number
  13141. triggerstatus:
  13142. description: 触发状态 - 1:成功 2:失败
  13143. type: integer
  13144. triggertime:
  13145. description: 触发时间
  13146. type: string
  13147. triggertradedate:
  13148. description: 触发交易日
  13149. type: string
  13150. userid:
  13151. description: 所属用户ID
  13152. type: integer
  13153. userinfotype:
  13154. description: 用户类型 1-个人 2-企业
  13155. type: integer
  13156. username:
  13157. description: 用户名称(userid对应的名称)
  13158. type: string
  13159. type: object
  13160. models.QhjRStrategy:
  13161. properties:
  13162. accountid:
  13163. description: 用户资金账户
  13164. type: integer
  13165. accountname:
  13166. description: 账号名称(ACCOUNTID对应的名称)
  13167. type: string
  13168. currencyid:
  13169. description: 币种id
  13170. type: integer
  13171. currencyname:
  13172. description: 币种名称
  13173. type: string
  13174. decimalplace:
  13175. description: 商品报价小数位
  13176. type: integer
  13177. enumdicname:
  13178. description: 单位名称
  13179. type: string
  13180. goodscode:
  13181. description: 定投商品代码
  13182. type: string
  13183. goodsid:
  13184. description: 定投商品ID
  13185. type: integer
  13186. goodsname:
  13187. description: 定投商品名称
  13188. type: string
  13189. goodunitid:
  13190. description: 定投商品单位id
  13191. type: integer
  13192. lasteffecttradedate:
  13193. description: 最新生效交易日
  13194. type: string
  13195. laststoptradedate:
  13196. description: 最新暂停交易日
  13197. type: string
  13198. lasttriggertradedate:
  13199. description: 最新触发交易日
  13200. type: string
  13201. logincode:
  13202. description: 账号(登录代码)
  13203. type: string
  13204. nexttriggeramount:
  13205. description: 下次触发金额
  13206. type: number
  13207. nexttriggerdate:
  13208. description: 下次触发日期
  13209. type: string
  13210. nexttriggerqty:
  13211. description: 下次触发数量 [按小数位放大值]
  13212. type: number
  13213. qtydecimalplace:
  13214. description: 成交量小数位
  13215. type: integer
  13216. regularlycycle:
  13217. description: 定投频率 - 1:每周 2:每月
  13218. type: integer
  13219. regularlycyclevalue:
  13220. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13221. type: string
  13222. regularlymode:
  13223. description: 定投方式 - 1:按数量 2:按金额
  13224. type: integer
  13225. regularlymodevalue:
  13226. description: 定投方式值 - 数量或金额
  13227. type: number
  13228. regularlystrategyid:
  13229. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13230. type: integer
  13231. regularlystrategystatus:
  13232. description: 策略状态 - 1:正常 2:暂停 3:终止
  13233. type: integer
  13234. remark:
  13235. description: 备注
  13236. type: string
  13237. triggersuccesstimes:
  13238. description: 累计定投成功次数
  13239. type: string
  13240. triggertotalamount:
  13241. description: 累计定投金额(成功)
  13242. type: number
  13243. triggertotalqty:
  13244. description: 累计定投数量(成功) [按小数位放大值]
  13245. type: number
  13246. triggertotaltimes:
  13247. description: 累计定投总次数
  13248. type: string
  13249. updatesrc:
  13250. description: 更新来源 - 1:管理端 2:终端
  13251. type: integer
  13252. updatetime:
  13253. description: 更新时间
  13254. type: string
  13255. updatorid:
  13256. description: 更新人
  13257. type: string
  13258. userid:
  13259. description: 所属用户ID
  13260. type: integer
  13261. userinfotype:
  13262. description: 用户类型 1-个人 2-企业
  13263. type: integer
  13264. username:
  13265. description: 用户名称(userid对应的名称)
  13266. type: string
  13267. type: object
  13268. models.QhjReckonPriceLog:
  13269. properties:
  13270. decimalplace:
  13271. description: 商品报价小数位
  13272. type: integer
  13273. goodscode:
  13274. description: 商品代码
  13275. type: string
  13276. goodsid:
  13277. description: 商品ID
  13278. type: integer
  13279. goodsname:
  13280. description: 商品名称
  13281. type: string
  13282. lastreckonprice:
  13283. description: 上日结算价
  13284. type: number
  13285. nextdnlimitprice:
  13286. description: 下个交易日跌停价
  13287. type: number
  13288. nexttrade:
  13289. description: 下个交易日
  13290. type: string
  13291. nextuplimitprice:
  13292. description: 下个交易日涨停价
  13293. type: number
  13294. reckonprice:
  13295. description: 今日结算价(定投价)
  13296. type: number
  13297. reckontime:
  13298. description: 结算时间
  13299. type: string
  13300. totalholderqty:
  13301. description: 总持仓数
  13302. type: integer
  13303. totalstock:
  13304. description: 总库存
  13305. type: integer
  13306. tradedate:
  13307. description: 交易日
  13308. type: string
  13309. updowncount:
  13310. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13311. type: integer
  13312. updownflag:
  13313. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13314. type: integer
  13315. updownrate:
  13316. description: 今日涨跌幅
  13317. type: number
  13318. updownrate_2d:
  13319. description: 连续两日涨跌幅
  13320. type: number
  13321. updownrate_3d:
  13322. description: 连续三日涨跌幅
  13323. type: number
  13324. type: object
  13325. models.QhjScoreLog:
  13326. properties:
  13327. accountid:
  13328. description: 账户ID
  13329. type: integer
  13330. createtime:
  13331. description: 创建时间(时间)
  13332. type: string
  13333. goodsid:
  13334. description: 商品ID
  13335. type: integer
  13336. hasuploaded:
  13337. description: 是否已同步(千海金) 0:未同步 1;已同步
  13338. type: integer
  13339. logid:
  13340. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13341. type: string
  13342. marketid:
  13343. description: 市场ID
  13344. type: integer
  13345. relatedamount:
  13346. description: 关联金额
  13347. type: number
  13348. relatedorderid:
  13349. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13350. type: string
  13351. scoreconfigvalue1:
  13352. description: 积分配置1
  13353. type: integer
  13354. scoreconfigvalue2:
  13355. description: 积分配置1
  13356. type: integer
  13357. scoretype:
  13358. description: 积分类型 - 1:提货积分
  13359. type: integer
  13360. scorevalue:
  13361. description: 积分
  13362. type: number
  13363. tradedate:
  13364. description: 交易日(yyyyMMdd)
  13365. type: string
  13366. uploadedtime:
  13367. description: 同步时间
  13368. type: string
  13369. userid:
  13370. description: 用户ID
  13371. type: integer
  13372. type: object
  13373. models.QhjSiteColumnDetail:
  13374. properties:
  13375. author:
  13376. description: 作者
  13377. type: string
  13378. brief:
  13379. description: 简介
  13380. type: string
  13381. columnid:
  13382. description: 所属栏目
  13383. type: integer
  13384. context:
  13385. description: 内容
  13386. type: string
  13387. coverimage:
  13388. description: 封面图片
  13389. type: string
  13390. creaedate:
  13391. description: 创建时间
  13392. type: string
  13393. creatorid:
  13394. description: 创建人
  13395. type: integer
  13396. hits:
  13397. description: 点击数
  13398. type: integer
  13399. id:
  13400. description: ID(SEQ_SITE_COLUMNDETAIL)
  13401. type: integer
  13402. isshow:
  13403. description: 是否展示 - 0:不展示 1:展示
  13404. type: integer
  13405. istop:
  13406. description: 是否置顶 - 0:不置 1:置顶
  13407. type: integer
  13408. modifierid:
  13409. description: 操作人
  13410. type: integer
  13411. publishdate:
  13412. description: 发布日期
  13413. type: string
  13414. status:
  13415. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13416. type: integer
  13417. title:
  13418. description: 标题
  13419. type: string
  13420. updatedate:
  13421. description: 修改时间
  13422. type: string
  13423. userid:
  13424. description: 用户ID(默认为0, 核心为为机构用户ID)
  13425. type: integer
  13426. username:
  13427. description: 用户名称
  13428. type: string
  13429. type: object
  13430. models.QhjTeamOrder:
  13431. properties:
  13432. accountid:
  13433. description: 账户ID[报价币种]
  13434. type: integer
  13435. accountname:
  13436. description: 账户名称
  13437. type: string
  13438. agreeunit:
  13439. description: 合约乘数
  13440. type: number
  13441. buyorsell:
  13442. description: 方向 - 0:买 1:卖
  13443. type: integer
  13444. decimalplace:
  13445. description: 报价小数位
  13446. type: integer
  13447. enumdicname:
  13448. description: 单位名称
  13449. type: string
  13450. goodscode:
  13451. description: 商品代码(内部)
  13452. type: string
  13453. goodsid:
  13454. description: 商品ID
  13455. type: integer
  13456. goodsname:
  13457. description: 商品名称
  13458. type: string
  13459. goodunitid:
  13460. description: 报价单位ID
  13461. type: integer
  13462. marketid:
  13463. description: 市场ID
  13464. type: integer
  13465. marketname:
  13466. description: 市场名称
  13467. type: string
  13468. qtydecimalplace:
  13469. description: 成交量小数位
  13470. type: integer
  13471. refereeuserid:
  13472. description: 推荐人ID
  13473. type: integer
  13474. tradeamount:
  13475. description: 成交金额[账户币种,用于所有权]
  13476. type: number
  13477. tradedate:
  13478. description: 交易日(yyyyMMdd)
  13479. type: string
  13480. trademode:
  13481. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13482. 21:竞拍-大宗式 22:受托竞价
  13483. type: integer
  13484. tradeprice:
  13485. description: 成交价格
  13486. type: number
  13487. tradeqty:
  13488. description: 成交数量
  13489. type: number
  13490. tradetime:
  13491. description: 成交时间
  13492. type: string
  13493. userid:
  13494. description: 用户ID
  13495. type: integer
  13496. type: object
  13497. models.QhjTradeGoodsPickup:
  13498. properties:
  13499. accountid:
  13500. description: 账户ID
  13501. type: integer
  13502. address:
  13503. description: 提货人详细地址
  13504. type: string
  13505. amount:
  13506. description: 提货金额
  13507. type: number
  13508. artradedate:
  13509. description: 自动收货交易日(yyyyMMdd)
  13510. type: string
  13511. auditer:
  13512. description: 审核人
  13513. type: integer
  13514. auditsrc:
  13515. description: 更新来源 - 1:管理端 2:终端
  13516. type: integer
  13517. audittime:
  13518. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13519. type: string
  13520. audittradedate:
  13521. description: 审核交易日(yyyyMMdd)
  13522. type: string
  13523. cardnum:
  13524. description: 提货人证件号码
  13525. type: string
  13526. cardtypeid:
  13527. description: 提货人证件类型
  13528. type: integer
  13529. checkremark:
  13530. description: 审核备注
  13531. type: string
  13532. cityid:
  13533. description: 市
  13534. type: integer
  13535. cityname:
  13536. description: 城市名称
  13537. type: string
  13538. confirmtime:
  13539. description: 取货时间 或 收货时间
  13540. type: string
  13541. countryid:
  13542. description: 国家
  13543. type: integer
  13544. countryname:
  13545. description: 国家名称
  13546. type: string
  13547. decimalplace:
  13548. description: 商品报价小数位
  13549. type: integer
  13550. districtid:
  13551. description: 地区
  13552. type: integer
  13553. districtname:
  13554. description: 地区名称
  13555. type: string
  13556. enumdicname:
  13557. description: 单位名称(提货商品)
  13558. type: string
  13559. expresscompany:
  13560. description: 物流公司
  13561. type: string
  13562. expressnum:
  13563. description: 物流单号
  13564. type: string
  13565. goodsagreeunit:
  13566. description: 交易商品乘数
  13567. type: number
  13568. goodscode:
  13569. description: 商品代码
  13570. type: string
  13571. goodsid:
  13572. description: 商品ID
  13573. type: integer
  13574. goodsname:
  13575. description: 商品名称
  13576. type: string
  13577. goodsqty:
  13578. description: 交易商品手数(69模式按成交量小数位放大取整)
  13579. type: number
  13580. handlestatus:
  13581. description: 处理状态
  13582. type: integer
  13583. logincode:
  13584. description: 账号(登录代码, 有可能为空)
  13585. type: string
  13586. marketid:
  13587. description: 市场ID
  13588. type: integer
  13589. phonenum:
  13590. description: 提货人联系方式
  13591. type: string
  13592. pickupgoodsagreeunit:
  13593. description: 提货商品合约乘数
  13594. type: number
  13595. pickupgoodsid:
  13596. description: 提货商品ID
  13597. type: string
  13598. pickupgoodsname:
  13599. description: 提货商品名称
  13600. type: string
  13601. pickupgoodsqty:
  13602. description: 提货商品手数(数量)
  13603. type: number
  13604. pickupgoodsunitid:
  13605. description: 单位ID(提货商品)
  13606. type: integer
  13607. pickupratio:
  13608. description: 提货系数
  13609. type: number
  13610. preparedays:
  13611. description: 备货期(天)-提货单明细表
  13612. type: integer
  13613. provinceid:
  13614. description: 省
  13615. type: integer
  13616. provincename:
  13617. description: 省名称
  13618. type: string
  13619. qty:
  13620. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13621. type: number
  13622. qtydecimalplace:
  13623. description: 商品数量小数位
  13624. type: integer
  13625. recivername:
  13626. description: 提货人姓名
  13627. type: string
  13628. reqtime:
  13629. description: 提货申请时间
  13630. type: string
  13631. storeuserid:
  13632. description: 门店用户ID (千海金)
  13633. type: integer
  13634. storeusername:
  13635. description: 门店用户名称
  13636. type: string
  13637. takemode:
  13638. description: 提货方式 - 2:自提 3:配送(邮寄)
  13639. type: integer
  13640. takeorderid:
  13641. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13642. type: string
  13643. takeorderstatus:
  13644. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13645. 7:已拒绝 8:已撤销
  13646. type: integer
  13647. takeremark:
  13648. description: 提货备注
  13649. type: string
  13650. tradedate:
  13651. description: 交易日(yyyyMMdd)
  13652. type: string
  13653. updatetime:
  13654. description: 更新时间
  13655. type: string
  13656. userid:
  13657. description: 用户ID
  13658. type: integer
  13659. userinfotype:
  13660. description: 客户类型 1-个人 2-企业
  13661. type: integer
  13662. username:
  13663. description: 用户名称
  13664. type: string
  13665. type: object
  13666. models.QhjUserNodeCfgAndStatus:
  13667. properties:
  13668. agreementcontent:
  13669. description: 协议内容
  13670. type: string
  13671. agreementid:
  13672. description: 协议ID
  13673. type: integer
  13674. agreementname:
  13675. description: 协议名称
  13676. type: string
  13677. agreementno:
  13678. description: 协议编号
  13679. type: string
  13680. agreementtype:
  13681. description: 协议类型 - 1:注册 2:登录 3:交易
  13682. type: integer
  13683. agreementversion:
  13684. description: 协议版本号
  13685. type: integer
  13686. configid:
  13687. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13688. type: integer
  13689. createtime:
  13690. description: 创建时间
  13691. type: string
  13692. goodsid:
  13693. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13694. type: integer
  13695. nodetype:
  13696. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13697. type: integer
  13698. signtimestamp:
  13699. description: 签约状态时间戳(最近一次)
  13700. type: string
  13701. tradedate:
  13702. description: 签约交易日(yyyyMMdd)
  13703. type: string
  13704. userid:
  13705. description: 客户ID
  13706. type: integer
  13707. type: object
  13708. models.Qhjgoodsex:
  13709. properties:
  13710. canfinance:
  13711. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13712. type: integer
  13713. canregularlybuy:
  13714. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13715. type: integer
  13716. defaulttradeuserid:
  13717. description: 默认交易用户ID
  13718. type: integer
  13719. deliverygoodsid:
  13720. description: 现货品种ID
  13721. type: integer
  13722. goodsid:
  13723. description: 商品ID(自增ID SEQ_GOODS)
  13724. type: integer
  13725. minamount:
  13726. description: 最小购买金额
  13727. type: number
  13728. regularlybuyminamount:
  13729. description: 定投最小金额
  13730. type: number
  13731. regularlybuyminqty:
  13732. description: 定投最小数量
  13733. type: number
  13734. spotgoodsbrandid:
  13735. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13736. type: integer
  13737. visibilityforenterprise:
  13738. description: 企业客户是否可见 - 0:不可见 1:可见
  13739. type: integer
  13740. visibilityforpersonal:
  13741. description: 个人客户是否可见 - 0:不可见 1:可见
  13742. type: integer
  13743. wrstandardid:
  13744. description: 现货商品ID
  13745. type: integer
  13746. type: object
  13747. models.QueryErrorInfosRsp:
  13748. properties:
  13749. description:
  13750. description: 异常描述
  13751. type: string
  13752. errorcode:
  13753. description: 异常代码
  13754. type: string
  13755. errorid:
  13756. description: 异常ID
  13757. type: integer
  13758. modulecode:
  13759. description: 所属模块
  13760. type: string
  13761. operatecode:
  13762. description: 所属操作
  13763. type: string
  13764. rownumber:
  13765. description: 行号
  13766. type: string
  13767. required:
  13768. - errorid
  13769. type: object
  13770. models.QueryHedgeOrderDetailRsp:
  13771. properties:
  13772. accountid:
  13773. description: 账户ID
  13774. type: integer
  13775. buyorsell:
  13776. description: 买卖 - 0:买 1:卖
  13777. type: integer
  13778. cancellogincode:
  13779. description: 撤单人
  13780. type: string
  13781. channelbuildtype:
  13782. description: 开平标志 - 0:无 1:建仓 2:平仓
  13783. type: integer
  13784. channelinnerorderstatus:
  13785. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13786. 9:全部成交
  13787. type: integer
  13788. channeloperatetype:
  13789. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13790. type: integer
  13791. closetype:
  13792. description: 平仓方式 - 0:无 1:平今 2:平昨
  13793. type: integer
  13794. curexchangerate:
  13795. description: 当前汇率
  13796. type: number
  13797. decimalplace:
  13798. description: 商品报价小数位
  13799. type: integer
  13800. exchangefullname:
  13801. description: 外部交易所全称
  13802. type: string
  13803. goodscode:
  13804. description: 商品代码(内部)
  13805. type: string
  13806. goodsid:
  13807. description: 商品ID
  13808. type: integer
  13809. goodsname:
  13810. description: 商品名称
  13811. type: string
  13812. marketid:
  13813. description: 市场ID
  13814. type: integer
  13815. openfreezemargin:
  13816. description: 冻结保证金(冻结交易金额)
  13817. type: number
  13818. orderid:
  13819. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13820. type: string
  13821. orderlogincode:
  13822. description: 委托人
  13823. type: string
  13824. orderprice:
  13825. description: 委托价格(账户)
  13826. type: number
  13827. orderqty:
  13828. description: 委托数量
  13829. type: integer
  13830. ordertime:
  13831. description: 委托时间
  13832. type: string
  13833. pricemode:
  13834. description: '取价方式 - 1:市价 2: 限价'
  13835. type: integer
  13836. tradedate:
  13837. description: 交易日(yyyyMMdd)
  13838. type: string
  13839. tradeqty:
  13840. description: 成交数量
  13841. type: integer
  13842. type: object
  13843. models.QueryHedgeTradeDetailRsp:
  13844. properties:
  13845. accountid:
  13846. description: 账号ID
  13847. type: integer
  13848. buyorsell:
  13849. description: 方向 - 0:买 1:卖
  13850. type: integer
  13851. channelbuildtype:
  13852. description: 委托单据类型 0:无 1:建仓 2:平仓
  13853. type: integer
  13854. closecharge:
  13855. description: 平仓手续费(账户)
  13856. type: number
  13857. closecharge2:
  13858. description: 平仓手续费(商品)
  13859. type: number
  13860. closepl:
  13861. description: 平仓盈亏(账户)
  13862. type: number
  13863. closepl2:
  13864. description: 平仓盈亏(商品)
  13865. type: number
  13866. closepl3:
  13867. description: 平仓盈亏(账户)(逐笔)
  13868. type: number
  13869. closepl4:
  13870. description: 平仓盈亏(商品)(逐笔)
  13871. type: number
  13872. closetype:
  13873. description: 平仓方式 - 0:无 1:平今 2:平昨
  13874. type: integer
  13875. curexchangerate:
  13876. description: 当前汇率
  13877. type: number
  13878. decimalplace:
  13879. description: 商品报价小数位
  13880. type: integer
  13881. exchangefullname:
  13882. description: 外部交易所全称
  13883. type: string
  13884. goodscode:
  13885. description: 商品代码(内部)
  13886. type: string
  13887. goodsid:
  13888. description: 商品ID
  13889. type: integer
  13890. goodsname:
  13891. description: 商品名称
  13892. type: string
  13893. marketid:
  13894. description: 市场ID
  13895. type: integer
  13896. opencharge:
  13897. description: 建仓手续费(账户)
  13898. type: number
  13899. opencharge2:
  13900. description: 建仓手续费(商品)
  13901. type: number
  13902. orderid:
  13903. description: 委托单号
  13904. type: string
  13905. orderlogincode:
  13906. description: 委托人
  13907. type: string
  13908. tradeamount:
  13909. description: 成交金额(账户)
  13910. type: number
  13911. tradedate:
  13912. description: 交易日(yyyyMMdd)
  13913. type: string
  13914. tradeid:
  13915. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13916. type: string
  13917. tradeprice:
  13918. description: 成交价格
  13919. type: number
  13920. tradeqty:
  13921. description: 成交数量
  13922. type: integer
  13923. tradetime:
  13924. description: 成交时间
  13925. type: string
  13926. tradetype:
  13927. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13928. type: integer
  13929. type: object
  13930. models.QuotePrimaryMenu:
  13931. properties:
  13932. Index:
  13933. description: 序号
  13934. type: integer
  13935. Key:
  13936. description: 键名
  13937. type: string
  13938. Name:
  13939. description: 菜单名称
  13940. type: string
  13941. SubMenus:
  13942. description: 子菜单
  13943. items:
  13944. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13945. type: array
  13946. SubTitleType:
  13947. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13948. type: integer
  13949. TradeModes:
  13950. description: 包含市场交易类型
  13951. type: string
  13952. type: object
  13953. models.QuoteSecondaryMenu:
  13954. properties:
  13955. ExExchangeCode:
  13956. description: 外部交易所代码
  13957. type: string
  13958. ExExchangeID:
  13959. description: 外部交易所ID
  13960. type: integer
  13961. GoodsGroupIDs:
  13962. description: 商品组ID列表
  13963. items:
  13964. type: integer
  13965. type: array
  13966. Index:
  13967. description: 序号
  13968. type: integer
  13969. MarketID:
  13970. description: 市场ID
  13971. type: integer
  13972. MenuTitle:
  13973. description: 菜单标题(市场名称或外部交易所名称)
  13974. type: string
  13975. TradeMode:
  13976. description: 交易模式
  13977. type: integer
  13978. type: object
  13979. models.RelatedTaAccount:
  13980. properties:
  13981. accountid:
  13982. description: 资金账户ID
  13983. type: integer
  13984. type: object
  13985. models.RoleMenu:
  13986. properties:
  13987. hasright:
  13988. description: 是否有权限 0-没有权限 1-有权限
  13989. type: integer
  13990. iconame:
  13991. description: 菜单图标
  13992. type: string
  13993. menutype:
  13994. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13995. type: integer
  13996. parentcode:
  13997. description: 上级资源代码
  13998. type: string
  13999. remark:
  14000. description: 菜单备注
  14001. type: string
  14002. resourcecode:
  14003. description: 菜单代码
  14004. type: string
  14005. resourcelevel:
  14006. description: 级别
  14007. type: integer
  14008. resourcename:
  14009. description: 菜单名称
  14010. type: string
  14011. roleid:
  14012. description: 角色id
  14013. type: integer
  14014. sort:
  14015. description: 排序
  14016. type: integer
  14017. subMenu:
  14018. description: 子级菜单(结构同上层一样, swag解析不出来)
  14019. items:
  14020. $ref: '#/definitions/models.RoleMenu'
  14021. type: array
  14022. url:
  14023. description: URL
  14024. type: string
  14025. userid:
  14026. description: 用户id
  14027. type: integer
  14028. type: object
  14029. models.SearchGoods:
  14030. properties:
  14031. goodscode:
  14032. description: 商品代码(内部)
  14033. type: string
  14034. goodsid:
  14035. description: 商品ID(自增ID SEQ_GOODS)
  14036. type: integer
  14037. goodsname:
  14038. description: 商品名称
  14039. type: string
  14040. marketid:
  14041. description: 所属市场ID
  14042. type: integer
  14043. marketname:
  14044. description: 市场名称
  14045. type: string
  14046. trademode:
  14047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14048. 21:竞拍-大宗式 22:受托竞价
  14049. type: integer
  14050. required:
  14051. - goodscode
  14052. - goodsid
  14053. - goodsname
  14054. - marketid
  14055. - trademode
  14056. type: object
  14057. models.Systemparam:
  14058. properties:
  14059. loginid:
  14060. description: 更新用户账号,登录账号
  14061. type: string
  14062. modifyflag:
  14063. description: 修改标志0 不允许修改 1 允许修改
  14064. type: integer
  14065. paramcode:
  14066. description: 参数代码
  14067. type: string
  14068. paramname:
  14069. description: 参数名
  14070. type: string
  14071. paramtype:
  14072. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14073. type: integer
  14074. paramvalue:
  14075. description: 参数值
  14076. type: string
  14077. paramvalue2:
  14078. description: 参数值(CLOB)
  14079. type: string
  14080. regexpress:
  14081. description: 正则表达式
  14082. type: string
  14083. remark:
  14084. description: 备注
  14085. type: string
  14086. serverip:
  14087. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14088. type: string
  14089. showflag:
  14090. description: 是否显示0 不显示 1 显示
  14091. type: integer
  14092. updatetime:
  14093. description: 更新时间
  14094. type: string
  14095. userid:
  14096. description: 更新用户ID
  14097. type: integer
  14098. required:
  14099. - paramcode
  14100. type: object
  14101. models.Szdz3convertconfig:
  14102. properties:
  14103. canin:
  14104. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14105. type: integer
  14106. canout:
  14107. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14108. type: integer
  14109. converttype:
  14110. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14111. 6:交易转花生米(不设置)
  14112. type: integer
  14113. createtime:
  14114. description: 创建时间
  14115. type: string
  14116. creatorid:
  14117. description: 创建人
  14118. type: integer
  14119. daymaxvalue:
  14120. description: 当日最大转入限制
  14121. type: number
  14122. freezedays:
  14123. description: 冻结天数 [5:花生米转交易]
  14124. type: integer
  14125. innergoodsid:
  14126. description: 内部商品ID[交易]
  14127. type: integer
  14128. inratio:
  14129. description: 目标值
  14130. type: integer
  14131. modifierid:
  14132. description: 修改人
  14133. type: integer
  14134. modifytime:
  14135. description: 修改时间
  14136. type: string
  14137. outergoodscode:
  14138. description: 外部商品代码[JD\PD]
  14139. type: string
  14140. outratio:
  14141. description: 源值
  14142. type: integer
  14143. pddecimalplace:
  14144. description: PD小数位
  14145. type: integer
  14146. timemaxvalue:
  14147. description: 单次最大转入限制
  14148. type: number
  14149. timeminvalue:
  14150. description: 单次最小转入限制
  14151. type: number
  14152. required:
  14153. - converttype
  14154. - innergoodsid
  14155. - outergoodscode
  14156. type: object
  14157. models.Szdz3searchwhitelist:
  14158. properties:
  14159. createtime:
  14160. description: 创建时间
  14161. type: string
  14162. creatorid:
  14163. description: 创建人
  14164. type: integer
  14165. modifierid:
  14166. description: 修改人
  14167. type: integer
  14168. modifytime:
  14169. description: 修改时间
  14170. type: string
  14171. userid:
  14172. description: 用户ID
  14173. type: integer
  14174. required:
  14175. - userid
  14176. type: object
  14177. models.TBGoods:
  14178. properties:
  14179. agreeunit:
  14180. description: 合约乘数
  14181. type: number
  14182. enumdicname:
  14183. description: 单位名称
  14184. type: string
  14185. goodscode:
  14186. description: 商品代码(内部)
  14187. type: string
  14188. goodsid:
  14189. description: 商品ID(自增ID SEQ_GOODS)
  14190. type: integer
  14191. goodsname:
  14192. description: 商品名称
  14193. type: string
  14194. type: object
  14195. models.TBGoodsGroup:
  14196. properties:
  14197. GDLST:
  14198. description: 商品列表
  14199. items:
  14200. $ref: '#/definitions/models.TBGoods'
  14201. type: array
  14202. convertratio:
  14203. description: 折算系数
  14204. type: number
  14205. enumdicname:
  14206. description: 单位名称
  14207. type: string
  14208. exexchangecode:
  14209. description: 交易所代码
  14210. type: string
  14211. exexchangename:
  14212. description: 交易所名称
  14213. type: string
  14214. goodsgroupid:
  14215. description: 商品组ID(自增ID)
  14216. type: integer
  14217. goodsgroupname:
  14218. description: 商品组名称
  14219. type: string
  14220. goodunitid:
  14221. description: 报价单位ID
  14222. type: integer
  14223. type: object
  14224. models.TBMiddleGoods:
  14225. properties:
  14226. GPLST:
  14227. description: 期货品种列表
  14228. items:
  14229. $ref: '#/definitions/models.TBGoodsGroup'
  14230. type: array
  14231. WDLST:
  14232. description: 商品信息列表(现货品类)
  14233. items:
  14234. $ref: '#/definitions/models.TBWrstandard'
  14235. type: array
  14236. areauserid:
  14237. description: 机构用户ID
  14238. type: integer
  14239. enumdicname:
  14240. description: 单位名称
  14241. type: string
  14242. goodsunitid:
  14243. description: 套保品种单位id
  14244. type: integer
  14245. middlegoodscode:
  14246. description: 套保品种代码
  14247. type: string
  14248. middlegoodsid:
  14249. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14250. type: integer
  14251. middlegoodsname:
  14252. description: 套保品种名称
  14253. type: string
  14254. needarbitrageratio:
  14255. description: 套利比率
  14256. type: number
  14257. needhedgeratio:
  14258. description: 套保比率
  14259. type: number
  14260. type: object
  14261. models.TBWrstandard:
  14262. properties:
  14263. convertratio:
  14264. description: 折算系数
  14265. type: number
  14266. deliverygoodsname:
  14267. description: 品种名称
  14268. type: string
  14269. enumdicname:
  14270. description: 单位名称
  14271. type: string
  14272. vatrate:
  14273. description: 增值税率
  14274. type: number
  14275. wrstandardcode:
  14276. description: 现货商品代码
  14277. type: string
  14278. wrstandardid:
  14279. description: 现货商品ID(SEQ_WRSTANDARD)
  14280. type: integer
  14281. wrstandardname:
  14282. description: 现货商品名称
  14283. type: string
  14284. type: object
  14285. models.Taaccount:
  14286. properties:
  14287. accountflag:
  14288. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14289. type: integer
  14290. accountid:
  14291. description: 资金账户ID
  14292. type: integer
  14293. accountname:
  14294. description: 账户名称
  14295. type: string
  14296. balance:
  14297. description: 期初余额
  14298. type: number
  14299. capitalbalance:
  14300. description: 本金余额[外部子账户实际出入金余额]
  14301. type: number
  14302. changeflag:
  14303. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14304. type: integer
  14305. changetime:
  14306. description: 账户状态变更时间
  14307. type: string
  14308. closepl:
  14309. description: 今日平仓盈亏
  14310. type: number
  14311. creditdecrease:
  14312. description: 今日授信减少
  14313. type: number
  14314. creditincrease:
  14315. description: 今日授信增加
  14316. type: number
  14317. curamount:
  14318. description: 总市值(从持仓中统计)
  14319. type: number
  14320. currencyid:
  14321. description: 货币ID
  14322. type: integer
  14323. currentbalance:
  14324. description: 期末余额
  14325. type: number
  14326. freezecharge:
  14327. description: 手续费冻结
  14328. type: number
  14329. freezemargin:
  14330. description: 冻结保证金
  14331. type: number
  14332. fromaccountid:
  14333. description: 所属上级账户
  14334. type: integer
  14335. inamount:
  14336. description: 今日入金金额(包括三方入金)
  14337. type: number
  14338. ismain:
  14339. description: 是否母账号 0:不是母账户 1:是母账户
  14340. type: integer
  14341. ismarketaccount:
  14342. description: 是否机构接单账号 0:不是 1:是
  14343. type: integer
  14344. isreckonaccount:
  14345. description: 是否机构分润账号 0:不是 1:是
  14346. type: integer
  14347. mortgagecredit:
  14348. description: 授信金额
  14349. type: number
  14350. orifreezecharge:
  14351. description: 期初手续费冻结
  14352. type: number
  14353. orifreezemargin:
  14354. description: 期初冻结保证金
  14355. type: number
  14356. orimortgagecredit:
  14357. description: 期初授信金额
  14358. type: number
  14359. oriothercredit:
  14360. description: 期初其它授信金额
  14361. type: number
  14362. oriotherfreezemargin:
  14363. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14364. type: number
  14365. orioutamountfreeze:
  14366. description: 期初出金冻结
  14367. type: number
  14368. oriusedmargin:
  14369. description: 期初占用保证金
  14370. type: number
  14371. othercredit:
  14372. description: 其它授信金额
  14373. type: number
  14374. othercreditdecrease:
  14375. description: 今日其它授信减少
  14376. type: number
  14377. othercreditincrease:
  14378. description: 今日其它授信增加
  14379. type: number
  14380. otherfreezemargin:
  14381. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14382. type: number
  14383. otherincome:
  14384. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14385. type: number
  14386. otherpay:
  14387. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14388. type: number
  14389. outamount:
  14390. description: 今日出金金额(包括三方出金)
  14391. type: number
  14392. outamountfreeze:
  14393. description: 出金冻结
  14394. type: number
  14395. outthreshold:
  14396. description: 出金阈值
  14397. type: number
  14398. parentaccountid:
  14399. description: 所属根账号
  14400. type: integer
  14401. paycharge:
  14402. description: 今日手续费支出
  14403. type: number
  14404. relatedaccountstatus:
  14405. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14406. type: integer
  14407. relateduserid:
  14408. description: 关联用户
  14409. type: integer
  14410. remainamount:
  14411. description: 融资额(从融资合同中统计)
  14412. type: number
  14413. serivcegroup:
  14414. description: 服务分组
  14415. type: integer
  14416. signstatus:
  14417. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14418. type: integer
  14419. sublevelpath:
  14420. description: 账号层级路径(逗号分隔,首尾加逗号)
  14421. type: string
  14422. taaccounttype:
  14423. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14424. type: integer
  14425. thirdinamount:
  14426. description: 今日三方入金
  14427. type: number
  14428. thirdoutamount:
  14429. description: 今日三方出金
  14430. type: number
  14431. tradestatus:
  14432. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14433. type: integer
  14434. tradestatuschangetime:
  14435. description: 激活时间
  14436. type: string
  14437. transferamount:
  14438. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14439. type: number
  14440. usedmargin:
  14441. description: 占用保证金
  14442. type: number
  14443. userid:
  14444. description: 用户ID
  14445. type: integer
  14446. required:
  14447. - accountid
  14448. - userid
  14449. type: object
  14450. models.Tablecolumnconfig:
  14451. properties:
  14452. aligntype:
  14453. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14454. type: integer
  14455. autoid:
  14456. description: AutoID
  14457. type: integer
  14458. columnfield:
  14459. description: 列字段
  14460. type: string
  14461. columntitle:
  14462. description: 列Title
  14463. type: string
  14464. columnwidth:
  14465. description: 列宽
  14466. type: string
  14467. formatterstring:
  14468. description: 格式化字符
  14469. type: string
  14470. formattertype:
  14471. description: 格式化类型
  14472. type: string
  14473. groupname:
  14474. description: 表头分组名称
  14475. type: string
  14476. isshow:
  14477. description: 是否显示 - 0:不显示 1:显示
  14478. type: integer
  14479. needsummary:
  14480. description: 是否需要汇总 - 0:不需要 1:需要
  14481. type: integer
  14482. orderindex:
  14483. description: 顺序
  14484. type: integer
  14485. remark:
  14486. description: 备注
  14487. type: string
  14488. summarytype:
  14489. description: 汇总类型 - 1:加总 2:最后一个
  14490. type: integer
  14491. tablekey:
  14492. description: 列表Key
  14493. type: string
  14494. required:
  14495. - autoid
  14496. type: object
  14497. models.TjmdHolderDetailTradeInfo:
  14498. properties:
  14499. agreeunit:
  14500. description: 合约乘数
  14501. type: number
  14502. buyaccountid:
  14503. description: 买方账户
  14504. type: string
  14505. buyusername:
  14506. description: 买方
  14507. type: string
  14508. delistingdate:
  14509. description: 最后结算日
  14510. type: string
  14511. expiredate:
  14512. description: 到期结算价定价日
  14513. type: string
  14514. exprieprice:
  14515. description: 到期清算价格
  14516. type: string
  14517. goodscode:
  14518. description: 商品代码
  14519. type: string
  14520. goodsid:
  14521. description: 商品ID
  14522. type: integer
  14523. goodsname:
  14524. description: 商品名称(交易标的)
  14525. type: string
  14526. lasttradedate:
  14527. description: 最后交易日
  14528. type: string
  14529. listingdate:
  14530. description: 开始交易日
  14531. type: string
  14532. openprice:
  14533. description: 成交价
  14534. type: number
  14535. openqty:
  14536. description: 交易数量
  14537. type: integer
  14538. sellaccountid:
  14539. description: 卖方账户
  14540. type: string
  14541. sellusername:
  14542. description: 卖方
  14543. type: string
  14544. tradeamount:
  14545. description: 初始名义价值
  14546. type: number
  14547. tradedate:
  14548. description: 成交日期
  14549. type: string
  14550. tradeid:
  14551. description: 成交编号
  14552. type: string
  14553. type: object
  14554. models.TjmdMarketSection:
  14555. properties:
  14556. marketsectionid:
  14557. description: 市场版块ID(SEQ_MARKETSECTION)
  14558. type: integer
  14559. marketsectionname:
  14560. description: 市场版块名称
  14561. type: string
  14562. mlist:
  14563. description: 市场列表(板块下面有多少个市场)
  14564. items:
  14565. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14566. type: array
  14567. orderindex:
  14568. description: 排序
  14569. type: integer
  14570. pictureurl:
  14571. description: 图片url, 规格(90*90)
  14572. type: string
  14573. remark:
  14574. description: 备注
  14575. type: string
  14576. type: object
  14577. models.TjmdMarketSectionConfig:
  14578. properties:
  14579. auctionwrtype:
  14580. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14581. type: integer
  14582. canacceptquote:
  14583. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14584. type: integer
  14585. cangoodsexercise:
  14586. description: '[期权]是否可现货行权- 0:否 1:是'
  14587. type: integer
  14588. cangoodsexercisetype:
  14589. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14590. type: integer
  14591. canmanualquotestrike:
  14592. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14593. type: integer
  14594. canmutistage:
  14595. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14596. type: integer
  14597. canpreexercise:
  14598. description: '[期权]是否可预申报- 0:否 1:是'
  14599. type: integer
  14600. clearinterval:
  14601. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14602. type: integer
  14603. contracttmp:
  14604. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14605. type: string
  14606. exchareaid:
  14607. description: 所属交易所,可以没有
  14608. type: integer
  14609. financemarketid:
  14610. description: 融资回购市场ID [仓单贸易]
  14611. type: integer
  14612. goodstype:
  14613. description: 商品类型 - 1:交易商品 2:仓单商品
  14614. type: integer
  14615. hasrebate:
  14616. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14617. type: integer
  14618. hastradecredit:
  14619. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14620. type: integer
  14621. haswr:
  14622. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14623. type: integer
  14624. isdeductmargin:
  14625. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14626. type: integer
  14627. isrecordsource:
  14628. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14629. type: integer
  14630. isreleasemargin:
  14631. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14632. type: integer
  14633. isupdatereckonprice:
  14634. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14635. type: integer
  14636. listingmode:
  14637. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14638. type: integer
  14639. marginformula:
  14640. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14641. type: integer
  14642. marginformula2:
  14643. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14644. type: integer
  14645. marketid:
  14646. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14647. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14648. type: integer
  14649. marketname:
  14650. description: 市场名称
  14651. type: string
  14652. marketsectionid:
  14653. description: 市场版块ID(SEQ_MARKETSECTION)
  14654. type: integer
  14655. marketserviceid:
  14656. description: 市场服务ID
  14657. type: integer
  14658. marketstatus:
  14659. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14660. type: integer
  14661. markettype:
  14662. description: 市场类型- 1:非交易服务 2:交易服务
  14663. type: integer
  14664. matchermode:
  14665. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14666. type: integer
  14667. nowrquotaflag:
  14668. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14669. type: integer
  14670. openmethod:
  14671. description: 开盘模式 - 0 自动 1手动
  14672. type: integer
  14673. orderindex:
  14674. description: 排序
  14675. type: integer
  14676. otcuserid:
  14677. description: 场外期权做市商[场外期权]
  14678. type: integer
  14679. outersynctime:
  14680. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14681. type: string
  14682. paylaterflag:
  14683. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14684. type: integer
  14685. pendingflag:
  14686. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14687. type: integer
  14688. pendingtime:
  14689. description: 待开市时间[通道交易-对冲](HH:mm)
  14690. type: string
  14691. performancetempid:
  14692. description: 履约计划模板ID - 作废
  14693. type: integer
  14694. premiumquotemode:
  14695. description: 权利金报价方式 - 1:自动 2:手动
  14696. type: integer
  14697. rebateratio:
  14698. description: 返利比率[竞价式]
  14699. type: number
  14700. reckonorder:
  14701. description: 结算顺序
  14702. type: integer
  14703. reckonpricealgorithm:
  14704. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14705. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14706. type: integer
  14707. reckonpriceparam:
  14708. description: 结算价参数
  14709. type: integer
  14710. reckontime:
  14711. description: 结算时间[通道交易-对冲](HH:mm)
  14712. type: string
  14713. roleprioritytype:
  14714. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14715. type: integer
  14716. selllistingauditflag:
  14717. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14718. type: integer
  14719. trademarkettype:
  14720. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14721. type: integer
  14722. trademode:
  14723. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14724. 21:竞拍-大宗式 22:受托竞价
  14725. type: integer
  14726. tradeproperty:
  14727. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14728. 8:场外期权
  14729. type: integer
  14730. tradetype:
  14731. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14732. type: integer
  14733. updatereckonpriceinterval:
  14734. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14735. type: integer
  14736. type: object
  14737. models.TjmdQuoteGoods:
  14738. properties:
  14739. buyqty:
  14740. description: 买量(暂不做, 无值, 保留字段)
  14741. type: number
  14742. decimalplace:
  14743. description: 报价小数位
  14744. type: integer
  14745. goodscode:
  14746. description: 合约代码
  14747. type: string
  14748. goodsgroupid:
  14749. description: 商品组ID(自增ID)
  14750. type: integer
  14751. goodsgroupname:
  14752. description: 商品组名称
  14753. type: string
  14754. goodsid:
  14755. description: 合约id
  14756. type: integer
  14757. goodsname:
  14758. description: 合约名称
  14759. type: string
  14760. refgoodscode:
  14761. description: 标的合约代码
  14762. type: string
  14763. refgoodsid:
  14764. description: 标的合约id
  14765. type: integer
  14766. refgoodsname:
  14767. description: 标的合约名称
  14768. type: string
  14769. sellqty:
  14770. description: 卖量(暂不做, 无值, 保留字段)
  14771. type: number
  14772. type: object
  14773. models.TjmdTodayAccountMargin:
  14774. properties:
  14775. accountid:
  14776. description: 账号ID
  14777. type: integer
  14778. goodsid:
  14779. description: 商品ID
  14780. type: integer
  14781. infoc:
  14782. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14783. description: 配置参数
  14784. marketid:
  14785. description: 市场ID
  14786. type: integer
  14787. type: object
  14788. models.TjmdTradeOrderDetail:
  14789. properties:
  14790. buyorsell:
  14791. description: 买卖方向 0-买 1-卖
  14792. type: integer
  14793. goodsid:
  14794. description: 商品id
  14795. type: integer
  14796. marketmaxsub:
  14797. description: 市价最大偏移范围 [浮动价 - 点差]
  14798. type: number
  14799. orderid:
  14800. description: 委托单号
  14801. type: string
  14802. orderprice:
  14803. description: 委托价格
  14804. type: number
  14805. orderqty:
  14806. description: 委托数量
  14807. type: integer
  14808. pricemode:
  14809. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14810. type: integer
  14811. userid:
  14812. description: 用户id
  14813. type: integer
  14814. username:
  14815. description: 用户名称(已脱敏)
  14816. type: string
  14817. type: object
  14818. models.TjmdTransferApply:
  14819. properties:
  14820. applyid:
  14821. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14822. type: integer
  14823. applystatus:
  14824. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14825. type: integer
  14826. applytime:
  14827. description: 申请时间(时间)
  14828. type: string
  14829. auditremark:
  14830. description: 审核备注(拒绝原因?)
  14831. type: string
  14832. begindate:
  14833. description: 开始交易日(yyyymmdd)
  14834. type: string
  14835. buyorsell:
  14836. description: 买卖 - 0:买 1:卖
  14837. type: integer
  14838. enddate:
  14839. description: 结束交易日(yyyymmdd)
  14840. type: string
  14841. goodscode:
  14842. description: 商品代码
  14843. type: string
  14844. goodsid:
  14845. description: 商品ID
  14846. type: integer
  14847. goodsname:
  14848. description: 商品名称
  14849. type: string
  14850. marketid:
  14851. description: 市场ID
  14852. type: integer
  14853. qty:
  14854. description: 转让数量(数量)
  14855. type: number
  14856. tradeid:
  14857. description: 成交单号(关联持仓)
  14858. type: string
  14859. transferamount:
  14860. description: 转让总金额(金额)
  14861. type: number
  14862. transferprice:
  14863. description: 转让价格(协议价格)
  14864. type: number
  14865. type: object
  14866. models.TradeHolderDetail:
  14867. properties:
  14868. accountid:
  14869. description: 账号ID
  14870. type: integer
  14871. agreeunit:
  14872. description: 合约乘数
  14873. type: number
  14874. buyorsell:
  14875. description: 方向 - 0:买 1:卖
  14876. type: integer
  14877. currencyid:
  14878. description: 商品币种id
  14879. type: integer
  14880. currencyname:
  14881. description: 币种名称
  14882. type: string
  14883. decimalplace:
  14884. description: 商品价格小数位
  14885. type: integer
  14886. enumdicname:
  14887. description: 商品单位名称
  14888. type: string
  14889. expirecycle:
  14890. description: 行权周期(天) - 1:滚动行权时填写
  14891. type: integer
  14892. expiredate:
  14893. description: 行权日(yyyyMMdd) - 到期日
  14894. type: string
  14895. expiretype:
  14896. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14897. type: integer
  14898. freezeqty:
  14899. description: 冻结数量
  14900. type: number
  14901. goodscode:
  14902. description: 商品代码
  14903. type: string
  14904. goodsid:
  14905. description: 商品ID
  14906. type: integer
  14907. goodsname:
  14908. description: 商品名称
  14909. type: string
  14910. goodunitid:
  14911. description: 商品单位id
  14912. type: integer
  14913. holderamount:
  14914. description: 持仓金额
  14915. type: number
  14916. holdercredit:
  14917. description: 持仓授信金额
  14918. type: number
  14919. holderdays:
  14920. description: 剩余冻结天数
  14921. type: integer
  14922. holderprice:
  14923. description: 持仓价格
  14924. type: number
  14925. holderqty:
  14926. description: 持仓数量
  14927. type: number
  14928. isconfirmexercise:
  14929. description: 是否确认行权- 0:否 1:是
  14930. type: integer
  14931. ispreexercise:
  14932. description: 是否预申报- 0:否 1:是 2:不可行权
  14933. type: integer
  14934. marketid:
  14935. description: 市场id
  14936. type: integer
  14937. marketname:
  14938. description: 市场名称
  14939. type: string
  14940. openprice:
  14941. description: 建仓价格
  14942. type: number
  14943. openqty:
  14944. description: 建仓数量
  14945. type: number
  14946. optiontype:
  14947. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14948. type: integer
  14949. preexerciseprice:
  14950. description: 预申报价格
  14951. type: number
  14952. premium:
  14953. description: 权利金
  14954. type: number
  14955. qtydecimalplace:
  14956. description: 商品成交量小数位
  14957. type: integer
  14958. refgoodscode:
  14959. description: 标的合约代码
  14960. type: string
  14961. refgoodsid:
  14962. description: 标的合约id
  14963. type: integer
  14964. releaseamount:
  14965. description: 释放持仓金额
  14966. type: number
  14967. releaseholdercredit:
  14968. description: 释放持仓授信金额
  14969. type: number
  14970. taname:
  14971. description: 资金账号名称
  14972. type: string
  14973. tradeamount:
  14974. description: 成交金额
  14975. type: number
  14976. tradedate:
  14977. description: 交易日(yyyyMMdd)
  14978. type: string
  14979. tradeid:
  14980. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14981. type: string
  14982. trademode:
  14983. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14984. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14985. type: integer
  14986. tradeproperty:
  14987. description: 交易属性
  14988. type: integer
  14989. tradetime:
  14990. description: 交易时间
  14991. type: string
  14992. userid:
  14993. description: 用户id
  14994. type: integer
  14995. username:
  14996. description: 用户名称
  14997. type: string
  14998. type: object
  14999. models.UserCollectConfig:
  15000. properties:
  15001. accountstatus:
  15002. description: 账户状态 - 1:正常 2:停用 3:注销
  15003. type: integer
  15004. collectaccountname:
  15005. description: 收款人账户名称
  15006. type: string
  15007. collectaccountno:
  15008. description: 收款人账户
  15009. type: string
  15010. collectbankname:
  15011. description: 收款人开户行
  15012. type: string
  15013. collectbranchbankname:
  15014. description: 收款人开户支行
  15015. type: string
  15016. collectconfigid:
  15017. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15018. type: string
  15019. remark:
  15020. description: 备注
  15021. type: string
  15022. userid:
  15023. description: 收款人用户ID
  15024. type: integer
  15025. type: object
  15026. models.UserReceiveInfo:
  15027. properties:
  15028. address:
  15029. description: 提货人详细地址
  15030. type: string
  15031. autoid:
  15032. description: AutoID
  15033. type: integer
  15034. cardnum:
  15035. description: 证件号码(加密存储)
  15036. type: string
  15037. cardtypeid:
  15038. description: 证件类型
  15039. type: integer
  15040. cityid:
  15041. description: 市
  15042. type: integer
  15043. cityname:
  15044. description: 城市名称
  15045. type: string
  15046. countryid:
  15047. description: 国家
  15048. type: integer
  15049. countryname:
  15050. description: 国家名称
  15051. type: string
  15052. districtid:
  15053. description: 地区
  15054. type: integer
  15055. districtname:
  15056. description: 地区名称
  15057. type: string
  15058. hasencrypt:
  15059. description: 数据是否已加密 - 0:未加密 1:已加密
  15060. type: integer
  15061. isdefault:
  15062. description: 是否默认地址 - 0:否 1:是
  15063. type: integer
  15064. phonenum:
  15065. description: 提货人联系方式(加密存储)
  15066. type: string
  15067. provinceid:
  15068. description: 省
  15069. type: integer
  15070. provincename:
  15071. description: 省名称
  15072. type: string
  15073. receivername:
  15074. description: 提货人姓名
  15075. type: string
  15076. takeremark:
  15077. description: 提货备注
  15078. type: string
  15079. userid:
  15080. description: 用户ID
  15081. type: integer
  15082. type: object
  15083. models.Useraccount:
  15084. properties:
  15085. accountname:
  15086. description: 账户名称(机构名称)
  15087. type: string
  15088. accountstatus:
  15089. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15090. type: integer
  15091. applysrc:
  15092. description: 申请来源 - 1:管理端 2:终端
  15093. type: integer
  15094. auditremark:
  15095. description: 审核备注
  15096. type: string
  15097. auditsrc:
  15098. description: 审核来源 - 1:管理端 2:终端
  15099. type: integer
  15100. audittime:
  15101. description: 审核时间
  15102. type: string
  15103. audituserid:
  15104. description: 审核人
  15105. type: integer
  15106. broker:
  15107. description: 所属经纪人ID
  15108. type: integer
  15109. canceltime:
  15110. description: 销户时间
  15111. type: string
  15112. canceluserid:
  15113. description: 销户人
  15114. type: integer
  15115. canrecommend:
  15116. description: 是否可推荐 - 0:不可 1;可
  15117. type: integer
  15118. createtime:
  15119. description: 创建时间
  15120. type: string
  15121. creatorid:
  15122. description: 创建人
  15123. type: integer
  15124. hasauth:
  15125. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15126. type: integer
  15127. isanonymous:
  15128. description: 是否匿名下单 - 0:否 1:是
  15129. type: integer
  15130. maxinvestornum:
  15131. description: 最大用户数(经纪会员下投资者个数)
  15132. type: integer
  15133. memberuserid:
  15134. description: 所属会员ID
  15135. type: integer
  15136. modifierid:
  15137. description: 修改人
  15138. type: integer
  15139. modifyremark:
  15140. description: 变更备注
  15141. type: string
  15142. modifystatus:
  15143. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15144. type: integer
  15145. modifytime:
  15146. description: 修改时间
  15147. type: string
  15148. parenttopuser:
  15149. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15150. type: string
  15151. parentuserid:
  15152. description: 所属机构ID
  15153. type: integer
  15154. reckonaccountid:
  15155. description: 默认结算资金账号ID(机构分润使用) 作废
  15156. type: integer
  15157. refercount:
  15158. description: 推荐总人数
  15159. type: integer
  15160. refereeuserid:
  15161. description: 推荐人ID
  15162. type: integer
  15163. refernum:
  15164. description: 推荐码
  15165. type: string
  15166. rootuserid:
  15167. description: 根用户ID
  15168. type: integer
  15169. subaccountlevel:
  15170. description: 子账户层数
  15171. type: integer
  15172. subarealevelpath:
  15173. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15174. type: string
  15175. userid:
  15176. description: 用户ID
  15177. type: integer
  15178. usertype:
  15179. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15180. type: integer
  15181. required:
  15182. - userid
  15183. type: object
  15184. models.Userfavoritegoods:
  15185. properties:
  15186. goodsid:
  15187. description: 商品ID
  15188. type: integer
  15189. required:
  15190. - goodsid
  15191. type: object
  15192. models.Userinfo:
  15193. properties:
  15194. address:
  15195. description: 地址
  15196. type: string
  15197. attachment1:
  15198. description: 附件1
  15199. type: string
  15200. attachment2:
  15201. description: 附件2
  15202. type: string
  15203. bankaccount:
  15204. description: 银行帐号 (加密存储)
  15205. type: string
  15206. bankaccountname:
  15207. description: 收款人名称
  15208. type: string
  15209. bankcardfrontphotourl:
  15210. description: 银行卡正面照地址
  15211. type: string
  15212. bankid:
  15213. description: 银行编码
  15214. type: string
  15215. bankname:
  15216. description: 银行名称
  15217. type: string
  15218. biznature:
  15219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15220. type: integer
  15221. bizscope:
  15222. description: 企业经营范围(企业)
  15223. type: string
  15224. cardbackphotourl:
  15225. description: 证件背面图片地址
  15226. type: string
  15227. cardfrontphotourl:
  15228. description: 证件正面图片地址
  15229. type: string
  15230. cardnum:
  15231. description: 证件号码(加密存储)
  15232. type: string
  15233. cardtypeid:
  15234. description: 证件类型ID
  15235. type: integer
  15236. cityid:
  15237. description: 市
  15238. type: integer
  15239. company:
  15240. description: 公司(个人)
  15241. type: string
  15242. contactname:
  15243. description: 联系人
  15244. type: string
  15245. countryid:
  15246. description: 国家
  15247. type: integer
  15248. createtime:
  15249. description: 创建时间
  15250. type: string
  15251. creatorid:
  15252. description: 创建人
  15253. type: integer
  15254. customername:
  15255. description: 客户名称(企业名称)
  15256. type: string
  15257. districtid:
  15258. description: 地区
  15259. type: integer
  15260. email:
  15261. description: 邮件(加密存储)
  15262. type: string
  15263. fax:
  15264. description: 传真(加密存储)
  15265. type: string
  15266. halfbodyphotourl:
  15267. description: 半身照地址
  15268. type: string
  15269. hasencrypt:
  15270. description: 数据是否已加密 - 0:未加密 1:已加密
  15271. type: integer
  15272. headurl:
  15273. description: 头像地址
  15274. type: string
  15275. legalcardbackphotourl:
  15276. description: 法人身份证背面照地址
  15277. type: string
  15278. legalcardfrontphotourl:
  15279. description: 法人身份证正面照地址
  15280. type: string
  15281. legalpersonname:
  15282. description: 法人姓名(企业)
  15283. type: string
  15284. mobile:
  15285. description: 手机号码(加密存储)
  15286. type: string
  15287. mobile2:
  15288. description: 手机号码[明文-尚志]
  15289. type: string
  15290. modifierid:
  15291. description: 修改人
  15292. type: integer
  15293. modifiertime:
  15294. description: 修改时间
  15295. type: string
  15296. needinvoice:
  15297. description: 是否需要发票 - 0:不需要 1:需要
  15298. type: integer
  15299. nickname:
  15300. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15301. type: string
  15302. openmode:
  15303. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15304. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15305. type: integer
  15306. otherurl:
  15307. description: 其它图片地址[使用分号分隔]
  15308. type: string
  15309. postalcode:
  15310. description: 邮政编码
  15311. type: string
  15312. provinceid:
  15313. description: 省
  15314. type: integer
  15315. qq:
  15316. description: QQ(加密存储
  15317. type: string
  15318. remark:
  15319. description: 备注
  15320. type: string
  15321. sex:
  15322. description: '用户性别 0: 女 1: 男'
  15323. type: integer
  15324. signpdfurl:
  15325. description: 签约pdf文件
  15326. type: string
  15327. telphone:
  15328. description: 联系电话(加密存储)
  15329. type: string
  15330. userid:
  15331. description: 用户ID
  15332. type: integer
  15333. userinfotype:
  15334. description: 用户信息类型 - 1:个人 2:企业
  15335. type: integer
  15336. userstatus:
  15337. description: 用户状态 - 1:正常 2:注销
  15338. type: integer
  15339. usertype:
  15340. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15341. type: integer
  15342. wechat:
  15343. description: 微信(加密存储)
  15344. type: string
  15345. wskhinfo:
  15346. description: 开户申请信息(JSON)
  15347. type: string
  15348. required:
  15349. - userid
  15350. type: object
  15351. models.WRSConverTDetail:
  15352. properties:
  15353. convertratio:
  15354. description: 套保系数
  15355. type: number
  15356. deliverygoodscode:
  15357. description: 现货商品代码
  15358. type: string
  15359. deliverygoodsid:
  15360. description: 现货品种ID
  15361. type: integer
  15362. deliverygoodsname:
  15363. description: 现货商品名称
  15364. type: string
  15365. enumdicname:
  15366. description: 单位名称
  15367. type: string
  15368. goodsunitid:
  15369. description: 套保品种单位id
  15370. type: integer
  15371. middlegoodscode:
  15372. description: 套保品种代码
  15373. type: string
  15374. middlegoodsid:
  15375. description: 套保品种ID
  15376. type: integer
  15377. middlegoodsname:
  15378. description: 套保品种名称
  15379. type: string
  15380. modifytime:
  15381. description: 修改时间
  15382. type: string
  15383. wrstandardid:
  15384. description: 品类ID
  15385. type: integer
  15386. type: object
  15387. models.WRStandardInfo:
  15388. properties:
  15389. areauserid:
  15390. description: 所属机构
  15391. type: integer
  15392. convertfactor:
  15393. description: 标仓系数
  15394. type: number
  15395. createtime:
  15396. description: 创建时间
  15397. type: string
  15398. creatorid:
  15399. description: 创建人
  15400. type: integer
  15401. deliverygoodsid:
  15402. description: 品种ID
  15403. type: integer
  15404. deliverygoodsname:
  15405. description: 交割商品名称
  15406. type: string
  15407. factoryitemjson:
  15408. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15409. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15410. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15411. 逗号分隔'
  15412. type: string
  15413. isvalid:
  15414. description: 是否有效 - 0:无效 1:有效
  15415. type: integer
  15416. minivalue:
  15417. description: 最小变动值
  15418. type: integer
  15419. minivaluedp:
  15420. description: 最小变动值小数位
  15421. type: integer
  15422. realminivalue:
  15423. description: 实际最小变动值
  15424. type: integer
  15425. realminivaluedp:
  15426. description: 实际最小变动值小数位
  15427. type: integer
  15428. remark:
  15429. description: 备注
  15430. type: string
  15431. unitid:
  15432. description: 单位ID
  15433. type: integer
  15434. unitname:
  15435. description: 单位
  15436. type: string
  15437. updatetime:
  15438. description: 更新时间
  15439. type: string
  15440. updatorid:
  15441. description: 更新人
  15442. type: integer
  15443. wrsstatus:
  15444. description: 状态 - 作废 - 0:未激活 1:正常
  15445. type: integer
  15446. wrstandardcode:
  15447. description: 现货品类代码
  15448. type: string
  15449. wrstandardid:
  15450. description: 现货品类ID(SEQ_WRSTANDARD)
  15451. type: integer
  15452. wrstandardname:
  15453. description: 现货品类名称
  15454. type: string
  15455. required:
  15456. - wrstandardid
  15457. type: object
  15458. models.WRTradeBargainApply:
  15459. properties:
  15460. accountid:
  15461. description: 摘牌资金账号
  15462. type: integer
  15463. applyprice:
  15464. description: 申请价格(议价价格)
  15465. type: string
  15466. applyqty:
  15467. description: 摘牌数量(议价数量)
  15468. type: number
  15469. applyremark:
  15470. description: 申请备注
  15471. type: string
  15472. applystatus:
  15473. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15474. type: integer
  15475. applytime:
  15476. description: 申请时间(议价时间)
  15477. type: string
  15478. begindate:
  15479. description: 开始交易日(yyyymmdd)
  15480. type: string
  15481. buyorsell:
  15482. description: 买卖(挂牌类型) - 0:买 1:卖
  15483. type: integer
  15484. confirmremark:
  15485. description: 确认备注
  15486. type: string
  15487. confirmtime:
  15488. description: 确认时间
  15489. type: string
  15490. confirmuserid:
  15491. description: 确认人
  15492. type: integer
  15493. deliverygoodscode:
  15494. description: 品种代码
  15495. type: string
  15496. deliverygoodsid:
  15497. description: 品种ID
  15498. type: integer
  15499. deliverygoodsname:
  15500. description: 品种名称
  15501. type: string
  15502. deliverymonth:
  15503. description: 交收月
  15504. type: string
  15505. enddate:
  15506. description: 结束交易日(yyyymmdd)
  15507. type: string
  15508. enumdicname:
  15509. description: 单位名称
  15510. type: string
  15511. fixedprice:
  15512. description: 挂牌价格
  15513. type: number
  15514. handlestatus:
  15515. description: 处理状态
  15516. type: integer
  15517. marginvalue:
  15518. description: 履约保证金比例
  15519. type: number
  15520. marketid:
  15521. description: 市场ID
  15522. type: integer
  15523. matchaccountid:
  15524. description: 挂牌方资金账号
  15525. type: integer
  15526. matchuserid:
  15527. description: 挂牌方用户id
  15528. type: integer
  15529. matchusername:
  15530. description: 挂牌方用户名称(已脱敏)
  15531. type: string
  15532. minivalue:
  15533. description: 现货商品最小变动值
  15534. type: integer
  15535. optioncompare:
  15536. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15537. type: string
  15538. orderqty:
  15539. description: 挂牌数量
  15540. type: integer
  15541. refprice:
  15542. description: 参考价格
  15543. type: string
  15544. retcode:
  15545. description: 委托返回代码
  15546. type: integer
  15547. templatename:
  15548. description: 履约方式(履约模板名称)
  15549. type: string
  15550. tradedate:
  15551. description: 交易日(yyyyMMdd)
  15552. type: string
  15553. userid:
  15554. description: 摘牌人用户ID(议价人ID)
  15555. type: integer
  15556. username:
  15557. description: 议价人名字(已脱敏)
  15558. type: string
  15559. validtime:
  15560. description: 有效期限
  15561. type: string
  15562. warehouseid:
  15563. description: 仓库ID
  15564. type: integer
  15565. warehousename:
  15566. description: 仓库名称
  15567. type: string
  15568. wrbargainid:
  15569. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15570. type: string
  15571. wrfactortypeid:
  15572. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15573. type: string
  15574. wrfactortypename:
  15575. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15576. type: string
  15577. wrstandardcode:
  15578. description: 现货商品代码
  15579. type: string
  15580. wrstandardid:
  15581. description: 现货商品ID
  15582. type: integer
  15583. wrstandardname:
  15584. description: 商品名称
  15585. type: string
  15586. wrtradeorderid:
  15587. description: 关联委托单ID
  15588. type: string
  15589. wrtypename:
  15590. description: 商品
  15591. type: string
  15592. type: object
  15593. models.Warehouseinfo:
  15594. properties:
  15595. address:
  15596. description: 详细地址
  15597. type: string
  15598. areauserid:
  15599. description: 所属机构
  15600. type: integer
  15601. autoid:
  15602. description: 自增ID
  15603. type: integer
  15604. cityid:
  15605. description: 市
  15606. type: integer
  15607. contactname:
  15608. description: 联系人
  15609. type: string
  15610. contactnum:
  15611. description: 联系电话
  15612. type: string
  15613. countryid:
  15614. description: 国家
  15615. type: integer
  15616. createtime:
  15617. description: 创建时间
  15618. type: string
  15619. districtid:
  15620. description: 区
  15621. type: integer
  15622. hasvideo:
  15623. description: 是否有视频 - 0:无 1:有
  15624. type: integer
  15625. provinceid:
  15626. description: 省
  15627. type: integer
  15628. remark:
  15629. description: 审核备注
  15630. type: string
  15631. videourl:
  15632. description: 视频地址
  15633. type: string
  15634. warehousecode:
  15635. description: 仓库代码
  15636. type: string
  15637. warehousename:
  15638. description: 仓库名称
  15639. type: string
  15640. warehousestatus:
  15641. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15642. type: integer
  15643. warehousetype:
  15644. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15645. type: integer
  15646. required:
  15647. - autoid
  15648. - warehousecode
  15649. type: object
  15650. models.WrAverageTradePrice:
  15651. properties:
  15652. averageprice:
  15653. description: 成交均价
  15654. type: number
  15655. tradedate:
  15656. description: 交易日yyyymm
  15657. type: string
  15658. type: object
  15659. models.WrBrandAndYears:
  15660. properties:
  15661. brandlst:
  15662. description: 品牌列表
  15663. items:
  15664. $ref: '#/definitions/models.DgFactoryItem'
  15665. type: array
  15666. yearslst:
  15667. description: 年份列表
  15668. items:
  15669. $ref: '#/definitions/models.DgFactoryItem'
  15670. type: array
  15671. type: object
  15672. models.WrBsGoodsInfo:
  15673. properties:
  15674. buyorsell:
  15675. description: 买卖方向 0-买 1-卖
  15676. type: integer
  15677. goodsid:
  15678. description: 交易合约ID
  15679. type: integer
  15680. lstitem:
  15681. description: 商品信息项
  15682. items:
  15683. $ref: '#/definitions/models.WrTypeItem'
  15684. type: array
  15685. lststep:
  15686. description: 履约规则
  15687. items:
  15688. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15689. type: array
  15690. type: object
  15691. models.WrBuybackDetail:
  15692. properties:
  15693. buybackamount:
  15694. description: 回购金额
  15695. type: number
  15696. buybackqty:
  15697. description: 回购数量
  15698. type: number
  15699. buybackreleasemargin:
  15700. description: 回购释放保证金
  15701. type: number
  15702. buybacktime:
  15703. description: 回购时间
  15704. type: string
  15705. errordesc:
  15706. description: 错误描述
  15707. type: string
  15708. handlestatus:
  15709. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15710. type: integer
  15711. relatedwrid:
  15712. description: 关联仓单ID
  15713. type: integer
  15714. scfcontractid:
  15715. description: SCF合同ID
  15716. type: string
  15717. scfwrbuybackid:
  15718. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15719. type: integer
  15720. tradedate:
  15721. description: 交易日(yyyyMMdd)
  15722. type: string
  15723. type: object
  15724. models.WrClientAdSpaceConfig:
  15725. properties:
  15726. adspaceid:
  15727. description: 广告位ID
  15728. type: integer
  15729. adspacename:
  15730. description: 广告位名称
  15731. type: string
  15732. adspacetype:
  15733. description: 广告位类型 - 1:固定广告位
  15734. type: integer
  15735. areauserid:
  15736. description: 所属机构ID
  15737. type: integer
  15738. createdate:
  15739. description: 创建时间
  15740. type: string
  15741. imagepath:
  15742. description: 图片
  15743. type: string
  15744. modifierid:
  15745. description: 操作人
  15746. type: integer
  15747. recsize:
  15748. description: 推荐尺寸
  15749. type: string
  15750. title:
  15751. description: 标题
  15752. type: string
  15753. updatedate:
  15754. description: 更新时间
  15755. type: string
  15756. urlcontent:
  15757. description: 链接(地址\商品ID\功能菜单Key\appid)
  15758. type: string
  15759. urltype:
  15760. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15761. type: integer
  15762. type: object
  15763. models.WrDeliveryAvalidHoldLB:
  15764. properties:
  15765. accountid:
  15766. description: 资金账号
  15767. type: integer
  15768. avalidqty:
  15769. description: 数量(可点选数量)
  15770. type: number
  15771. deliverygoodsid:
  15772. description: 品种id
  15773. type: integer
  15774. enumdicname:
  15775. description: 单位名称
  15776. type: string
  15777. goodsid:
  15778. description: x合约商品id
  15779. type: integer
  15780. ladingbillid:
  15781. description: 提单id
  15782. type: string
  15783. pgoodscode:
  15784. description: p商品代码(点价合约)
  15785. type: string
  15786. pgoodsid:
  15787. description: p商品id(点价合约)
  15788. type: integer
  15789. pgoodsname:
  15790. description: p商品名称(点价合约)
  15791. type: string
  15792. pricemove:
  15793. description: 升贴水
  15794. type: number
  15795. subnum:
  15796. description: 提单子id
  15797. type: integer
  15798. userid:
  15799. description: 用户id
  15800. type: integer
  15801. username:
  15802. description: 仓单持有人
  15803. type: string
  15804. warehousecode:
  15805. description: 仓库代码
  15806. type: string
  15807. warehouseid:
  15808. description: 仓库id
  15809. type: integer
  15810. warehousename:
  15811. description: 仓库名称
  15812. type: string
  15813. wrfactortypeid:
  15814. description: 仓单要素id
  15815. type: string
  15816. wrstandardcode:
  15817. description: 品代码
  15818. type: string
  15819. wrstandardid:
  15820. description: 品类d
  15821. type: integer
  15822. wrstandardname:
  15823. description: 品类名称
  15824. type: string
  15825. wrtypename:
  15826. description: 商品
  15827. type: string
  15828. xgoodscode:
  15829. description: x合约代码
  15830. type: string
  15831. xgoodsname:
  15832. description: x合约名称
  15833. type: string
  15834. type: object
  15835. models.WrDeliveryDetail:
  15836. properties:
  15837. accountid:
  15838. description: 账号ID
  15839. type: integer
  15840. averageprice:
  15841. description: 交割均价 = 交割金额 / 交割数量
  15842. type: number
  15843. begindate:
  15844. description: 开始交易日(yyyymmdd)
  15845. type: string
  15846. buyorsell:
  15847. description: 方向 - 0:买 1:卖
  15848. type: integer
  15849. deliveryamount:
  15850. description: 货款金额(X总货款+P总货款)
  15851. type: number
  15852. deliveryid:
  15853. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15854. type: string
  15855. deliveryorderid:
  15856. description: 申报单号
  15857. type: string
  15858. deliverypricemove:
  15859. description: 升贴水(升贴水总额)
  15860. type: number
  15861. deliveryqty:
  15862. description: 交收数量(点选数量)
  15863. type: number
  15864. deliverystatus:
  15865. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15866. type: integer
  15867. deliverytime:
  15868. description: 交割时间
  15869. type: string
  15870. deliverytotalamount:
  15871. description: 交收金额
  15872. type: number
  15873. enddate:
  15874. description: 结束交易日(yyyymmdd)
  15875. type: string
  15876. enumdicname:
  15877. description: 单位名称
  15878. type: string
  15879. matchaccountid:
  15880. description: 对手账号ID
  15881. type: integer
  15882. matchusername:
  15883. description: 对手方名称(仓单持有人)
  15884. type: string
  15885. p1goodsremainamount:
  15886. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15887. type: number
  15888. pdeliverycloseqty:
  15889. description: p合约平仓数量
  15890. type: number
  15891. pdeliveryprice:
  15892. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15893. type: number
  15894. pgoodscode:
  15895. description: 商品代码
  15896. type: string
  15897. pgoodsid:
  15898. description: p点选合约id
  15899. type: integer
  15900. pgoodsname:
  15901. description: 商品名称
  15902. type: string
  15903. ppricemode:
  15904. description: 点价价格方式 - 1:商品价 2:固定值
  15905. type: integer
  15906. tradedate:
  15907. description: 交易日(yyyymmdd)
  15908. type: string
  15909. userid:
  15910. description: 用户id
  15911. type: integer
  15912. username:
  15913. description: 用户名称
  15914. type: string
  15915. warehousename:
  15916. description: 仓库名称
  15917. type: string
  15918. wrfactortypeid:
  15919. description: 仓单要素类型ID
  15920. type: string
  15921. wrtypename:
  15922. description: 商品
  15923. type: string
  15924. xdeliverycloseqty:
  15925. description: 合约数量
  15926. type: number
  15927. xgoodsamount:
  15928. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15929. type: number
  15930. xgoodscode:
  15931. description: 商品代码
  15932. type: string
  15933. xgoodsid:
  15934. description: x交易合约ID
  15935. type: integer
  15936. xgoodsname:
  15937. description: 商品名称
  15938. type: string
  15939. type: object
  15940. models.WrDeliveryGoodsSection:
  15941. properties:
  15942. dglst:
  15943. description: 板块商品列表
  15944. items:
  15945. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15946. type: array
  15947. imagepath:
  15948. description: 图片地址
  15949. type: string
  15950. orderindex:
  15951. description: 排序
  15952. type: integer
  15953. sectionid:
  15954. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15955. = 1的版块1 - 云融指数
  15956. type: integer
  15957. sectionname:
  15958. description: 版块名称
  15959. type: string
  15960. sectiontype:
  15961. description: 版块类型 - 1:指数版块 2:普通版块
  15962. type: integer
  15963. type: object
  15964. models.WrDeliveryGoodsSectionConfig:
  15965. properties:
  15966. deliverygoodscode:
  15967. description: 现货商品代码
  15968. type: string
  15969. deliverygoodsid:
  15970. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15971. type: integer
  15972. deliverygoodsname:
  15973. description: 现货商品名称
  15974. type: string
  15975. orderindex:
  15976. description: 排序
  15977. type: integer
  15978. type: object
  15979. models.WrDraftUserInfo:
  15980. properties:
  15981. address:
  15982. description: 地址
  15983. type: string
  15984. attachment1:
  15985. description: 附件1
  15986. type: string
  15987. attachment2:
  15988. description: 附件2
  15989. type: string
  15990. attachment3:
  15991. description: 附件3
  15992. type: string
  15993. attachment4:
  15994. description: 附件4
  15995. type: string
  15996. attachment5:
  15997. description: 附件5
  15998. type: string
  15999. bankaccount:
  16000. description: 银行帐号 (加密存储)
  16001. type: string
  16002. bankaccountname:
  16003. description: 收款人名称
  16004. type: string
  16005. bankcardfrontphotourl:
  16006. description: 银行卡正面照地址
  16007. type: string
  16008. bankid:
  16009. description: 银行编码
  16010. type: string
  16011. bankname:
  16012. description: 银行名称
  16013. type: string
  16014. birthday:
  16015. description: 生日(个人:年月日)
  16016. type: string
  16017. biznature:
  16018. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16019. type: integer
  16020. bizscope:
  16021. description: 企业经营范围(企业)
  16022. type: string
  16023. biztype:
  16024. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16025. type: integer
  16026. cardbackphotourl:
  16027. description: 证件背面图片地址
  16028. type: string
  16029. cardfrontphotourl:
  16030. description: 证件正面图片地址
  16031. type: string
  16032. cardnum:
  16033. description: 证件号码(加密存储)
  16034. type: string
  16035. cardtypeid:
  16036. description: 证件类型ID
  16037. type: integer
  16038. cityid:
  16039. description: 市
  16040. type: integer
  16041. company:
  16042. description: 公司(个人)
  16043. type: string
  16044. contactcardbackphotourl:
  16045. description: 联系人证件背面图片地址
  16046. type: string
  16047. contactcardfrontphotourl:
  16048. description: 联系人证件正面图片地址
  16049. type: string
  16050. contactname:
  16051. description: 联系人
  16052. type: string
  16053. countryid:
  16054. description: 国家
  16055. type: integer
  16056. createtime:
  16057. description: 创建时间
  16058. type: string
  16059. creatorid:
  16060. description: 创建人
  16061. type: integer
  16062. creditquota:
  16063. description: 授信额度(金瑞)
  16064. type: number
  16065. customername:
  16066. description: 客户名称(企业名称)
  16067. type: string
  16068. districtid:
  16069. description: 地区
  16070. type: integer
  16071. email:
  16072. description: 邮件(加密存储)
  16073. type: string
  16074. fax:
  16075. description: 传真(加密存储)
  16076. type: string
  16077. halfbodyphotourl:
  16078. description: 半身照地址
  16079. type: string
  16080. hasencrypt:
  16081. description: 数据是否已加密 - 0:未加密 1:已加密
  16082. type: integer
  16083. headurl:
  16084. description: 头像地址
  16085. type: string
  16086. legalcardbackphotourl:
  16087. description: 法人身份证背面照地址
  16088. type: string
  16089. legalcardfrontphotourl:
  16090. description: 法人身份证正面照地址
  16091. type: string
  16092. legalpersonname:
  16093. description: 法人姓名(企业)
  16094. type: string
  16095. mobile:
  16096. description: 手机号码(加密存储)
  16097. type: string
  16098. mobile2:
  16099. description: 手机号码[明文-尚志]
  16100. type: string
  16101. modifierid:
  16102. description: 修改人
  16103. type: integer
  16104. modifiertime:
  16105. description: 修改时间
  16106. type: string
  16107. needinvoice:
  16108. description: 是否需要发票 - 0:不需要 1:需要
  16109. type: integer
  16110. nickname:
  16111. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16112. type: string
  16113. openmode:
  16114. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16115. 6:苹果手机端注册 7:PC交易端注册"
  16116. type: integer
  16117. otherurl:
  16118. description: 其它图片地址[使用分号分隔]
  16119. type: string
  16120. postalcode:
  16121. description: 邮政编码
  16122. type: string
  16123. provinceid:
  16124. description: 省
  16125. type: integer
  16126. proxystatementurl:
  16127. description: 授权委托书
  16128. type: string
  16129. qq:
  16130. description: QQ(加密存储
  16131. type: string
  16132. remark:
  16133. description: 备注
  16134. type: string
  16135. sex:
  16136. description: '用户性别 0: 女 1: 男'
  16137. type: integer
  16138. signpdfurl:
  16139. description: 签约pdf文件
  16140. type: string
  16141. taxpayernum:
  16142. description: 纳税人识别号
  16143. type: string
  16144. telphone:
  16145. description: 联系电话(加密存储)
  16146. type: string
  16147. userid:
  16148. description: 用户ID
  16149. type: integer
  16150. userinfotype:
  16151. description: 用户信息类型 - 1:个人 2:企业
  16152. type: integer
  16153. userstatus:
  16154. description: 用户状态 - 1:正常 2:注销
  16155. type: integer
  16156. usertype:
  16157. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16158. type: integer
  16159. wechat:
  16160. description: 微信(加密存储)
  16161. type: string
  16162. wskhinfo:
  16163. description: 开户申请信息(JSON)
  16164. type: string
  16165. type: object
  16166. models.WrFAProductDetail:
  16167. properties:
  16168. accountid:
  16169. description: 资金账号
  16170. type: integer
  16171. areauserid:
  16172. description: 金融机构ID
  16173. type: integer
  16174. financingdays:
  16175. description: 天数(天)
  16176. type: integer
  16177. interestminlen:
  16178. description: 最小起息天数
  16179. type: integer
  16180. interestrate:
  16181. description: 利率
  16182. type: number
  16183. interestratemode:
  16184. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16185. type: integer
  16186. interestsettlemode:
  16187. description: 结息方式 - 1:按日结息 3:按月结息
  16188. type: integer
  16189. interestsettlevalue:
  16190. description: 结息方式值
  16191. type: integer
  16192. isautoloan:
  16193. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16194. type: integer
  16195. loantag:
  16196. description: '放款标识: "放款快" 或者为空'
  16197. type: string
  16198. marginratio:
  16199. description: 保证金比率质押率 - [仓单质押]
  16200. type: number
  16201. productdetailid:
  16202. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16203. type: integer
  16204. productid:
  16205. description: 金融产品ID
  16206. type: integer
  16207. productname:
  16208. description: 产品名称
  16209. type: string
  16210. updatetime:
  16211. description: 更新时间
  16212. type: string
  16213. username:
  16214. description: 融出方
  16215. type: string
  16216. type: object
  16217. models.WrFactorTypeInfo:
  16218. properties:
  16219. deliverygoodscode:
  16220. description: 品种代码
  16221. type: string
  16222. deliverygoodsname:
  16223. description: 品种名称
  16224. type: string
  16225. dgfactoryitemid:
  16226. description: 选择项id
  16227. type: integer
  16228. dgfactoryitemtypeid:
  16229. description: 要素选择项ID (1-仓库 2-品牌)
  16230. type: integer
  16231. dgfactoryitemvalue:
  16232. description: 要素项值
  16233. type: string
  16234. itemtypename:
  16235. description: 要素项名称
  16236. type: string
  16237. optioncompare:
  16238. description: 选择比较串
  16239. type: string
  16240. warehouseid:
  16241. description: 仓库id
  16242. type: integer
  16243. wrfactortypeid:
  16244. description: 仓单要素ID
  16245. type: string
  16246. wrfactortypename:
  16247. description: 要素名称
  16248. type: string
  16249. wrfactortypename2:
  16250. description: 要素名称(不含仓库)
  16251. type: string
  16252. wrstandardcode:
  16253. description: 品类代码
  16254. type: string
  16255. wrstandardid:
  16256. description: 品类id
  16257. type: integer
  16258. wrstandardname:
  16259. description: 品类名称
  16260. type: string
  16261. type: object
  16262. models.WrFilterItem:
  16263. properties:
  16264. itemcode:
  16265. description: 代码
  16266. type: string
  16267. itemid:
  16268. description: 项id
  16269. type: integer
  16270. itemname:
  16271. description: 名称
  16272. type: string
  16273. itemtype:
  16274. description: 类型 1-品种 2-品类(商品) 3-仓库
  16275. type: integer
  16276. type: object
  16277. models.WrFinanceBuyApply:
  16278. properties:
  16279. applydate:
  16280. description: 申请时间
  16281. type: string
  16282. applystatus:
  16283. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16284. type: integer
  16285. applyuserid:
  16286. description: 申请人
  16287. type: integer
  16288. auditdate:
  16289. description: 审核时间
  16290. type: string
  16291. auditremark:
  16292. description: 审核备注
  16293. type: string
  16294. audituserid:
  16295. description: 审核人
  16296. type: integer
  16297. buyaccountid:
  16298. description: 买方资金账号
  16299. type: integer
  16300. buyorsell:
  16301. description: 买卖 - 0:买 1:卖
  16302. type: integer
  16303. buyuserid:
  16304. description: 买方用户ID
  16305. type: integer
  16306. buyusername:
  16307. description: 买方名称
  16308. type: string
  16309. buywrtradeorderid:
  16310. description: 融资方买委托单ID
  16311. type: string
  16312. deliverygoodscode:
  16313. description: 品种代码
  16314. type: string
  16315. deliverygoodsid:
  16316. description: 品种ID
  16317. type: integer
  16318. deliverygoodsname:
  16319. description: 品种名称
  16320. type: string
  16321. deliverymonth:
  16322. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16323. type: string
  16324. enumdicname:
  16325. description: 单位名称
  16326. type: string
  16327. financeaccountid:
  16328. description: 融资方资金帐户ID
  16329. type: integer
  16330. financeapplyid:
  16331. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16332. type: string
  16333. financeareauserid:
  16334. description: 融资方用户ID
  16335. type: string
  16336. financename:
  16337. description: 融出方名称
  16338. type: string
  16339. financetype:
  16340. description: 融资类型 1-融资回购
  16341. type: integer
  16342. financingdays:
  16343. description: 天数(天)
  16344. type: integer
  16345. freezebuymargin:
  16346. description: 冻结融资保证金(买方)
  16347. type: number
  16348. handleremark:
  16349. description: 处理备注
  16350. type: string
  16351. handlestatus:
  16352. description: 处理状态
  16353. type: integer
  16354. interestminlen:
  16355. description: 最小起息天数
  16356. type: integer
  16357. interestrate:
  16358. description: 利率
  16359. type: number
  16360. interestratemode:
  16361. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16362. type: integer
  16363. interestsettlemode:
  16364. description: 结息方式 - 1:按日结息 3:按月结息
  16365. type: integer
  16366. interestsettlevalue:
  16367. description: 结息方式值
  16368. type: integer
  16369. isautoloan:
  16370. description: 是否自动放款 - 0:手动 1:自动
  16371. type: integer
  16372. marginratio:
  16373. description: 保证金比率质押率 - [仓单质押]
  16374. type: number
  16375. marketid:
  16376. description: 市场ID
  16377. type: integer
  16378. minivalue:
  16379. description: 现货商品最小变动值
  16380. type: integer
  16381. optioncompare:
  16382. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16383. type: string
  16384. orderqty:
  16385. description: 委托数量(商品数量)
  16386. type: number
  16387. productdetailid:
  16388. description: 产品组合ID
  16389. type: integer
  16390. productid:
  16391. description: 金融产品ID
  16392. type: integer
  16393. productname:
  16394. description: 产品名称
  16395. type: string
  16396. remark:
  16397. description: 备注
  16398. type: string
  16399. scfcontractid:
  16400. description: 仓单回购合同ID
  16401. type: string
  16402. sellaccountid:
  16403. description: 卖方资金账号
  16404. type: integer
  16405. selluserid:
  16406. description: 卖方用户ID
  16407. type: integer
  16408. sellwrtradeorderid:
  16409. description: 卖方委托单ID
  16410. type: string
  16411. tradeamount:
  16412. description: 成交金额(借款金额)
  16413. type: number
  16414. tradedate:
  16415. description: 交易日(yyyyMMdd)
  16416. type: string
  16417. tradeprice:
  16418. description: 成交价格
  16419. type: number
  16420. warehouseid:
  16421. description: 仓库ID
  16422. type: integer
  16423. warehousename:
  16424. description: 仓库名称
  16425. type: string
  16426. wrfactortypeid:
  16427. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16428. type: string
  16429. wrfactortypename:
  16430. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16431. type: string
  16432. wrpricetype:
  16433. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16434. type: integer
  16435. wrstandardcode:
  16436. description: 现货商品代码
  16437. type: string
  16438. wrstandardid:
  16439. description: 现货商品ID
  16440. type: integer
  16441. wrstandardname:
  16442. description: 商品名称
  16443. type: string
  16444. wrtypename:
  16445. description: 商品
  16446. type: string
  16447. type: object
  16448. models.WrFriendApply:
  16449. properties:
  16450. applicantid:
  16451. description: 申请人
  16452. type: integer
  16453. applyname:
  16454. description: 申请人名称
  16455. type: string
  16456. applysrc:
  16457. description: 申请来源 - 1:管理端 2:终端
  16458. type: integer
  16459. applystatus:
  16460. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16461. type: integer
  16462. applytime:
  16463. description: 申请时间
  16464. type: string
  16465. auditname:
  16466. description: 审核人名称
  16467. type: string
  16468. auditorid:
  16469. description: 审核人
  16470. type: integer
  16471. auditremark:
  16472. description: 审核备注
  16473. type: string
  16474. auditsrc:
  16475. description: 审核来源 - 1:管理端 2:终端
  16476. type: integer
  16477. audittime:
  16478. description: 审核时间
  16479. type: string
  16480. friendapplyid:
  16481. description: 申请ID(SEQ_FRIENDAPPLY)
  16482. type: string
  16483. friendname:
  16484. description: 好友名字(已脱敏)
  16485. type: string
  16486. frienduserid:
  16487. description: 好友用户ID
  16488. type: string
  16489. remark:
  16490. description: 备注
  16491. type: string
  16492. userid:
  16493. description: 申请人用户ID
  16494. type: integer
  16495. type: object
  16496. models.WrFtDeliveryGoods:
  16497. properties:
  16498. deliverygoodscode:
  16499. description: 品种代码
  16500. type: string
  16501. deliverygoodsid:
  16502. description: 品种ID
  16503. type: integer
  16504. deliverygoodsname:
  16505. description: 品种名称
  16506. type: string
  16507. wdlst:
  16508. description: 商品列表
  16509. items:
  16510. $ref: '#/definitions/models.WrFtWrstandard'
  16511. type: array
  16512. type: object
  16513. models.WrFtWrstandard:
  16514. properties:
  16515. enumdicname:
  16516. description: 单位名称
  16517. type: string
  16518. minivalue:
  16519. description: 最小变动值
  16520. type: integer
  16521. wrstandardcode:
  16522. description: 现货商品代码
  16523. type: string
  16524. wrstandardid:
  16525. description: 现货商品ID
  16526. type: integer
  16527. wrstandardname:
  16528. description: 商品名称
  16529. type: string
  16530. type: object
  16531. models.WrGoodsInfo:
  16532. properties:
  16533. haswr:
  16534. description: 0:仓单预售 1:仓单贸易
  16535. type: integer
  16536. lstitem:
  16537. description: 商品信息项
  16538. items:
  16539. $ref: '#/definitions/models.WrTypeItem'
  16540. type: array
  16541. lststep:
  16542. description: 履约规则
  16543. items:
  16544. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16545. type: array
  16546. marketid:
  16547. description: 市场id
  16548. type: integer
  16549. type: object
  16550. models.WrGoodsPerformanceStep:
  16551. properties:
  16552. autoid:
  16553. description: AutoID
  16554. type: integer
  16555. isauto:
  16556. description: 是否自动 - 0:不自动 1:自动
  16557. type: integer
  16558. remark:
  16559. description: 备注
  16560. type: string
  16561. stepdate:
  16562. description: 天数信息(T+N)
  16563. type: string
  16564. stepdays:
  16565. description: 距离上一步天数
  16566. type: integer
  16567. stepindex:
  16568. description: 步骤序号
  16569. type: integer
  16570. stepinfo:
  16571. description: 步骤信息(步骤名称+步骤值)
  16572. type: string
  16573. steptypeid:
  16574. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16575. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16576. type: integer
  16577. steptypename:
  16578. description: 步骤名称
  16579. type: string
  16580. stepvalue:
  16581. description: 步骤值
  16582. type: number
  16583. templateid:
  16584. description: 履约计划模板ID
  16585. type: integer
  16586. type: object
  16587. models.WrHoldLB:
  16588. properties:
  16589. accountid:
  16590. description: 持有人帐户ID
  16591. type: integer
  16592. bannerpicurl:
  16593. description: Banner图
  16594. type: string
  16595. createtime:
  16596. description: 创建时间(过户时间)
  16597. type: string
  16598. deliverygoodscode:
  16599. description: 品种代码
  16600. type: string
  16601. deliverygoodsid:
  16602. description: 品种ID
  16603. type: integer
  16604. deliverygoodsname:
  16605. description: 品种名称
  16606. type: string
  16607. enableqty:
  16608. description: 可用数量
  16609. type: number
  16610. enumdicname:
  16611. description: 单位名称
  16612. type: string
  16613. freezerqty:
  16614. description: 冻结数量
  16615. type: number
  16616. ladingbillid:
  16617. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16618. type: string
  16619. minivalue:
  16620. description: 现货商品最小变动值
  16621. type: integer
  16622. optioncompare:
  16623. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16624. type: string
  16625. parentsubnum:
  16626. description: 拆分父子单号
  16627. type: integer
  16628. pledgeqty:
  16629. description: 质押数量
  16630. type: number
  16631. qty:
  16632. description: 数量
  16633. type: number
  16634. subnum:
  16635. description: 提单子单号
  16636. type: integer
  16637. thumurls:
  16638. description: 缩略图
  16639. type: string
  16640. tradedate:
  16641. description: 交易日(yyyyMMdd)
  16642. type: string
  16643. userid:
  16644. description: 持有人ID
  16645. type: integer
  16646. warehouseid:
  16647. description: 仓库ID
  16648. type: integer
  16649. warehousename:
  16650. description: 仓库名称
  16651. type: string
  16652. wrfactortypeid:
  16653. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16654. type: string
  16655. wrfactortypename:
  16656. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16657. type: string
  16658. wrholdeno:
  16659. description: 仓单编号
  16660. type: string
  16661. wrid:
  16662. description: 仓单变更ID
  16663. type: string
  16664. wrstandardcode:
  16665. description: 现货商品代码
  16666. type: string
  16667. wrstandardid:
  16668. description: 现货商品ID
  16669. type: integer
  16670. wrstandardname:
  16671. description: 商品名称
  16672. type: string
  16673. wrtypename:
  16674. description: 商品
  16675. type: string
  16676. type: object
  16677. models.WrMarketTradeConfig:
  16678. properties:
  16679. basisdownratio:
  16680. description: 浮动价基差下限比例(仓单贸易)
  16681. type: number
  16682. basisupratio:
  16683. description: 浮动价基差上限比例(仓单贸易)
  16684. type: number
  16685. buychargealgorithm:
  16686. description: 买方手续费收取方式 1:比率 2:固定
  16687. type: integer
  16688. buychargealgorithm2:
  16689. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16690. type: integer
  16691. buychargealgorithmvalue:
  16692. description: 买方手续费设置值(交易所部分)
  16693. type: number
  16694. buychargealgorithmvalue2:
  16695. description: 买方手续费设置值(会员部分)
  16696. type: number
  16697. buychargealgorithmvalue3:
  16698. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16699. type: number
  16700. buychargealgorithmvalue4:
  16701. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16702. type: number
  16703. buyfirstmarginalgorithm:
  16704. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16705. type: integer
  16706. buyfirstmarginvalue:
  16707. description: 买方出价保证金设置值 - [竞拍]
  16708. type: number
  16709. buymarginalgorithm:
  16710. description: 买方保证金方式 - 1:比率 2:固定
  16711. type: integer
  16712. buymarginvalue:
  16713. description: 买方保证金设置值
  16714. type: number
  16715. buyreleaseratio:
  16716. description: 买方释放比率[2:分步履约]
  16717. type: number
  16718. executemode:
  16719. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16720. type: integer
  16721. executeside:
  16722. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16723. type: integer
  16724. failedchargealgorithm:
  16725. description: 流拍手续费收取方式 1:比率 2:固定
  16726. type: integer
  16727. failedchargevalue:
  16728. description: 流拍手续费设置值
  16729. type: number
  16730. failedchargevalue2:
  16731. description: 流拍卖方手续费设置值
  16732. type: number
  16733. holddays:
  16734. description: 合同期限[2:分步履约]
  16735. type: integer
  16736. listingmode:
  16737. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16738. type: integer
  16739. marketid:
  16740. description: 市场ID-仓单贸易、竞拍、预售
  16741. type: integer
  16742. minqty:
  16743. description: 最小执行量[2:分步履约]
  16744. type: number
  16745. modifierid:
  16746. description: 修改人
  16747. type: integer
  16748. nowrquotaflag:
  16749. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16750. type: integer
  16751. performancetempid:
  16752. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16753. 立即执行(-1)
  16754. type: integer
  16755. performancetempid2:
  16756. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16757. 立即执行
  16758. type: integer
  16759. performancetempid2s:
  16760. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16761. - 履约方式: 立即执行
  16762. type: string
  16763. performancetempids:
  16764. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16765. - 履约方式: 立即执行(-1)
  16766. type: string
  16767. performanceway:
  16768. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16769. type: integer
  16770. sellchargealgorithm:
  16771. description: 卖方手续费收取方式 1:比率 2:固定
  16772. type: integer
  16773. sellchargealgorithm2:
  16774. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16775. type: integer
  16776. sellchargealgorithmvalue:
  16777. description: 卖方手续费设置值(交易所部分)
  16778. type: number
  16779. sellchargealgorithmvalue2:
  16780. description: 卖方手续费设置值(会员部分)
  16781. type: number
  16782. sellchargealgorithmvalue3:
  16783. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16784. type: number
  16785. sellchargealgorithmvalue4:
  16786. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16787. type: number
  16788. sellmarginalgorithm:
  16789. description: 卖方保证金方式 - 1:比率 2:固定
  16790. type: integer
  16791. sellmarginvalue:
  16792. description: 卖方保证金设置值
  16793. type: number
  16794. sellmarginvalue2:
  16795. description: 卖方保证金设置值(无仓单)
  16796. type: number
  16797. sellreleaseratio:
  16798. description: 卖方释放比率[2:分步履约]
  16799. type: number
  16800. updatetime:
  16801. description: 更新时间
  16802. type: string
  16803. type: object
  16804. models.WrOrderDetail:
  16805. properties:
  16806. accountid:
  16807. description: 交易账号(资金账号)
  16808. type: integer
  16809. allfriendsflag:
  16810. description: 是否全好友可见 - 0:否 1:是
  16811. type: integer
  16812. amount:
  16813. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16814. type: number
  16815. bannerpicurl:
  16816. description: Banner图
  16817. type: string
  16818. begindate:
  16819. description: 开始交易日(yyyymmdd)
  16820. type: string
  16821. buyorsell:
  16822. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16823. type: integer
  16824. canbargain:
  16825. description: 是否可议价 - 0:不可 1:可
  16826. type: integer
  16827. cancelqty:
  16828. description: 撤销数量
  16829. type: number
  16830. canpart:
  16831. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16832. type: integer
  16833. delistminqty:
  16834. description: 起摘数量
  16835. type: integer
  16836. deliverygoodscode:
  16837. description: 品种代码
  16838. type: string
  16839. deliverygoodsid:
  16840. description: 品种ID
  16841. type: integer
  16842. deliverygoodsname:
  16843. description: 品种名称
  16844. type: string
  16845. deliverymonth:
  16846. description: 交收月
  16847. type: string
  16848. enddate:
  16849. description: 结束交易日(yyyymmdd)
  16850. type: string
  16851. enumdicname:
  16852. description: 单位名称
  16853. type: string
  16854. fixedprice:
  16855. description: 固定价格 - [挂牌]
  16856. type: number
  16857. freezecharge:
  16858. description: 冻结手续费
  16859. type: number
  16860. freezemargin:
  16861. description: 冻结保证金(保证金)
  16862. type: number
  16863. futupricemove:
  16864. description: 期货升贴水
  16865. type: number
  16866. futushow:
  16867. description: 期货合约/升贴水
  16868. type: string
  16869. goodscode:
  16870. description: 期货合约
  16871. type: string
  16872. goodsid:
  16873. description: 期货商品id
  16874. type: integer
  16875. goodsname:
  16876. description: 商品名称
  16877. type: string
  16878. haswr:
  16879. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16880. type: integer
  16881. isspecified:
  16882. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16883. type: integer
  16884. ladingbillid:
  16885. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16886. type: string
  16887. marginvalue:
  16888. description: 保证金设置值(履约保证金)
  16889. type: number
  16890. marketid:
  16891. description: 市场ID
  16892. type: integer
  16893. matchusername:
  16894. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16895. type: string
  16896. minivalue:
  16897. description: 现货商品最小变动值
  16898. type: integer
  16899. optioncompare:
  16900. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16901. type: string
  16902. orderqty:
  16903. description: 委托数量
  16904. type: number
  16905. ordertime:
  16906. description: 委托时间(挂牌时间)
  16907. type: string
  16908. performancetemplateid:
  16909. description: 履约模板id
  16910. type: integer
  16911. pricemove:
  16912. description: 升贴水(浮动价时填写) - [挂牌]
  16913. type: number
  16914. taname:
  16915. description: 交易用户名称(资金账号名称)
  16916. type: string
  16917. thumurls:
  16918. description: 缩略图
  16919. type: string
  16920. tradedate:
  16921. description: 交易日(yyyyMMdd)
  16922. type: string
  16923. tradeprice:
  16924. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16925. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16926. type: number
  16927. tradeqty:
  16928. description: 成交数量
  16929. type: number
  16930. userid:
  16931. description: 用户ID
  16932. type: integer
  16933. validtime:
  16934. description: 挂牌有效期
  16935. type: string
  16936. validtype:
  16937. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16938. type: integer
  16939. warehouseid:
  16940. description: 仓库ID
  16941. type: integer
  16942. warehousename:
  16943. description: 仓库名称
  16944. type: string
  16945. wrfactortypeid:
  16946. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16947. type: string
  16948. wrfactortypename:
  16949. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16950. type: string
  16951. wrpricetype:
  16952. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16953. type: integer
  16954. wrstandardcode:
  16955. description: 现货商品代码
  16956. type: string
  16957. wrstandardid:
  16958. description: 现货商品ID
  16959. type: integer
  16960. wrstandardname:
  16961. description: 商品名称
  16962. type: string
  16963. wrtradeorderid:
  16964. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16965. type: string
  16966. wrtradeorderstatus:
  16967. 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:撤单解冻贷款失败
  16968. type: integer
  16969. wrtradetype:
  16970. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16971. type: integer
  16972. wrtypename:
  16973. description: 商品
  16974. type: string
  16975. type: object
  16976. models.WrOrderQuote:
  16977. properties:
  16978. bannerpicurl:
  16979. description: Banner图
  16980. type: string
  16981. buyprice:
  16982. description: 买价
  16983. type: number
  16984. buypricemove:
  16985. description: 买升贴水(基差)
  16986. type: number
  16987. buyqty:
  16988. description: 买量
  16989. type: number
  16990. deliverygoodscode:
  16991. description: 品种代码
  16992. type: string
  16993. deliverygoodsid:
  16994. description: 品种id
  16995. type: integer
  16996. deliverygoodsname:
  16997. description: 品种名称
  16998. type: string
  16999. deliverymonth:
  17000. description: 交收月
  17001. type: string
  17002. enumdicname:
  17003. description: 单位名称
  17004. type: string
  17005. goodscode:
  17006. description: 商品合约(浮动价列表才有)
  17007. type: string
  17008. goodsid:
  17009. description: 商品id(浮动价列表才有)
  17010. type: integer
  17011. minivalue:
  17012. description: 现货商品最小变动值
  17013. type: integer
  17014. pictureurls:
  17015. description: 详情图片(逗号分隔)
  17016. type: string
  17017. sellprice:
  17018. description: 卖价
  17019. type: number
  17020. sellpricemove:
  17021. description: 卖升贴水(基差)
  17022. type: number
  17023. sellqty:
  17024. description: 卖量
  17025. type: number
  17026. thumurls:
  17027. description: 缩略图片(1:1)(逗号分隔)
  17028. type: string
  17029. warehousecode:
  17030. description: 仓库代码
  17031. type: string
  17032. warehouseid:
  17033. description: 仓库id
  17034. type: integer
  17035. warehousename:
  17036. description: 仓库名称
  17037. type: string
  17038. wrfactortypeid:
  17039. description: 仓单要素id
  17040. type: string
  17041. wrfactortypename:
  17042. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17043. type: string
  17044. wrgoodsname:
  17045. description: 商品(商品名称+仓库要素名称 拼接)
  17046. type: string
  17047. wrstandardcode:
  17048. description: 商品代码
  17049. type: string
  17050. wrstandardid:
  17051. description: 商品id
  17052. type: integer
  17053. wrstandardname:
  17054. description: 商品名称
  17055. type: string
  17056. type: object
  17057. models.WrOrderQuoteDetail:
  17058. properties:
  17059. buyorsell:
  17060. description: 买卖 - 0:买 1:卖
  17061. type: integer
  17062. delistminqty:
  17063. description: 起摘数量
  17064. type: number
  17065. deliverymonth:
  17066. description: 交收月
  17067. type: string
  17068. enumdicname:
  17069. description: 单位名称
  17070. type: string
  17071. fixedprice:
  17072. description: 买(卖)价
  17073. type: number
  17074. marketid:
  17075. description: 市场id
  17076. type: integer
  17077. minivalue:
  17078. description: 现货商品最小变动值
  17079. type: integer
  17080. orderqty:
  17081. description: 买(卖)量(=委托量-成交量)
  17082. type: number
  17083. ordertime:
  17084. description: 委托时间
  17085. type: string
  17086. pricemove:
  17087. description: 买(卖)升贴水- 基差
  17088. type: number
  17089. userid:
  17090. description: 购买方(销售方)用户ID
  17091. type: integer
  17092. username:
  17093. description: 购买方(销售方)
  17094. type: string
  17095. wrtradeorderid:
  17096. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17097. type: string
  17098. type: object
  17099. models.WrOutInApply:
  17100. properties:
  17101. applyid:
  17102. description: 申请单id
  17103. type: string
  17104. applystatus:
  17105. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17106. 8:已撤销
  17107. type: integer
  17108. applytime:
  17109. description: 申请时间
  17110. type: string
  17111. applytype:
  17112. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17113. type: integer
  17114. bannerpicurl:
  17115. description: Banner图
  17116. type: string
  17117. begindate:
  17118. description: 开始交易日(yyyymmdd)
  17119. type: string
  17120. deliverygoodscode:
  17121. description: 品种代码
  17122. type: string
  17123. deliverygoodsid:
  17124. description: 品种ID
  17125. type: integer
  17126. deliverygoodsname:
  17127. description: 品种名称
  17128. type: string
  17129. enddate:
  17130. description: 结束交易日(yyyymmdd)
  17131. type: string
  17132. enumdicname:
  17133. description: 单位名称
  17134. type: string
  17135. expresscompany:
  17136. description: 物流公司
  17137. type: string
  17138. expressnum:
  17139. description: 物流单号
  17140. type: string
  17141. minivalue:
  17142. description: 现货商品最小变动值
  17143. type: integer
  17144. optioncompare:
  17145. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17146. type: string
  17147. qty:
  17148. description: 数量
  17149. type: integer
  17150. userid:
  17151. description: 用户id
  17152. type: integer
  17153. warehouseid:
  17154. description: 仓库ID
  17155. type: integer
  17156. warehousename:
  17157. description: 仓库名称
  17158. type: string
  17159. wrfactortypeid:
  17160. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17161. type: string
  17162. wrfactortypename:
  17163. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17164. type: string
  17165. wrstandardcode:
  17166. description: 现货商品代码
  17167. type: string
  17168. wrstandardid:
  17169. description: 现货商品ID
  17170. type: integer
  17171. wrstandardname:
  17172. description: 商品名称
  17173. type: string
  17174. wrtypename:
  17175. description: 商品
  17176. type: string
  17177. type: object
  17178. models.WrPerformancePlan:
  17179. properties:
  17180. activatemonth:
  17181. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17182. type: string
  17183. amount:
  17184. description: 履约金额(总金额)
  17185. type: number
  17186. begindate:
  17187. description: 开始交易日(yyyymmdd)
  17188. type: string
  17189. buyaccountid:
  17190. description: 买方账号
  17191. type: integer
  17192. buyerfreezeamount:
  17193. description: 履约冻结(买履约)
  17194. type: number
  17195. buyerfreezeamountremain:
  17196. description: 履约冻结剩余(买履约)
  17197. type: number
  17198. buyorsell:
  17199. description: 买卖方向 0-买 1-卖
  17200. type: integer
  17201. buypaidamount:
  17202. description: 买方已冻/已扣金额 (已付金额)
  17203. type: number
  17204. buyusername:
  17205. description: 买方名字
  17206. type: string
  17207. contractid:
  17208. description: 合同ID
  17209. type: integer
  17210. createtime:
  17211. description: 创建时间
  17212. type: string
  17213. creatorid:
  17214. description: 创建人
  17215. type: integer
  17216. curstepdeadline:
  17217. description: 当前步骤到期时间
  17218. type: string
  17219. curstepid:
  17220. description: 当前步骤ID
  17221. type: string
  17222. curstepname:
  17223. description: 当前步骤名称
  17224. type: string
  17225. deliverygoodscode:
  17226. description: 品种代码
  17227. type: string
  17228. deliverygoodsid:
  17229. description: 品种ID
  17230. type: integer
  17231. deliverygoodsname:
  17232. description: 品种名称
  17233. type: string
  17234. enddate:
  17235. description: 结束交易日(yyyymmdd)
  17236. type: string
  17237. enumdicname:
  17238. description: 单位名称
  17239. type: string
  17240. expressfee:
  17241. description: 运费
  17242. type: number
  17243. expressfeeconfirmed:
  17244. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17245. type: integer
  17246. hasovershort:
  17247. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17248. type: integer
  17249. haswr:
  17250. description: 类型 0-仓单预售 1-仓单贸易
  17251. type: integer
  17252. marketid:
  17253. description: 市场ID
  17254. type: integer
  17255. middleaccountid:
  17256. description: 中间商资金账号ID
  17257. type: integer
  17258. middleuserid:
  17259. description: 中间商用户ID
  17260. type: integer
  17261. minivalue:
  17262. description: 现货商品最小变动值
  17263. type: integer
  17264. optioncompare:
  17265. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17266. type: string
  17267. overshortamount:
  17268. description: 溢短金额
  17269. type: number
  17270. overshortqty:
  17271. description: 溢短数量
  17272. type: number
  17273. paymenttype:
  17274. description: 付款方式 - 1:冻结 2:扣款
  17275. type: integer
  17276. performanceplanid:
  17277. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17278. type: string
  17279. performancestatus:
  17280. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17281. 9:超时待处理 10:超时关闭
  17282. type: integer
  17283. performancetype:
  17284. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17285. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17286. type: integer
  17287. qty:
  17288. description: 履约数量
  17289. type: number
  17290. relatedorderid:
  17291. description: 关联单号(履约类型的关联单号)
  17292. type: string
  17293. remark:
  17294. description: 备注
  17295. type: string
  17296. sellaccountid:
  17297. description: 卖方账号
  17298. type: integer
  17299. sellerfreezeamount:
  17300. description: 履约冻结(卖履约)
  17301. type: number
  17302. sellerfreezeamountremain:
  17303. description: 履约冻结剩余(卖履约)
  17304. type: number
  17305. sellreceivedamount:
  17306. description: 卖方已收金额
  17307. type: number
  17308. sellusername:
  17309. description: 卖方名字
  17310. type: string
  17311. shipremark:
  17312. description: 发货备注[物流单号]
  17313. type: string
  17314. starttime:
  17315. description: 开始时间
  17316. type: string
  17317. steptypeid:
  17318. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17319. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17320. type: integer
  17321. typename:
  17322. description: 履约类型 名称
  17323. type: string
  17324. unpaidamount:
  17325. description: 剩余款(待支付金额)
  17326. type: number
  17327. userid:
  17328. description: 用户id
  17329. type: integer
  17330. warehouseid:
  17331. description: 仓库ID
  17332. type: integer
  17333. warehousename:
  17334. description: 仓库名称
  17335. type: string
  17336. wrfactortypeid:
  17337. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17338. type: string
  17339. wrfactortypename:
  17340. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17341. type: string
  17342. wrstandardcode:
  17343. description: 现货商品代码
  17344. type: string
  17345. wrstandardid:
  17346. description: 现货商品ID
  17347. type: integer
  17348. wrstandardname:
  17349. description: 商品名称
  17350. type: string
  17351. wrtransferuserid:
  17352. description: 仓单受让用户
  17353. type: integer
  17354. wrtypename:
  17355. description: 商品
  17356. type: string
  17357. required:
  17358. - userid
  17359. type: object
  17360. models.WrPerformancePlanStep:
  17361. properties:
  17362. delaydays:
  17363. description: 延期申请天数
  17364. type: integer
  17365. deliverygoodscode:
  17366. description: 品种代码
  17367. type: string
  17368. deliverygoodsid:
  17369. description: 品种ID
  17370. type: integer
  17371. deliverygoodsname:
  17372. description: 品种名称
  17373. type: string
  17374. endtime:
  17375. description: 结束日期
  17376. type: string
  17377. enumdicname:
  17378. description: 单位名称
  17379. type: string
  17380. executeside:
  17381. description: 步骤执行方 - 1:买方 2:卖方
  17382. type: integer
  17383. handlestatus:
  17384. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17385. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17386. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17387. type: integer
  17388. isauto:
  17389. description: 是否自动 - 0:不自动 1:自动
  17390. type: integer
  17391. islastreceivestep:
  17392. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17393. type: integer
  17394. minivalue:
  17395. description: 现货商品最小变动值
  17396. type: integer
  17397. optioncompare:
  17398. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17399. type: string
  17400. overdays:
  17401. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17402. type: integer
  17403. performancestepid:
  17404. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17405. type: string
  17406. planid:
  17407. description: 所属履约计划ID
  17408. type: string
  17409. realamount:
  17410. description: 实际完成金额
  17411. type: number
  17412. relatedorderid:
  17413. description: 关联单号
  17414. type: string
  17415. remaindays:
  17416. description: 剩余天数
  17417. type: integer
  17418. remark:
  17419. description: 错误备注
  17420. type: string
  17421. starttime:
  17422. description: 开始日期
  17423. type: string
  17424. stepamount:
  17425. description: 步骤金额
  17426. type: number
  17427. stepdays:
  17428. description: 距离上一步天数(分钟)
  17429. type: integer
  17430. stepindex:
  17431. description: 步骤序号
  17432. type: integer
  17433. steplanchtype:
  17434. description: 步骤启动类型 - 1:系统自动 2:手动
  17435. type: integer
  17436. stepremark:
  17437. description: 步骤备注
  17438. type: string
  17439. stepstatus:
  17440. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17441. type: integer
  17442. steptypeid:
  17443. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17444. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17445. type: integer
  17446. steptypename:
  17447. description: 步骤名称
  17448. type: string
  17449. stepvalue:
  17450. description: 步骤值
  17451. type: number
  17452. warehouseid:
  17453. description: 仓库ID
  17454. type: integer
  17455. warehousename:
  17456. description: 仓库名称
  17457. type: string
  17458. wrfactortypeid:
  17459. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17460. type: string
  17461. wrfactortypename:
  17462. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17463. type: string
  17464. wrstandardcode:
  17465. description: 现货商品代码
  17466. type: string
  17467. wrstandardid:
  17468. description: 现货商品ID
  17469. type: integer
  17470. wrstandardname:
  17471. description: 商品名称
  17472. type: string
  17473. wrtypename:
  17474. description: 商品
  17475. type: string
  17476. type: object
  17477. models.WrPerformanceStepType:
  17478. properties:
  17479. canauto:
  17480. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17481. type: integer
  17482. steptypeid:
  17483. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17484. type: integer
  17485. steptypename:
  17486. description: 步骤类型名称
  17487. type: string
  17488. type: object
  17489. models.WrPerformanceTemplateEx:
  17490. properties:
  17491. autoid:
  17492. description: AutoID 模板id
  17493. type: integer
  17494. createtime:
  17495. description: 创建时间
  17496. type: string
  17497. creatorid:
  17498. description: 创建人
  17499. type: integer
  17500. lstStep:
  17501. description: 步骤信息列表
  17502. items:
  17503. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17504. type: array
  17505. paymenttype:
  17506. description: 支付方式 - 1:冻结 2:扣款
  17507. type: integer
  17508. takemode:
  17509. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17510. type: integer
  17511. templatename:
  17512. description: 模板名称
  17513. type: string
  17514. templatetype:
  17515. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17516. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17517. type: integer
  17518. userid:
  17519. description: 所属用户
  17520. type: integer
  17521. type: object
  17522. models.WrPosition:
  17523. properties:
  17524. accountid:
  17525. description: 帐户ID
  17526. type: integer
  17527. buyexcuteqty:
  17528. description: 采购履约中数量
  17529. type: number
  17530. creditcurqty:
  17531. description: 授信当前数量(预售仓单:预售当前量)
  17532. type: number
  17533. creditenableqty:
  17534. description: '授信可用数量(预售仓单: 可用数量)'
  17535. type: number
  17536. creditfreezeqty:
  17537. description: '授信冻结数量(预售仓单: 当前数量)'
  17538. type: number
  17539. credittotalqty:
  17540. description: 授信总数量(预售仓单:预售总量)
  17541. type: number
  17542. credittradeqty:
  17543. description: 授信成交数量(预售仓单:成交总量)
  17544. type: number
  17545. deliverygoodscode:
  17546. description: 品种代码
  17547. type: string
  17548. deliverygoodsid:
  17549. description: 品种ID
  17550. type: integer
  17551. deliverygoodsname:
  17552. description: 品种名称
  17553. type: string
  17554. enalbeqty:
  17555. description: 可用数量
  17556. type: number
  17557. enumdicname:
  17558. description: 单位名称
  17559. type: string
  17560. freezeqty:
  17561. description: 总冻结数量
  17562. type: number
  17563. haswr:
  17564. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17565. type: integer
  17566. minivalue:
  17567. description: 现货商品最小变动值
  17568. type: integer
  17569. modifytime:
  17570. description: 修改时间(过户时间)
  17571. type: string
  17572. optioncompare:
  17573. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17574. type: string
  17575. pledgeqty:
  17576. description: 质押数量
  17577. type: number
  17578. querytype:
  17579. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17580. type: integer
  17581. sellexcuteqty:
  17582. description: 销售履约中数量
  17583. type: number
  17584. totalqty:
  17585. description: 总数量(库存数量)
  17586. type: number
  17587. warehouseid:
  17588. description: 仓库ID
  17589. type: integer
  17590. warehousename:
  17591. description: 仓库名称
  17592. type: string
  17593. wrfactortypeid:
  17594. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17595. type: string
  17596. wrfactortypename:
  17597. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17598. type: string
  17599. wrpositionid:
  17600. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17601. type: string
  17602. wrpositionno:
  17603. description: 仓单编号
  17604. type: string
  17605. wrstandardcode:
  17606. description: 现货商品代码
  17607. type: string
  17608. wrstandardid:
  17609. description: 现货商品ID
  17610. type: integer
  17611. wrstandardname:
  17612. description: 商品名称
  17613. type: string
  17614. wrtypename:
  17615. description: 商品
  17616. type: string
  17617. wruserid:
  17618. description: 持有人ID
  17619. type: integer
  17620. type: object
  17621. models.WrPreSaleInfo:
  17622. properties:
  17623. bannerpicurl:
  17624. description: Banner图
  17625. type: string
  17626. baseqty:
  17627. description: 中签基数
  17628. type: number
  17629. createtime:
  17630. description: 创建时间
  17631. type: string
  17632. deliverygoodsid:
  17633. description: 现货品种ID
  17634. type: integer
  17635. enddate:
  17636. description: 预售结束日期
  17637. type: string
  17638. enumdicname:
  17639. description: 单位名称
  17640. type: string
  17641. lotteryflag:
  17642. description: 摇号标识 - 0:未摇号 1:已摇号
  17643. type: integer
  17644. lotteryqty:
  17645. description: 摇号总量
  17646. type: number
  17647. luckyqty:
  17648. description: 已中签量
  17649. type: number
  17650. marketid:
  17651. description: 市场ID
  17652. type: integer
  17653. maxbuyqty:
  17654. description: 单人最大申购量
  17655. type: number
  17656. maxluckyqty:
  17657. description: 单人最大中签量
  17658. type: number
  17659. pictureurls:
  17660. description: 详情图片(逗号分隔)
  17661. type: string
  17662. placeqty:
  17663. description: 已配售量
  17664. type: number
  17665. presaleapplyid:
  17666. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17667. example: "0"
  17668. type: string
  17669. presaleqty:
  17670. description: 预售总量
  17671. type: number
  17672. presalestatus:
  17673. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17674. type: integer
  17675. sellaccountid:
  17676. description: 发行方资金账户ID
  17677. type: integer
  17678. selluserid:
  17679. description: 发行方用户ID
  17680. type: integer
  17681. sellwrtradeorderid:
  17682. description: 发行方卖委托单ID
  17683. type: string
  17684. startdate:
  17685. description: 预售开始日期
  17686. type: string
  17687. takestartdate:
  17688. description: 提货开始日期
  17689. type: string
  17690. thumurls:
  17691. description: 缩略图片(1:1)(逗号分隔)
  17692. type: string
  17693. tradedate:
  17694. description: 交易日
  17695. type: string
  17696. unitid:
  17697. description: 单位ID
  17698. type: integer
  17699. unitprice:
  17700. description: 商品单价
  17701. type: number
  17702. username:
  17703. description: 发行方用户名称
  17704. type: string
  17705. warehousecode:
  17706. description: 仓库代码(仓库简称)
  17707. type: string
  17708. warehouseid:
  17709. description: 仓库ID
  17710. type: integer
  17711. warehousename:
  17712. description: 仓库名称
  17713. type: string
  17714. wrfactortypeid:
  17715. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17716. example: "0"
  17717. type: string
  17718. wrstandardid:
  17719. description: 现货商品ID
  17720. type: integer
  17721. wrstandardname:
  17722. description: 现货商品名称
  17723. type: string
  17724. type: object
  17725. models.WrQuoteOrderMyq:
  17726. properties:
  17727. buyorsell:
  17728. description: 买卖 - 0:买 1:卖
  17729. type: integer
  17730. canbargain:
  17731. description: 是否可议价 - 0:不可 1:可
  17732. type: integer
  17733. canpart:
  17734. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17735. type: integer
  17736. delistminqty:
  17737. description: 起摘数量
  17738. type: number
  17739. deliverygoodscode:
  17740. description: 品种代码
  17741. type: string
  17742. deliverygoodsid:
  17743. description: 品种ID
  17744. type: integer
  17745. deliverygoodsname:
  17746. description: 品种名称
  17747. type: string
  17748. deliverymonth:
  17749. description: 交收月
  17750. type: string
  17751. enumdicname:
  17752. description: 单位名称
  17753. type: string
  17754. fixedprice:
  17755. description: 买(卖)价
  17756. type: number
  17757. goodscode:
  17758. description: 商品合约代码
  17759. type: string
  17760. marginflag:
  17761. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17762. type: integer
  17763. marginvalue:
  17764. description: 保证金设置值
  17765. type: number
  17766. minivalue:
  17767. description: 现货商品最小变动值
  17768. type: integer
  17769. orderqty:
  17770. description: 买(卖)量(=委托量-成交量)
  17771. type: number
  17772. ordertime:
  17773. description: 委托时间
  17774. type: string
  17775. performancetemplateid:
  17776. description: 履约模板id
  17777. type: integer
  17778. pricemove:
  17779. description: 买(卖)升贴水- 基差
  17780. type: number
  17781. templatename:
  17782. description: 履约模板名称
  17783. type: string
  17784. userid:
  17785. description: 购买方(销售方)用户ID
  17786. type: integer
  17787. username:
  17788. description: 购买方(销售方)
  17789. type: string
  17790. validtime:
  17791. description: 有效期限
  17792. type: string
  17793. validtype:
  17794. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17795. type: integer
  17796. warehousename:
  17797. description: 仓库名称
  17798. type: string
  17799. wrfactortypeid:
  17800. description: 仓单要素id
  17801. type: string
  17802. wrstandardcode:
  17803. description: 现货商品代码
  17804. type: string
  17805. wrstandardid:
  17806. description: 现货商品ID
  17807. type: integer
  17808. wrstandardname:
  17809. description: 商品名称
  17810. type: string
  17811. wrtradeorderid:
  17812. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17813. type: string
  17814. wrtypename:
  17815. description: 商品
  17816. type: string
  17817. type: object
  17818. models.WrReckonSpotGoodsTradeSum:
  17819. properties:
  17820. begindate:
  17821. description: 开始日期(结果含开始日期) yyyymmdd
  17822. type: string
  17823. enddate:
  17824. description: 结束日期(结果含结束日期) yyyymmdd
  17825. type: string
  17826. istoday:
  17827. description: 是否当日
  17828. type: boolean
  17829. marketid:
  17830. description: 市场ID
  17831. type: integer
  17832. price:
  17833. description: 价格 = 日成交金额 / 日成交数量
  17834. type: string
  17835. reckondate:
  17836. description: 日期 格式 yyyymmdd
  17837. type: string
  17838. tradeamount:
  17839. description: 日成交金额(当日单方向成交金额)
  17840. type: number
  17841. tradeqty:
  17842. description: 日成交数量(当日单方向成交数量)
  17843. type: number
  17844. wrstandardid:
  17845. description: 现货商品ID
  17846. type: integer
  17847. type: object
  17848. models.WrScfContract:
  17849. properties:
  17850. borroweruserid:
  17851. description: 借款用户ID
  17852. type: integer
  17853. buybackwrpositionqty:
  17854. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17855. type: number
  17856. closeinterest:
  17857. description: 已结利息 -> 已结费用
  17858. type: number
  17859. currisklevel:
  17860. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17861. type: integer
  17862. deadline:
  17863. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17864. type: string
  17865. deliverygoodscode:
  17866. description: 品种代码
  17867. type: string
  17868. deliverygoodsid:
  17869. description: 品种ID
  17870. type: integer
  17871. deliverygoodsname:
  17872. description: 品种名称
  17873. type: string
  17874. enumdicname:
  17875. description: 单位名称
  17876. type: string
  17877. financingdays:
  17878. description: 天数(天)
  17879. type: integer
  17880. initmargin:
  17881. description: 保证金 - [仓单回购]
  17882. type: number
  17883. interestamount:
  17884. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17885. type: number
  17886. interestdebt:
  17887. description: 利息欠款(记录负数) -> 费用欠款
  17888. type: number
  17889. interestminlen:
  17890. description: 最小起息天数
  17891. type: integer
  17892. interestrate:
  17893. description: 利率
  17894. type: number
  17895. interestratemode:
  17896. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17897. type: integer
  17898. interestsettlemode:
  17899. description: 结息方式 - 1:按日结息 3:按月结息
  17900. type: integer
  17901. interestsettlevalue:
  17902. description: 结息方式值
  17903. type: integer
  17904. isautoloan:
  17905. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17906. type: integer
  17907. lastcloseinterestday:
  17908. description: 最近结息日(yyyyMMdd)
  17909. type: string
  17910. lenderamount:
  17911. description: 贷款金额 -> 借款金额
  17912. type: number
  17913. lenderuserid:
  17914. description: 贷款方用户ID -> 融出方用户ID
  17915. type: integer
  17916. lenderusername:
  17917. description: 融出方
  17918. type: string
  17919. marginratio:
  17920. description: 保证金比率质押率 - [仓单质押]
  17921. type: number
  17922. marketid:
  17923. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17924. type: integer
  17925. minivalue:
  17926. description: 现货商品最小变动值
  17927. type: integer
  17928. optioncompare:
  17929. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17930. type: string
  17931. pricemove:
  17932. description: 估值升贴水值
  17933. type: number
  17934. productdetailid:
  17935. description: 产品组合ID
  17936. type: integer
  17937. productid:
  17938. description: 金融产品ID
  17939. type: integer
  17940. productname:
  17941. description: 产品名称
  17942. type: string
  17943. remainamount:
  17944. description: 合同剩余金额 -> 剩余金额
  17945. type: number
  17946. remainwrpositionqty:
  17947. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17948. type: number
  17949. remark:
  17950. description: 备注
  17951. type: string
  17952. scfcontractid:
  17953. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17954. type: string
  17955. scfcontractstatus:
  17956. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17957. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17958. type: integer
  17959. scfcontracttype:
  17960. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17961. type: integer
  17962. startinterestday:
  17963. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17964. type: string
  17965. totalinterest:
  17966. description: 已计利息 -> 已计费用
  17967. type: number
  17968. unpaidinterest:
  17969. description: 未结费用
  17970. type: number
  17971. updatetime:
  17972. description: 更新时间
  17973. type: string
  17974. warehouseid:
  17975. description: 仓库ID
  17976. type: integer
  17977. warehousename:
  17978. description: 仓库名称
  17979. type: string
  17980. wrfactortypeid:
  17981. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17982. type: string
  17983. wrfactortypename:
  17984. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17985. type: string
  17986. wrqty:
  17987. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17988. type: number
  17989. wrstandardcode:
  17990. description: 现货商品代码
  17991. type: string
  17992. wrstandardid:
  17993. description: 现货商品ID
  17994. type: integer
  17995. wrstandardname:
  17996. description: 商品名称
  17997. type: string
  17998. wrtypename:
  17999. description: 商品
  18000. type: string
  18001. type: object
  18002. models.WrScfContractInterest:
  18003. properties:
  18004. closeinterest:
  18005. description: 已结利息
  18006. type: number
  18007. closeintereststatus:
  18008. description: 结息状态 - 1:未结 2:已结
  18009. type: integer
  18010. closetime:
  18011. description: 结息时间
  18012. type: string
  18013. closetradedate:
  18014. description: 结息交易日
  18015. type: string
  18016. creatorid:
  18017. description: 操作人ID
  18018. type: integer
  18019. dayrate:
  18020. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18021. type: number
  18022. interest:
  18023. description: 利息
  18024. type: number
  18025. interestamount:
  18026. description: 计息金额
  18027. type: number
  18028. interestday:
  18029. description: 计息日(yyyyMMdd)
  18030. type: string
  18031. scfcontractid:
  18032. description: SCF合同ID
  18033. type: string
  18034. scfcontractinterestid:
  18035. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18036. type: integer
  18037. updatetime:
  18038. description: 更新时间
  18039. type: string
  18040. type: object
  18041. models.WrSearchUser:
  18042. properties:
  18043. userid:
  18044. description: 用户ID
  18045. type: integer
  18046. username:
  18047. description: 用户名称(已脱敏)
  18048. type: string
  18049. username2:
  18050. description: 用户名称(未脱敏)
  18051. type: string
  18052. usertype:
  18053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18054. type: integer
  18055. required:
  18056. - username
  18057. type: object
  18058. models.WrSiteColumnDetail:
  18059. properties:
  18060. brief:
  18061. description: 简介
  18062. type: string
  18063. context:
  18064. description: 内容
  18065. type: string
  18066. coverimage:
  18067. description: 封面图片
  18068. type: string
  18069. creaedate:
  18070. description: 创建时间
  18071. type: string
  18072. id:
  18073. description: ID(SEQ_SITE_COLUMNDETAIL)
  18074. type: integer
  18075. istop:
  18076. description: 是否置顶 - 0:不置 1:置顶
  18077. type: integer
  18078. publishdate:
  18079. description: 发布日期
  18080. type: string
  18081. title:
  18082. description: 标题
  18083. type: string
  18084. updatedate:
  18085. description: 修改时间
  18086. type: string
  18087. type: object
  18088. models.WrSpecialMatchOrder:
  18089. properties:
  18090. amount:
  18091. description: 金额 = 数量 * 价格
  18092. type: number
  18093. buyorsell:
  18094. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18095. type: integer
  18096. cancelqty:
  18097. description: 撤销数量
  18098. type: number
  18099. deliverygoodscode:
  18100. description: 品种代码
  18101. type: string
  18102. deliverygoodsid:
  18103. description: 品种ID
  18104. type: integer
  18105. deliverygoodsname:
  18106. description: 品种名称
  18107. type: string
  18108. enumdicname:
  18109. description: 单位名称
  18110. type: string
  18111. fixedprice:
  18112. description: 固定价格(价格)
  18113. type: number
  18114. haswr:
  18115. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18116. type: integer
  18117. isspecified:
  18118. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18119. type: integer
  18120. marketid:
  18121. description: 市场ID
  18122. type: integer
  18123. matchuserid:
  18124. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18125. type: integer
  18126. matchusername:
  18127. description: 指定方
  18128. type: string
  18129. minivalue:
  18130. description: 现货商品最小变动值
  18131. type: integer
  18132. optioncompare:
  18133. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18134. type: string
  18135. orderqty:
  18136. description: 委托数量
  18137. type: number
  18138. ordertime:
  18139. description: 委托时间
  18140. type: string
  18141. pricemove:
  18142. description: 升贴水(浮动价时填写) - [挂牌]
  18143. type: number
  18144. tradedate:
  18145. description: 交易日(yyyyMMdd)
  18146. type: string
  18147. tradeprice:
  18148. description: 成交价格
  18149. type: number
  18150. tradeqty:
  18151. description: 成交数量
  18152. type: number
  18153. userid:
  18154. description: 用户ID
  18155. type: integer
  18156. username:
  18157. description: 发起方
  18158. type: string
  18159. warehouseid:
  18160. description: 仓库ID
  18161. type: integer
  18162. warehousename:
  18163. description: 仓库名称
  18164. type: string
  18165. wrfactortypeid:
  18166. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18167. type: string
  18168. wrfactortypename:
  18169. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18170. type: string
  18171. wrpricetype:
  18172. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18173. type: integer
  18174. wrstandardcode:
  18175. description: 现货商品代码
  18176. type: string
  18177. wrstandardid:
  18178. description: 现货商品ID
  18179. type: integer
  18180. wrstandardname:
  18181. description: 商品名称
  18182. type: string
  18183. wrtradeorderid:
  18184. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18185. type: string
  18186. wrtradeorderstatus:
  18187. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18188. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18189. type: integer
  18190. wrtradetype:
  18191. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18192. type: integer
  18193. wrtypename:
  18194. description: 商品
  18195. type: string
  18196. type: object
  18197. models.WrSpotGroupTradeSum:
  18198. properties:
  18199. deliverygoodscode:
  18200. description: 现货品种代码
  18201. type: string
  18202. deliverygoodsid:
  18203. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18204. type: integer
  18205. deliverygoodsname:
  18206. description: 现货品种名称
  18207. type: string
  18208. lastavgprice:
  18209. description: 上上个交易日价格(前2天价格)
  18210. type: string
  18211. lastreckondate:
  18212. description: 上上个交易日(前2天交易日)
  18213. type: string
  18214. reckondate:
  18215. description: 上个交易日(前1天交易日)
  18216. type: string
  18217. todayavgprice:
  18218. description: 上个交易日价格(前1天价格)
  18219. type: string
  18220. updown:
  18221. description: 涨跌
  18222. type: string
  18223. updownratio:
  18224. description: 涨幅(已格式化, 直接显示即可)
  18225. type: string
  18226. type: object
  18227. models.WrSpotGroupTradeSumDetail:
  18228. properties:
  18229. deliverygoodsid:
  18230. description: 现货商品id
  18231. type: integer
  18232. price:
  18233. description: 价格
  18234. type: number
  18235. reckondate:
  18236. description: 日期(yyymmdd, 如:20211031)
  18237. type: string
  18238. type: object
  18239. models.WrSpotGroupTradeSumEx:
  18240. properties:
  18241. lst:
  18242. description: 指数列表
  18243. items:
  18244. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18245. type: array
  18246. prereckondate:
  18247. description: 上上个交易日(yyymmdd)
  18248. type: string
  18249. reckondate:
  18250. description: 上个交易日(yyyymmdd)
  18251. type: string
  18252. type: object
  18253. models.WrStandardFactoryItem:
  18254. properties:
  18255. dgfactoryitemid:
  18256. description: 选择项id
  18257. type: integer
  18258. dgfactoryitemvalue:
  18259. description: 要素项值
  18260. type: string
  18261. warehouseid:
  18262. description: 仓库id
  18263. type: integer
  18264. type: object
  18265. models.WrStandardFactoryItemEx:
  18266. properties:
  18267. dgfactoryitemtypeid:
  18268. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18269. type: integer
  18270. itemlst:
  18271. description: 要素项列表
  18272. items:
  18273. $ref: '#/definitions/models.WrStandardFactoryItem'
  18274. type: array
  18275. itemtypename:
  18276. description: 要素项类型名称
  18277. type: string
  18278. wrstandardid:
  18279. description: 品类
  18280. type: integer
  18281. type: object
  18282. models.WrTradeDetail:
  18283. properties:
  18284. accountid:
  18285. description: 资金账号
  18286. type: integer
  18287. bannerpicurl:
  18288. description: Banner图
  18289. type: string
  18290. begindate:
  18291. description: 开始交易日(yyyymmdd)
  18292. type: string
  18293. buyorsell:
  18294. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18295. type: integer
  18296. chargevalue:
  18297. description: 手续费
  18298. type: number
  18299. deliverygoodscode:
  18300. description: 品种代码
  18301. type: string
  18302. deliverygoodsid:
  18303. description: 品种ID
  18304. type: integer
  18305. deliverygoodsname:
  18306. description: 品种名称
  18307. type: string
  18308. deliverymonth:
  18309. description: 交收月
  18310. type: string
  18311. enddate:
  18312. description: 结束交易日(yyyymmdd)
  18313. type: string
  18314. enumdicname:
  18315. description: 单位名称
  18316. type: string
  18317. haswr:
  18318. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18319. type: integer
  18320. marketid:
  18321. description: 市场ID
  18322. type: integer
  18323. matchaccountid:
  18324. description: 对手账号
  18325. type: integer
  18326. matchusername:
  18327. description: 对手方
  18328. type: string
  18329. minivalue:
  18330. description: 现货商品最小变动值
  18331. type: integer
  18332. optioncompare:
  18333. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18334. type: string
  18335. thumurls:
  18336. description: 缩略图
  18337. type: string
  18338. tradedate:
  18339. description: 交易日(yyyyMMdd)
  18340. type: string
  18341. tradeprice:
  18342. description: 成交价格
  18343. type: number
  18344. tradeqty:
  18345. description: 成交数量
  18346. type: number
  18347. tradetime:
  18348. description: 成交时间
  18349. type: string
  18350. userid:
  18351. description: 用户ID
  18352. type: integer
  18353. warehouseid:
  18354. description: 仓库ID
  18355. type: integer
  18356. warehousename:
  18357. description: 仓库名称
  18358. type: string
  18359. wrfactortypeid:
  18360. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18361. type: string
  18362. wrfactortypename:
  18363. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18364. type: string
  18365. wrstandardcode:
  18366. description: 现货商品代码
  18367. type: string
  18368. wrstandardid:
  18369. description: 现货商品ID
  18370. type: integer
  18371. wrstandardname:
  18372. description: 商品名称
  18373. type: string
  18374. wrtradedetailid:
  18375. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18376. type: string
  18377. wrtradetype:
  18378. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18379. type: integer
  18380. wrtypename:
  18381. description: 商品
  18382. type: string
  18383. type: object
  18384. models.WrTradeOrderDetail:
  18385. properties:
  18386. buyorsell:
  18387. description: 买卖方向 0-买 1-卖
  18388. type: integer
  18389. goodsid:
  18390. description: 商品id
  18391. type: integer
  18392. orderid:
  18393. description: 委托单号
  18394. type: string
  18395. orderprice:
  18396. description: 委托价格
  18397. type: number
  18398. orderqty:
  18399. description: 委托数量
  18400. type: integer
  18401. userid:
  18402. description: 用户id
  18403. type: integer
  18404. username:
  18405. description: 用户名称(已脱敏)
  18406. type: string
  18407. type: object
  18408. models.WrTypeItem:
  18409. properties:
  18410. name:
  18411. description: 名称
  18412. type: string
  18413. value:
  18414. description: 值
  18415. type: string
  18416. type: object
  18417. models.WrUserFriend:
  18418. properties:
  18419. friendname:
  18420. description: 朋友名称(已脱敏)
  18421. type: string
  18422. frienduserid:
  18423. description: 朋友id
  18424. type: integer
  18425. isfriend:
  18426. description: 是否好友 0-不是 1-是
  18427. type: integer
  18428. userid:
  18429. description: 用户id
  18430. type: integer
  18431. type: object
  18432. models.WrUserReceiptInfo:
  18433. properties:
  18434. address:
  18435. description: 地址[发票类型:企业]
  18436. type: string
  18437. autoid:
  18438. description: AutoID
  18439. type: integer
  18440. contactinfo:
  18441. description: 联系方式
  18442. type: string
  18443. idnum:
  18444. description: 身份证号码[发票类型:个人]
  18445. type: string
  18446. isdefault:
  18447. description: 是否默认地址 - 0:否 1:是
  18448. type: integer
  18449. receiptaccount:
  18450. description: 发票帐号[发票类型:企业]
  18451. type: string
  18452. receiptbank:
  18453. description: 发票开户行[发票类型:企业]
  18454. type: string
  18455. receipttype:
  18456. description: 发票类型 - 1:个人 2:企业
  18457. type: integer
  18458. taxpayerid:
  18459. description: 纳税人识别号
  18460. type: string
  18461. userid:
  18462. description: 用户ID
  18463. type: integer
  18464. username:
  18465. description: 户名(个人姓名或企业名称)
  18466. type: string
  18467. type: object
  18468. models.XHBRAND:
  18469. properties:
  18470. brandid:
  18471. description: 品牌id
  18472. type: integer
  18473. brandname:
  18474. description: 品牌名称
  18475. type: string
  18476. isvalid:
  18477. description: 是否有效 0-无效 1-有效
  18478. type: integer
  18479. type: object
  18480. models.XHDeliveryGoods:
  18481. properties:
  18482. areauserid:
  18483. description: 所属机构
  18484. type: integer
  18485. bdlst:
  18486. description: 品牌列表
  18487. items:
  18488. $ref: '#/definitions/models.XHBRAND'
  18489. type: array
  18490. deliverygoodscode:
  18491. description: 现货品种代码
  18492. type: string
  18493. deliverygoodsid:
  18494. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18495. type: integer
  18496. deliverygoodsname:
  18497. description: 现货品种名称
  18498. type: string
  18499. dgstatus:
  18500. description: 品种状态 - 作废 - 0:未激活 1:正常
  18501. type: integer
  18502. filterSubEmpty:
  18503. description: 过滤下级为空的
  18504. type: integer
  18505. isvalid:
  18506. description: 是否有效 - 0:无效 1:有效
  18507. type: integer
  18508. remark:
  18509. description: 备注
  18510. type: string
  18511. unitid:
  18512. description: 单位id(目前看,数据库中是空值)
  18513. type: integer
  18514. wdlst:
  18515. description: 品类(现货商品)列表
  18516. items:
  18517. $ref: '#/definitions/models.XHWrstandard'
  18518. type: array
  18519. type: object
  18520. models.XHMiddleGoods:
  18521. properties:
  18522. GPLST:
  18523. description: 期货品种列表
  18524. items:
  18525. $ref: '#/definitions/models.TBGoodsGroup'
  18526. type: array
  18527. convertratio:
  18528. description: 拆算系数
  18529. type: number
  18530. costratio:
  18531. description: 成本权重
  18532. type: number
  18533. deliverygoodsid:
  18534. description: 现货商品id
  18535. type: integer
  18536. enumdicname:
  18537. description: 单位名称
  18538. type: string
  18539. middlegoodscode:
  18540. description: 套保品种代码
  18541. type: string
  18542. middlegoodsid:
  18543. description: 套保品种id
  18544. type: integer
  18545. middlegoodsname:
  18546. description: 套保品种名称
  18547. type: string
  18548. unitid:
  18549. description: 单位id
  18550. type: integer
  18551. type: object
  18552. models.XHWrstandard:
  18553. properties:
  18554. bannerpicurl:
  18555. description: banner图
  18556. type: string
  18557. deliverygoodsid:
  18558. description: 品种ID
  18559. type: integer
  18560. enumdicname:
  18561. description: 单位名称
  18562. type: string
  18563. mglst:
  18564. description: 套保品列表
  18565. items:
  18566. $ref: '#/definitions/models.XHMiddleGoods'
  18567. type: array
  18568. pictureurls:
  18569. description: 详情图片(逗号分隔)
  18570. type: string
  18571. thumurls:
  18572. description: 缩略图片(1:1)(逗号分隔)
  18573. type: string
  18574. unitid:
  18575. description: 单位id
  18576. type: integer
  18577. vatrate:
  18578. description: 增值税率
  18579. type: number
  18580. wrstandardcode:
  18581. description: 现货商品代码
  18582. type: string
  18583. wrstandardid:
  18584. description: 现货商品ID(SEQ_WRSTANDARD)
  18585. type: integer
  18586. wrstandardname:
  18587. description: 现货商品名称
  18588. type: string
  18589. type: object
  18590. models.XhcpSellBackApplyEx:
  18591. properties:
  18592. applyremark:
  18593. description: 申请备注
  18594. type: string
  18595. expirytype:
  18596. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18597. type: integer
  18598. goodsspec:
  18599. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18600. type: integer
  18601. holeflag:
  18602. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18603. type: integer
  18604. isunopened:
  18605. description: 是否原封 - 1:否 2:是
  18606. type: integer
  18607. mpflag:
  18608. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18609. type: integer
  18610. openflag:
  18611. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18612. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18613. type: integer
  18614. phonenum:
  18615. description: 联系电话
  18616. type: string
  18617. userid:
  18618. description: 所属用户ID
  18619. type: integer
  18620. zpflag:
  18621. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18622. type: integer
  18623. required:
  18624. - userid
  18625. type: object
  18626. models.Xhcpsellbackapply:
  18627. properties:
  18628. applyid:
  18629. description: 申请人
  18630. type: integer
  18631. applyremark:
  18632. description: 申请备注
  18633. type: string
  18634. applysrc:
  18635. description: 申请来源 - 1:管理端 2:终端
  18636. type: integer
  18637. applystatus:
  18638. description: 申请状态 - 1:待确认 2:已处理
  18639. type: integer
  18640. applytime:
  18641. description: 申请时间
  18642. type: string
  18643. auditremark:
  18644. description: 审核备注
  18645. type: string
  18646. auditsrc:
  18647. description: 审核来源 - 1:管理端 2:终端
  18648. type: integer
  18649. expirytype:
  18650. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18651. type: integer
  18652. goodsspec:
  18653. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18654. type: integer
  18655. holeflag:
  18656. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18657. type: integer
  18658. isunopened:
  18659. description: 是否原封 - 1:否 2:是
  18660. type: integer
  18661. mpflag:
  18662. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18663. type: integer
  18664. openflag:
  18665. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18666. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18667. type: integer
  18668. phonenum:
  18669. description: 联系电话
  18670. type: string
  18671. sellbackapplyid:
  18672. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  18673. type: string
  18674. userid:
  18675. description: 所属用户ID
  18676. type: integer
  18677. zpflag:
  18678. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18679. type: integer
  18680. required:
  18681. - userid
  18682. type: object
  18683. order.QueryHisTradeDetailRsp:
  18684. properties:
  18685. accountid:
  18686. description: 账户ID[报价币种]
  18687. type: integer
  18688. advanceratio:
  18689. description: 首付比率
  18690. type: number
  18691. buildtype:
  18692. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18693. type: integer
  18694. buyorsell:
  18695. description: 方向 - 0:买 1:卖
  18696. type: integer
  18697. charge:
  18698. description: 手续费
  18699. type: number
  18700. closecharge:
  18701. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18702. type: number
  18703. closeexchagechargevalue:
  18704. description: 平仓交易所手续费设置值
  18705. type: number
  18706. closefeealgorithm:
  18707. description: 平仓手续费收取方式 1:比率 2:固定
  18708. type: integer
  18709. closememberchargevalue:
  18710. description: 平仓会员手续费设置值
  18711. type: number
  18712. closepl:
  18713. description: 平仓盈亏
  18714. type: number
  18715. closepl2:
  18716. description: 平仓盈亏[逐笔]
  18717. type: number
  18718. closeqty:
  18719. description: 平仓数量(先建后平操作 需要记录)
  18720. type: number
  18721. creditamount:
  18722. description: 授信金额
  18723. type: number
  18724. decimalplace:
  18725. description: 商品报价小数位
  18726. type: integer
  18727. enumdicname:
  18728. description: 单位名称
  18729. type: string
  18730. gcaccountid:
  18731. description: 账户ID[合约币种]
  18732. type: integer
  18733. goodscode:
  18734. description: 商品代码
  18735. type: string
  18736. goodsid:
  18737. description: 商品ID
  18738. type: integer
  18739. goodsname:
  18740. description: 商品名称
  18741. type: string
  18742. goodunitid:
  18743. description: 商品单位id
  18744. type: integer
  18745. histradedate:
  18746. description: 历史交易日
  18747. type: string
  18748. intclosepl:
  18749. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18750. type: integer
  18751. isconfirmexercise:
  18752. description: 是否确认行权- 0:否 1:是
  18753. type: integer
  18754. ismain:
  18755. description: 是否主单 - 0:不是 1:是
  18756. type: integer
  18757. ispreexercise:
  18758. description: 是否预申报- 0:否 1:是
  18759. type: integer
  18760. isreckoned:
  18761. description: 是否结算 - 0:未结算 1:已结算
  18762. type: integer
  18763. isvaliddata:
  18764. description: 是否有效 - 0:无效 1:有效
  18765. type: integer
  18766. listingselecttype:
  18767. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18768. type: integer
  18769. marketid:
  18770. description: 市场ID
  18771. type: integer
  18772. marketname:
  18773. description: 市场名称
  18774. type: string
  18775. matchaccountid:
  18776. description: 对手账号id
  18777. type: integer
  18778. memberuserid:
  18779. description: 会员id 个人投资者 需要填写
  18780. type: integer
  18781. opencharge:
  18782. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18783. type: number
  18784. openexchagechargevalue:
  18785. description: 建仓交易所手续费设置值
  18786. type: number
  18787. openfeealgorithm:
  18788. description: 建仓手续费收取方式 1:比率 2:固定
  18789. type: integer
  18790. openmemberchargevalue:
  18791. description: 建仓会员手续费设置值
  18792. type: number
  18793. openqty:
  18794. description: 开仓数量(先建后平操作 需要记录)
  18795. type: number
  18796. optiontype:
  18797. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18798. type: integer
  18799. orderid:
  18800. description: 委托单号
  18801. type: string
  18802. payamount:
  18803. description: 支付金额(付款金额)
  18804. type: number
  18805. performanceplanid:
  18806. description: 履约计划ID[期权]
  18807. type: integer
  18808. performancestatus:
  18809. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18810. type: integer
  18811. preexerciseprice:
  18812. description: 预申报价格
  18813. type: number
  18814. premium:
  18815. description: 权利金 - [持仓单的权利金]
  18816. type: number
  18817. qtydecimalplace:
  18818. description: 商品报价小数位
  18819. type: integer
  18820. recvamount:
  18821. description: 到账金额 = 成交金额 - 手续费
  18822. type: number
  18823. relatedouttradeid:
  18824. description: 关联外部成交单ID
  18825. type: integer
  18826. status:
  18827. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18828. type: integer
  18829. totalamount:
  18830. description: 订单总额 = 成交金额 + 手续费
  18831. type: number
  18832. tradeamount:
  18833. description: 成交金额[账户币种,用于所有权]
  18834. type: number
  18835. tradedate:
  18836. description: 交易日(yyyyMMdd)
  18837. type: string
  18838. tradeid:
  18839. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18840. type: string
  18841. trademode:
  18842. description: 交易模式
  18843. type: integer
  18844. tradeprice:
  18845. description: 成交价格
  18846. type: number
  18847. tradeproperty:
  18848. description: 交易属性
  18849. type: integer
  18850. tradeqty:
  18851. description: 成交数量
  18852. type: number
  18853. tradetime:
  18854. description: 成交时间
  18855. type: string
  18856. tradetype:
  18857. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18858. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18859. type: integer
  18860. required:
  18861. - accountid
  18862. - buyorsell
  18863. - goodsid
  18864. - histradedate
  18865. - marketid
  18866. - memberuserid
  18867. - orderid
  18868. - tradeamount
  18869. - tradedate
  18870. - tradeid
  18871. - tradeprice
  18872. - tradeqty
  18873. - tradetime
  18874. type: object
  18875. order.QueryHisTradeOrderDetailRsp:
  18876. properties:
  18877. accountid:
  18878. description: 账户ID[报价币种]
  18879. type: integer
  18880. buildtype:
  18881. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18882. type: integer
  18883. buyorsell:
  18884. description: 买卖 - 0:买 1:卖
  18885. type: integer
  18886. cancelorderid:
  18887. description: 撤单单号(撤单时填写)
  18888. type: string
  18889. cancelqty:
  18890. description: 撤单数量
  18891. type: number
  18892. clientordertime:
  18893. description: 客户端委托时间
  18894. type: string
  18895. clientticket:
  18896. description: 客户端流水号
  18897. type: string
  18898. clienttype:
  18899. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18900. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18901. type: integer
  18902. closeexchagechargevalue:
  18903. description: 平仓交易所手续费设置值
  18904. type: number
  18905. closefeealgorithm:
  18906. description: 平仓手续费收取方式 1:比率 2:固定
  18907. type: integer
  18908. closefreezecharge:
  18909. description: 平仓冻结手续费(先建后平操作,需要记录)
  18910. type: number
  18911. closememberchargevalue:
  18912. description: 平仓会员手续费设置值
  18913. type: number
  18914. closeqty:
  18915. description: 平仓数量(先建后平操作 需要记录)
  18916. type: number
  18917. closetradeqty:
  18918. description: 平仓成交数量(先建后平操作,需要记录)
  18919. type: number
  18920. closeunfreezecharge:
  18921. description: 平仓解冻手续费(先建后平操作,需要记录)
  18922. type: number
  18923. decimalplace:
  18924. description: 商品报价小数位
  18925. type: integer
  18926. delistingtype:
  18927. description: 摘牌类型 - 1:价格最优 2:点选成交
  18928. type: integer
  18929. enumdicname:
  18930. description: 单位名称
  18931. type: string
  18932. freezecharge:
  18933. description: 冻结手续费
  18934. type: number
  18935. freezemargin:
  18936. description: 冻结保证金(冻结交易金额)
  18937. type: number
  18938. gcaccountid:
  18939. description: 账户ID[合约币种]
  18940. type: integer
  18941. goodscode:
  18942. description: 商品代码
  18943. type: string
  18944. goodsid:
  18945. description: 商品ID
  18946. type: integer
  18947. goodsname:
  18948. description: 商品名称
  18949. type: string
  18950. goodunitid:
  18951. description: 商品单位id
  18952. type: integer
  18953. histradedate:
  18954. description: 历史交易日
  18955. type: string
  18956. isconfirmexercise:
  18957. description: 是否确认行权- 0:否 1:是
  18958. type: integer
  18959. ispreexercise:
  18960. description: 是否预申报- 0:否 1:是
  18961. type: integer
  18962. isvaliddata:
  18963. description: 是否有效 - 0:无效 1:有效
  18964. type: integer
  18965. listingselecttype:
  18966. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18967. type: integer
  18968. marginalgorithm:
  18969. description: 保证金收取方式 1:比率 2:固定
  18970. type: integer
  18971. marginvalue:
  18972. description: 即市保证金设置值
  18973. type: number
  18974. marketid:
  18975. description: 市场ID
  18976. type: integer
  18977. marketmaxsub:
  18978. description: 市价最大偏移范围
  18979. type: number
  18980. marketname:
  18981. description: 市场名称
  18982. type: string
  18983. memberuserid:
  18984. description: 所属会员UserID
  18985. type: integer
  18986. openexchagechargevalue:
  18987. description: 建仓交易所手续费设置值
  18988. type: number
  18989. openfeealgorithm:
  18990. description: 建仓手续费收取方式 1:比率 2:固定
  18991. type: integer
  18992. openfreezecharge:
  18993. description: 开仓冻结手续费(先建后平操作,需要记录)
  18994. type: number
  18995. openmemberchargevalue:
  18996. description: 建仓会员手续费设置值
  18997. type: number
  18998. openqty:
  18999. description: 开仓数量(先建后平操作,需要记录)
  19000. type: number
  19001. opentradeqty:
  19002. description: 开仓成交数量(先建后平操作,需要记录)
  19003. type: number
  19004. openunfreezecharge:
  19005. description: 开仓解冻手续费(先建后平操作,需要记录)
  19006. type: number
  19007. operatetype:
  19008. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19009. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19010. 15:管理端协议转让
  19011. type: integer
  19012. operatorid:
  19013. description: 登录账号(LoginID)
  19014. type: integer
  19015. optiontype:
  19016. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19017. type: integer
  19018. orderid:
  19019. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19020. type: string
  19021. orderprice:
  19022. description: 委托价格
  19023. type: number
  19024. orderqty:
  19025. description: 委托数量
  19026. type: number
  19027. ordersrc:
  19028. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19029. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19030. type: integer
  19031. orderstatus:
  19032. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19033. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19034. 16:成交失败违约(荷兰式竞拍专用)
  19035. type: integer
  19036. ordertime:
  19037. description: 委托时间
  19038. type: string
  19039. preexerciseprice:
  19040. description: 预申报价格
  19041. type: number
  19042. premium:
  19043. description: 权利金
  19044. type: number
  19045. preorderid:
  19046. description: 关联预埋单号(止盈止损单时填写)
  19047. type: string
  19048. pricemode:
  19049. description: '取价方式 - 1:市价 2: 限价'
  19050. type: integer
  19051. qtydecimalplace:
  19052. description: 成交量小数位
  19053. type: integer
  19054. quoteid:
  19055. description: 报价单ID
  19056. type: integer
  19057. relatedid:
  19058. description: 关联单号(交割单)
  19059. type: string
  19060. retcode:
  19061. description: 错误代码
  19062. type: integer
  19063. sessionid:
  19064. description: 会话ID
  19065. type: integer
  19066. tradedate:
  19067. description: 交易日(yyyyMMdd)
  19068. type: string
  19069. trademode:
  19070. description: 交易模式
  19071. type: integer
  19072. tradeproperty:
  19073. description: 交易属性
  19074. type: integer
  19075. tradeqty:
  19076. description: 成交数量
  19077. type: number
  19078. unfreezecharge:
  19079. description: 解冻手续费
  19080. type: number
  19081. unfreezemargin:
  19082. description: 解冻保证金
  19083. type: number
  19084. updatetime:
  19085. description: 更新时间
  19086. type: string
  19087. uuid:
  19088. description: 发起端唯一id
  19089. type: string
  19090. validtime:
  19091. description: 有效期限
  19092. type: string
  19093. validtype:
  19094. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19095. type: integer
  19096. volumetype:
  19097. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19098. type: integer
  19099. required:
  19100. - accountid
  19101. - buildtype
  19102. - buyorsell
  19103. - goodsid
  19104. - histradedate
  19105. - marketid
  19106. - memberuserid
  19107. - operatetype
  19108. - orderid
  19109. - orderqty
  19110. - ordertime
  19111. - pricemode
  19112. - tradedate
  19113. - validtype
  19114. type: object
  19115. order.QueryTradeDetailRsp:
  19116. properties:
  19117. accountid:
  19118. description: 账户ID[报价币种]
  19119. type: integer
  19120. advanceratio:
  19121. description: 首付比率
  19122. type: number
  19123. buildtype:
  19124. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19125. type: integer
  19126. buyorsell:
  19127. description: 方向 - 0:买 1:卖
  19128. type: integer
  19129. charge:
  19130. description: 手续费
  19131. type: number
  19132. closecharge:
  19133. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19134. type: number
  19135. closeexchagechargevalue:
  19136. description: 平仓交易所手续费设置值
  19137. type: number
  19138. closefeealgorithm:
  19139. description: 平仓手续费收取方式 1:比率 2:固定
  19140. type: integer
  19141. closememberchargevalue:
  19142. description: 平仓会员手续费设置值
  19143. type: number
  19144. closepl:
  19145. description: 平仓盈亏
  19146. type: number
  19147. closepl2:
  19148. description: 平仓盈亏[逐笔]
  19149. type: number
  19150. closeqty:
  19151. description: 平仓数量(先建后平操作 需要记录)
  19152. type: number
  19153. creditamount:
  19154. description: 授信金额
  19155. type: number
  19156. decimalplace:
  19157. description: 商品报价小数位
  19158. type: integer
  19159. enumdicname:
  19160. description: 单位名称
  19161. type: string
  19162. gcaccountid:
  19163. description: 账户ID[合约币种]
  19164. type: integer
  19165. goodscode:
  19166. description: 商品代码
  19167. type: string
  19168. goodsid:
  19169. description: 商品ID
  19170. type: integer
  19171. goodsname:
  19172. description: 商品名称
  19173. type: string
  19174. goodunitid:
  19175. description: 商品单位id
  19176. type: integer
  19177. intclosepl:
  19178. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19179. type: integer
  19180. isconfirmexercise:
  19181. description: 是否确认行权- 0:否 1:是
  19182. type: integer
  19183. ismain:
  19184. description: 是否主单 - 0:不是 1:是
  19185. type: integer
  19186. ispreexercise:
  19187. description: 是否预申报- 0:否 1:是
  19188. type: integer
  19189. isreckoned:
  19190. description: 是否结算 - 0:未结算 1:已结算
  19191. type: integer
  19192. listingselecttype:
  19193. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19194. type: integer
  19195. marketid:
  19196. description: 市场ID
  19197. type: integer
  19198. marketname:
  19199. description: 市场名称
  19200. type: string
  19201. matchaccountid:
  19202. description: 对手账号id
  19203. type: integer
  19204. memberuserid:
  19205. description: 会员id 个人投资者 需要填写
  19206. type: integer
  19207. opencharge:
  19208. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19209. type: number
  19210. openexchagechargevalue:
  19211. description: 建仓交易所手续费设置值
  19212. type: number
  19213. openfeealgorithm:
  19214. description: 建仓手续费收取方式 1:比率 2:固定
  19215. type: integer
  19216. openmemberchargevalue:
  19217. description: 建仓会员手续费设置值
  19218. type: number
  19219. openqty:
  19220. description: 开仓数量(先建后平操作 需要记录)
  19221. type: number
  19222. optiontype:
  19223. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19224. type: integer
  19225. orderid:
  19226. description: 委托单号
  19227. type: string
  19228. payamount:
  19229. description: 支付金额(付款金额)
  19230. type: number
  19231. performanceplanid:
  19232. description: 履约计划ID[期权]
  19233. type: integer
  19234. performancestatus:
  19235. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19236. type: integer
  19237. preexerciseprice:
  19238. description: 预申报价格
  19239. type: number
  19240. premium:
  19241. description: 权利金 - [持仓单的权利金]
  19242. type: number
  19243. qtydecimalplace:
  19244. description: 商品报价小数位
  19245. type: integer
  19246. recvamount:
  19247. description: 到账金额 = 成交金额 - 手续费
  19248. type: number
  19249. relatedouttradeid:
  19250. description: 关联外部成交单ID
  19251. type: integer
  19252. status:
  19253. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19254. type: integer
  19255. totalamount:
  19256. description: 订单总额 = 成交金额 + 手续费
  19257. type: number
  19258. tradeamount:
  19259. description: 成交金额[账户币种,用于所有权]
  19260. type: number
  19261. tradedate:
  19262. description: 交易日(yyyyMMdd)
  19263. type: string
  19264. tradeid:
  19265. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19266. type: string
  19267. trademode:
  19268. description: 交易模式
  19269. type: integer
  19270. tradeprice:
  19271. description: 成交价格
  19272. type: number
  19273. tradeproperty:
  19274. description: 交易属性
  19275. type: integer
  19276. tradeqty:
  19277. description: 成交数量
  19278. type: number
  19279. tradetime:
  19280. description: 成交时间
  19281. type: string
  19282. tradetype:
  19283. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19284. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19285. type: integer
  19286. required:
  19287. - accountid
  19288. - buyorsell
  19289. - goodsid
  19290. - marketid
  19291. - memberuserid
  19292. - orderid
  19293. - tradeamount
  19294. - tradedate
  19295. - tradeid
  19296. - tradeprice
  19297. - tradeqty
  19298. - tradetime
  19299. type: object
  19300. order.QueryTradeOrderDetailRsp:
  19301. properties:
  19302. accountid:
  19303. description: 账户ID[报价币种]
  19304. type: integer
  19305. buildtype:
  19306. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19307. type: integer
  19308. buyorsell:
  19309. description: 买卖 - 0:买 1:卖
  19310. type: integer
  19311. cancelorderid:
  19312. description: 撤单单号(撤单时填写)
  19313. type: string
  19314. cancelqty:
  19315. description: 撤单数量
  19316. type: number
  19317. clienttype:
  19318. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19319. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19320. type: integer
  19321. closefreezecharge:
  19322. description: 平仓冻结手续费(先建后平操作,需要记录)
  19323. type: number
  19324. closeqty:
  19325. description: 平仓数量(先建后平操作 需要记录)
  19326. type: number
  19327. closetradeqty:
  19328. description: 平仓成交数量(先建后平操作,需要记录)
  19329. type: number
  19330. closeunfreezecharge:
  19331. description: 平仓解冻手续费(先建后平操作,需要记录)
  19332. type: number
  19333. decimalplace:
  19334. description: 商品报价小数位
  19335. type: integer
  19336. delistingtype:
  19337. description: 摘牌类型 - 1:价格最优 2:点选成交
  19338. type: integer
  19339. enableqty:
  19340. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19341. type: number
  19342. enumdicname:
  19343. description: 单位名称
  19344. type: string
  19345. freezecharge:
  19346. description: 冻结手续费
  19347. type: number
  19348. freezemargin:
  19349. description: 冻结保证金(冻结交易金额)
  19350. type: number
  19351. goodscode:
  19352. description: 商品代码
  19353. type: string
  19354. goodsid:
  19355. description: 商品ID
  19356. type: integer
  19357. goodsname:
  19358. description: 商品名称
  19359. type: string
  19360. goodunitid:
  19361. description: 商品单位id
  19362. type: integer
  19363. listingselecttype:
  19364. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19365. type: integer
  19366. marketid:
  19367. description: 市场ID
  19368. type: integer
  19369. marketname:
  19370. description: 市场名称
  19371. type: string
  19372. openfreezecharge:
  19373. description: 开仓冻结手续费(先建后平操作,需要记录)
  19374. type: number
  19375. openqty:
  19376. description: 开仓数量(先建后平操作,需要记录)
  19377. type: number
  19378. opentradeqty:
  19379. description: 开仓成交数量(先建后平操作,需要记录)
  19380. type: number
  19381. openunfreezecharge:
  19382. description: 开仓解冻手续费(先建后平操作,需要记录)
  19383. type: number
  19384. operatetype:
  19385. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19386. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19387. 15:管理端协议转让
  19388. type: integer
  19389. operatorid:
  19390. description: 登录账号(LoginID)
  19391. type: integer
  19392. orderid:
  19393. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19394. type: string
  19395. orderprice:
  19396. description: 委托价格
  19397. type: number
  19398. orderqty:
  19399. description: 委托数量
  19400. type: number
  19401. ordersrc:
  19402. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19403. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19404. type: integer
  19405. orderstatus:
  19406. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19407. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19408. 16:成交失败违约(荷兰式竞拍专用)
  19409. type: integer
  19410. ordertime:
  19411. description: 委托时间
  19412. type: string
  19413. preorderid:
  19414. description: 关联预埋单号(止盈止损单时填写)
  19415. type: string
  19416. pricemode:
  19417. description: '取价方式 - 1:市价 2: 限价'
  19418. type: integer
  19419. qtydecimalplace:
  19420. description: 商品报价小数位
  19421. type: integer
  19422. relatedid:
  19423. description: 关联单号(交割单)
  19424. type: string
  19425. tradedate:
  19426. description: 交易日(yyyyMMdd)
  19427. type: string
  19428. trademode:
  19429. description: 交易模式
  19430. type: integer
  19431. tradeqty:
  19432. description: 成交数量
  19433. type: number
  19434. unfreezecharge:
  19435. description: 解冻手续费
  19436. type: number
  19437. unfreezemargin:
  19438. description: 解冻保证金
  19439. type: number
  19440. validtime:
  19441. description: 有效期限
  19442. type: string
  19443. validtype:
  19444. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19445. type: integer
  19446. volumetype:
  19447. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19448. type: integer
  19449. required:
  19450. - accountid
  19451. - buildtype
  19452. - buyorsell
  19453. - goodsid
  19454. - marketid
  19455. - operatetype
  19456. - orderqty
  19457. - ordertime
  19458. - pricemode
  19459. - tradedate
  19460. - validtype
  19461. type: object
  19462. order.QueryTradePositionRsp:
  19463. properties:
  19464. accountid:
  19465. description: 资金账户
  19466. type: integer
  19467. agreeunit:
  19468. description: 合约单位
  19469. type: number
  19470. averageprice:
  19471. description: 持仓均价
  19472. type: number
  19473. buyorsell:
  19474. description: 方向 - 0:买 1:卖
  19475. type: integer
  19476. closetotalqty:
  19477. description: 平仓总数量
  19478. type: number
  19479. curholderamount:
  19480. description: 当前持仓总金额[商品币种]
  19481. type: number
  19482. curpositionqty:
  19483. description: 当前持仓总数量
  19484. type: number
  19485. currencyid:
  19486. description: 报价货币ID
  19487. type: integer
  19488. curtdposition:
  19489. description: 期末今日头寸
  19490. type: number
  19491. decimalplace:
  19492. description: 报价小数位
  19493. type: integer
  19494. enableqty:
  19495. description: 可用量
  19496. type: number
  19497. fretdposition:
  19498. description: 冻结今日头寸
  19499. type: number
  19500. frozenqty:
  19501. description: 持仓冻结数量
  19502. type: number
  19503. goodscode:
  19504. description: 商品代码
  19505. type: string
  19506. goodsid:
  19507. description: 商品Id
  19508. type: integer
  19509. goodsname:
  19510. description: 商品名称
  19511. type: string
  19512. goodunit:
  19513. description: 报价单位
  19514. type: string
  19515. goodunitid:
  19516. description: 报价单位ID
  19517. type: integer
  19518. holderamount:
  19519. description: 期初持仓总金额[商品币种]
  19520. type: number
  19521. lastprice:
  19522. description: 最新价
  19523. type: number
  19524. marketamount:
  19525. description: 市值
  19526. type: number
  19527. marketid:
  19528. description: 所属市场ID
  19529. type: integer
  19530. openreqqty:
  19531. description: 开仓申请数量(用于比较最大持仓数量)
  19532. type: number
  19533. opentotalqty:
  19534. description: 开仓总数量
  19535. type: number
  19536. otherfrozenqty:
  19537. description: 持仓其他冻结数量(交割冻结)
  19538. type: number
  19539. positionpl:
  19540. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19541. * 合约单位
  19542. type: number
  19543. positionplrate:
  19544. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19545. type: number
  19546. positionqty:
  19547. description: 期初持仓数量
  19548. type: number
  19549. qtydecimalplace:
  19550. description: 成交量小数位
  19551. type: integer
  19552. refgoodscode:
  19553. description: 参考商品代码
  19554. type: string
  19555. refgoodsid:
  19556. description: 参考商品ID
  19557. type: integer
  19558. tnqty:
  19559. description: T+N冻结总量
  19560. type: number
  19561. tnusedqty:
  19562. description: T+N使用量(可以使用T+N的冻结数量)
  19563. type: number
  19564. trademode:
  19565. description: 交易模式
  19566. type: integer
  19567. tradeproperty:
  19568. description: 交易属性
  19569. type: integer
  19570. usedmargin:
  19571. description: 占用保证金[商品币种]
  19572. type: number
  19573. required:
  19574. - goodsid
  19575. type: object
  19576. pb.GoodsMarginCfgStruct:
  19577. properties:
  19578. CustomerTypeID:
  19579. description: 投资者客户类型
  19580. type: integer
  19581. GoodsID:
  19582. description: 商品ID
  19583. type: integer
  19584. IsDefault:
  19585. description: 是否默认标志位
  19586. type: integer
  19587. LockMarginValue:
  19588. description: 锁仓保证金
  19589. type: number
  19590. MarginAlgorithm:
  19591. description: 保证金计算方式
  19592. type: integer
  19593. MarketMarginValue:
  19594. description: 即市保证金值
  19595. type: number
  19596. RealMarginAlgorithm:
  19597. description: 实付保证金计算方式
  19598. type: integer
  19599. RealMarginValue:
  19600. description: 实付比例
  19601. type: number
  19602. ReckonMarginValue:
  19603. description: 结算保证金值
  19604. type: number
  19605. type: object
  19606. quote.HistoryData:
  19607. properties:
  19608. c:
  19609. description: 收盘价
  19610. type: number
  19611. f:
  19612. description: 是否补充数据
  19613. type: boolean
  19614. h:
  19615. description: 最高价
  19616. type: number
  19617. hv:
  19618. description: 持仓量
  19619. type: integer
  19620. l:
  19621. description: 最低价
  19622. type: number
  19623. o:
  19624. description: 开盘价
  19625. type: number
  19626. s:
  19627. description: 结算价,日线周期(包括)以上才有
  19628. type: number
  19629. ts:
  19630. description: 时间
  19631. type: string
  19632. tt:
  19633. description: 总金额
  19634. type: number
  19635. tv:
  19636. description: 总量(成交量)
  19637. type: integer
  19638. type: object
  19639. quote.HistoryTikData:
  19640. properties:
  19641. AV:
  19642. description: 卖量
  19643. type: integer
  19644. Ask:
  19645. description: 卖价
  19646. type: number
  19647. BV:
  19648. description: 买量
  19649. type: integer
  19650. Bid:
  19651. description: 买价
  19652. type: number
  19653. HI:
  19654. description: 单笔持仓
  19655. type: integer
  19656. HV:
  19657. description: 持仓量
  19658. type: integer
  19659. PE:
  19660. description: 现价
  19661. type: number
  19662. TDR:
  19663. description: 交易方向,0:买 1:卖
  19664. type: integer
  19665. TK:
  19666. description: 交易类型
  19667. type: integer
  19668. TS:
  19669. description: 行情时间文本
  19670. type: string
  19671. TT:
  19672. description: 现金额
  19673. type: number
  19674. Vol:
  19675. description: 现量
  19676. type: integer
  19677. type: object
  19678. quote.QueryQuoteDayRsp:
  19679. properties:
  19680. ask:
  19681. description: 卖1
  19682. type: number
  19683. ask2:
  19684. description: 卖2
  19685. type: number
  19686. ask3:
  19687. description: 卖3
  19688. type: number
  19689. ask4:
  19690. description: 卖4
  19691. type: number
  19692. ask5:
  19693. description: 卖5
  19694. type: number
  19695. ask6:
  19696. description: 卖6
  19697. type: number
  19698. ask7:
  19699. description: 卖7
  19700. type: number
  19701. ask8:
  19702. description: 卖8
  19703. type: number
  19704. ask9:
  19705. description: 卖9
  19706. type: number
  19707. ask10:
  19708. description: 卖10
  19709. type: number
  19710. askorderid:
  19711. description: 卖单号1
  19712. type: integer
  19713. askorderid2:
  19714. description: 卖单号2
  19715. type: integer
  19716. askorderid3:
  19717. description: 卖单号3
  19718. type: integer
  19719. askorderid4:
  19720. description: 卖单号4
  19721. type: integer
  19722. askorderid5:
  19723. description: 卖单号5
  19724. type: integer
  19725. askordervolume:
  19726. description: 卖单量1
  19727. type: integer
  19728. askordervolume2:
  19729. description: 卖单量2
  19730. type: integer
  19731. askordervolume3:
  19732. description: 卖单量3
  19733. type: integer
  19734. askordervolume4:
  19735. description: 卖单量4
  19736. type: integer
  19737. askordervolume5:
  19738. description: 卖单量5
  19739. type: integer
  19740. askordervolume6:
  19741. description: 卖单量6
  19742. type: integer
  19743. askordervolume7:
  19744. description: 卖单量7
  19745. type: integer
  19746. askordervolume8:
  19747. description: 卖单量8
  19748. type: integer
  19749. askordervolume9:
  19750. description: 卖单量9
  19751. type: integer
  19752. askordervolume10:
  19753. description: 卖单量10
  19754. type: integer
  19755. askqueueinfo:
  19756. description: 大利市卖港股用
  19757. type: string
  19758. askvolume:
  19759. description: 卖量1
  19760. type: integer
  19761. askvolume2:
  19762. description: 卖量2
  19763. type: integer
  19764. askvolume3:
  19765. description: 卖量3
  19766. type: integer
  19767. askvolume4:
  19768. description: 卖量4
  19769. type: integer
  19770. askvolume5:
  19771. description: 卖量5
  19772. type: integer
  19773. askvolume6:
  19774. description: 卖量6
  19775. type: integer
  19776. askvolume7:
  19777. description: 卖量7
  19778. type: integer
  19779. askvolume8:
  19780. description: 卖量8
  19781. type: integer
  19782. askvolume9:
  19783. description: 卖量9
  19784. type: integer
  19785. askvolume10:
  19786. description: 卖量10
  19787. type: integer
  19788. averageprice:
  19789. description: 均价
  19790. type: number
  19791. bid:
  19792. description: 买1
  19793. type: number
  19794. bid2:
  19795. description: 买2
  19796. type: number
  19797. bid3:
  19798. description: 买3
  19799. type: number
  19800. bid4:
  19801. description: 买4
  19802. type: number
  19803. bid5:
  19804. description: 买5
  19805. type: number
  19806. bid6:
  19807. description: 买6
  19808. type: number
  19809. bid7:
  19810. description: 买7
  19811. type: number
  19812. bid8:
  19813. description: 买8
  19814. type: number
  19815. bid9:
  19816. description: 买9
  19817. type: number
  19818. bid10:
  19819. description: 买10
  19820. type: number
  19821. bidorderid:
  19822. description: 买单号1
  19823. type: integer
  19824. bidorderid2:
  19825. description: 买单号2
  19826. type: integer
  19827. bidorderid3:
  19828. description: 买单号3
  19829. type: integer
  19830. bidorderid4:
  19831. description: 买单号4
  19832. type: integer
  19833. bidorderid5:
  19834. description: 买单号5
  19835. type: integer
  19836. bidordervolume:
  19837. description: 买单量1
  19838. type: integer
  19839. bidordervolume2:
  19840. description: 买单量2
  19841. type: integer
  19842. bidordervolume3:
  19843. description: 买单量3
  19844. type: integer
  19845. bidordervolume4:
  19846. description: 买单量4
  19847. type: integer
  19848. bidordervolume5:
  19849. description: 买单量5
  19850. type: integer
  19851. bidordervolume6:
  19852. description: 买单量6
  19853. type: integer
  19854. bidordervolume7:
  19855. description: 买单量7
  19856. type: integer
  19857. bidordervolume8:
  19858. description: 买单量8
  19859. type: integer
  19860. bidordervolume9:
  19861. description: 买单量9
  19862. type: integer
  19863. bidordervolume10:
  19864. description: 买单量10
  19865. type: integer
  19866. bidqueueinfo:
  19867. description: 大利市买港股用
  19868. type: string
  19869. bidvolume:
  19870. description: 买量1
  19871. type: integer
  19872. bidvolume2:
  19873. description: 买量2
  19874. type: integer
  19875. bidvolume3:
  19876. description: 买量3
  19877. type: integer
  19878. bidvolume4:
  19879. description: 买量4
  19880. type: integer
  19881. bidvolume5:
  19882. description: 买量5
  19883. type: integer
  19884. bidvolume6:
  19885. description: 买量6
  19886. type: integer
  19887. bidvolume7:
  19888. description: 买量7
  19889. type: integer
  19890. bidvolume8:
  19891. description: 买量8
  19892. type: integer
  19893. bidvolume9:
  19894. description: 买量9
  19895. type: integer
  19896. bidvolume10:
  19897. description: 买量10
  19898. type: integer
  19899. calloptionpremiums:
  19900. description: 认购期权1
  19901. type: integer
  19902. calloptionpremiums2:
  19903. description: 认购期权2
  19904. type: integer
  19905. calloptionpremiums3:
  19906. description: 认购期权3
  19907. type: integer
  19908. calloptionpremiums4:
  19909. description: 认购期权4
  19910. type: integer
  19911. calloptionpremiums5:
  19912. description: 认购期权5
  19913. type: integer
  19914. cleartime:
  19915. description: 清盘时间
  19916. type: integer
  19917. exchangecode:
  19918. description: 交易所代码
  19919. type: integer
  19920. exchangedate:
  19921. description: 交易日
  19922. type: integer
  19923. goodscode:
  19924. description: 商品代码
  19925. type: string
  19926. grepmarketprice:
  19927. description: 暗盘价 港股专用
  19928. type: number
  19929. highest:
  19930. description: 最高价
  19931. type: number
  19932. holdincrement:
  19933. description: 单笔持仓
  19934. type: integer
  19935. holdvolume:
  19936. description: 持仓
  19937. type: integer
  19938. iep:
  19939. description: 平衡价 港股专用
  19940. type: number
  19941. iev:
  19942. description: 平衡量 港股专用
  19943. type: number
  19944. inventory:
  19945. description: 库存
  19946. type: integer
  19947. iscleared:
  19948. description: 是否清盘标志
  19949. type: integer
  19950. issettled:
  19951. description: 是否结算标志
  19952. type: integer
  19953. last:
  19954. description: 最新价
  19955. type: number
  19956. lastlot:
  19957. description: 最新成交手数
  19958. type: integer
  19959. lasttime:
  19960. description: 行情时间(只有现价变化行情时间才变化)
  19961. type: string
  19962. lastturnover:
  19963. description: 最新成交金额
  19964. type: number
  19965. lastvolume:
  19966. description: 最新成交量
  19967. type: integer
  19968. limitdown:
  19969. description: 跌停价
  19970. type: number
  19971. limitup:
  19972. description: 涨停价
  19973. type: number
  19974. lowest:
  19975. description: 最低价
  19976. type: number
  19977. nontotalholdervolume:
  19978. description: 非交易持仓量
  19979. type: integer
  19980. nontotallot:
  19981. description: 非交易总手数
  19982. type: integer
  19983. nontotalturnover:
  19984. description: 非交易总金额
  19985. type: integer
  19986. nontotalvolume:
  19987. description: 非交易总量
  19988. type: integer
  19989. opened:
  19990. description: 开盘价
  19991. type: number
  19992. opentime:
  19993. description: 开盘时间
  19994. type: string
  19995. orderid:
  19996. description: 序号
  19997. type: integer
  19998. preclose:
  19999. description: 昨收
  20000. type: number
  20001. preholdvolume:
  20002. description: 昨持仓
  20003. type: integer
  20004. presettle:
  20005. description: 昨结价
  20006. type: number
  20007. publictradetype:
  20008. description: 公共交易标志类型 港股专用
  20009. type: string
  20010. putoptionpremiums:
  20011. description: 认沽期权1
  20012. type: integer
  20013. putoptionpremiums2:
  20014. description: 认沽期权2
  20015. type: integer
  20016. putoptionpremiums3:
  20017. description: 认沽期权3
  20018. type: integer
  20019. putoptionpremiums4:
  20020. description: 认沽期权4
  20021. type: integer
  20022. putoptionpremiums5:
  20023. description: 认沽期权5
  20024. type: integer
  20025. settle:
  20026. description: 结算价
  20027. type: number
  20028. strikeprice:
  20029. description: 发行价
  20030. type: number
  20031. totalaskvolume:
  20032. description: 内盘
  20033. type: integer
  20034. totalbidvolume:
  20035. description: 外盘
  20036. type: integer
  20037. totallot:
  20038. description: 总手数
  20039. type: integer
  20040. totalturnover:
  20041. description: 总金额
  20042. type: number
  20043. totalvolume:
  20044. description: 总量
  20045. type: integer
  20046. utclasttime:
  20047. description: utc的行情时间
  20048. type: string
  20049. type: object
  20050. quote.QueryTSDataRsp:
  20051. properties:
  20052. Count:
  20053. description: 交易日应有数据个数
  20054. type: integer
  20055. decimalPlace:
  20056. description: 小数位
  20057. type: integer
  20058. endTime:
  20059. description: 结束时间
  20060. type: string
  20061. goodsCode:
  20062. description: 商品代码
  20063. type: string
  20064. historyDatas:
  20065. description: 历史数据
  20066. items:
  20067. $ref: '#/definitions/quote.HistoryData'
  20068. type: array
  20069. outGoodsCode:
  20070. description: 外部商品代码
  20071. type: string
  20072. preSettle:
  20073. description: 昨结价
  20074. type: number
  20075. runSteps:
  20076. description: 交易日开休市计划
  20077. items:
  20078. $ref: '#/definitions/quote.TSDataRunStep'
  20079. type: array
  20080. startTime:
  20081. description: 开始时间
  20082. type: string
  20083. tradeDate:
  20084. description: 交易日
  20085. type: string
  20086. type: object
  20087. quote.TSDataRunStep:
  20088. properties:
  20089. end:
  20090. description: 真实结束时间
  20091. type: string
  20092. endflag:
  20093. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20094. type: integer
  20095. endtime:
  20096. description: 结束时间(HH:mm)
  20097. type: string
  20098. endweekday:
  20099. description: 结束周几
  20100. type: integer
  20101. groupid:
  20102. description: 分组ID
  20103. type: integer
  20104. runstep:
  20105. description: 运行阶段 - 2:连续交易
  20106. type: integer
  20107. sectionid:
  20108. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20109. 结束时间=结算时间 结束周几=结算周几
  20110. type: integer
  20111. start:
  20112. description: 真实开始时间
  20113. type: string
  20114. startflag:
  20115. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20116. type: integer
  20117. starttime:
  20118. description: 起始时间(HH:mm)
  20119. type: string
  20120. startweekday:
  20121. description: 起始周几
  20122. type: integer
  20123. tradeweekday:
  20124. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20125. type: integer
  20126. type: object
  20127. szdz.QueryConvertLogRsp:
  20128. properties:
  20129. accountid:
  20130. description: 资金账户ID
  20131. type: integer
  20132. clientticket:
  20133. description: 客户端流水号
  20134. type: string
  20135. converttype:
  20136. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20137. type: integer
  20138. createtime:
  20139. description: 记账时间
  20140. type: string
  20141. daymaxvalue:
  20142. description: 配置当日最大转入限制
  20143. type: number
  20144. daymaxvalue2:
  20145. description: 配置当日最大转入限制(转入)
  20146. type: number
  20147. goodscode:
  20148. description: 商品代码
  20149. type: string
  20150. goodsname:
  20151. description: 商品名称
  20152. type: string
  20153. handlestatus:
  20154. description: 处理状态
  20155. type: integer
  20156. innergoodsid:
  20157. description: 内部商品ID
  20158. type: integer
  20159. inratio:
  20160. description: 配置转入比值
  20161. type: integer
  20162. invalue:
  20163. description: 目标值
  20164. type: number
  20165. logid:
  20166. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20167. type: integer
  20168. mobile:
  20169. description: 手机号码(加密存储)
  20170. type: string
  20171. outergoodscode:
  20172. description: 外部商品代码[JD\PD]
  20173. type: string
  20174. outratio:
  20175. description: 配置转出比值
  20176. type: integer
  20177. outvalue:
  20178. description: 源值
  20179. type: number
  20180. pddecimalplace:
  20181. description: PD小数位
  20182. type: integer
  20183. qty:
  20184. description: 数量
  20185. type: string
  20186. remark:
  20187. description: 备注
  20188. type: string
  20189. sessionid:
  20190. description: 会话ID
  20191. type: integer
  20192. timemaxvalue:
  20193. description: 配置单次最大转入限制
  20194. type: number
  20195. timemaxvalue2:
  20196. description: 配置单次最大转入限制(转入)
  20197. type: number
  20198. timeminvalue:
  20199. description: 配置单次最小数量限制
  20200. type: number
  20201. timeminvalue2:
  20202. description: 配置单次最小数量限制(转入)
  20203. type: number
  20204. tradedate:
  20205. description: 交易日(yyyyMMdd)
  20206. type: string
  20207. userid:
  20208. description: 用户ID
  20209. type: integer
  20210. required:
  20211. - logid
  20212. type: object
  20213. szdz.QueryGoodsPickupRsp:
  20214. properties:
  20215. accountid:
  20216. description: 账户ID
  20217. type: integer
  20218. address:
  20219. description: 提货人详细地址
  20220. type: string
  20221. auditer:
  20222. description: 审核人
  20223. type: integer
  20224. audittime:
  20225. description: 审核时间
  20226. type: string
  20227. cardnum:
  20228. description: 提货人证件号码
  20229. type: string
  20230. cardtypeid:
  20231. description: 提货人证件类型
  20232. type: integer
  20233. checkremark:
  20234. description: 审核备注
  20235. type: string
  20236. goodscode:
  20237. description: 商品代码
  20238. type: string
  20239. goodsid:
  20240. description: 商品ID
  20241. type: integer
  20242. goodsname:
  20243. description: 商品名称
  20244. type: string
  20245. handlestatus:
  20246. description: 处理状态
  20247. type: integer
  20248. marketid:
  20249. description: 市场ID
  20250. type: integer
  20251. phonenum:
  20252. description: 提货人联系方式
  20253. type: string
  20254. qty:
  20255. description: 提货数量
  20256. type: number
  20257. recivername:
  20258. description: 提货人姓名
  20259. type: string
  20260. reqtime:
  20261. description: 更新时间
  20262. type: string
  20263. takemode:
  20264. description: 提货方式 - 2:自提 3:配送
  20265. type: integer
  20266. takeorderid:
  20267. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20268. type: string
  20269. takeorderstatus:
  20270. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20271. type: integer
  20272. takeremark:
  20273. description: 提货备注
  20274. type: string
  20275. tradedate:
  20276. description: 交易日(yyyyMMdd)
  20277. type: string
  20278. userid:
  20279. description: 用户ID
  20280. type: integer
  20281. required:
  20282. - takeorderid
  20283. type: object
  20284. szdz.QueryRecieptOrderRsp:
  20285. properties:
  20286. accountName:
  20287. description: 所属账号名称(已脱敏)
  20288. type: string
  20289. accountid:
  20290. description: 资金账号
  20291. type: integer
  20292. buyorsell:
  20293. description: 方向 - 0:买 1:卖
  20294. type: integer
  20295. enableqty:
  20296. description: 可摘数量
  20297. type: integer
  20298. goodscode:
  20299. description: 商品代码
  20300. type: string
  20301. goodsid:
  20302. description: 商品ID
  20303. type: integer
  20304. goodsname:
  20305. description: 商品名称
  20306. type: string
  20307. orderid:
  20308. description: 委托单号
  20309. type: string
  20310. orderprice:
  20311. description: 委托价格
  20312. type: number
  20313. ordertime:
  20314. description: 委托时间
  20315. type: string
  20316. tradedate:
  20317. description: 交易日(yyyyMMdd)
  20318. type: string
  20319. required:
  20320. - ordertime
  20321. type: object
  20322. szdz.QuerySZDZTradePositionRsp:
  20323. properties:
  20324. accountid:
  20325. description: 账号Id
  20326. type: integer
  20327. agreeunit:
  20328. description: 合约单位
  20329. type: number
  20330. averageprice:
  20331. description: 持仓均价
  20332. type: number
  20333. buyorsell:
  20334. description: 方向 - 0:买 1:卖
  20335. type: integer
  20336. closetotalqty:
  20337. description: 平仓总数量
  20338. type: integer
  20339. curholderamount:
  20340. description: 当前持仓总金额
  20341. type: number
  20342. curpositionqty:
  20343. description: 当前持仓总数量
  20344. type: integer
  20345. currencyid:
  20346. description: 报价货币ID
  20347. type: integer
  20348. curtdposition:
  20349. description: 期末今日头寸
  20350. type: integer
  20351. decimalplace:
  20352. description: 报价小数位
  20353. type: integer
  20354. enableqty:
  20355. description: 可用量
  20356. type: integer
  20357. fretdposition:
  20358. description: 冻结今日头寸
  20359. type: integer
  20360. frozenqty:
  20361. description: 持仓冻结数量
  20362. type: integer
  20363. goodscode:
  20364. description: 商品代码(内部)
  20365. type: string
  20366. goodsid:
  20367. description: 商品Id
  20368. type: integer
  20369. goodsname:
  20370. description: 商品名称
  20371. type: string
  20372. goodunit:
  20373. description: 报价单位
  20374. type: string
  20375. goodunitid:
  20376. description: 报价单位ID
  20377. type: integer
  20378. holderamount:
  20379. description: 期初持仓总金额
  20380. type: number
  20381. marketid:
  20382. description: 市场ID
  20383. type: integer
  20384. openreqqty:
  20385. description: 开仓申请数量
  20386. type: integer
  20387. opentotalqty:
  20388. description: 开仓总数量
  20389. type: integer
  20390. otherfrozenqty:
  20391. description: 持仓其他冻结数量(交割冻结)
  20392. type: integer
  20393. positionqty:
  20394. description: 期初持仓数量
  20395. type: integer
  20396. szdz3freezqty:
  20397. description: 尚志大宗转换冻结总数量
  20398. type: integer
  20399. tnqty:
  20400. description: T+N冻结总量
  20401. type: integer
  20402. tnusedqty:
  20403. description: T+N使用量
  20404. type: integer
  20405. trademode:
  20406. description: 交易模式
  20407. type: integer
  20408. usedmargin:
  20409. description: 占用保证金
  20410. type: number
  20411. type: object
  20412. taaccount.QueryAmountLogRsp:
  20413. properties:
  20414. OPERATETYPENAME:
  20415. description: 资金操作类型名称
  20416. type: string
  20417. accountid:
  20418. description: 资金账户ID
  20419. type: integer
  20420. agoodscode:
  20421. description: 竞拍商品代码
  20422. type: string
  20423. agoodsname:
  20424. description: 竞拍商品名称
  20425. type: string
  20426. amount:
  20427. description: 资金金额
  20428. type: number
  20429. amountadjusttype:
  20430. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20431. type: integer
  20432. autoid:
  20433. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20434. type: integer
  20435. balance:
  20436. description: 期初余额
  20437. type: number
  20438. businesscode:
  20439. description: 业务编号
  20440. type: integer
  20441. createtime:
  20442. description: 发生时间
  20443. type: string
  20444. currencyid:
  20445. description: 币种ID
  20446. type: integer
  20447. currentbalance:
  20448. description: 期末余额(变动后金额)
  20449. type: number
  20450. dgoodscode:
  20451. description: 交割商品代码
  20452. type: string
  20453. dgoodsname:
  20454. description: 交割商品名称
  20455. type: string
  20456. goodscode:
  20457. description: 商品代码
  20458. type: string
  20459. goodsid:
  20460. description: 商品ID
  20461. type: integer
  20462. goodsname:
  20463. description: 商品名称
  20464. type: string
  20465. marketid:
  20466. description: 市场ID
  20467. type: integer
  20468. marketname:
  20469. description: 市场名称
  20470. type: string
  20471. moneyticket:
  20472. description: 资金流水号:银行端流水号
  20473. type: integer
  20474. operatetype:
  20475. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20476. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20477. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20478. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20479. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20480. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20481. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20482. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20483. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20484. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20485. type: integer
  20486. relationorderid:
  20487. description: 关联单号
  20488. type: string
  20489. remark:
  20490. description: 备注
  20491. type: string
  20492. trademode:
  20493. description: 交易模式
  20494. type: integer
  20495. required:
  20496. - accountid
  20497. - amount
  20498. - amountadjusttype
  20499. - autoid
  20500. - balance
  20501. - createtime
  20502. - currentbalance
  20503. - operatetype
  20504. type: object
  20505. taaccount.QueryHisAmountLogRsp:
  20506. properties:
  20507. OPERATETYPENAME:
  20508. description: 资金操作类型名称
  20509. type: string
  20510. accountid:
  20511. description: 资金账户ID
  20512. type: integer
  20513. agoodscode:
  20514. description: 竞拍商品代码
  20515. type: string
  20516. agoodsname:
  20517. description: 竞拍商品名称
  20518. type: string
  20519. amount:
  20520. description: 资金金额
  20521. type: number
  20522. amountadjusttype:
  20523. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20524. type: integer
  20525. autoid:
  20526. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20527. type: integer
  20528. balance:
  20529. description: 期初余额
  20530. type: number
  20531. businesscode:
  20532. description: 业务编号
  20533. type: integer
  20534. createtime:
  20535. description: 发生时间
  20536. type: string
  20537. currencyid:
  20538. description: 币种ID
  20539. type: integer
  20540. currentbalance:
  20541. description: 期末余额(变动后金额)
  20542. type: number
  20543. dgoodscode:
  20544. description: 交割商品代码
  20545. type: string
  20546. dgoodsname:
  20547. description: 交割商品名称
  20548. type: string
  20549. goodscode:
  20550. description: 商品代码
  20551. type: string
  20552. goodsid:
  20553. description: 商品ID
  20554. type: integer
  20555. goodsname:
  20556. description: 商品名称
  20557. type: string
  20558. histradedate:
  20559. description: 历史交易日
  20560. type: string
  20561. isvaliddata:
  20562. description: 是否有效 - 0:无效 1:有效
  20563. type: integer
  20564. marketid:
  20565. description: 市场ID
  20566. type: integer
  20567. marketname:
  20568. description: 市场名称
  20569. type: string
  20570. moneyticket:
  20571. description: 资金流水号:银行端流水号
  20572. type: integer
  20573. operatetype:
  20574. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20575. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20576. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20577. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20578. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20579. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20580. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20581. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20582. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20583. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20584. type: integer
  20585. relationorderid:
  20586. description: 关联单号
  20587. type: string
  20588. remark:
  20589. description: 备注
  20590. type: string
  20591. trademode:
  20592. description: 交易模式
  20593. type: integer
  20594. required:
  20595. - accountid
  20596. - amount
  20597. - amountadjusttype
  20598. - autoid
  20599. - balance
  20600. - createtime
  20601. - currentbalance
  20602. - histradedate
  20603. - operatetype
  20604. type: object
  20605. trade.QueryRecieptOrderRsp:
  20606. properties:
  20607. accountName:
  20608. description: 所属账号名称(已脱敏)
  20609. type: string
  20610. accountid:
  20611. description: 资金账号
  20612. type: integer
  20613. buyorsell:
  20614. description: 方向 - 0:买 1:卖
  20615. type: integer
  20616. enableqty:
  20617. description: 可摘数量
  20618. type: integer
  20619. goodscode:
  20620. description: 商品代码
  20621. type: string
  20622. goodsid:
  20623. description: 商品ID
  20624. type: integer
  20625. goodsname:
  20626. description: 商品名称
  20627. type: string
  20628. orderid:
  20629. description: 委托单号
  20630. type: string
  20631. orderprice:
  20632. description: 委托价格
  20633. type: number
  20634. ordertime:
  20635. description: 委托时间
  20636. type: string
  20637. tradedate:
  20638. description: 交易日(yyyyMMdd)
  20639. type: string
  20640. required:
  20641. - ordertime
  20642. type: object
  20643. user.LoginQueryRsp:
  20644. properties:
  20645. areaRoles:
  20646. description: 所属角色信息
  20647. items:
  20648. $ref: '#/definitions/models.Arearole'
  20649. type: array
  20650. externalExchanges:
  20651. description: 外部交易所
  20652. items:
  20653. $ref: '#/definitions/models.Externalexchange'
  20654. type: array
  20655. goodsgroups:
  20656. description: 商品组
  20657. items:
  20658. $ref: '#/definitions/models.Goodsgroup'
  20659. type: array
  20660. loginAccount:
  20661. $ref: '#/definitions/models.Loginaccount'
  20662. description: 登录账号
  20663. markets:
  20664. description: 市场
  20665. items:
  20666. $ref: '#/definitions/models.Market'
  20667. type: array
  20668. systemParams:
  20669. description: 系统参数
  20670. items:
  20671. $ref: '#/definitions/models.Systemparam'
  20672. type: array
  20673. userAccount:
  20674. $ref: '#/definitions/models.Useraccount'
  20675. description: 用户账号
  20676. userInfo:
  20677. $ref: '#/definitions/models.Userinfo'
  20678. description: 用户信息
  20679. username:
  20680. description: 用户姓名
  20681. type: string
  20682. type: object
  20683. info:
  20684. contact: {}
  20685. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20686. termsOfService: http://www.muchinfo.cn
  20687. title: MTP2.0 查询服务 API
  20688. version: "1.0"
  20689. paths:
  20690. /CPTrade/QueryCPTradeMyBidInfos:
  20691. get:
  20692. parameters:
  20693. - description: 资金账户
  20694. in: query
  20695. name: accountid
  20696. required: true
  20697. type: integer
  20698. - description: 预售市场ID
  20699. in: query
  20700. name: marketid
  20701. type: integer
  20702. - description: 预售商品ID
  20703. in: query
  20704. name: goodsid
  20705. type: integer
  20706. produces:
  20707. - application/json
  20708. responses:
  20709. "200":
  20710. description: OK
  20711. schema:
  20712. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20713. "500":
  20714. description: Internal Server Error
  20715. schema:
  20716. $ref: '#/definitions/app.Response'
  20717. security:
  20718. - ApiKeyAuth: []
  20719. summary: 查询产能预售我的出价信息
  20720. tags:
  20721. - 产能预售
  20722. /CPTrade/QueryCPTradeOrderDetail:
  20723. get:
  20724. parameters:
  20725. - description: 预售商品ID
  20726. in: query
  20727. name: goodsid
  20728. type: integer
  20729. - description: 预售市场ID
  20730. in: query
  20731. name: marketid
  20732. type: integer
  20733. - description: 预售商品ID列表 - 格式:1,2,3
  20734. in: query
  20735. name: goodsids
  20736. type: string
  20737. produces:
  20738. - application/json
  20739. responses:
  20740. "200":
  20741. description: OK
  20742. schema:
  20743. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20744. "500":
  20745. description: Internal Server Error
  20746. schema:
  20747. $ref: '#/definitions/app.Response'
  20748. security:
  20749. - ApiKeyAuth: []
  20750. summary: 查询产能预售委托单信息
  20751. tags:
  20752. - 产能预售
  20753. /CPTrade/QueryMyCPTradeGoods:
  20754. get:
  20755. parameters:
  20756. - description: 资金账户
  20757. in: query
  20758. name: accountid
  20759. required: true
  20760. type: integer
  20761. produces:
  20762. - application/json
  20763. responses:
  20764. "200":
  20765. description: OK
  20766. schema:
  20767. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20768. "500":
  20769. description: Internal Server Error
  20770. schema:
  20771. $ref: '#/definitions/app.Response'
  20772. security:
  20773. - ApiKeyAuth: []
  20774. summary: 查询我的预售信息
  20775. tags:
  20776. - 产能预售
  20777. /CPTrade/QueryPositionCancel:
  20778. get:
  20779. parameters:
  20780. - description: 账户ID
  20781. in: query
  20782. name: userid
  20783. required: true
  20784. type: integer
  20785. - description: 注销ID
  20786. in: query
  20787. name: cancelid
  20788. type: integer
  20789. - description: 资金账户ID
  20790. in: query
  20791. name: accountid
  20792. type: integer
  20793. produces:
  20794. - application/json
  20795. responses:
  20796. "200":
  20797. description: OK
  20798. schema:
  20799. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20800. "500":
  20801. description: Internal Server Error
  20802. schema:
  20803. $ref: '#/definitions/app.Response'
  20804. security:
  20805. - ApiKeyAuth: []
  20806. summary: 查询远期订单注销申请信息
  20807. tags:
  20808. - 产能预售
  20809. /CPTrade/QueryPreasleApply:
  20810. get:
  20811. parameters:
  20812. - description: 账户ID
  20813. in: query
  20814. name: userid
  20815. required: true
  20816. type: integer
  20817. - description: 申请ID
  20818. in: query
  20819. name: applyid
  20820. type: integer
  20821. - description: 资金账户ID
  20822. in: query
  20823. name: accountid
  20824. type: integer
  20825. produces:
  20826. - application/json
  20827. responses:
  20828. "200":
  20829. description: OK
  20830. schema:
  20831. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20832. "500":
  20833. description: Internal Server Error
  20834. schema:
  20835. $ref: '#/definitions/app.Response'
  20836. security:
  20837. - ApiKeyAuth: []
  20838. summary: 查询产能预售申请信息
  20839. tags:
  20840. - 产能预售
  20841. /CPTrade/QueryPresaleGoodsEx:
  20842. get:
  20843. parameters:
  20844. - description: 预售商品ID
  20845. in: query
  20846. name: goodsid
  20847. type: integer
  20848. - description: 预售市场ID
  20849. in: query
  20850. name: marketid
  20851. type: integer
  20852. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20853. in: query
  20854. name: presalemode
  20855. type: integer
  20856. - description: 预售商品ID列表 - 格式:1,2,3
  20857. in: query
  20858. name: goodsids
  20859. type: string
  20860. - description: 预售商品代码
  20861. in: query
  20862. name: goodscode
  20863. type: string
  20864. produces:
  20865. - application/json
  20866. responses:
  20867. "200":
  20868. description: OK
  20869. schema:
  20870. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 查询产能预售商品扩展信息
  20878. tags:
  20879. - 产能预售
  20880. /CPTrade/QueryUserGoodsData:
  20881. get:
  20882. parameters:
  20883. - description: 资金账户ID
  20884. in: query
  20885. name: accountid
  20886. required: true
  20887. type: integer
  20888. produces:
  20889. - application/json
  20890. responses:
  20891. "200":
  20892. description: OK
  20893. schema:
  20894. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20895. "500":
  20896. description: Internal Server Error
  20897. schema:
  20898. $ref: '#/definitions/app.Response'
  20899. security:
  20900. - ApiKeyAuth: []
  20901. summary: 查询远期订单信息
  20902. tags:
  20903. - 产能预售
  20904. /Common/GetAllEnums:
  20905. get:
  20906. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20907. parameters:
  20908. - description: 起始自增ID
  20909. in: query
  20910. name: autoid
  20911. type: integer
  20912. produces:
  20913. - application/json
  20914. responses:
  20915. "200":
  20916. description: OK
  20917. schema:
  20918. $ref: '#/definitions/models.Enumdicitem'
  20919. "500":
  20920. description: Internal Server Error
  20921. schema:
  20922. $ref: '#/definitions/app.Response'
  20923. summary: 获取所有枚举信息
  20924. tags:
  20925. - 通用服务
  20926. /Common/GetClientMenus:
  20927. get:
  20928. parameters:
  20929. - description: 登录账号
  20930. in: query
  20931. name: loginID
  20932. required: true
  20933. type: integer
  20934. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20935. in: query
  20936. name: clientType
  20937. type: integer
  20938. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20939. in: query
  20940. name: name
  20941. type: string
  20942. produces:
  20943. - application/json
  20944. responses:
  20945. "200":
  20946. description: OK
  20947. schema:
  20948. items:
  20949. $ref: '#/definitions/common.ClientMenu'
  20950. type: array
  20951. "500":
  20952. description: Internal Server Error
  20953. schema:
  20954. $ref: '#/definitions/app.Response'
  20955. security:
  20956. - ApiKeyAuth: []
  20957. summary: 获取交易端菜单
  20958. tags:
  20959. - 通用服务
  20960. /Common/GetDivisions:
  20961. get:
  20962. produces:
  20963. - application/json
  20964. responses:
  20965. "200":
  20966. description: OK
  20967. schema:
  20968. $ref: '#/definitions/models.Division'
  20969. "500":
  20970. description: Internal Server Error
  20971. schema:
  20972. $ref: '#/definitions/app.Response'
  20973. summary: 查询区域信息
  20974. tags:
  20975. - 通用服务
  20976. /Common/GetPCWebMenus:
  20977. get:
  20978. parameters:
  20979. - description: 登录账号
  20980. in: query
  20981. name: loginID
  20982. required: true
  20983. type: integer
  20984. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20985. in: query
  20986. name: name
  20987. type: string
  20988. produces:
  20989. - application/json
  20990. responses:
  20991. "200":
  20992. description: OK
  20993. schema:
  20994. items:
  20995. $ref: '#/definitions/common.PCWebMenu'
  20996. type: array
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. security:
  21002. - ApiKeyAuth: []
  21003. summary: 获取PCWeb交易端菜单
  21004. tags:
  21005. - 通用服务
  21006. /Common/GetServerTime:
  21007. get:
  21008. produces:
  21009. - application/json
  21010. responses:
  21011. "200":
  21012. description: OK
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. "500":
  21016. description: Internal Server Error
  21017. schema:
  21018. $ref: '#/definitions/app.Response'
  21019. summary: 获取服务器时间
  21020. tags:
  21021. - 通用服务
  21022. /Common/NoticeReaded:
  21023. post:
  21024. parameters:
  21025. - description: 登录账号
  21026. in: query
  21027. name: loginID
  21028. required: true
  21029. type: integer
  21030. - description: 通知公告ID
  21031. in: query
  21032. name: noticeID
  21033. required: true
  21034. type: integer
  21035. produces:
  21036. - application/json
  21037. responses:
  21038. "200":
  21039. description: OK
  21040. schema:
  21041. $ref: '#/definitions/app.Response'
  21042. "500":
  21043. description: Internal Server Error
  21044. schema:
  21045. $ref: '#/definitions/app.Response'
  21046. security:
  21047. - ApiKeyAuth: []
  21048. summary: 通知公告设置已读请求
  21049. tags:
  21050. - 通用服务
  21051. /Common/QueryErrorInfos:
  21052. get:
  21053. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21054. parameters:
  21055. - description: 起始行号前索引
  21056. in: query
  21057. name: rowNumber
  21058. type: string
  21059. produces:
  21060. - application/json
  21061. responses:
  21062. "200":
  21063. description: OK
  21064. schema:
  21065. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21066. "500":
  21067. description: Internal Server Error
  21068. schema:
  21069. $ref: '#/definitions/app.Response'
  21070. summary: 获取数据库错误信息
  21071. tags:
  21072. - 通用服务
  21073. /Common/QueryImageConfigs:
  21074. get:
  21075. parameters:
  21076. - description: 用户id
  21077. in: query
  21078. name: userId
  21079. type: integer
  21080. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21081. in: query
  21082. name: imageType
  21083. type: integer
  21084. produces:
  21085. - application/json
  21086. responses:
  21087. "200":
  21088. description: OK
  21089. schema:
  21090. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21091. "500":
  21092. description: Internal Server Error
  21093. schema:
  21094. $ref: '#/definitions/app.Response'
  21095. summary: 查询轮播图配置信息
  21096. tags:
  21097. - 通用服务
  21098. /Common/QueryNotice:
  21099. get:
  21100. parameters:
  21101. - description: 页码
  21102. in: query
  21103. name: page
  21104. type: integer
  21105. - description: 每页条数
  21106. in: query
  21107. name: pagesize
  21108. type: integer
  21109. - description: 登录账号
  21110. in: query
  21111. name: loginID
  21112. required: true
  21113. type: integer
  21114. - description: 消息类型 - 1:公告通知 2:系统消息
  21115. in: query
  21116. name: msgType
  21117. type: integer
  21118. - description: 是否只获取未读信息
  21119. in: query
  21120. name: onlyUnRead
  21121. type: boolean
  21122. - description: 自增ID,传入后会返回这个ID后面的记录
  21123. in: query
  21124. name: lastID
  21125. type: integer
  21126. produces:
  21127. - application/json
  21128. responses:
  21129. "200":
  21130. description: OK
  21131. schema:
  21132. $ref: '#/definitions/common.QueryNoticeRsp'
  21133. "500":
  21134. description: Internal Server Error
  21135. schema:
  21136. $ref: '#/definitions/app.Response'
  21137. security:
  21138. - ApiKeyAuth: []
  21139. summary: 通知公告系统消息查询
  21140. tags:
  21141. - 通用服务
  21142. /Common/QueryProvincesAndCities:
  21143. get:
  21144. parameters:
  21145. - description: 省ID
  21146. in: query
  21147. name: provinceID
  21148. type: integer
  21149. produces:
  21150. - application/json
  21151. responses:
  21152. "200":
  21153. description: OK
  21154. schema:
  21155. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21156. "500":
  21157. description: Internal Server Error
  21158. schema:
  21159. $ref: '#/definitions/app.Response'
  21160. summary: 查询省市信息(不包括区)
  21161. tags:
  21162. - 通用服务
  21163. /Common/QueryTableDefine:
  21164. get:
  21165. parameters:
  21166. - description: 表key
  21167. in: query
  21168. name: tableKey
  21169. type: string
  21170. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21171. in: query
  21172. name: tableType
  21173. type: integer
  21174. produces:
  21175. - application/json
  21176. responses:
  21177. "200":
  21178. description: OK
  21179. schema:
  21180. $ref: '#/definitions/common.QueryTableDefineRsp'
  21181. "500":
  21182. description: Internal Server Error
  21183. schema:
  21184. $ref: '#/definitions/app.Response'
  21185. summary: 查询交易端列表头信息
  21186. tags:
  21187. - 通用服务
  21188. /Common/QueryTraderMenu:
  21189. get:
  21190. parameters:
  21191. - description: 登录账号
  21192. in: query
  21193. name: loginid
  21194. required: true
  21195. type: integer
  21196. produces:
  21197. - application/json
  21198. responses:
  21199. "200":
  21200. description: OK
  21201. schema:
  21202. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21203. "500":
  21204. description: Internal Server Error
  21205. schema:
  21206. $ref: '#/definitions/app.Response'
  21207. summary: 查询交易端菜单
  21208. tags:
  21209. - 通用服务
  21210. /Delivery/QueryDeliveryRelation:
  21211. get:
  21212. parameters:
  21213. - description: 商品ID
  21214. in: query
  21215. name: goodsid
  21216. type: integer
  21217. - description: 品种ID
  21218. in: query
  21219. name: deliverygoodsid
  21220. type: integer
  21221. - description: 市场ID
  21222. in: query
  21223. name: marketid
  21224. type: integer
  21225. produces:
  21226. - application/json
  21227. responses:
  21228. "200":
  21229. description: OK
  21230. schema:
  21231. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21232. "500":
  21233. description: Internal Server Error
  21234. schema:
  21235. $ref: '#/definitions/app.Response'
  21236. security:
  21237. - ApiKeyAuth: []
  21238. summary: 查询商品交割关系表
  21239. tags:
  21240. - 交割服务
  21241. /Ermcp/GetErmcpGoods:
  21242. get:
  21243. parameters:
  21244. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21245. in: query
  21246. name: userid
  21247. type: integer
  21248. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21249. in: query
  21250. name: lastUpdateTime
  21251. type: string
  21252. produces:
  21253. - application/json
  21254. responses:
  21255. "200":
  21256. description: OK
  21257. schema:
  21258. $ref: '#/definitions/models.ErmcpGoods'
  21259. "500":
  21260. description: Internal Server Error
  21261. schema:
  21262. $ref: '#/definitions/app.Response'
  21263. security:
  21264. - ApiKeyAuth: []
  21265. summary: 查询企业风管期货商品信息
  21266. tags:
  21267. - 企业风险管理(app)
  21268. /Ermcp/GetErmcpGoodsSortByPosition:
  21269. get:
  21270. parameters:
  21271. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21272. in: query
  21273. name: sortIndex
  21274. type: string
  21275. produces:
  21276. - application/json
  21277. responses:
  21278. "200":
  21279. description: OK
  21280. schema:
  21281. $ref: '#/definitions/models.Goodssortbypreposition'
  21282. "500":
  21283. description: Internal Server Error
  21284. schema:
  21285. $ref: '#/definitions/app.Response'
  21286. security:
  21287. - ApiKeyAuth: []
  21288. summary: 查询企业风管期货主力、次主力商品信息
  21289. tags:
  21290. - 企业风险管理(app)
  21291. /Ermcp/GetErmcpOutAccountStatus:
  21292. get:
  21293. parameters:
  21294. - description: 登录账号
  21295. in: query
  21296. name: loginID
  21297. required: true
  21298. type: integer
  21299. produces:
  21300. - application/json
  21301. responses:
  21302. "200":
  21303. description: OK
  21304. schema:
  21305. $ref: '#/definitions/models.Hedgemarketopenlog'
  21306. "500":
  21307. description: Internal Server Error
  21308. schema:
  21309. $ref: '#/definitions/app.Response'
  21310. security:
  21311. - ApiKeyAuth: []
  21312. summary: 获取目标登录账号当前对冲账号在线状态
  21313. tags:
  21314. - 企业风险管理(app)
  21315. /Ermcp/GetErmcpRoleFuncMenuLists:
  21316. get:
  21317. parameters:
  21318. - description: 登录账号
  21319. in: query
  21320. name: loginID
  21321. required: true
  21322. type: integer
  21323. produces:
  21324. - application/json
  21325. responses:
  21326. "200":
  21327. description: OK
  21328. schema:
  21329. $ref: '#/definitions/models.Funcmenulist'
  21330. "500":
  21331. description: Internal Server Error
  21332. schema:
  21333. $ref: '#/definitions/app.Response'
  21334. security:
  21335. - ApiKeyAuth: []
  21336. summary: 获取企业风管终端权限
  21337. tags:
  21338. - 企业风险管理(app)
  21339. /Ermcp/QueryAccMgrBizGroupSet:
  21340. get:
  21341. parameters:
  21342. - description: 用户ID
  21343. in: query
  21344. name: userid
  21345. required: true
  21346. type: integer
  21347. - description: 现货商品id
  21348. in: query
  21349. name: deliverygoodsid
  21350. type: integer
  21351. produces:
  21352. - application/json
  21353. responses:
  21354. "200":
  21355. description: OK
  21356. schema:
  21357. items:
  21358. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21359. type: array
  21360. "500":
  21361. description: Internal Server Error
  21362. schema:
  21363. $ref: '#/definitions/app.Response'
  21364. security:
  21365. - ApiKeyAuth: []
  21366. summary: 查询业务类型分组(账户管理/账户设置)
  21367. tags:
  21368. - 企业风险管理(app)
  21369. /Ermcp/QueryAccMgrLoginUser:
  21370. get:
  21371. parameters:
  21372. - description: 用户ID
  21373. in: query
  21374. name: userid
  21375. required: true
  21376. type: integer
  21377. - description: 用户类型 2-机构 7-企业成员
  21378. in: query
  21379. name: usertype
  21380. type: integer
  21381. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21382. in: query
  21383. name: querytype
  21384. required: true
  21385. type: integer
  21386. produces:
  21387. - application/json
  21388. responses:
  21389. "200":
  21390. description: OK
  21391. schema:
  21392. items:
  21393. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21394. type: array
  21395. "500":
  21396. description: Internal Server Error
  21397. schema:
  21398. $ref: '#/definitions/app.Response'
  21399. security:
  21400. - ApiKeyAuth: []
  21401. summary: 查询账户管理登录账号(账户管理/登录账号)
  21402. tags:
  21403. - 企业风险管理(app)
  21404. /Ermcp/QueryAccMgrMainAccountInfo:
  21405. get:
  21406. parameters:
  21407. - description: 用户ID
  21408. in: query
  21409. name: userid
  21410. type: integer
  21411. - description: 主账号id
  21412. in: query
  21413. name: accountid
  21414. type: integer
  21415. produces:
  21416. - application/json
  21417. responses:
  21418. "200":
  21419. description: OK
  21420. schema:
  21421. items:
  21422. $ref: '#/definitions/models.MainAccountInfo'
  21423. type: array
  21424. "500":
  21425. description: Internal Server Error
  21426. schema:
  21427. $ref: '#/definitions/app.Response'
  21428. security:
  21429. - ApiKeyAuth: []
  21430. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21431. tags:
  21432. - 企业风险管理(app)
  21433. /Ermcp/QueryAccMgrRole:
  21434. get:
  21435. parameters:
  21436. - description: 用户ID
  21437. in: query
  21438. name: userid
  21439. required: true
  21440. type: integer
  21441. produces:
  21442. - application/json
  21443. responses:
  21444. "200":
  21445. description: OK
  21446. schema:
  21447. items:
  21448. $ref: '#/definitions/models.ErmcpRole'
  21449. type: array
  21450. "500":
  21451. description: Internal Server Error
  21452. schema:
  21453. $ref: '#/definitions/app.Response'
  21454. security:
  21455. - ApiKeyAuth: []
  21456. summary: 查询账户管理角色设置(账户管理/角色设置)
  21457. tags:
  21458. - 企业风险管理(app)
  21459. /Ermcp/QueryAccMgrRoleMenu:
  21460. get:
  21461. parameters:
  21462. - description: 用户ID
  21463. in: query
  21464. name: userid
  21465. required: true
  21466. type: integer
  21467. - description: 角色id(可多个,逗号隔开)
  21468. in: query
  21469. name: roleid
  21470. type: string
  21471. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21472. in: query
  21473. name: menutype
  21474. type: integer
  21475. produces:
  21476. - application/json
  21477. responses:
  21478. "200":
  21479. description: OK
  21480. schema:
  21481. items:
  21482. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21483. type: array
  21484. "500":
  21485. description: Internal Server Error
  21486. schema:
  21487. $ref: '#/definitions/app.Response'
  21488. security:
  21489. - ApiKeyAuth: []
  21490. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21491. tags:
  21492. - 企业风险管理(app)
  21493. /Ermcp/QueryAccMgrTaAccountInfo:
  21494. get:
  21495. parameters:
  21496. - description: 用户ID
  21497. in: query
  21498. name: userid
  21499. required: true
  21500. type: integer
  21501. - description: 账号id
  21502. in: query
  21503. name: accountid
  21504. type: integer
  21505. produces:
  21506. - application/json
  21507. responses:
  21508. "200":
  21509. description: OK
  21510. schema:
  21511. items:
  21512. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21513. type: array
  21514. "500":
  21515. description: Internal Server Error
  21516. schema:
  21517. $ref: '#/definitions/app.Response'
  21518. security:
  21519. - ApiKeyAuth: []
  21520. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21521. tags:
  21522. - 企业风险管理(app)
  21523. /Ermcp/QueryAccMgrTaaccount:
  21524. get:
  21525. parameters:
  21526. - description: 用户ID
  21527. in: query
  21528. name: userid
  21529. required: true
  21530. type: integer
  21531. produces:
  21532. - application/json
  21533. responses:
  21534. "200":
  21535. description: OK
  21536. schema:
  21537. items:
  21538. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21539. type: array
  21540. "500":
  21541. description: Internal Server Error
  21542. schema:
  21543. $ref: '#/definitions/app.Response'
  21544. security:
  21545. - ApiKeyAuth: []
  21546. summary: 查询账户管理期货账号(账户管理/期货账号)
  21547. tags:
  21548. - 企业风险管理(app)
  21549. /Ermcp/QueryAvaildGoodsGroup:
  21550. get:
  21551. parameters:
  21552. - description: 所属机构ID
  21553. in: query
  21554. name: userid
  21555. required: true
  21556. type: integer
  21557. produces:
  21558. - application/json
  21559. responses:
  21560. "200":
  21561. description: OK
  21562. schema:
  21563. items:
  21564. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21565. type: array
  21566. "500":
  21567. description: Internal Server Error
  21568. schema:
  21569. $ref: '#/definitions/app.Response'
  21570. security:
  21571. - ApiKeyAuth: []
  21572. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21573. tags:
  21574. - 企业风险管理(app)
  21575. /Ermcp/QueryBusinessDj:
  21576. get:
  21577. parameters:
  21578. - description: 用户ID
  21579. in: query
  21580. name: UserId
  21581. required: true
  21582. type: integer
  21583. - description: 用户类型 2-机构 7-企业成员
  21584. in: query
  21585. name: usertype
  21586. type: integer
  21587. - description: 现货合同ID, 不填则查所有
  21588. in: query
  21589. name: relatedid
  21590. type: string
  21591. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21592. in: query
  21593. name: applystatus
  21594. type: string
  21595. produces:
  21596. - application/json
  21597. responses:
  21598. "200":
  21599. description: OK
  21600. schema:
  21601. items:
  21602. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21603. type: array
  21604. "500":
  21605. description: Internal Server Error
  21606. schema:
  21607. $ref: '#/definitions/app.Response'
  21608. security:
  21609. - ApiKeyAuth: []
  21610. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21611. tags:
  21612. - 企业风险管理(app)
  21613. /Ermcp/QueryBusinessFp:
  21614. get:
  21615. parameters:
  21616. - description: 用户ID
  21617. in: query
  21618. name: UserId
  21619. required: true
  21620. type: integer
  21621. - description: 用户类型 2-机构 7-企业成员
  21622. in: query
  21623. name: usertype
  21624. type: integer
  21625. - description: 现货合同ID, 不填则查所有
  21626. in: query
  21627. name: relatedid
  21628. type: string
  21629. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21630. in: query
  21631. name: applystatus
  21632. type: string
  21633. produces:
  21634. - application/json
  21635. responses:
  21636. "200":
  21637. description: OK
  21638. schema:
  21639. items:
  21640. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21641. type: array
  21642. "500":
  21643. description: Internal Server Error
  21644. schema:
  21645. $ref: '#/definitions/app.Response'
  21646. security:
  21647. - ApiKeyAuth: []
  21648. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21649. tags:
  21650. - 企业风险管理(app)
  21651. /Ermcp/QueryBusinessJs:
  21652. get:
  21653. parameters:
  21654. - description: 用户ID
  21655. in: query
  21656. name: UserId
  21657. required: true
  21658. type: integer
  21659. - description: 用户类型 2-机构 7-企业成员
  21660. in: query
  21661. name: usertype
  21662. type: integer
  21663. - description: 现货合同ID, 不填则查所有
  21664. in: query
  21665. name: relatedid
  21666. type: string
  21667. - description: 操作申请id
  21668. in: query
  21669. name: operateapplyid
  21670. type: string
  21671. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21672. in: query
  21673. name: applystatus
  21674. type: string
  21675. produces:
  21676. - application/json
  21677. responses:
  21678. "200":
  21679. description: OK
  21680. schema:
  21681. items:
  21682. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21683. type: array
  21684. "500":
  21685. description: Internal Server Error
  21686. schema:
  21687. $ref: '#/definitions/app.Response'
  21688. security:
  21689. - ApiKeyAuth: []
  21690. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21691. tags:
  21692. - 企业风险管理(app)
  21693. /Ermcp/QueryBusinessJsEx:
  21694. get:
  21695. parameters:
  21696. - description: 用户ID
  21697. in: query
  21698. name: UserId
  21699. required: true
  21700. type: integer
  21701. - description: 用户类型 2-机构 7-企业成员
  21702. in: query
  21703. name: usertype
  21704. type: integer
  21705. - description: 现货合同ID, 不填则查所有
  21706. in: query
  21707. name: relatedid
  21708. type: string
  21709. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21710. in: query
  21711. name: applystatus
  21712. type: string
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. items:
  21720. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21721. type: array
  21722. "500":
  21723. description: Internal Server Error
  21724. schema:
  21725. $ref: '#/definitions/app.Response'
  21726. security:
  21727. - ApiKeyAuth: []
  21728. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21729. tags:
  21730. - 企业风险管理(app)
  21731. /Ermcp/QueryBusinessKx:
  21732. get:
  21733. parameters:
  21734. - description: 用户ID
  21735. in: query
  21736. name: UserId
  21737. required: true
  21738. type: integer
  21739. - description: 用户类型 2-机构 7-企业成员
  21740. in: query
  21741. name: usertype
  21742. type: integer
  21743. - description: 现货合同ID, 不填则查所有
  21744. in: query
  21745. name: relatedid
  21746. type: string
  21747. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21748. in: query
  21749. name: applystatus
  21750. type: string
  21751. produces:
  21752. - application/json
  21753. responses:
  21754. "200":
  21755. description: OK
  21756. schema:
  21757. items:
  21758. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21759. type: array
  21760. "500":
  21761. description: Internal Server Error
  21762. schema:
  21763. $ref: '#/definitions/app.Response'
  21764. security:
  21765. - ApiKeyAuth: []
  21766. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21767. tags:
  21768. - 企业风险管理(app)
  21769. /Ermcp/QueryChangeLog:
  21770. get:
  21771. parameters:
  21772. - description: 合同ID
  21773. in: query
  21774. name: RelatedId
  21775. required: true
  21776. type: string
  21777. produces:
  21778. - application/json
  21779. responses:
  21780. "200":
  21781. description: OK
  21782. schema:
  21783. items:
  21784. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21785. type: array
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询变更记录
  21793. tags:
  21794. - 企业风险管理(app)
  21795. /Ermcp/QueryErmcpHisOrderDetails:
  21796. get:
  21797. parameters:
  21798. - description: 资金账户ID
  21799. in: query
  21800. name: accountID
  21801. required: true
  21802. type: integer
  21803. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21804. in: query
  21805. name: startDate
  21806. type: string
  21807. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21808. in: query
  21809. name: endDate
  21810. type: string
  21811. produces:
  21812. - application/json
  21813. responses:
  21814. "200":
  21815. description: OK
  21816. schema:
  21817. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21818. "500":
  21819. description: Internal Server Error
  21820. schema:
  21821. $ref: '#/definitions/app.Response'
  21822. security:
  21823. - ApiKeyAuth: []
  21824. summary: 获取企业风管期货历史委托单信息
  21825. tags:
  21826. - 企业风险管理(app)
  21827. /Ermcp/QueryErmcpHisTradeDetails:
  21828. get:
  21829. parameters:
  21830. - description: 资金账户ID
  21831. in: query
  21832. name: accountID
  21833. required: true
  21834. type: integer
  21835. - description: 商品ID
  21836. in: query
  21837. name: goodsID
  21838. type: integer
  21839. - description: 买卖方向,0:买 1:卖
  21840. in: query
  21841. name: buyOrSell
  21842. type: integer
  21843. - description: 关联委托单号
  21844. in: query
  21845. name: orderID
  21846. type: integer
  21847. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21848. in: query
  21849. name: startDate
  21850. type: string
  21851. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21852. in: query
  21853. name: endDate
  21854. type: string
  21855. produces:
  21856. - application/json
  21857. responses:
  21858. "200":
  21859. description: OK
  21860. schema:
  21861. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21862. "500":
  21863. description: Internal Server Error
  21864. schema:
  21865. $ref: '#/definitions/app.Response'
  21866. security:
  21867. - ApiKeyAuth: []
  21868. summary: 获取企业风管期货历史成交单信息
  21869. tags:
  21870. - 企业风险管理(app)
  21871. /Ermcp/QueryErmcpInnerHolderDetails:
  21872. get:
  21873. parameters:
  21874. - description: 资金账户ID
  21875. in: query
  21876. name: accountID
  21877. required: true
  21878. type: integer
  21879. - description: 商品ID
  21880. in: query
  21881. name: goodsID
  21882. type: integer
  21883. - description: 买卖方向,0:买 1:卖
  21884. in: query
  21885. name: buyOrSell
  21886. type: integer
  21887. produces:
  21888. - application/json
  21889. responses:
  21890. "200":
  21891. description: OK
  21892. schema:
  21893. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21894. "500":
  21895. description: Internal Server Error
  21896. schema:
  21897. $ref: '#/definitions/app.Response'
  21898. security:
  21899. - ApiKeyAuth: []
  21900. summary: 获取企业风管期货内部持仓单信息
  21901. tags:
  21902. - 企业风险管理(app)
  21903. /Ermcp/QueryErmcpOrderDetails:
  21904. get:
  21905. parameters:
  21906. - description: 资金账户ID
  21907. in: query
  21908. name: accountID
  21909. required: true
  21910. type: integer
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21918. "500":
  21919. description: Internal Server Error
  21920. schema:
  21921. $ref: '#/definitions/app.Response'
  21922. security:
  21923. - ApiKeyAuth: []
  21924. summary: 获取企业风管期货委托单信息
  21925. tags:
  21926. - 企业风险管理(app)
  21927. /Ermcp/QueryErmcpTradeDetails:
  21928. get:
  21929. parameters:
  21930. - description: 资金账户ID
  21931. in: query
  21932. name: accountID
  21933. required: true
  21934. type: integer
  21935. - description: 商品ID
  21936. in: query
  21937. name: goodsID
  21938. type: integer
  21939. - description: 买卖方向,0:买 1:卖
  21940. in: query
  21941. name: buyOrSell
  21942. type: integer
  21943. - description: 关联委托单号
  21944. in: query
  21945. name: orderID
  21946. type: integer
  21947. produces:
  21948. - application/json
  21949. responses:
  21950. "200":
  21951. description: OK
  21952. schema:
  21953. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21954. "500":
  21955. description: Internal Server Error
  21956. schema:
  21957. $ref: '#/definitions/app.Response'
  21958. security:
  21959. - ApiKeyAuth: []
  21960. summary: 获取企业风管期货成交单信息
  21961. tags:
  21962. - 企业风险管理(app)
  21963. /Ermcp/QueryErmcpTradePosition:
  21964. get:
  21965. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21966. parameters:
  21967. - description: 资金账户ID
  21968. in: query
  21969. name: accountID
  21970. required: true
  21971. type: integer
  21972. - description: 所属市场ID
  21973. in: query
  21974. name: marketID
  21975. type: integer
  21976. produces:
  21977. - application/json
  21978. responses:
  21979. "200":
  21980. description: OK
  21981. schema:
  21982. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21983. "500":
  21984. description: Internal Server Error
  21985. schema:
  21986. $ref: '#/definitions/app.Response'
  21987. security:
  21988. - ApiKeyAuth: []
  21989. summary: 获取企业风管期货持仓头寸信息
  21990. tags:
  21991. - 企业风险管理(app)
  21992. /Ermcp/QueryExposureDetail:
  21993. get:
  21994. parameters:
  21995. - description: 所属机构ID
  21996. in: query
  21997. name: areaUserId
  21998. required: true
  21999. type: integer
  22000. - description: 套保商品
  22001. in: query
  22002. name: middleGoodsId
  22003. required: true
  22004. type: integer
  22005. produces:
  22006. - application/json
  22007. responses:
  22008. "200":
  22009. description: OK
  22010. schema:
  22011. items:
  22012. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22013. type: array
  22014. "500":
  22015. description: Internal Server Error
  22016. schema:
  22017. $ref: '#/definitions/app.Response'
  22018. security:
  22019. - ApiKeyAuth: []
  22020. summary: 查询敞口现货明细
  22021. tags:
  22022. - 企业风险管理(app)
  22023. /Ermcp/QueryExposureGoods:
  22024. get:
  22025. parameters:
  22026. - description: 套保商品id
  22027. in: query
  22028. name: middlegoodsid
  22029. required: true
  22030. type: integer
  22031. produces:
  22032. - application/json
  22033. responses:
  22034. "200":
  22035. description: OK
  22036. schema:
  22037. items:
  22038. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22039. type: array
  22040. "500":
  22041. description: Internal Server Error
  22042. schema:
  22043. $ref: '#/definitions/app.Response'
  22044. security:
  22045. - ApiKeyAuth: []
  22046. summary: 查询敞口主力合约
  22047. tags:
  22048. - 企业风险管理(app)
  22049. /Ermcp/QueryExposureHedgePosition:
  22050. get:
  22051. parameters:
  22052. - description: 用户id
  22053. in: query
  22054. name: userid
  22055. required: true
  22056. type: integer
  22057. produces:
  22058. - application/json
  22059. responses:
  22060. "200":
  22061. description: OK
  22062. schema:
  22063. items:
  22064. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  22065. type: array
  22066. "500":
  22067. description: Internal Server Error
  22068. schema:
  22069. $ref: '#/definitions/app.Response'
  22070. security:
  22071. - ApiKeyAuth: []
  22072. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  22073. tags:
  22074. - 企业风险管理(app)
  22075. /Ermcp/QueryExposureHedgePositionDetail:
  22076. get:
  22077. parameters:
  22078. - description: 所属机构ID
  22079. in: query
  22080. name: userid
  22081. required: true
  22082. type: integer
  22083. - description: 商品id
  22084. in: query
  22085. name: goodsId
  22086. required: true
  22087. type: integer
  22088. produces:
  22089. - application/json
  22090. responses:
  22091. "200":
  22092. description: OK
  22093. schema:
  22094. items:
  22095. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22096. type: array
  22097. "500":
  22098. description: Internal Server Error
  22099. schema:
  22100. $ref: '#/definitions/app.Response'
  22101. security:
  22102. - ApiKeyAuth: []
  22103. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22104. tags:
  22105. - 企业风险管理(app)
  22106. /Ermcp/QueryExposureSpot:
  22107. get:
  22108. parameters:
  22109. - description: 所属机构ID
  22110. in: query
  22111. name: areaUserId
  22112. required: true
  22113. type: integer
  22114. produces:
  22115. - application/json
  22116. responses:
  22117. "200":
  22118. description: OK
  22119. schema:
  22120. items:
  22121. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22122. type: array
  22123. "500":
  22124. description: Internal Server Error
  22125. schema:
  22126. $ref: '#/definitions/app.Response'
  22127. security:
  22128. - ApiKeyAuth: []
  22129. summary: 查询敞口现货头寸(敞口/现货头寸)
  22130. tags:
  22131. - 企业风险管理(app)
  22132. /Ermcp/QueryExposureSpotDetail:
  22133. get:
  22134. parameters:
  22135. - description: 所属机构ID
  22136. in: query
  22137. name: areaUserId
  22138. required: true
  22139. type: integer
  22140. - description: 现货品种ID
  22141. in: query
  22142. name: wrstandardId
  22143. required: true
  22144. type: integer
  22145. produces:
  22146. - application/json
  22147. responses:
  22148. "200":
  22149. description: OK
  22150. schema:
  22151. items:
  22152. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22153. type: array
  22154. "500":
  22155. description: Internal Server Error
  22156. schema:
  22157. $ref: '#/definitions/app.Response'
  22158. security:
  22159. - ApiKeyAuth: []
  22160. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22161. tags:
  22162. - 企业风险管理(app)
  22163. /Ermcp/QueryFuturesCompany:
  22164. get:
  22165. produces:
  22166. - application/json
  22167. responses:
  22168. "200":
  22169. description: OK
  22170. schema:
  22171. items:
  22172. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22173. type: array
  22174. "500":
  22175. description: Internal Server Error
  22176. schema:
  22177. $ref: '#/definitions/app.Response'
  22178. security:
  22179. - ApiKeyAuth: []
  22180. summary: 查询期货公司
  22181. tags:
  22182. - 企业风险管理(app)
  22183. /Ermcp/QueryGGConvertConfig:
  22184. get:
  22185. parameters:
  22186. - description: 品种id(不填则查所有)
  22187. in: query
  22188. name: goodsgroupid
  22189. type: integer
  22190. produces:
  22191. - application/json
  22192. responses:
  22193. "200":
  22194. description: OK
  22195. schema:
  22196. items:
  22197. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22198. type: array
  22199. "500":
  22200. description: Internal Server Error
  22201. schema:
  22202. $ref: '#/definitions/app.Response'
  22203. security:
  22204. - ApiKeyAuth: []
  22205. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22206. tags:
  22207. - 企业风险管理(app)
  22208. /Ermcp/QueryGoodsBrand:
  22209. get:
  22210. parameters:
  22211. - description: 用户ID
  22212. in: query
  22213. name: userid
  22214. required: true
  22215. type: integer
  22216. - description: 现货商品ID
  22217. in: query
  22218. name: wrstandardid
  22219. type: integer
  22220. produces:
  22221. - application/json
  22222. responses:
  22223. "200":
  22224. description: OK
  22225. schema:
  22226. items:
  22227. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22228. type: array
  22229. "500":
  22230. description: Internal Server Error
  22231. schema:
  22232. $ref: '#/definitions/app.Response'
  22233. security:
  22234. - ApiKeyAuth: []
  22235. summary: 查询商品品牌
  22236. tags:
  22237. - 企业风险管理(app)
  22238. /Ermcp/QueryGoodsModel:
  22239. get:
  22240. parameters:
  22241. - description: 用户ID
  22242. in: query
  22243. name: userid
  22244. required: true
  22245. type: integer
  22246. produces:
  22247. - application/json
  22248. responses:
  22249. "200":
  22250. description: OK
  22251. schema:
  22252. items:
  22253. $ref: '#/definitions/models.ErmcpGoodsModel'
  22254. type: array
  22255. "500":
  22256. description: Internal Server Error
  22257. schema:
  22258. $ref: '#/definitions/app.Response'
  22259. security:
  22260. - ApiKeyAuth: []
  22261. summary: 查询商品型号
  22262. tags:
  22263. - 企业风险管理(app)
  22264. /Ermcp/QueryHisExposure:
  22265. get:
  22266. parameters:
  22267. - description: 用户id
  22268. in: query
  22269. name: userid
  22270. required: true
  22271. type: integer
  22272. - description: 每个品种记录数
  22273. in: query
  22274. name: lastNum
  22275. required: true
  22276. type: integer
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. items:
  22284. $ref: '#/definitions/ermcp.HisExposureRsp'
  22285. type: array
  22286. "500":
  22287. description: Internal Server Error
  22288. schema:
  22289. $ref: '#/definitions/app.Response'
  22290. security:
  22291. - ApiKeyAuth: []
  22292. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22293. tags:
  22294. - 企业风险管理(app)
  22295. /Ermcp/QueryMiddleGoods:
  22296. get:
  22297. parameters:
  22298. - description: 所属机构ID
  22299. in: query
  22300. name: userid
  22301. required: true
  22302. type: integer
  22303. - description: 状态 0-停用 1-正常
  22304. in: query
  22305. name: status
  22306. required: true
  22307. type: integer
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. items:
  22315. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22316. type: array
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 查询套保品种(菜单:套保品种)
  22324. tags:
  22325. - 企业风险管理(app)
  22326. /Ermcp/QueryMiddleGoodsChangeLog:
  22327. get:
  22328. parameters:
  22329. - description: 所属机构ID
  22330. in: query
  22331. name: userid
  22332. required: true
  22333. type: integer
  22334. - description: 套保品种id
  22335. in: query
  22336. name: middlegoodsid
  22337. required: true
  22338. type: integer
  22339. produces:
  22340. - application/json
  22341. responses:
  22342. "200":
  22343. description: OK
  22344. schema:
  22345. items:
  22346. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22347. type: array
  22348. "500":
  22349. description: Internal Server Error
  22350. schema:
  22351. $ref: '#/definitions/app.Response'
  22352. security:
  22353. - ApiKeyAuth: []
  22354. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22355. tags:
  22356. - 企业风险管理(app)
  22357. /Ermcp/QueryMiddleGoodsDetail:
  22358. get:
  22359. parameters:
  22360. - description: 所属机构ID
  22361. in: query
  22362. name: userid
  22363. required: true
  22364. type: integer
  22365. - description: 套保品种id
  22366. in: query
  22367. name: middlegoodsid
  22368. type: integer
  22369. produces:
  22370. - application/json
  22371. responses:
  22372. "200":
  22373. description: OK
  22374. schema:
  22375. items:
  22376. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22377. type: array
  22378. "500":
  22379. description: Internal Server Error
  22380. schema:
  22381. $ref: '#/definitions/app.Response'
  22382. security:
  22383. - ApiKeyAuth: []
  22384. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22385. tags:
  22386. - 企业风险管理(app)
  22387. /Ermcp/QueryPendingAuditInfo:
  22388. get:
  22389. parameters:
  22390. - description: 用户ID
  22391. in: query
  22392. name: UserId
  22393. required: true
  22394. type: integer
  22395. produces:
  22396. - application/json
  22397. responses:
  22398. "200":
  22399. description: OK
  22400. schema:
  22401. items:
  22402. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22403. type: array
  22404. "500":
  22405. description: Internal Server Error
  22406. schema:
  22407. $ref: '#/definitions/app.Response'
  22408. security:
  22409. - ApiKeyAuth: []
  22410. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22411. tags:
  22412. - 企业风险管理(app)
  22413. /Ermcp/QueryRealtimeExposure:
  22414. get:
  22415. parameters:
  22416. - description: 所属机构ID
  22417. in: query
  22418. name: userid
  22419. required: true
  22420. type: integer
  22421. produces:
  22422. - application/json
  22423. responses:
  22424. "200":
  22425. description: OK
  22426. schema:
  22427. items:
  22428. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22429. type: array
  22430. "500":
  22431. description: Internal Server Error
  22432. schema:
  22433. $ref: '#/definitions/app.Response'
  22434. security:
  22435. - ApiKeyAuth: []
  22436. summary: 查询实时敞口
  22437. tags:
  22438. - 企业风险管理(app)
  22439. /Ermcp/QueryRealtimeExposurePosition:
  22440. get:
  22441. parameters:
  22442. - description: 用户id
  22443. in: query
  22444. name: userid
  22445. required: true
  22446. type: integer
  22447. - description: 套保商品ID
  22448. in: query
  22449. name: middleGoodsId
  22450. required: true
  22451. type: integer
  22452. produces:
  22453. - application/json
  22454. responses:
  22455. "200":
  22456. description: OK
  22457. schema:
  22458. items:
  22459. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22460. type: array
  22461. "500":
  22462. description: Internal Server Error
  22463. schema:
  22464. $ref: '#/definitions/app.Response'
  22465. security:
  22466. - ApiKeyAuth: []
  22467. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22468. tags:
  22469. - 企业风险管理(app)
  22470. /Ermcp/QueryRoleMenu:
  22471. get:
  22472. parameters:
  22473. - description: 登录ID
  22474. in: query
  22475. name: loginid
  22476. required: true
  22477. type: integer
  22478. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22479. in: query
  22480. name: menutype
  22481. type: integer
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. items:
  22489. $ref: '#/definitions/models.RoleMenu'
  22490. type: array
  22491. "500":
  22492. description: Internal Server Error
  22493. schema:
  22494. $ref: '#/definitions/app.Response'
  22495. security:
  22496. - ApiKeyAuth: []
  22497. summary: 查询角色菜单和权限
  22498. tags:
  22499. - 企业风险管理(app)
  22500. /Ermcp/QueryTradeConfigTMP:
  22501. get:
  22502. parameters:
  22503. - description: 所属机构id
  22504. in: query
  22505. name: areauserid
  22506. type: integer
  22507. produces:
  22508. - application/json
  22509. responses:
  22510. "200":
  22511. description: OK
  22512. schema:
  22513. items:
  22514. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22515. type: array
  22516. "500":
  22517. description: Internal Server Error
  22518. schema:
  22519. $ref: '#/definitions/app.Response'
  22520. security:
  22521. - ApiKeyAuth: []
  22522. summary: 查询交易模板配置
  22523. tags:
  22524. - 企业风险管理(app)
  22525. /Ermcp/QueryUserInfo:
  22526. get:
  22527. parameters:
  22528. - description: 所属机构用户ID
  22529. in: query
  22530. name: MemberUserID
  22531. required: true
  22532. type: integer
  22533. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22534. in: query
  22535. name: queryType
  22536. required: true
  22537. type: integer
  22538. produces:
  22539. - application/json
  22540. responses:
  22541. "200":
  22542. description: OK
  22543. schema:
  22544. items:
  22545. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22546. type: array
  22547. "500":
  22548. description: Internal Server Error
  22549. schema:
  22550. $ref: '#/definitions/app.Response'
  22551. security:
  22552. - ApiKeyAuth: []
  22553. summary: 查询客户资料
  22554. tags:
  22555. - 企业风险管理(app)
  22556. /Ermcp/QueryWarehouseInfo:
  22557. get:
  22558. parameters:
  22559. - description: 用户ID
  22560. in: query
  22561. name: userid
  22562. required: true
  22563. type: integer
  22564. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22565. in: query
  22566. name: status
  22567. type: string
  22568. produces:
  22569. - application/json
  22570. responses:
  22571. "200":
  22572. description: OK
  22573. schema:
  22574. items:
  22575. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22576. type: array
  22577. "500":
  22578. description: Internal Server Error
  22579. schema:
  22580. $ref: '#/definitions/app.Response'
  22581. security:
  22582. - ApiKeyAuth: []
  22583. summary: 查询仓库信息
  22584. tags:
  22585. - 企业风险管理(app)
  22586. /Ermcp3/QryAreaExpourseContractDetail:
  22587. get:
  22588. parameters:
  22589. - description: 用户ID
  22590. in: query
  22591. name: userid
  22592. required: true
  22593. type: integer
  22594. - description: 套保商品id
  22595. in: query
  22596. name: middlegoodsid
  22597. required: true
  22598. type: integer
  22599. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22600. in: query
  22601. name: cycletype
  22602. required: true
  22603. type: integer
  22604. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22605. 全(0)【原值】
  22606. in: query
  22607. name: cycletime
  22608. required: true
  22609. type: string
  22610. produces:
  22611. - application/json
  22612. responses:
  22613. "200":
  22614. description: OK
  22615. schema:
  22616. items:
  22617. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22618. type: array
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22626. tags:
  22627. - 企业风险管理v3(app)
  22628. /Ermcp3/QryAreaExpourseFutuDetail:
  22629. get:
  22630. parameters:
  22631. - description: 用户ID
  22632. in: query
  22633. name: userid
  22634. required: true
  22635. type: integer
  22636. - description: 套保商品id
  22637. in: query
  22638. name: middlegoodsid
  22639. required: true
  22640. type: integer
  22641. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22642. in: query
  22643. name: cycletype
  22644. required: true
  22645. type: integer
  22646. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22647. 全(0)【原值】
  22648. in: query
  22649. name: cycletime
  22650. required: true
  22651. type: string
  22652. produces:
  22653. - application/json
  22654. responses:
  22655. "200":
  22656. description: OK
  22657. schema:
  22658. items:
  22659. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22660. type: array
  22661. "500":
  22662. description: Internal Server Error
  22663. schema:
  22664. $ref: '#/definitions/app.Response'
  22665. security:
  22666. - ApiKeyAuth: []
  22667. summary: 查询敞口期货明细(敞口报表/期货明细)
  22668. tags:
  22669. - 企业风险管理v3(app)
  22670. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22671. get:
  22672. parameters:
  22673. - description: 用户ID
  22674. in: query
  22675. name: userid
  22676. required: true
  22677. type: integer
  22678. - description: 套保商品id
  22679. in: query
  22680. name: middlegoodsid
  22681. required: true
  22682. type: integer
  22683. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22684. in: query
  22685. name: cycletype
  22686. required: true
  22687. type: integer
  22688. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22689. 全(0)【原值】
  22690. in: query
  22691. name: cycletime
  22692. required: true
  22693. type: string
  22694. produces:
  22695. - application/json
  22696. responses:
  22697. "200":
  22698. description: OK
  22699. schema:
  22700. items:
  22701. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22702. type: array
  22703. "500":
  22704. description: Internal Server Error
  22705. schema:
  22706. $ref: '#/definitions/app.Response'
  22707. security:
  22708. - ApiKeyAuth: []
  22709. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22710. tags:
  22711. - 企业风险管理v3(app)
  22712. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22713. get:
  22714. parameters:
  22715. - description: 用户ID
  22716. in: query
  22717. name: userid
  22718. required: true
  22719. type: integer
  22720. - description: 套保商品id
  22721. in: query
  22722. name: middlegoodsid
  22723. required: true
  22724. type: integer
  22725. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22726. in: query
  22727. name: cycletype
  22728. required: true
  22729. type: integer
  22730. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22731. 全(0)【原值】
  22732. in: query
  22733. name: cycletime
  22734. required: true
  22735. type: string
  22736. produces:
  22737. - application/json
  22738. responses:
  22739. "200":
  22740. description: OK
  22741. schema:
  22742. items:
  22743. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22744. type: array
  22745. "500":
  22746. description: Internal Server Error
  22747. schema:
  22748. $ref: '#/definitions/app.Response'
  22749. security:
  22750. - ApiKeyAuth: []
  22751. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22752. tags:
  22753. - 企业风险管理v3(app)
  22754. /Ermcp3/QryAreaExpourseReport:
  22755. get:
  22756. parameters:
  22757. - description: 用户ID
  22758. in: query
  22759. name: userid
  22760. required: true
  22761. type: integer
  22762. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22763. in: query
  22764. name: querytype
  22765. required: true
  22766. type: integer
  22767. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22768. in: query
  22769. name: cycletype
  22770. required: true
  22771. type: integer
  22772. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22773. 全(0)【原值】
  22774. in: query
  22775. name: cycletime
  22776. required: true
  22777. type: string
  22778. produces:
  22779. - application/json
  22780. responses:
  22781. "200":
  22782. description: OK
  22783. schema:
  22784. items:
  22785. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22786. type: array
  22787. "500":
  22788. description: Internal Server Error
  22789. schema:
  22790. $ref: '#/definitions/app.Response'
  22791. security:
  22792. - ApiKeyAuth: []
  22793. summary: 查询敞口报表
  22794. tags:
  22795. - 企业风险管理v3(app)
  22796. /Ermcp3/QryAreaSpotplReport:
  22797. get:
  22798. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22799. parameters:
  22800. - description: 用户ID
  22801. in: query
  22802. name: userid
  22803. required: true
  22804. type: integer
  22805. - description: 查询类型 1-报表 2-报表明细
  22806. in: query
  22807. name: querytype
  22808. required: true
  22809. type: integer
  22810. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22811. in: query
  22812. name: cycletype
  22813. required: true
  22814. type: integer
  22815. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22816. 全(0)【原值】
  22817. in: query
  22818. name: cycletime
  22819. required: true
  22820. type: string
  22821. - description: 现货品种id(明细必填)
  22822. in: query
  22823. name: deliverygoodsid
  22824. type: integer
  22825. - description: 币种id(明细必填)
  22826. in: query
  22827. name: currencyid
  22828. type: integer
  22829. - description: 日/周/月报表汇总维度 1:品种+品类
  22830. in: query
  22831. name: sumflag
  22832. type: integer
  22833. produces:
  22834. - application/json
  22835. responses:
  22836. "200":
  22837. description: OK
  22838. schema:
  22839. items:
  22840. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22841. type: array
  22842. "500":
  22843. description: Internal Server Error
  22844. schema:
  22845. $ref: '#/definitions/app.Response'
  22846. security:
  22847. - ApiKeyAuth: []
  22848. summary: 查询现货报表
  22849. tags:
  22850. - 企业风险管理v3(app)
  22851. /Ermcp3/QryAreaStockReport:
  22852. get:
  22853. parameters:
  22854. - description: 用户ID
  22855. in: query
  22856. name: userid
  22857. required: true
  22858. type: integer
  22859. - description: 查询类型 1-报表 2-报表明细
  22860. in: query
  22861. name: querytype
  22862. required: true
  22863. type: integer
  22864. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22865. in: query
  22866. name: cycletype
  22867. required: true
  22868. type: integer
  22869. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22870. 全(0)【原值】
  22871. in: query
  22872. name: cycletime
  22873. required: true
  22874. type: string
  22875. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22876. in: query
  22877. name: sumfields
  22878. type: string
  22879. - description: 品种ID
  22880. in: query
  22881. name: deliverygoodsid
  22882. type: integer
  22883. - description: 品类ID
  22884. in: query
  22885. name: wrstandardid
  22886. type: integer
  22887. - description: 品牌ID
  22888. in: query
  22889. name: spotgoodsbrandid
  22890. type: integer
  22891. - description: 仓库ID
  22892. in: query
  22893. name: warehouseinfoid
  22894. type: integer
  22895. produces:
  22896. - application/json
  22897. responses:
  22898. "200":
  22899. description: OK
  22900. schema:
  22901. items:
  22902. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22903. type: array
  22904. "500":
  22905. description: Internal Server Error
  22906. schema:
  22907. $ref: '#/definitions/app.Response'
  22908. security:
  22909. - ApiKeyAuth: []
  22910. summary: 查询库存报表
  22911. tags:
  22912. - 企业风险管理v3(app)
  22913. /Ermcp3/QryAreaSumPL:
  22914. get:
  22915. parameters:
  22916. - description: 用户ID
  22917. in: query
  22918. name: userid
  22919. required: true
  22920. type: integer
  22921. - description: 查询类型 1-报表 2-报表明细
  22922. in: query
  22923. name: querytype
  22924. required: true
  22925. type: integer
  22926. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22927. in: query
  22928. name: cycletype
  22929. required: true
  22930. type: integer
  22931. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22932. 全(0)【原值】
  22933. in: query
  22934. name: cycletime
  22935. required: true
  22936. type: string
  22937. - description: 币种id(明细必填)
  22938. in: query
  22939. name: currencyid
  22940. type: integer
  22941. produces:
  22942. - application/json
  22943. responses:
  22944. "200":
  22945. description: OK
  22946. schema:
  22947. items:
  22948. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22949. type: array
  22950. "500":
  22951. description: Internal Server Error
  22952. schema:
  22953. $ref: '#/definitions/app.Response'
  22954. security:
  22955. - ApiKeyAuth: []
  22956. summary: 查询汇总损益表
  22957. tags:
  22958. - 企业风险管理v3(app)
  22959. /Ermcp3/QryFinanceReport:
  22960. get:
  22961. parameters:
  22962. - description: 用户ID
  22963. in: query
  22964. name: userid
  22965. required: true
  22966. type: integer
  22967. - description: 查询类型 1-报表 2-报表明细
  22968. in: query
  22969. name: querytype
  22970. required: true
  22971. type: integer
  22972. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22973. in: query
  22974. name: cycletype
  22975. required: true
  22976. type: integer
  22977. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22978. 全(0)【原值】
  22979. in: query
  22980. name: cycletime
  22981. required: true
  22982. type: string
  22983. - description: 币种id(报表明细必填)
  22984. in: query
  22985. name: currencyid
  22986. type: integer
  22987. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22988. in: query
  22989. name: sumfields
  22990. type: string
  22991. produces:
  22992. - application/json
  22993. responses:
  22994. "200":
  22995. description: OK
  22996. schema:
  22997. items:
  22998. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22999. type: array
  23000. "500":
  23001. description: Internal Server Error
  23002. schema:
  23003. $ref: '#/definitions/app.Response'
  23004. security:
  23005. - ApiKeyAuth: []
  23006. summary: 查询财务报表
  23007. tags:
  23008. - 企业风险管理v3(app)
  23009. /Ermcp3/QrySCMiddleGoodsReport:
  23010. get:
  23011. parameters:
  23012. - description: 用户ID
  23013. in: query
  23014. name: userid
  23015. required: true
  23016. type: integer
  23017. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23018. in: query
  23019. name: cycletype
  23020. required: true
  23021. type: integer
  23022. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23023. 全(0)【原值】
  23024. in: query
  23025. name: cycletime
  23026. required: true
  23027. type: string
  23028. - description: 合同id
  23029. in: query
  23030. name: spotcontractid
  23031. type: integer
  23032. - description: 套保品种id
  23033. in: query
  23034. name: middlegoodsid
  23035. type: integer
  23036. - description: 现货品种id
  23037. in: query
  23038. name: deliverygoodsid
  23039. type: integer
  23040. - description: 现货商品id
  23041. in: query
  23042. name: wrstandardid
  23043. type: integer
  23044. - description: 合同编号(模糊匹配)
  23045. in: query
  23046. name: contractno
  23047. type: string
  23048. produces:
  23049. - application/json
  23050. responses:
  23051. "200":
  23052. description: OK
  23053. schema:
  23054. items:
  23055. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23056. type: array
  23057. "500":
  23058. description: Internal Server Error
  23059. schema:
  23060. $ref: '#/definitions/app.Response'
  23061. security:
  23062. - ApiKeyAuth: []
  23063. summary: 查询定价报表
  23064. tags:
  23065. - 企业风险管理v3(app)
  23066. /Ermcp3/QryTaFutureDataReport:
  23067. get:
  23068. parameters:
  23069. - description: 用户ID
  23070. in: query
  23071. name: userid
  23072. required: true
  23073. type: integer
  23074. - description: 查询类型 1-报表 2-报表明细
  23075. in: query
  23076. name: querytype
  23077. required: true
  23078. type: integer
  23079. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23080. in: query
  23081. name: cycletype
  23082. required: true
  23083. type: integer
  23084. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23085. 全(0)【原值】
  23086. in: query
  23087. name: cycletime
  23088. required: true
  23089. type: string
  23090. - description: 币种id(查明细必填)
  23091. in: query
  23092. name: currencyid
  23093. type: integer
  23094. - description: 品种id(查明细必填)
  23095. in: query
  23096. name: goodsgroupid
  23097. type: integer
  23098. - description: 商品id(查明细必填)
  23099. in: query
  23100. name: goodsid
  23101. type: integer
  23102. - description: 买卖方向(查明细必填)
  23103. in: query
  23104. name: buyorsell
  23105. type: integer
  23106. produces:
  23107. - application/json
  23108. responses:
  23109. "200":
  23110. description: OK
  23111. schema:
  23112. items:
  23113. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23114. type: array
  23115. "500":
  23116. description: Internal Server Error
  23117. schema:
  23118. $ref: '#/definitions/app.Response'
  23119. security:
  23120. - ApiKeyAuth: []
  23121. summary: 查询期货报表
  23122. tags:
  23123. - 企业风险管理v3(app)
  23124. /Ermcp3/QueryAreaStock:
  23125. get:
  23126. parameters:
  23127. - description: 用户ID
  23128. in: query
  23129. name: userid
  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/models.Ermcp3AreaStock'
  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(app)
  23150. /Ermcp3/QueryAreaStockApply:
  23151. get:
  23152. parameters:
  23153. - description: 用户ID
  23154. in: query
  23155. name: userid
  23156. required: true
  23157. type: integer
  23158. - description: 用户类型 2-机构 7-企业成员
  23159. in: query
  23160. name: usertype
  23161. type: integer
  23162. - description: 现货商品ID
  23163. in: query
  23164. name: deliverygoodsid
  23165. type: integer
  23166. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23167. in: query
  23168. name: inouttype
  23169. type: string
  23170. - description: 合同ID
  23171. in: query
  23172. name: spotcontractid
  23173. type: integer
  23174. - description: 品类ID
  23175. in: query
  23176. name: wrstandardid
  23177. type: integer
  23178. - description: 品牌ID
  23179. in: query
  23180. name: spotgoodsbrandid
  23181. type: integer
  23182. - description: 仓库ID
  23183. in: query
  23184. name: warehouseinfoid
  23185. type: integer
  23186. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23187. in: query
  23188. name: applystatus
  23189. type: string
  23190. produces:
  23191. - application/json
  23192. responses:
  23193. "200":
  23194. description: OK
  23195. schema:
  23196. items:
  23197. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23198. type: array
  23199. "500":
  23200. description: Internal Server Error
  23201. schema:
  23202. $ref: '#/definitions/app.Response'
  23203. security:
  23204. - ApiKeyAuth: []
  23205. summary: 查询库存申请(出入库记录|库存审核)
  23206. tags:
  23207. - 企业风险管理v3(app)
  23208. /Ermcp3/QueryAreaStockApplySum:
  23209. get:
  23210. parameters:
  23211. - description: 合同ID
  23212. in: query
  23213. name: spotcontractid
  23214. required: true
  23215. type: integer
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. items:
  23223. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23224. type: array
  23225. "500":
  23226. description: Internal Server Error
  23227. schema:
  23228. $ref: '#/definitions/app.Response'
  23229. security:
  23230. - ApiKeyAuth: []
  23231. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23232. tags:
  23233. - 企业风险管理v3(app)
  23234. /Ermcp3/QueryDGFactoryItem:
  23235. get:
  23236. parameters:
  23237. - description: 用户id
  23238. in: query
  23239. name: userid
  23240. type: integer
  23241. - description: 用户类型 2-机构 7-企业成员
  23242. in: query
  23243. name: usertype
  23244. type: integer
  23245. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23246. in: query
  23247. name: dgfactoryitemid
  23248. type: integer
  23249. - description: 现货品种ID
  23250. in: query
  23251. name: deliverygoodsid
  23252. type: integer
  23253. - description: 要素项类型
  23254. in: query
  23255. name: dgfactoryitemtypeid
  23256. type: integer
  23257. - description: 顺序
  23258. in: query
  23259. name: orderindex
  23260. type: integer
  23261. produces:
  23262. - application/json
  23263. responses:
  23264. "200":
  23265. description: OK
  23266. schema:
  23267. items:
  23268. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23269. type: array
  23270. "500":
  23271. description: Internal Server Error
  23272. schema:
  23273. $ref: '#/definitions/app.Response'
  23274. security:
  23275. - ApiKeyAuth: []
  23276. summary: 查询品种要素定义项
  23277. tags:
  23278. - 企业风险管理v3(app)
  23279. /Ermcp3/QueryDeliveryGoods:
  23280. get:
  23281. parameters:
  23282. - description: 用户id
  23283. in: query
  23284. name: userid
  23285. required: true
  23286. type: integer
  23287. - description: 用户类型 2-机构 7-企业成员
  23288. in: query
  23289. name: usertype
  23290. type: integer
  23291. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23292. in: query
  23293. name: excludecfg
  23294. type: integer
  23295. produces:
  23296. - application/json
  23297. responses:
  23298. "200":
  23299. description: OK
  23300. schema:
  23301. items:
  23302. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23303. type: array
  23304. "500":
  23305. description: Internal Server Error
  23306. schema:
  23307. $ref: '#/definitions/app.Response'
  23308. security:
  23309. - ApiKeyAuth: []
  23310. summary: 查询现货商品
  23311. tags:
  23312. - 企业风险管理v3(app)
  23313. /Ermcp3/QueryDeliveryGoodsDetail:
  23314. get:
  23315. parameters:
  23316. - description: 用户id
  23317. in: query
  23318. name: userid
  23319. required: true
  23320. type: integer
  23321. - description: 用户类型 2-机构 7-企业成员
  23322. in: query
  23323. name: usertype
  23324. type: integer
  23325. - description: 现货商品id
  23326. in: query
  23327. name: deliverygoodsid
  23328. type: integer
  23329. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23330. in: query
  23331. name: filtersubempty
  23332. type: integer
  23333. produces:
  23334. - application/json
  23335. responses:
  23336. "200":
  23337. description: OK
  23338. schema:
  23339. items:
  23340. $ref: '#/definitions/models.XHDeliveryGoods'
  23341. type: array
  23342. "500":
  23343. description: Internal Server Error
  23344. schema:
  23345. $ref: '#/definitions/app.Response'
  23346. security:
  23347. - ApiKeyAuth: []
  23348. summary: 查询现货商品详情
  23349. tags:
  23350. - 企业风险管理v3(app)
  23351. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23352. get:
  23353. parameters:
  23354. - description: 合同id
  23355. in: query
  23356. name: spotcontractid
  23357. required: true
  23358. type: string
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. items:
  23366. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23367. type: array
  23368. "500":
  23369. description: Internal Server Error
  23370. schema:
  23371. $ref: '#/definitions/app.Response'
  23372. security:
  23373. - ApiKeyAuth: []
  23374. summary: 查询现货合同期现配置信息
  23375. tags:
  23376. - 企业风险管理v3(app)
  23377. /Ermcp3/QueryExposureDetail:
  23378. get:
  23379. parameters:
  23380. - description: 用户id
  23381. in: query
  23382. name: userid
  23383. required: true
  23384. type: integer
  23385. - description: 用户类型 2-机构 7-企业成员
  23386. in: query
  23387. name: usertype
  23388. type: integer
  23389. - description: 套保商品
  23390. in: query
  23391. name: middlegoodsid
  23392. required: true
  23393. type: integer
  23394. produces:
  23395. - application/json
  23396. responses:
  23397. "200":
  23398. description: OK
  23399. schema:
  23400. items:
  23401. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23402. type: array
  23403. "500":
  23404. description: Internal Server Error
  23405. schema:
  23406. $ref: '#/definitions/app.Response'
  23407. security:
  23408. - ApiKeyAuth: []
  23409. summary: 查询敞口现货明细
  23410. tags:
  23411. - 企业风险管理v3(app)
  23412. /Ermcp3/QueryExposureSpot:
  23413. get:
  23414. parameters:
  23415. - description: 用户id
  23416. in: query
  23417. name: userid
  23418. required: true
  23419. type: integer
  23420. - description: 用户类型 2-机构 7-企业成员
  23421. in: query
  23422. name: usertype
  23423. type: integer
  23424. produces:
  23425. - application/json
  23426. responses:
  23427. "200":
  23428. description: OK
  23429. schema:
  23430. items:
  23431. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23432. type: array
  23433. "500":
  23434. description: Internal Server Error
  23435. schema:
  23436. $ref: '#/definitions/app.Response'
  23437. security:
  23438. - ApiKeyAuth: []
  23439. summary: 查询敞口现货头寸(敞口/现货头寸)
  23440. tags:
  23441. - 企业风险管理v3(app)
  23442. /Ermcp3/QueryExposureSpotDetail:
  23443. get:
  23444. parameters:
  23445. - description: 用户id
  23446. in: query
  23447. name: userid
  23448. required: true
  23449. type: integer
  23450. - description: 用户类型 2-机构 7-企业成员
  23451. in: query
  23452. name: usertype
  23453. type: integer
  23454. - description: 现货商品ID
  23455. in: query
  23456. name: wrstandardid
  23457. required: true
  23458. type: integer
  23459. produces:
  23460. - application/json
  23461. responses:
  23462. "200":
  23463. description: OK
  23464. schema:
  23465. items:
  23466. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23467. type: array
  23468. "500":
  23469. description: Internal Server Error
  23470. schema:
  23471. $ref: '#/definitions/app.Response'
  23472. security:
  23473. - ApiKeyAuth: []
  23474. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23475. tags:
  23476. - 企业风险管理v3(app)
  23477. /Ermcp3/QueryGoodsGroup:
  23478. get:
  23479. parameters:
  23480. - description: 用户id
  23481. in: query
  23482. name: userid
  23483. required: true
  23484. type: integer
  23485. - description: 用户类型 2-机构 7-企业成员
  23486. in: query
  23487. name: usertype
  23488. type: integer
  23489. - description: 排除套保品中已关联的商品组 1-排除
  23490. in: query
  23491. name: excludecfg
  23492. type: integer
  23493. produces:
  23494. - application/json
  23495. responses:
  23496. "200":
  23497. description: OK
  23498. schema:
  23499. items:
  23500. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23501. type: array
  23502. "500":
  23503. description: Internal Server Error
  23504. schema:
  23505. $ref: '#/definitions/app.Response'
  23506. security:
  23507. - ApiKeyAuth: []
  23508. summary: 查询期货商品组
  23509. tags:
  23510. - 企业风险管理v3(app)
  23511. /Ermcp3/QueryGoodsWrstandard:
  23512. get:
  23513. parameters:
  23514. - description: 用户id
  23515. in: query
  23516. name: userid
  23517. required: true
  23518. type: integer
  23519. - description: 用户类型 2-机构 7-企业成员
  23520. in: query
  23521. name: usertype
  23522. type: integer
  23523. - description: 现货商品id
  23524. in: query
  23525. name: deliverygoodsid
  23526. type: integer
  23527. produces:
  23528. - application/json
  23529. responses:
  23530. "200":
  23531. description: OK
  23532. schema:
  23533. items:
  23534. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23535. type: array
  23536. "500":
  23537. description: Internal Server Error
  23538. schema:
  23539. $ref: '#/definitions/app.Response'
  23540. security:
  23541. - ApiKeyAuth: []
  23542. summary: 查询商品品类
  23543. tags:
  23544. - 企业风险管理v3(app)
  23545. /Ermcp3/QueryGoodsbrand:
  23546. get:
  23547. parameters:
  23548. - description: 用户id
  23549. in: query
  23550. name: userid
  23551. required: true
  23552. type: integer
  23553. - description: 用户类型 2-机构 7-企业成员
  23554. in: query
  23555. name: usertype
  23556. type: integer
  23557. produces:
  23558. - application/json
  23559. responses:
  23560. "200":
  23561. description: OK
  23562. schema:
  23563. items:
  23564. $ref: '#/definitions/models.Ermcp3Brand'
  23565. type: array
  23566. "500":
  23567. description: Internal Server Error
  23568. schema:
  23569. $ref: '#/definitions/app.Response'
  23570. security:
  23571. - ApiKeyAuth: []
  23572. summary: 查询商品品牌
  23573. tags:
  23574. - 企业风险管理v3(app)
  23575. /Ermcp3/QueryHPMiddleGoods:
  23576. get:
  23577. parameters:
  23578. - description: 用户ID(填登录用户的userid)
  23579. in: query
  23580. name: userid
  23581. required: true
  23582. type: integer
  23583. - description: 买卖方向 0-买 1-卖
  23584. in: query
  23585. name: buyorsell
  23586. required: true
  23587. type: integer
  23588. - description: 商品组id
  23589. in: query
  23590. name: goodsgroupid
  23591. required: true
  23592. type: integer
  23593. - description: 套保计划编号(模糊匹配)
  23594. in: query
  23595. name: hedgeplanno
  23596. type: string
  23597. - description: 现货商品名称(模糊匹配)
  23598. in: query
  23599. name: wrstandardname
  23600. type: string
  23601. produces:
  23602. - application/json
  23603. responses:
  23604. "200":
  23605. description: OK
  23606. schema:
  23607. items:
  23608. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23609. type: array
  23610. "500":
  23611. description: Internal Server Error
  23612. schema:
  23613. $ref: '#/definitions/app.Response'
  23614. security:
  23615. - ApiKeyAuth: []
  23616. summary: 查询可关联套保计划
  23617. tags:
  23618. - 企业风险管理v3(app)
  23619. /Ermcp3/QueryHedgePlan:
  23620. get:
  23621. parameters:
  23622. - description: 用户ID
  23623. in: query
  23624. name: userid
  23625. required: true
  23626. type: integer
  23627. - description: 用户类型 2-机构 7-企业成员
  23628. in: query
  23629. name: usertype
  23630. type: integer
  23631. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23632. in: query
  23633. name: hedgeplanstatus
  23634. required: true
  23635. type: string
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. items:
  23643. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23644. type: array
  23645. "500":
  23646. description: Internal Server Error
  23647. schema:
  23648. $ref: '#/definitions/app.Response'
  23649. security:
  23650. - ApiKeyAuth: []
  23651. summary: 查询套保计划
  23652. tags:
  23653. - 企业风险管理v3(app)
  23654. /Ermcp3/QueryInnerTradeLink:
  23655. get:
  23656. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23657. parameters:
  23658. - description: 外部成交单号
  23659. in: query
  23660. name: outtradeid
  23661. required: true
  23662. type: integer
  23663. produces:
  23664. - application/json
  23665. responses:
  23666. "200":
  23667. description: OK
  23668. schema:
  23669. items:
  23670. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23671. type: array
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23679. tags:
  23680. - 企业风险管理v3(app)
  23681. /Ermcp3/QueryMiddleGoodsDetail:
  23682. get:
  23683. parameters:
  23684. - description: 用户id
  23685. in: query
  23686. name: userid
  23687. required: true
  23688. type: integer
  23689. - description: 用户类型 2-机构 7-企业成员
  23690. in: query
  23691. name: usertype
  23692. type: integer
  23693. - description: 套保品种id
  23694. in: query
  23695. name: middlegoodsid
  23696. type: integer
  23697. produces:
  23698. - application/json
  23699. responses:
  23700. "200":
  23701. description: OK
  23702. schema:
  23703. items:
  23704. $ref: '#/definitions/models.TBMiddleGoods'
  23705. type: array
  23706. "500":
  23707. description: Internal Server Error
  23708. schema:
  23709. $ref: '#/definitions/app.Response'
  23710. security:
  23711. - ApiKeyAuth: []
  23712. summary: 查询套保品种详情(套保品种/商品详情)
  23713. tags:
  23714. - 企业风险管理v3(app)
  23715. /Ermcp3/QueryOutTradeLink:
  23716. get:
  23717. description: 页面 app 现货->期现关联->外部成交单关联
  23718. parameters:
  23719. - description: 用户ID(填登录用户的userid)
  23720. in: query
  23721. name: userid
  23722. required: true
  23723. type: integer
  23724. - description: 外部订单号(模糊匹配)
  23725. in: query
  23726. name: outtradeid
  23727. type: string
  23728. - description: 合约名称/代码(模糊匹配)
  23729. in: query
  23730. name: goodsname
  23731. type: string
  23732. - description: 关联状态 0-未关联 1-已关联
  23733. in: query
  23734. name: hasinnerorder
  23735. type: integer
  23736. produces:
  23737. - application/json
  23738. responses:
  23739. "200":
  23740. description: OK
  23741. schema:
  23742. items:
  23743. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23744. type: array
  23745. "500":
  23746. description: Internal Server Error
  23747. schema:
  23748. $ref: '#/definitions/app.Response'
  23749. security:
  23750. - ApiKeyAuth: []
  23751. summary: 查询外部成交单关联
  23752. tags:
  23753. - 企业风险管理v3(app)
  23754. /Ermcp3/QueryPaAreaAuditCfg:
  23755. get:
  23756. parameters:
  23757. - description: 用户id
  23758. in: query
  23759. name: userid
  23760. required: true
  23761. type: integer
  23762. produces:
  23763. - application/json
  23764. responses:
  23765. "200":
  23766. description: OK
  23767. schema:
  23768. items:
  23769. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23770. type: array
  23771. "500":
  23772. description: Internal Server Error
  23773. schema:
  23774. $ref: '#/definitions/app.Response'
  23775. security:
  23776. - ApiKeyAuth: []
  23777. summary: 查询审核设置
  23778. tags:
  23779. - 企业风险管理v3(app)
  23780. /Ermcp3/QueryPaAreaSubject:
  23781. get:
  23782. parameters:
  23783. - description: 用户id
  23784. in: query
  23785. name: userid
  23786. required: true
  23787. type: integer
  23788. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23789. in: query
  23790. name: subjectid
  23791. type: integer
  23792. - description: 主体类型 - 1:交易主体 2:业务部门
  23793. in: query
  23794. name: subjecttype
  23795. type: integer
  23796. - description: '主体状态 - 1:正常 2: 停用'
  23797. in: query
  23798. name: subjectstatus
  23799. type: integer
  23800. produces:
  23801. - application/json
  23802. responses:
  23803. "200":
  23804. description: OK
  23805. schema:
  23806. items:
  23807. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23808. type: array
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 查询交易主体
  23816. tags:
  23817. - 企业风险管理v3(app)
  23818. /Ermcp3/QueryPaTradeLink:
  23819. get:
  23820. description: 页面 app 现货->期现关联->期现单据关联
  23821. parameters:
  23822. - description: 用户ID
  23823. in: query
  23824. name: userid
  23825. required: true
  23826. type: integer
  23827. produces:
  23828. - application/json
  23829. responses:
  23830. "200":
  23831. description: OK
  23832. schema:
  23833. items:
  23834. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23835. type: array
  23836. "500":
  23837. description: Internal Server Error
  23838. schema:
  23839. $ref: '#/definitions/app.Response'
  23840. security:
  23841. - ApiKeyAuth: []
  23842. summary: 查询期现单据关联
  23843. tags:
  23844. - 企业风险管理v3(app)
  23845. /Ermcp3/QueryPaTradeLinkDetail:
  23846. get:
  23847. description: 页面 app 现货->期现关联->关联记录
  23848. parameters:
  23849. - description: 用户ID(填登录用户的userid)
  23850. in: query
  23851. name: userid
  23852. required: true
  23853. type: integer
  23854. - description: 关联状态 1:成功 2:失败 3:解绑
  23855. in: query
  23856. name: linkstatus
  23857. type: integer
  23858. - description: 期货订单号(模糊匹配)
  23859. in: query
  23860. name: tradeid
  23861. type: string
  23862. - description: 现货编号(模糊匹配)
  23863. in: query
  23864. name: contractno
  23865. type: string
  23866. - description: 期货账户(模糊匹配)
  23867. in: query
  23868. name: taname
  23869. type: string
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. items:
  23877. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23878. type: array
  23879. "500":
  23880. description: Internal Server Error
  23881. schema:
  23882. $ref: '#/definitions/app.Response'
  23883. security:
  23884. - ApiKeyAuth: []
  23885. summary: 查询期现关联记录
  23886. tags:
  23887. - 企业风险管理v3(app)
  23888. /Ermcp3/QueryParamChangeApp:
  23889. get:
  23890. description: |-
  23891. 原型页面:
  23892. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23893. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23894. parameters:
  23895. - description: 用户ID
  23896. in: query
  23897. name: userid
  23898. required: true
  23899. type: integer
  23900. - description: 现货品种id
  23901. in: query
  23902. name: deliverygoodsid
  23903. type: integer
  23904. - description: 现货商品id
  23905. in: query
  23906. name: wrstandardid
  23907. type: integer
  23908. - description: 套保商品id
  23909. in: query
  23910. name: middlegoodsid
  23911. type: integer
  23912. - description: 操作类型 1:新增 2:修改
  23913. in: query
  23914. name: operatetype
  23915. type: integer
  23916. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23917. in: query
  23918. name: paramchangetype
  23919. type: integer
  23920. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23921. in: query
  23922. name: ftstatus
  23923. type: string
  23924. produces:
  23925. - application/json
  23926. responses:
  23927. "200":
  23928. description: OK
  23929. schema:
  23930. items:
  23931. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23932. type: array
  23933. "500":
  23934. description: Internal Server Error
  23935. schema:
  23936. $ref: '#/definitions/app.Response'
  23937. security:
  23938. - ApiKeyAuth: []
  23939. summary: 查询现货商品参数变更申请(流水)
  23940. tags:
  23941. - 企业风险管理v3(app)
  23942. /Ermcp3/QueryRootUserAccount:
  23943. get:
  23944. parameters:
  23945. - description: 用户ID
  23946. in: query
  23947. name: userid
  23948. required: true
  23949. type: integer
  23950. produces:
  23951. - application/json
  23952. responses:
  23953. "200":
  23954. description: OK
  23955. schema:
  23956. items:
  23957. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23958. type: array
  23959. "500":
  23960. description: Internal Server Error
  23961. schema:
  23962. $ref: '#/definitions/app.Response'
  23963. security:
  23964. - ApiKeyAuth: []
  23965. summary: 查询顶级用户信息
  23966. tags:
  23967. - 企业风险管理v3(app)
  23968. /Ermcp3/QuerySCMiddleGoods:
  23969. get:
  23970. description: |-
  23971. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23972. 现货编号 即 合同编号
  23973. parameters:
  23974. - description: 用户ID(填登录用户的userid)
  23975. in: query
  23976. name: userid
  23977. required: true
  23978. type: integer
  23979. - description: 买卖方向 0-买 1-卖
  23980. in: query
  23981. name: buyorsell
  23982. required: true
  23983. type: integer
  23984. - description: 商品组id
  23985. in: query
  23986. name: goodsgroupid
  23987. required: true
  23988. type: integer
  23989. - description: 业务类型 1:套保 2:套利
  23990. in: query
  23991. name: biztype
  23992. type: integer
  23993. - description: 现货编号(模糊匹配)
  23994. in: query
  23995. name: contractno
  23996. type: string
  23997. - description: 对手方(模糊匹配)
  23998. in: query
  23999. name: customername
  24000. type: string
  24001. - description: 现货商品名称(模糊匹配)
  24002. in: query
  24003. name: wrstandardname
  24004. type: string
  24005. produces:
  24006. - application/json
  24007. responses:
  24008. "200":
  24009. description: OK
  24010. schema:
  24011. items:
  24012. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24013. type: array
  24014. "500":
  24015. description: Internal Server Error
  24016. schema:
  24017. $ref: '#/definitions/app.Response'
  24018. security:
  24019. - ApiKeyAuth: []
  24020. summary: 查询现货订单
  24021. tags:
  24022. - 企业风险管理v3(app)
  24023. /Ermcp3/QuerySpotContract:
  24024. get:
  24025. parameters:
  24026. - description: 用户id(当指定contractid, userid可不填)
  24027. in: query
  24028. name: userid
  24029. required: true
  24030. type: integer
  24031. - description: 用户类型 2-机构 7-企业成员
  24032. in: query
  24033. name: usertype
  24034. type: integer
  24035. - description: 合同类型 1-采购, -1-销售
  24036. in: query
  24037. name: contracttype
  24038. type: integer
  24039. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24040. in: query
  24041. name: querytype
  24042. type: string
  24043. - description: 合同ID(SpotContractId)
  24044. in: query
  24045. name: contractid
  24046. type: string
  24047. - description: 合同编号(模糊匹配)
  24048. in: query
  24049. name: contractno
  24050. type: string
  24051. - description: 商品名称(模糊匹配)
  24052. in: query
  24053. name: wrstandardname
  24054. type: string
  24055. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24056. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24057. in: query
  24058. name: status
  24059. type: string
  24060. - description: 是否只查今日的合同 1-查今日合同
  24061. in: query
  24062. name: istoday
  24063. type: integer
  24064. produces:
  24065. - application/json
  24066. responses:
  24067. "200":
  24068. description: OK
  24069. schema:
  24070. items:
  24071. $ref: '#/definitions/models.Ermcp3Contract'
  24072. type: array
  24073. "500":
  24074. description: Internal Server Error
  24075. schema:
  24076. $ref: '#/definitions/app.Response'
  24077. security:
  24078. - ApiKeyAuth: []
  24079. summary: 查询现货合同
  24080. tags:
  24081. - 企业风险管理v3(app)
  24082. /Ermcp3/QuerySpotContractBS:
  24083. get:
  24084. parameters:
  24085. - description: 用户id
  24086. in: query
  24087. name: userid
  24088. required: true
  24089. type: integer
  24090. - description: 用户类型 2-机构 7-企业成员
  24091. in: query
  24092. name: usertype
  24093. type: integer
  24094. - description: 合同类型 1-采购, -1-销售
  24095. in: query
  24096. name: contracttype
  24097. required: true
  24098. type: integer
  24099. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24100. in: query
  24101. name: querytype
  24102. type: integer
  24103. - description: 合同ID(SpotContractId)
  24104. in: query
  24105. name: contractid
  24106. type: string
  24107. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24108. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24109. in: query
  24110. name: status
  24111. type: string
  24112. - description: 是否只查今日的合同 1-查今日合同
  24113. in: query
  24114. name: istoday
  24115. type: integer
  24116. produces:
  24117. - application/json
  24118. responses:
  24119. "200":
  24120. description: OK
  24121. schema:
  24122. items:
  24123. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24124. type: array
  24125. "500":
  24126. description: Internal Server Error
  24127. schema:
  24128. $ref: '#/definitions/app.Response'
  24129. security:
  24130. - ApiKeyAuth: []
  24131. summary: 查询合同(采购/销售)
  24132. tags:
  24133. - 企业风险管理v3(app)
  24134. /Ermcp3/QuerySpotGoodsPrice:
  24135. get:
  24136. parameters:
  24137. - description: 用户ID
  24138. in: query
  24139. name: userid
  24140. required: true
  24141. type: integer
  24142. produces:
  24143. - application/json
  24144. responses:
  24145. "200":
  24146. description: OK
  24147. schema:
  24148. items:
  24149. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24150. type: array
  24151. "500":
  24152. description: Internal Server Error
  24153. schema:
  24154. $ref: '#/definitions/app.Response'
  24155. security:
  24156. - ApiKeyAuth: []
  24157. summary: 查询现货市价(现货市价)
  24158. tags:
  24159. - 企业风险管理v3(app)
  24160. /Ermcp3/QuerySpotGoodsPriceLog:
  24161. get:
  24162. parameters:
  24163. - description: 用户ID
  24164. in: query
  24165. name: userid
  24166. required: true
  24167. type: integer
  24168. - description: 现货商品ID
  24169. in: query
  24170. name: deliverygoodsid
  24171. required: true
  24172. type: integer
  24173. - description: 品牌ID
  24174. in: query
  24175. name: brandid
  24176. type: integer
  24177. - description: 品类ID
  24178. in: query
  24179. name: wrstandardid
  24180. type: integer
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24189. type: array
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 查询现货市价详情(现货市价/详情)
  24197. tags:
  24198. - 企业风险管理v3(app)
  24199. /Ermcp3/QuerySubTaaccount:
  24200. get:
  24201. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24202. parameters:
  24203. - description: 母账号id
  24204. in: query
  24205. name: parentaccountid
  24206. type: integer
  24207. - description: 母账号代码
  24208. in: query
  24209. name: parentaccountcode
  24210. type: string
  24211. produces:
  24212. - application/json
  24213. responses:
  24214. "200":
  24215. description: OK
  24216. schema:
  24217. items:
  24218. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24219. type: array
  24220. "500":
  24221. description: Internal Server Error
  24222. schema:
  24223. $ref: '#/definitions/app.Response'
  24224. security:
  24225. - ApiKeyAuth: []
  24226. summary: 查询期货子账户
  24227. tags:
  24228. - 企业风险管理v3(app)
  24229. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24230. get:
  24231. parameters:
  24232. - description: 套期项目ID
  24233. in: query
  24234. name: hedgeditemid
  24235. required: true
  24236. type: integer
  24237. produces:
  24238. - application/json
  24239. responses:
  24240. "200":
  24241. description: OK
  24242. schema:
  24243. items:
  24244. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24245. type: array
  24246. "500":
  24247. description: Internal Server Error
  24248. schema:
  24249. $ref: '#/definitions/app.Response'
  24250. security:
  24251. - ApiKeyAuth: []
  24252. summary: 现货成交明细查询
  24253. tags:
  24254. - 企业风险管理v8
  24255. /Ermcp8/QueryERMCP2HedgedItemspot:
  24256. get:
  24257. parameters:
  24258. - description: 套期项目ID
  24259. in: query
  24260. name: hedgeditemid
  24261. required: true
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. items:
  24270. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24271. type: array
  24272. "500":
  24273. description: Internal Server Error
  24274. schema:
  24275. $ref: '#/definitions/app.Response'
  24276. security:
  24277. - ApiKeyAuth: []
  24278. summary: 套期计划明细查询
  24279. tags:
  24280. - 企业风险管理v8
  24281. /Ermcp8/QueryERMCPJRLinkPos:
  24282. get:
  24283. parameters:
  24284. - description: 套期项目ID
  24285. in: query
  24286. name: hedgeditemid
  24287. required: true
  24288. type: integer
  24289. produces:
  24290. - application/json
  24291. responses:
  24292. "200":
  24293. description: OK
  24294. schema:
  24295. items:
  24296. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24297. type: array
  24298. "500":
  24299. description: Internal Server Error
  24300. schema:
  24301. $ref: '#/definitions/app.Response'
  24302. security:
  24303. - ApiKeyAuth: []
  24304. summary: 期货持仓明细查询
  24305. tags:
  24306. - 企业风险管理v8
  24307. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24308. get:
  24309. parameters:
  24310. - description: 套期项目ID
  24311. in: query
  24312. name: hedgeditemid
  24313. required: true
  24314. type: integer
  24315. produces:
  24316. - application/json
  24317. responses:
  24318. "200":
  24319. description: OK
  24320. schema:
  24321. items:
  24322. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24323. type: array
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 期货成交单明细查询
  24331. tags:
  24332. - 企业风险管理v8
  24333. /Ermcp8/QueryErmcp2HedgedItem:
  24334. get:
  24335. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24336. parameters:
  24337. - description: 用户ID
  24338. in: query
  24339. name: userid
  24340. required: true
  24341. type: string
  24342. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24343. in: query
  24344. name: hedgedtype
  24345. type: integer
  24346. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24347. in: query
  24348. name: hedgeditemstatus
  24349. type: integer
  24350. produces:
  24351. - application/json
  24352. responses:
  24353. "200":
  24354. description: OK
  24355. schema:
  24356. items:
  24357. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24358. type: array
  24359. "500":
  24360. description: Internal Server Error
  24361. schema:
  24362. $ref: '#/definitions/app.Response'
  24363. security:
  24364. - ApiKeyAuth: []
  24365. summary: 查询被套期项目信息
  24366. tags:
  24367. - 企业风险管理v8
  24368. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  24369. get:
  24370. parameters:
  24371. - description: 用户编号
  24372. in: query
  24373. name: userid
  24374. required: true
  24375. type: integer
  24376. - description: 起始日期(格式yyyymmdd)
  24377. in: query
  24378. name: begindate
  24379. type: string
  24380. - description: 终止日期(格式yyyymmdd)
  24381. in: query
  24382. name: enddate
  24383. type: string
  24384. - description: 合约代码
  24385. in: query
  24386. name: goodscode
  24387. type: string
  24388. - description: 合约名称
  24389. in: query
  24390. name: goodsname
  24391. type: string
  24392. - description: 成交单号
  24393. in: query
  24394. name: tradeid
  24395. type: integer
  24396. - description: 方向 - 0:买 1:卖
  24397. in: query
  24398. name: buyorsell
  24399. type: integer
  24400. - description: 套期主体
  24401. in: query
  24402. name: accountname
  24403. type: string
  24404. produces:
  24405. - application/json
  24406. responses:
  24407. "200":
  24408. description: OK
  24409. schema:
  24410. items:
  24411. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  24412. type: array
  24413. "500":
  24414. description: Internal Server Error
  24415. schema:
  24416. $ref: '#/definitions/app.Response'
  24417. security:
  24418. - ApiKeyAuth: []
  24419. summary: 内部未关联成交单查询
  24420. tags:
  24421. - 企业风险管理v8
  24422. /Erms2/QueryArbitrageStrategy:
  24423. get:
  24424. parameters:
  24425. - description: 账户ID
  24426. in: query
  24427. name: userid
  24428. required: true
  24429. type: integer
  24430. - description: 商品组ID(品种ID)
  24431. in: query
  24432. name: goodsgroupid
  24433. type: string
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. security:
  24446. - ApiKeyAuth: []
  24447. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  24448. tags:
  24449. - 风险管理
  24450. /Erms2/QueryInnerTradeDetail:
  24451. get:
  24452. parameters:
  24453. - description: 资金账户
  24454. in: query
  24455. name: accountid
  24456. required: true
  24457. type: integer
  24458. produces:
  24459. - application/json
  24460. responses:
  24461. "200":
  24462. description: OK
  24463. schema:
  24464. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  24465. "500":
  24466. description: Internal Server Error
  24467. schema:
  24468. $ref: '#/definitions/app.Response'
  24469. security:
  24470. - ApiKeyAuth: []
  24471. summary: 查询内部成交单信息
  24472. tags:
  24473. - 风险管理
  24474. /Erms2/QuerySpotContract:
  24475. get:
  24476. parameters:
  24477. - description: 策略申请ID
  24478. in: query
  24479. name: asapplyid
  24480. required: true
  24481. type: integer
  24482. - description: 现货合同ID
  24483. in: query
  24484. name: spotcontractid
  24485. type: integer
  24486. produces:
  24487. - application/json
  24488. responses:
  24489. "200":
  24490. description: OK
  24491. schema:
  24492. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24493. "500":
  24494. description: Internal Server Error
  24495. schema:
  24496. $ref: '#/definitions/app.Response'
  24497. security:
  24498. - ApiKeyAuth: []
  24499. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24500. tags:
  24501. - 风险管理
  24502. /Erms3/AddErms2ASApply:
  24503. post:
  24504. parameters:
  24505. - description: 申请参数
  24506. in: body
  24507. name: jsonBody
  24508. required: true
  24509. schema:
  24510. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24511. produces:
  24512. - application/json
  24513. responses:
  24514. "200":
  24515. description: OK
  24516. schema:
  24517. $ref: '#/definitions/app.Response'
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 新增期现套利业务申请
  24525. tags:
  24526. - 风险管理v3
  24527. /Erms3/AddErms2SpotTradeApply:
  24528. post:
  24529. parameters:
  24530. - description: 申请参数
  24531. in: body
  24532. name: jsonBody
  24533. required: true
  24534. schema:
  24535. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24536. produces:
  24537. - application/json
  24538. responses:
  24539. "200":
  24540. description: OK
  24541. schema:
  24542. $ref: '#/definitions/app.Response'
  24543. "500":
  24544. description: Internal Server Error
  24545. schema:
  24546. $ref: '#/definitions/app.Response'
  24547. security:
  24548. - ApiKeyAuth: []
  24549. summary: 新增现货贸易业务申请
  24550. tags:
  24551. - 风险管理v3
  24552. /Erms3/AddSpotContractApply:
  24553. post:
  24554. parameters:
  24555. - description: 申请参数
  24556. in: body
  24557. name: jsonBody
  24558. required: true
  24559. schema:
  24560. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  24568. "500":
  24569. description: Internal Server Error
  24570. schema:
  24571. $ref: '#/definitions/app.Response'
  24572. security:
  24573. - ApiKeyAuth: []
  24574. summary: 新增现货合同申请
  24575. tags:
  24576. - 风险管理v3
  24577. /Erms3/AddUserInfoApply:
  24578. post:
  24579. parameters:
  24580. - description: 用户信息
  24581. in: body
  24582. name: jsonBody
  24583. required: true
  24584. schema:
  24585. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  24586. produces:
  24587. - application/json
  24588. responses:
  24589. "200":
  24590. description: OK
  24591. schema:
  24592. $ref: '#/definitions/app.Response'
  24593. "500":
  24594. description: Internal Server Error
  24595. schema:
  24596. $ref: '#/definitions/app.Response'
  24597. security:
  24598. - ApiKeyAuth: []
  24599. summary: 新增客户申请
  24600. tags:
  24601. - 风险管理v3
  24602. /Erms3/DeleteUserInfoApply:
  24603. get:
  24604. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  24605. parameters:
  24606. - description: 用户ID
  24607. in: query
  24608. name: userID
  24609. required: true
  24610. type: integer
  24611. produces:
  24612. - application/json
  24613. responses:
  24614. "200":
  24615. description: OK
  24616. schema:
  24617. $ref: '#/definitions/app.Response'
  24618. "500":
  24619. description: Internal Server Error
  24620. schema:
  24621. $ref: '#/definitions/app.Response'
  24622. security:
  24623. - ApiKeyAuth: []
  24624. summary: 删除客户申请
  24625. tags:
  24626. - 风险管理v3
  24627. /Erms3/ModifyUserInfoApply:
  24628. post:
  24629. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  24630. int, "userstate": 2 }'
  24631. parameters:
  24632. - description: 用户信息
  24633. in: body
  24634. name: jsonBody
  24635. required: true
  24636. schema:
  24637. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. $ref: '#/definitions/app.Response'
  24645. "500":
  24646. description: Internal Server Error
  24647. schema:
  24648. $ref: '#/definitions/app.Response'
  24649. security:
  24650. - ApiKeyAuth: []
  24651. summary: 修改客户申请
  24652. tags:
  24653. - 风险管理v3
  24654. /Erms3/QueryBusinessInfo:
  24655. get:
  24656. parameters:
  24657. - description: 资金账号ID列表,用逗号分隔
  24658. in: query
  24659. name: accountids
  24660. required: true
  24661. type: string
  24662. - description: 状态,0为未结束 1为已结束
  24663. in: query
  24664. name: status
  24665. required: true
  24666. type: integer
  24667. produces:
  24668. - application/json
  24669. responses:
  24670. "200":
  24671. description: OK
  24672. schema:
  24673. items:
  24674. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24675. type: array
  24676. "500":
  24677. description: Internal Server Error
  24678. schema:
  24679. $ref: '#/definitions/app.Response'
  24680. security:
  24681. - ApiKeyAuth: []
  24682. summary: 查询业务表单数据
  24683. tags:
  24684. - 风险管理v3
  24685. /Erms3/QueryPendingAuditContract:
  24686. get:
  24687. parameters:
  24688. - description: 资金账号ID列表,逗号隔开
  24689. in: query
  24690. name: accountids
  24691. required: true
  24692. type: string
  24693. - description: 合同类型 1-采购 -1-销售
  24694. in: query
  24695. name: contracttype
  24696. required: true
  24697. type: integer
  24698. - description: 合同模式 1-普通 2-回购
  24699. in: query
  24700. name: contractmode
  24701. required: true
  24702. type: integer
  24703. produces:
  24704. - application/json
  24705. responses:
  24706. "200":
  24707. description: OK
  24708. schema:
  24709. items:
  24710. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24711. type: array
  24712. "500":
  24713. description: Internal Server Error
  24714. schema:
  24715. $ref: '#/definitions/app.Response'
  24716. security:
  24717. - ApiKeyAuth: []
  24718. summary: 查询待审核合同
  24719. tags:
  24720. - 风险管理v3
  24721. /Erms3/QueryPendingBusiness:
  24722. get:
  24723. parameters:
  24724. - description: 资金账号ID列表,逗号隔开
  24725. in: query
  24726. name: accountids
  24727. required: true
  24728. type: string
  24729. produces:
  24730. - application/json
  24731. responses:
  24732. "200":
  24733. description: OK
  24734. schema:
  24735. items:
  24736. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24737. type: array
  24738. "500":
  24739. description: Internal Server Error
  24740. schema:
  24741. $ref: '#/definitions/app.Response'
  24742. security:
  24743. - ApiKeyAuth: []
  24744. summary: 查询待审核基差贸易业务
  24745. tags:
  24746. - 风险管理v3
  24747. /Erms3/QuerySpotContractAppleForm:
  24748. get:
  24749. parameters:
  24750. - description: 登录账号
  24751. in: query
  24752. name: loginID
  24753. required: true
  24754. type: integer
  24755. produces:
  24756. - application/json
  24757. responses:
  24758. "200":
  24759. description: OK
  24760. schema:
  24761. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 查询合同申请表单数据
  24769. tags:
  24770. - 风险管理v3
  24771. /Erms3/QuerySpotContractDetail:
  24772. get:
  24773. parameters:
  24774. - description: 资金账号ID列表,用逗号分隔
  24775. in: query
  24776. name: accountids
  24777. required: true
  24778. type: string
  24779. - description: 合同类型,1为采购合同 -1为销售合同
  24780. in: query
  24781. name: contracttype
  24782. required: true
  24783. type: integer
  24784. - description: 合同模式,1为普通合同 2为回购销售合同
  24785. in: query
  24786. name: contractmode
  24787. required: true
  24788. type: integer
  24789. - description: 状态,0为履约中 1为已完成
  24790. in: query
  24791. name: status
  24792. required: true
  24793. type: integer
  24794. produces:
  24795. - application/json
  24796. responses:
  24797. "200":
  24798. description: OK
  24799. schema:
  24800. items:
  24801. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24802. type: array
  24803. "500":
  24804. description: Internal Server Error
  24805. schema:
  24806. $ref: '#/definitions/app.Response'
  24807. security:
  24808. - ApiKeyAuth: []
  24809. summary: 查询合同详细信息
  24810. tags:
  24811. - 风险管理v3
  24812. /Erms3/QueryUserInfoApplies:
  24813. get:
  24814. parameters:
  24815. - description: 页码
  24816. in: query
  24817. name: page
  24818. type: integer
  24819. - description: 每页条数
  24820. in: query
  24821. name: pagesize
  24822. type: integer
  24823. - description: 客户名称,支持模糊查询
  24824. in: query
  24825. name: userName
  24826. type: string
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24834. "500":
  24835. description: Internal Server Error
  24836. schema:
  24837. $ref: '#/definitions/app.Response'
  24838. security:
  24839. - ApiKeyAuth: []
  24840. summary: 客户申请信息查询
  24841. tags:
  24842. - 风险管理v3
  24843. /Erms3/QueryUserInfos:
  24844. get:
  24845. parameters:
  24846. - description: 页码
  24847. in: query
  24848. name: page
  24849. type: integer
  24850. - description: 每页条数
  24851. in: query
  24852. name: pagesize
  24853. type: integer
  24854. - description: 客户名称,支持模糊查询
  24855. in: query
  24856. name: userName
  24857. type: string
  24858. produces:
  24859. - application/json
  24860. responses:
  24861. "200":
  24862. description: OK
  24863. schema:
  24864. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24865. "500":
  24866. description: Internal Server Error
  24867. schema:
  24868. $ref: '#/definitions/app.Response'
  24869. security:
  24870. - ApiKeyAuth: []
  24871. summary: 客户信息查询
  24872. tags:
  24873. - 风险管理v3
  24874. /HSBY/GetHsbyMyCount:
  24875. get:
  24876. description: 说明: 不包括已完成的数量。
  24877. parameters:
  24878. - description: 资金账户列表,格式:1,2,3
  24879. in: query
  24880. name: accountIDs
  24881. required: true
  24882. type: string
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  24890. "500":
  24891. description: Internal Server Error
  24892. schema:
  24893. $ref: '#/definitions/app.Response'
  24894. security:
  24895. - ApiKeyAuth: []
  24896. summary: 获取我的订单与包裹数量
  24897. tags:
  24898. - 定制【海商报业】
  24899. /HSBY/QueryClientFixedADConfigs:
  24900. get:
  24901. produces:
  24902. - application/json
  24903. responses:
  24904. "200":
  24905. description: OK
  24906. schema:
  24907. $ref: '#/definitions/models.Clientfixedadconfig'
  24908. "500":
  24909. description: Internal Server Error
  24910. schema:
  24911. $ref: '#/definitions/app.Response'
  24912. security:
  24913. - ApiKeyAuth: []
  24914. summary: 获取终端固定广告配置
  24915. tags:
  24916. - 定制【海商报业】
  24917. /HSBY/QueryHsbyBuyMyTradeDetail:
  24918. get:
  24919. parameters:
  24920. - description: 页码
  24921. in: query
  24922. name: page
  24923. type: integer
  24924. - description: 每页条数
  24925. in: query
  24926. name: pagesize
  24927. type: integer
  24928. - description: 资金账户列表,格式:1,2,3
  24929. in: query
  24930. name: accountIDs
  24931. required: true
  24932. type: string
  24933. produces:
  24934. - application/json
  24935. responses:
  24936. "200":
  24937. description: OK
  24938. schema:
  24939. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询"我的订单 - 已完成"单据信息
  24947. tags:
  24948. - 定制【海商报业】
  24949. /HSBY/QueryHsbyGoodsOrderDetails:
  24950. get:
  24951. description: 说明:查询结果已按委托价格和委托时间排序
  24952. parameters:
  24953. - description: 商品ID
  24954. in: query
  24955. name: goodsID
  24956. required: true
  24957. type: integer
  24958. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24959. in: query
  24960. name: accountIDs
  24961. type: string
  24962. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24963. in: query
  24964. name: buyOrSell
  24965. type: integer
  24966. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24967. in: query
  24968. name: price
  24969. type: number
  24970. - description: 档位,不传则默认为3档
  24971. in: query
  24972. name: speed
  24973. type: integer
  24974. produces:
  24975. - application/json
  24976. responses:
  24977. "200":
  24978. description: OK
  24979. schema:
  24980. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24981. "500":
  24982. description: Internal Server Error
  24983. schema:
  24984. $ref: '#/definitions/app.Response'
  24985. security:
  24986. - ApiKeyAuth: []
  24987. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24988. tags:
  24989. - 定制【海商报业】
  24990. /HSBY/QueryHsbyListingGoodsDetail:
  24991. get:
  24992. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24993. parameters:
  24994. - description: 商品ID
  24995. in: query
  24996. name: goodsID
  24997. required: true
  24998. type: integer
  24999. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25000. in: query
  25001. name: accountID
  25002. type: integer
  25003. produces:
  25004. - application/json
  25005. responses:
  25006. "200":
  25007. description: OK
  25008. schema:
  25009. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25010. "500":
  25011. description: Internal Server Error
  25012. schema:
  25013. $ref: '#/definitions/app.Response'
  25014. security:
  25015. - ApiKeyAuth: []
  25016. summary: 查询二级市场(挂牌点选)商品信息详情
  25017. tags:
  25018. - 定制【海商报业】
  25019. /HSBY/QueryHsbyMarketGoodsDetail:
  25020. get:
  25021. parameters:
  25022. - description: 委托单号
  25023. in: query
  25024. name: orderID
  25025. required: true
  25026. type: integer
  25027. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25028. in: query
  25029. name: accountID
  25030. type: integer
  25031. produces:
  25032. - application/json
  25033. responses:
  25034. "200":
  25035. description: OK
  25036. schema:
  25037. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25038. "500":
  25039. description: Internal Server Error
  25040. schema:
  25041. $ref: '#/definitions/app.Response'
  25042. security:
  25043. - ApiKeyAuth: []
  25044. summary: 查询三级市场(商城)商品信息详情
  25045. tags:
  25046. - 定制【海商报业】
  25047. /HSBY/QueryHsbyMarketGoodses:
  25048. get:
  25049. parameters:
  25050. - description: 页码
  25051. in: query
  25052. name: page
  25053. type: integer
  25054. - description: 每页条数
  25055. in: query
  25056. name: pagesize
  25057. type: integer
  25058. - description: 市场ID列表,格式:1,2,3
  25059. in: query
  25060. name: marketIDs
  25061. required: true
  25062. type: string
  25063. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25064. in: query
  25065. name: accountID
  25066. required: true
  25067. type: integer
  25068. - description: 类别ID
  25069. in: query
  25070. name: categoryID
  25071. type: integer
  25072. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25073. in: query
  25074. name: goodsIDs
  25075. type: string
  25076. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25077. in: query
  25078. name: couponTypeID
  25079. type: integer
  25080. produces:
  25081. - application/json
  25082. responses:
  25083. "200":
  25084. description: OK
  25085. schema:
  25086. $ref: '#/definitions/models.HsbyMarketGoods'
  25087. "500":
  25088. description: Internal Server Error
  25089. schema:
  25090. $ref: '#/definitions/app.Response'
  25091. security:
  25092. - ApiKeyAuth: []
  25093. summary: 查询特卖商品列表(三级商城)
  25094. tags:
  25095. - 定制【海商报业】
  25096. /HSBY/QueryHsbyMarkets:
  25097. get:
  25098. produces:
  25099. - application/json
  25100. responses:
  25101. "200":
  25102. description: OK
  25103. schema:
  25104. $ref: '#/definitions/models.HsbyMarketInfo'
  25105. "500":
  25106. description: Internal Server Error
  25107. schema:
  25108. $ref: '#/definitions/app.Response'
  25109. security:
  25110. - ApiKeyAuth: []
  25111. summary: 查询海商报业相关市场信息
  25112. tags:
  25113. - 定制【海商报业】
  25114. /HSBY/QueryHsbyMyBuyOrderDetails:
  25115. get:
  25116. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25117. parameters:
  25118. - description: 资金账户列表,格式:1,2,3
  25119. in: query
  25120. name: accountIDs
  25121. required: true
  25122. type: string
  25123. produces:
  25124. - application/json
  25125. responses:
  25126. "200":
  25127. description: OK
  25128. schema:
  25129. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25130. "500":
  25131. description: Internal Server Error
  25132. schema:
  25133. $ref: '#/definitions/app.Response'
  25134. security:
  25135. - ApiKeyAuth: []
  25136. summary: 查询“我的订单”信息
  25137. tags:
  25138. - 定制【海商报业】
  25139. /HSBY/QueryHsbyMyGoods:
  25140. get:
  25141. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25142. parameters:
  25143. - description: 资金账户列表,格式:1,2,3
  25144. in: query
  25145. name: accountIDs
  25146. required: true
  25147. type: string
  25148. produces:
  25149. - application/json
  25150. responses:
  25151. "200":
  25152. description: OK
  25153. schema:
  25154. $ref: '#/definitions/models.HsbyMyGoods'
  25155. "500":
  25156. description: Internal Server Error
  25157. schema:
  25158. $ref: '#/definitions/app.Response'
  25159. security:
  25160. - ApiKeyAuth: []
  25161. summary: 查询“我的商品”信息
  25162. tags:
  25163. - 定制【海商报业】
  25164. /HSBY/QueryHsbyMyPackages:
  25165. get:
  25166. parameters:
  25167. - description: 资金账户列表,格式:1,2,3
  25168. in: query
  25169. name: accountIDs
  25170. required: true
  25171. type: string
  25172. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25173. in: query
  25174. name: takeOrderStatus
  25175. type: integer
  25176. produces:
  25177. - application/json
  25178. responses:
  25179. "200":
  25180. description: OK
  25181. schema:
  25182. $ref: '#/definitions/models.HsbyMyPackage'
  25183. "500":
  25184. description: Internal Server Error
  25185. schema:
  25186. $ref: '#/definitions/app.Response'
  25187. security:
  25188. - ApiKeyAuth: []
  25189. summary: 查询我的包裹信息
  25190. tags:
  25191. - 定制【海商报业】
  25192. /HSBY/QueryHsbyPreGoodsDetail:
  25193. get:
  25194. parameters:
  25195. - description: 商品ID
  25196. in: query
  25197. name: goodsID
  25198. required: true
  25199. type: integer
  25200. - description: 资金账户,主要用于获取预售商品购买上限
  25201. in: query
  25202. name: accountID
  25203. type: integer
  25204. produces:
  25205. - application/json
  25206. responses:
  25207. "200":
  25208. description: OK
  25209. schema:
  25210. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25211. "500":
  25212. description: Internal Server Error
  25213. schema:
  25214. $ref: '#/definitions/app.Response'
  25215. security:
  25216. - ApiKeyAuth: []
  25217. summary: 查询一级市场(预售)商品信息详情
  25218. tags:
  25219. - 定制【海商报业】
  25220. /HSBY/QueryHsbyPreGoodses:
  25221. get:
  25222. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25223. parameters:
  25224. - description: 页码
  25225. in: query
  25226. name: page
  25227. type: integer
  25228. - description: 每页条数
  25229. in: query
  25230. name: pagesize
  25231. type: integer
  25232. - description: 市场ID列表,格式:1,2,3
  25233. in: query
  25234. name: marketIDs
  25235. required: true
  25236. type: string
  25237. - description: 目的地(省)ID
  25238. in: query
  25239. name: descProvinceID
  25240. type: integer
  25241. - description: 目的地(市)ID
  25242. in: query
  25243. name: descCityID
  25244. type: integer
  25245. produces:
  25246. - application/json
  25247. responses:
  25248. "200":
  25249. description: OK
  25250. schema:
  25251. $ref: '#/definitions/models.HsbyPreGoods'
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 查询新品上市商品列表(一级市场预售)
  25259. tags:
  25260. - 定制【海商报业】
  25261. /HSBY/QueryHsbySellMyDetails:
  25262. get:
  25263. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25264. parameters:
  25265. - description: 页码
  25266. in: query
  25267. name: page
  25268. type: integer
  25269. - description: 每页条数
  25270. in: query
  25271. name: pagesize
  25272. type: integer
  25273. - description: 资金账户列表,格式:1,2,3
  25274. in: query
  25275. name: accountIDs
  25276. required: true
  25277. type: string
  25278. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25279. in: query
  25280. name: orderType
  25281. type: integer
  25282. produces:
  25283. - application/json
  25284. responses:
  25285. "200":
  25286. description: OK
  25287. schema:
  25288. $ref: '#/definitions/models.HsbySellMyDetail'
  25289. "500":
  25290. description: Internal Server Error
  25291. schema:
  25292. $ref: '#/definitions/app.Response'
  25293. security:
  25294. - ApiKeyAuth: []
  25295. summary: 查询"我的闲置"单据信息
  25296. tags:
  25297. - 定制【海商报业】
  25298. /HSBY/QueryHsbyTopGoodses:
  25299. get:
  25300. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  25301. parameters:
  25302. - description: 页码
  25303. in: query
  25304. name: page
  25305. type: integer
  25306. - description: 每页条数
  25307. in: query
  25308. name: pagesize
  25309. type: integer
  25310. - description: 市场ID列表,格式:1,2,3
  25311. in: query
  25312. name: marketIDs
  25313. required: true
  25314. type: string
  25315. - description: 目的地(省)ID
  25316. in: query
  25317. name: descProvinceID
  25318. type: integer
  25319. - description: 目的地(市)ID
  25320. in: query
  25321. name: descCityID
  25322. type: integer
  25323. produces:
  25324. - application/json
  25325. responses:
  25326. "200":
  25327. description: OK
  25328. schema:
  25329. $ref: '#/definitions/models.HsbyTopGoods'
  25330. "500":
  25331. description: Internal Server Error
  25332. schema:
  25333. $ref: '#/definitions/app.Response'
  25334. security:
  25335. - ApiKeyAuth: []
  25336. summary: 查询热卖商品列表(二级市场挂牌点选)
  25337. tags:
  25338. - 定制【海商报业】
  25339. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  25340. get:
  25341. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  25342. parameters:
  25343. - description: 商品ID
  25344. in: query
  25345. name: goodsID
  25346. required: true
  25347. type: integer
  25348. produces:
  25349. - application/json
  25350. responses:
  25351. "200":
  25352. description: OK
  25353. schema:
  25354. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25355. "500":
  25356. description: Internal Server Error
  25357. schema:
  25358. $ref: '#/definitions/app.Response'
  25359. security:
  25360. - ApiKeyAuth: []
  25361. summary: 查询游客三级市场(商城)商品信息详情
  25362. tags:
  25363. - 定制【海商报业】
  25364. /HSBY/QueryHsbyVisitorMarketGoodses:
  25365. get:
  25366. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  25367. parameters:
  25368. - description: 页码
  25369. in: query
  25370. name: page
  25371. type: integer
  25372. - description: 每页条数
  25373. in: query
  25374. name: pagesize
  25375. type: integer
  25376. - description: 市场ID列表,格式:1,2,3
  25377. in: query
  25378. name: marketIDs
  25379. required: true
  25380. type: string
  25381. - description: 类别ID
  25382. in: query
  25383. name: categoryID
  25384. type: integer
  25385. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25386. in: query
  25387. name: goodsIDs
  25388. type: string
  25389. produces:
  25390. - application/json
  25391. responses:
  25392. "200":
  25393. description: OK
  25394. schema:
  25395. $ref: '#/definitions/models.HsbyMarketGoods'
  25396. "500":
  25397. description: Internal Server Error
  25398. schema:
  25399. $ref: '#/definitions/app.Response'
  25400. security:
  25401. - ApiKeyAuth: []
  25402. summary: 查询游客特卖商品列表(三级商城)
  25403. tags:
  25404. - 定制【海商报业】
  25405. /HSBY/QueryMyCollectionOrders:
  25406. get:
  25407. parameters:
  25408. - description: 页码
  25409. in: query
  25410. name: page
  25411. type: integer
  25412. - description: 每页条数
  25413. in: query
  25414. name: pagesize
  25415. type: integer
  25416. - description: 资金账户,格式:1,2,3
  25417. in: query
  25418. name: accountIDs
  25419. required: true
  25420. type: string
  25421. produces:
  25422. - application/json
  25423. responses:
  25424. "200":
  25425. description: OK
  25426. schema:
  25427. $ref: '#/definitions/models.HsbySellCollectionOrder'
  25428. "500":
  25429. description: Internal Server Error
  25430. schema:
  25431. $ref: '#/definitions/app.Response'
  25432. security:
  25433. - ApiKeyAuth: []
  25434. summary: 我的闲置中收款信息查询
  25435. tags:
  25436. - 定制【海商报业】
  25437. /HSBY/QueryMyCouponHolds:
  25438. get:
  25439. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  25440. parameters:
  25441. - description: 资金账户列表,格式:1,2,3
  25442. in: query
  25443. name: accountIDs
  25444. required: true
  25445. type: string
  25446. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  25447. in: query
  25448. name: holdStatus
  25449. type: string
  25450. produces:
  25451. - application/json
  25452. responses:
  25453. "200":
  25454. description: OK
  25455. schema:
  25456. $ref: '#/definitions/models.MyCouponHold'
  25457. "500":
  25458. description: Internal Server Error
  25459. schema:
  25460. $ref: '#/definitions/app.Response'
  25461. security:
  25462. - ApiKeyAuth: []
  25463. summary: 我的优惠卷持仓查询
  25464. tags:
  25465. - 定制【海商报业】
  25466. /HSBY/QueryMyCoupons:
  25467. get:
  25468. parameters:
  25469. - description: 资金账户列表,格式:1,2,3
  25470. in: query
  25471. name: accountIDs
  25472. required: true
  25473. type: string
  25474. - description: 商品ID, 一般与sellUserID配套传入
  25475. in: query
  25476. name: goodsID
  25477. type: integer
  25478. - description: 卖方UserID
  25479. in: query
  25480. name: sellUserID
  25481. type: integer
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. $ref: '#/definitions/models.MyCoupon'
  25489. "500":
  25490. description: Internal Server Error
  25491. schema:
  25492. $ref: '#/definitions/app.Response'
  25493. security:
  25494. - ApiKeyAuth: []
  25495. summary: 我的优惠卷查询
  25496. tags:
  25497. - 定制【海商报业】
  25498. /HSBY/QueryMyPayOrders:
  25499. get:
  25500. parameters:
  25501. - description: 页码
  25502. in: query
  25503. name: page
  25504. type: integer
  25505. - description: 每页条数
  25506. in: query
  25507. name: pagesize
  25508. type: integer
  25509. - description: 资金账户列表,格式:1,2,3
  25510. in: query
  25511. name: accountIDs
  25512. required: true
  25513. type: string
  25514. - description: 买方委托单号
  25515. in: query
  25516. name: buyOrderID
  25517. type: integer
  25518. - description: 卖方委托单号
  25519. in: query
  25520. name: sellOrderID
  25521. type: integer
  25522. produces:
  25523. - application/json
  25524. responses:
  25525. "200":
  25526. description: OK
  25527. schema:
  25528. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25529. "500":
  25530. description: Internal Server Error
  25531. schema:
  25532. $ref: '#/definitions/app.Response'
  25533. security:
  25534. - ApiKeyAuth: []
  25535. summary: 获取我的订单中待付款信息
  25536. tags:
  25537. - 定制【海商报业】
  25538. /HSBY/QueryMyUsedCoupon:
  25539. get:
  25540. parameters:
  25541. - description: 资金账户列表,格式:1,2,3
  25542. in: query
  25543. name: accountIDs
  25544. required: true
  25545. type: string
  25546. produces:
  25547. - application/json
  25548. responses:
  25549. "200":
  25550. description: OK
  25551. schema:
  25552. $ref: '#/definitions/models.MyUsedCoupon'
  25553. "500":
  25554. description: Internal Server Error
  25555. schema:
  25556. $ref: '#/definitions/app.Response'
  25557. security:
  25558. - ApiKeyAuth: []
  25559. summary: 已使用优惠卷查询
  25560. tags:
  25561. - 定制【海商报业】
  25562. /HSBY/QueryProvincesAndCities:
  25563. get:
  25564. description: 查询结果只包括二级市场商品已关连的省市信息。
  25565. parameters:
  25566. - description: 省ID
  25567. in: query
  25568. name: provinceID
  25569. type: integer
  25570. produces:
  25571. - application/json
  25572. responses:
  25573. "200":
  25574. description: OK
  25575. schema:
  25576. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 查询省市信息(不包括区)
  25584. tags:
  25585. - 定制【海商报业】
  25586. /HSBY/SetHsbyMyPackagesStatus:
  25587. post:
  25588. parameters:
  25589. - description: 提货单号
  25590. in: query
  25591. name: takeOrderID
  25592. required: true
  25593. type: string
  25594. - description: 资金账号
  25595. in: query
  25596. name: accountID
  25597. required: true
  25598. type: integer
  25599. produces:
  25600. - application/json
  25601. responses:
  25602. "200":
  25603. description: OK
  25604. schema:
  25605. $ref: '#/definitions/app.Response'
  25606. "500":
  25607. description: Internal Server Error
  25608. schema:
  25609. $ref: '#/definitions/app.Response'
  25610. security:
  25611. - ApiKeyAuth: []
  25612. summary: 设置我的包裹已收货状态
  25613. tags:
  25614. - 定制【海商报业】
  25615. /Market/GetAllExExchanges:
  25616. get:
  25617. produces:
  25618. - application/json
  25619. responses:
  25620. "200":
  25621. description: OK
  25622. schema:
  25623. $ref: '#/definitions/models.Goods'
  25624. "500":
  25625. description: Internal Server Error
  25626. schema:
  25627. $ref: '#/definitions/app.Response'
  25628. security:
  25629. - ApiKeyAuth: []
  25630. summary: 获取所有外部交易所信息
  25631. tags:
  25632. - 通用市场
  25633. /Market/QueryGoodsesByLoginID:
  25634. get:
  25635. parameters:
  25636. - description: 登录账号
  25637. in: query
  25638. name: loginID
  25639. required: true
  25640. type: integer
  25641. - description: 市场ID列表,格式:1,2,3
  25642. in: query
  25643. name: marketIDs
  25644. type: string
  25645. produces:
  25646. - application/json
  25647. responses:
  25648. "200":
  25649. description: OK
  25650. schema:
  25651. $ref: '#/definitions/models.Goods'
  25652. "500":
  25653. description: Internal Server Error
  25654. schema:
  25655. $ref: '#/definitions/app.Response'
  25656. security:
  25657. - ApiKeyAuth: []
  25658. summary: 获取登录账号有权限的商品信息
  25659. tags:
  25660. - 通用市场
  25661. /Market/QueryMarketRun:
  25662. get:
  25663. parameters:
  25664. - description: 市场ID,不传返回所有
  25665. in: query
  25666. name: marketID
  25667. type: integer
  25668. produces:
  25669. - application/json
  25670. responses:
  25671. "200":
  25672. description: OK
  25673. schema:
  25674. $ref: '#/definitions/models.Marketrun'
  25675. "500":
  25676. description: Internal Server Error
  25677. schema:
  25678. $ref: '#/definitions/app.Response'
  25679. security:
  25680. - ApiKeyAuth: []
  25681. summary: 查询市场运行信息
  25682. tags:
  25683. - 通用市场
  25684. /Market/QueryMarketsByLoginID:
  25685. get:
  25686. parameters:
  25687. - description: 登录账号
  25688. in: query
  25689. name: loginID
  25690. required: true
  25691. type: integer
  25692. produces:
  25693. - application/json
  25694. responses:
  25695. "200":
  25696. description: OK
  25697. schema:
  25698. $ref: '#/definitions/models.Market'
  25699. "500":
  25700. description: Internal Server Error
  25701. schema:
  25702. $ref: '#/definitions/app.Response'
  25703. security:
  25704. - ApiKeyAuth: []
  25705. summary: 获取登录账号有权限的市场信息
  25706. tags:
  25707. - 通用市场
  25708. /Order/QueryHisTradeDetail:
  25709. get:
  25710. parameters:
  25711. - description: 资金账户 - 格式:1,2,3
  25712. in: query
  25713. name: accountID
  25714. required: true
  25715. type: string
  25716. - description: 成交单号
  25717. in: query
  25718. name: tradeID
  25719. type: integer
  25720. - description: 委托单号
  25721. in: query
  25722. name: orderID
  25723. type: integer
  25724. - description: 商品ID
  25725. in: query
  25726. name: goodsID
  25727. type: integer
  25728. - description: 交易模式 - 格式:1,2,3
  25729. in: query
  25730. name: tradeMode
  25731. type: string
  25732. - description: 委托单据类型
  25733. in: query
  25734. name: buildType
  25735. type: integer
  25736. - description: 成交类别 - 格式:1,2,3
  25737. in: query
  25738. name: tradeType
  25739. type: string
  25740. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25741. in: query
  25742. name: startDate
  25743. type: string
  25744. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25745. in: query
  25746. name: endDate
  25747. type: string
  25748. produces:
  25749. - application/json
  25750. responses:
  25751. "200":
  25752. description: OK
  25753. schema:
  25754. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25755. "500":
  25756. description: Internal Server Error
  25757. schema:
  25758. $ref: '#/definitions/app.Response'
  25759. security:
  25760. - ApiKeyAuth: []
  25761. summary: 历史成交单查询(合约市场)
  25762. tags:
  25763. - 通用单据
  25764. /Order/QueryHisTradeOrderDetail:
  25765. get:
  25766. parameters:
  25767. - description: 资金账户 - 格式:1,2,3
  25768. in: query
  25769. name: accountID
  25770. required: true
  25771. type: string
  25772. - description: 交易模式 - 格式:1,2,3
  25773. in: query
  25774. name: tradeMode
  25775. type: string
  25776. - description: 委托状态 - 格式:1,2,3
  25777. in: query
  25778. name: orderStatus
  25779. type: string
  25780. - description: 委托单号
  25781. in: query
  25782. name: orderID
  25783. type: integer
  25784. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25785. in: query
  25786. name: startDate
  25787. type: string
  25788. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25789. in: query
  25790. name: endDate
  25791. type: string
  25792. produces:
  25793. - application/json
  25794. responses:
  25795. "200":
  25796. description: OK
  25797. schema:
  25798. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  25799. "500":
  25800. description: Internal Server Error
  25801. schema:
  25802. $ref: '#/definitions/app.Response'
  25803. security:
  25804. - ApiKeyAuth: []
  25805. summary: 历史委托单查询请求(合约市场)
  25806. tags:
  25807. - 通用单据
  25808. /Order/QueryTradeDetail:
  25809. get:
  25810. parameters:
  25811. - description: 资金账户 - 格式:1,2,3
  25812. in: query
  25813. name: accountID
  25814. required: true
  25815. type: string
  25816. - description: 成交单号
  25817. in: query
  25818. name: tradeID
  25819. type: integer
  25820. - description: 委托单号
  25821. in: query
  25822. name: orderID
  25823. type: integer
  25824. - description: 交易模式 - 格式:1,2,3
  25825. in: query
  25826. name: tradeMode
  25827. type: string
  25828. - description: 委托单据类型
  25829. in: query
  25830. name: buildType
  25831. type: integer
  25832. - description: 成交类别 - 格式:1,2,3
  25833. in: query
  25834. name: tradeType
  25835. type: string
  25836. - description: 商品ID
  25837. in: query
  25838. name: goodsID
  25839. type: integer
  25840. produces:
  25841. - application/json
  25842. responses:
  25843. "200":
  25844. description: OK
  25845. schema:
  25846. $ref: '#/definitions/order.QueryTradeDetailRsp'
  25847. "500":
  25848. description: Internal Server Error
  25849. schema:
  25850. $ref: '#/definitions/app.Response'
  25851. security:
  25852. - ApiKeyAuth: []
  25853. summary: 成交单查询(合约市场)
  25854. tags:
  25855. - 通用单据
  25856. /Order/QueryTradeHolderDetail:
  25857. get:
  25858. parameters:
  25859. - description: 用户id
  25860. in: query
  25861. name: userid
  25862. type: integer
  25863. - description: 资金账号, 格式 1,2,3
  25864. in: query
  25865. name: accids
  25866. type: string
  25867. - description: 交易模式, 格式 1,2,3
  25868. in: query
  25869. name: trademodes
  25870. type: string
  25871. - description: 市场id, 格式 1,2,3
  25872. in: query
  25873. name: marketids
  25874. type: string
  25875. - description: 商品id
  25876. in: query
  25877. name: goodsid
  25878. type: integer
  25879. - description: 买卖方向 0-买 1-卖
  25880. in: query
  25881. name: buyorsell
  25882. type: integer
  25883. produces:
  25884. - application/json
  25885. responses:
  25886. "200":
  25887. description: OK
  25888. schema:
  25889. items:
  25890. $ref: '#/definitions/models.TradeHolderDetail'
  25891. type: array
  25892. "500":
  25893. description: Internal Server Error
  25894. schema:
  25895. $ref: '#/definitions/app.Response'
  25896. security:
  25897. - ApiKeyAuth: []
  25898. summary: 查询持仓明细
  25899. tags:
  25900. - 通用单据
  25901. /Order/QueryTradeOrderDetail:
  25902. get:
  25903. parameters:
  25904. - description: 资金账户 - 格式:1,2,3
  25905. in: query
  25906. name: accountID
  25907. required: true
  25908. type: string
  25909. - description: 交易模式 - 格式:1,2,3
  25910. in: query
  25911. name: tradeMode
  25912. type: string
  25913. - description: 委托状态 - 格式:1,2,3
  25914. in: query
  25915. name: orderStatus
  25916. type: string
  25917. - description: 委托单号
  25918. in: query
  25919. name: orderID
  25920. type: integer
  25921. produces:
  25922. - application/json
  25923. responses:
  25924. "200":
  25925. description: OK
  25926. schema:
  25927. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25928. "500":
  25929. description: Internal Server Error
  25930. schema:
  25931. $ref: '#/definitions/app.Response'
  25932. security:
  25933. - ApiKeyAuth: []
  25934. summary: 委托单查询请求(合约市场)
  25935. tags:
  25936. - 通用单据
  25937. /Order/QueryTradePosition:
  25938. get:
  25939. parameters:
  25940. - description: 资金账户 - 格式:1,2,3
  25941. in: query
  25942. name: accountID
  25943. required: true
  25944. type: string
  25945. - description: 交易模式 - 格式:1,2,3
  25946. in: query
  25947. name: tradeMode
  25948. type: string
  25949. produces:
  25950. - application/json
  25951. responses:
  25952. "200":
  25953. description: OK
  25954. schema:
  25955. $ref: '#/definitions/order.QueryTradePositionRsp'
  25956. "500":
  25957. description: Internal Server Error
  25958. schema:
  25959. $ref: '#/definitions/app.Response'
  25960. security:
  25961. - ApiKeyAuth: []
  25962. summary: 持仓汇总查询(合约市场)
  25963. tags:
  25964. - 通用单据
  25965. /Qhj/QueryAccountInOutApply:
  25966. get:
  25967. parameters:
  25968. - description: 用户ID
  25969. in: query
  25970. name: userid
  25971. required: true
  25972. type: integer
  25973. - description: 申请起始日期(格式yyyymmdd)
  25974. in: query
  25975. name: begindate
  25976. type: string
  25977. - description: 申请截止日期(格式yyyymmdd)
  25978. in: query
  25979. name: enddate
  25980. type: string
  25981. - description: 模糊搜索名称
  25982. in: query
  25983. name: likename
  25984. type: string
  25985. produces:
  25986. - application/json
  25987. responses:
  25988. "200":
  25989. description: OK
  25990. schema:
  25991. items:
  25992. $ref: '#/definitions/models.QhjAccountOutInApply'
  25993. type: array
  25994. "500":
  25995. description: Internal Server Error
  25996. schema:
  25997. $ref: '#/definitions/app.Response'
  25998. security:
  25999. - ApiKeyAuth: []
  26000. summary: 查询充值提现
  26001. tags:
  26002. - 大连千海金
  26003. /Qhj/QueryAreaFinanceConfig:
  26004. get:
  26005. parameters:
  26006. - description: 机构用户ID 其他做市关系,都设置为 1
  26007. in: query
  26008. name: userid
  26009. type: integer
  26010. produces:
  26011. - application/json
  26012. responses:
  26013. "200":
  26014. description: OK
  26015. schema:
  26016. items:
  26017. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26018. type: array
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 查询企业配置表
  26026. tags:
  26027. - 大连千海金
  26028. /Qhj/QueryBankAccountSign:
  26029. get:
  26030. parameters:
  26031. - description: 用户ID
  26032. in: query
  26033. name: userid
  26034. required: true
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. items:
  26043. $ref: '#/definitions/models.QhjBankAccountSign'
  26044. type: array
  26045. "500":
  26046. description: Internal Server Error
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. security:
  26050. - ApiKeyAuth: []
  26051. summary: 查询签约银行信息(提现账户管理)
  26052. tags:
  26053. - 大连千海金
  26054. /Qhj/QueryBankInfo:
  26055. get:
  26056. produces:
  26057. - application/json
  26058. responses:
  26059. "200":
  26060. description: OK
  26061. schema:
  26062. items:
  26063. $ref: '#/definitions/models.QhjBankInfo'
  26064. type: array
  26065. "500":
  26066. description: Internal Server Error
  26067. schema:
  26068. $ref: '#/definitions/app.Response'
  26069. security:
  26070. - ApiKeyAuth: []
  26071. summary: 查询开户行
  26072. tags:
  26073. - 大连千海金
  26074. /Qhj/QueryBrokerApply:
  26075. get:
  26076. parameters:
  26077. - description: 所属机构ID
  26078. in: query
  26079. name: userid
  26080. type: integer
  26081. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26082. in: query
  26083. name: filterstatus
  26084. type: string
  26085. produces:
  26086. - application/json
  26087. responses:
  26088. "200":
  26089. description: OK
  26090. schema:
  26091. items:
  26092. $ref: '#/definitions/models.QhjBrokerApply'
  26093. type: array
  26094. "500":
  26095. description: Internal Server Error
  26096. schema:
  26097. $ref: '#/definitions/app.Response'
  26098. security:
  26099. - ApiKeyAuth: []
  26100. summary: 查询经纪人申请
  26101. tags:
  26102. - 大连千海金
  26103. /Qhj/QueryBrokerApplyEx:
  26104. get:
  26105. parameters:
  26106. - description: 所属机构ID
  26107. in: query
  26108. name: userid
  26109. type: integer
  26110. produces:
  26111. - application/json
  26112. responses:
  26113. "200":
  26114. description: OK
  26115. schema:
  26116. items:
  26117. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26118. type: array
  26119. "500":
  26120. description: Internal Server Error
  26121. schema:
  26122. $ref: '#/definitions/app.Response'
  26123. security:
  26124. - ApiKeyAuth: []
  26125. summary: 查询经纪人信息和申请记录
  26126. tags:
  26127. - 大连千海金
  26128. /Qhj/QueryBrokerRewardLog:
  26129. get:
  26130. parameters:
  26131. - description: 用户ID
  26132. in: query
  26133. name: userid
  26134. required: true
  26135. type: integer
  26136. - description: 开始交易日(yyyymmdd)
  26137. in: query
  26138. name: begindate
  26139. type: string
  26140. - description: 结束交易日(yyyymmdd)
  26141. in: query
  26142. name: enddate
  26143. type: string
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. items:
  26151. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26152. type: array
  26153. "500":
  26154. description: Internal Server Error
  26155. schema:
  26156. $ref: '#/definitions/app.Response'
  26157. security:
  26158. - ApiKeyAuth: []
  26159. summary: 查询奖励流水(我的奖励)
  26160. tags:
  26161. - 大连千海金
  26162. /Qhj/QueryContract:
  26163. get:
  26164. parameters:
  26165. - description: 用户ID
  26166. in: query
  26167. name: userid
  26168. type: integer
  26169. - description: scf合同id
  26170. in: query
  26171. name: scfcontractid
  26172. type: integer
  26173. produces:
  26174. - application/json
  26175. responses:
  26176. "200":
  26177. description: OK
  26178. schema:
  26179. items:
  26180. $ref: '#/definitions/models.QhjContract'
  26181. type: array
  26182. "500":
  26183. description: Internal Server Error
  26184. schema:
  26185. $ref: '#/definitions/app.Response'
  26186. security:
  26187. - ApiKeyAuth: []
  26188. summary: 查询融资明细(合同)
  26189. tags:
  26190. - 大连千海金
  26191. /Qhj/QueryContractLog:
  26192. get:
  26193. parameters:
  26194. - description: scf合同id
  26195. in: query
  26196. name: scfcontractid
  26197. required: true
  26198. type: integer
  26199. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26200. in: query
  26201. name: amounttype
  26202. type: string
  26203. produces:
  26204. - application/json
  26205. responses:
  26206. "200":
  26207. description: OK
  26208. schema:
  26209. items:
  26210. $ref: '#/definitions/models.QhjContractLog'
  26211. type: array
  26212. "500":
  26213. description: Internal Server Error
  26214. schema:
  26215. $ref: '#/definitions/app.Response'
  26216. security:
  26217. - ApiKeyAuth: []
  26218. summary: 查询融资明细流水(融资明细详情页中的流水)
  26219. tags:
  26220. - 大连千海金
  26221. /Qhj/QueryCusBankSignBank:
  26222. get:
  26223. produces:
  26224. - application/json
  26225. responses:
  26226. "200":
  26227. description: OK
  26228. schema:
  26229. items:
  26230. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26231. type: array
  26232. "500":
  26233. description: Internal Server Error
  26234. schema:
  26235. $ref: '#/definitions/app.Response'
  26236. security:
  26237. - ApiKeyAuth: []
  26238. summary: 查询托管银行
  26239. tags:
  26240. - 大连千海金
  26241. /Qhj/QueryCustomerInfo:
  26242. get:
  26243. parameters:
  26244. - description: 用户ID
  26245. in: query
  26246. name: userid
  26247. required: true
  26248. type: integer
  26249. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26250. in: query
  26251. name: querytype
  26252. required: true
  26253. type: integer
  26254. - description: 客户类型 1-个人 2-企业
  26255. in: query
  26256. name: userinfotype
  26257. type: integer
  26258. - description: 客户名称(模糊匹配)
  26259. in: query
  26260. name: customername
  26261. type: string
  26262. - description: 昵称(模糊匹配)
  26263. in: query
  26264. name: nickname
  26265. type: string
  26266. - description: 是否包含子级 1-包含
  26267. in: query
  26268. name: includesub
  26269. type: integer
  26270. produces:
  26271. - application/json
  26272. responses:
  26273. "200":
  26274. description: OK
  26275. schema:
  26276. items:
  26277. $ref: '#/definitions/models.QhjCustomer'
  26278. type: array
  26279. "500":
  26280. description: Internal Server Error
  26281. schema:
  26282. $ref: '#/definitions/app.Response'
  26283. security:
  26284. - ApiKeyAuth: []
  26285. summary: 查询客户资料
  26286. tags:
  26287. - 大连千海金
  26288. /Qhj/QueryGoodsEx:
  26289. get:
  26290. parameters:
  26291. - description: 商品id
  26292. in: query
  26293. name: goodsid
  26294. type: integer
  26295. produces:
  26296. - application/json
  26297. responses:
  26298. "200":
  26299. description: OK
  26300. schema:
  26301. items:
  26302. $ref: '#/definitions/models.Qhjgoodsex'
  26303. type: array
  26304. "500":
  26305. description: Internal Server Error
  26306. schema:
  26307. $ref: '#/definitions/app.Response'
  26308. security:
  26309. - ApiKeyAuth: []
  26310. summary: 交易商品扩展表
  26311. tags:
  26312. - 大连千海金
  26313. /Qhj/QueryMyTeam:
  26314. get:
  26315. parameters:
  26316. - description: 用户ID
  26317. in: query
  26318. name: userid
  26319. required: true
  26320. type: integer
  26321. produces:
  26322. - application/json
  26323. responses:
  26324. "200":
  26325. description: OK
  26326. schema:
  26327. items:
  26328. $ref: '#/definitions/models.QhjMyTeamEx'
  26329. type: array
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 查询我的团队
  26337. tags:
  26338. - 大连千海金
  26339. /Qhj/QueryMyTeamOrder:
  26340. get:
  26341. parameters:
  26342. - description: 页码
  26343. in: query
  26344. name: page
  26345. type: integer
  26346. - description: 每页条数
  26347. in: query
  26348. name: pagesize
  26349. type: integer
  26350. - description: 用户ID
  26351. in: query
  26352. name: userid
  26353. required: true
  26354. type: integer
  26355. - description: 交易模式
  26356. in: query
  26357. name: trademode
  26358. type: integer
  26359. - description: 名称(模糊搜索账户)
  26360. in: query
  26361. name: filtername
  26362. type: string
  26363. produces:
  26364. - application/json
  26365. responses:
  26366. "200":
  26367. description: OK
  26368. schema:
  26369. items:
  26370. $ref: '#/definitions/models.QhjTeamOrder'
  26371. type: array
  26372. "500":
  26373. description: Internal Server Error
  26374. schema:
  26375. $ref: '#/definitions/app.Response'
  26376. security:
  26377. - ApiKeyAuth: []
  26378. summary: 查询团队订单(我的团队/团队订单)
  26379. tags:
  26380. - 大连千海金
  26381. /Qhj/QueryParentAreaList:
  26382. get:
  26383. parameters:
  26384. - description: 用户ID
  26385. in: query
  26386. name: userid
  26387. required: true
  26388. type: integer
  26389. produces:
  26390. - application/json
  26391. responses:
  26392. "200":
  26393. description: OK
  26394. schema:
  26395. items:
  26396. $ref: '#/definitions/models.QhjParentAreaList'
  26397. type: array
  26398. "500":
  26399. description: Internal Server Error
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. security:
  26403. - ApiKeyAuth: []
  26404. summary: 查询所属机构列表
  26405. tags:
  26406. - 大连千海金
  26407. /Qhj/QueryPayOrder:
  26408. get:
  26409. parameters:
  26410. - description: 资金账号id
  26411. in: query
  26412. name: accountid
  26413. required: true
  26414. type: integer
  26415. - description: 成交单号
  26416. in: query
  26417. name: tradeid
  26418. type: integer
  26419. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26420. in: query
  26421. name: payflag
  26422. type: string
  26423. produces:
  26424. - application/json
  26425. responses:
  26426. "200":
  26427. description: OK
  26428. schema:
  26429. items:
  26430. $ref: '#/definitions/models.QhjPayOrder'
  26431. type: array
  26432. "500":
  26433. description: Internal Server Error
  26434. schema:
  26435. $ref: '#/definitions/app.Response'
  26436. security:
  26437. - ApiKeyAuth: []
  26438. summary: 查询待付款单据
  26439. tags:
  26440. - 大连千海金
  26441. /Qhj/QueryPickArea:
  26442. get:
  26443. parameters:
  26444. - description: 用户ID
  26445. in: query
  26446. name: userid
  26447. type: integer
  26448. produces:
  26449. - application/json
  26450. responses:
  26451. "200":
  26452. description: OK
  26453. schema:
  26454. items:
  26455. $ref: '#/definitions/models.QhjPickArea'
  26456. type: array
  26457. "500":
  26458. description: Internal Server Error
  26459. schema:
  26460. $ref: '#/definitions/app.Response'
  26461. security:
  26462. - ApiKeyAuth: []
  26463. summary: 查询提货门店
  26464. tags:
  26465. - 大连千海金
  26466. /Qhj/QueryPickGoods:
  26467. get:
  26468. parameters:
  26469. - description: 交易商品id
  26470. in: query
  26471. name: goodsid
  26472. required: true
  26473. type: integer
  26474. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26475. in: query
  26476. name: status
  26477. type: string
  26478. produces:
  26479. - application/json
  26480. responses:
  26481. "200":
  26482. description: OK
  26483. schema:
  26484. items:
  26485. $ref: '#/definitions/models.QhjPickGoods'
  26486. type: array
  26487. "500":
  26488. description: Internal Server Error
  26489. schema:
  26490. $ref: '#/definitions/app.Response'
  26491. security:
  26492. - ApiKeyAuth: []
  26493. summary: 查询提货商品
  26494. tags:
  26495. - 大连千海金
  26496. /Qhj/QueryRSTriggerLog:
  26497. get:
  26498. parameters:
  26499. - description: 用户ID
  26500. in: query
  26501. name: userid
  26502. type: integer
  26503. - description: 定投策略id
  26504. in: query
  26505. name: regularlystrategyid
  26506. type: integer
  26507. - description: 商品id
  26508. in: query
  26509. name: goodsid
  26510. type: integer
  26511. - description: 开始交易日(yyyymmdd)
  26512. in: query
  26513. name: begindate
  26514. type: string
  26515. - description: 结束交易日(yyyymmdd)
  26516. in: query
  26517. name: enddate
  26518. type: string
  26519. - description: 名称(模糊搜索账户)
  26520. in: query
  26521. name: filtername
  26522. type: string
  26523. produces:
  26524. - application/json
  26525. responses:
  26526. "200":
  26527. description: OK
  26528. schema:
  26529. items:
  26530. $ref: '#/definitions/models.QhjRSTriggerLog'
  26531. type: array
  26532. "500":
  26533. description: Internal Server Error
  26534. schema:
  26535. $ref: '#/definitions/app.Response'
  26536. security:
  26537. - ApiKeyAuth: []
  26538. summary: 查询定投记录(定投管理/详情/定投记录)
  26539. tags:
  26540. - 大连千海金
  26541. /Qhj/QueryRStrategy:
  26542. get:
  26543. parameters:
  26544. - description: 用户ID
  26545. in: query
  26546. name: userid
  26547. type: integer
  26548. - description: 商品id
  26549. in: query
  26550. name: goodsid
  26551. type: integer
  26552. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  26553. in: query
  26554. name: status
  26555. type: string
  26556. - description: 名称(模糊搜索账户)
  26557. in: query
  26558. name: filtername
  26559. type: string
  26560. produces:
  26561. - application/json
  26562. responses:
  26563. "200":
  26564. description: OK
  26565. schema:
  26566. items:
  26567. $ref: '#/definitions/models.QhjRStrategy'
  26568. type: array
  26569. "500":
  26570. description: Internal Server Error
  26571. schema:
  26572. $ref: '#/definitions/app.Response'
  26573. security:
  26574. - ApiKeyAuth: []
  26575. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  26576. tags:
  26577. - 大连千海金
  26578. /Qhj/QueryReckonPriceLog:
  26579. get:
  26580. parameters:
  26581. - description: 商品ID
  26582. in: query
  26583. name: goodsid
  26584. type: integer
  26585. - description: 交易日 格式(yyyymmdd)
  26586. in: query
  26587. name: tradedate
  26588. type: string
  26589. produces:
  26590. - application/json
  26591. responses:
  26592. "200":
  26593. description: OK
  26594. schema:
  26595. items:
  26596. $ref: '#/definitions/models.QhjReckonPriceLog'
  26597. type: array
  26598. "500":
  26599. description: Internal Server Error
  26600. schema:
  26601. $ref: '#/definitions/app.Response'
  26602. security:
  26603. - ApiKeyAuth: []
  26604. summary: 查询定投价(结算价)
  26605. tags:
  26606. - 大连千海金
  26607. /Qhj/QueryScoreLog:
  26608. get:
  26609. parameters:
  26610. - description: 用户ID
  26611. in: query
  26612. name: userid
  26613. required: true
  26614. type: integer
  26615. - description: 开始交易日(yyyymmdd)
  26616. in: query
  26617. name: begindate
  26618. type: string
  26619. - description: 结束交易日(yyyymmdd)
  26620. in: query
  26621. name: enddate
  26622. type: string
  26623. - description: 最近多少条
  26624. in: query
  26625. name: lastnum
  26626. type: integer
  26627. produces:
  26628. - application/json
  26629. responses:
  26630. "200":
  26631. description: OK
  26632. schema:
  26633. items:
  26634. $ref: '#/definitions/models.QhjScoreLog'
  26635. type: array
  26636. "500":
  26637. description: Internal Server Error
  26638. schema:
  26639. $ref: '#/definitions/app.Response'
  26640. security:
  26641. - ApiKeyAuth: []
  26642. summary: 查询积分流水(我的积分)
  26643. tags:
  26644. - 大连千海金
  26645. /Qhj/QuerySiteColumnDetail:
  26646. get:
  26647. parameters:
  26648. - description: 用户ID
  26649. in: query
  26650. name: userid
  26651. required: true
  26652. type: integer
  26653. produces:
  26654. - application/json
  26655. responses:
  26656. "200":
  26657. description: OK
  26658. schema:
  26659. items:
  26660. $ref: '#/definitions/models.QhjSiteColumnDetail'
  26661. type: array
  26662. "500":
  26663. description: Internal Server Error
  26664. schema:
  26665. $ref: '#/definitions/app.Response'
  26666. security:
  26667. - ApiKeyAuth: []
  26668. summary: 查询资讯
  26669. tags:
  26670. - 大连千海金
  26671. /Qhj/QueryTradeGoodsPickup:
  26672. get:
  26673. parameters:
  26674. - description: 用户ID
  26675. in: query
  26676. name: userid
  26677. required: true
  26678. type: integer
  26679. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26680. 7:已拒绝 8:已撤销
  26681. in: query
  26682. name: takeorderstatus
  26683. type: integer
  26684. produces:
  26685. - application/json
  26686. responses:
  26687. "200":
  26688. description: OK
  26689. schema:
  26690. items:
  26691. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26692. type: array
  26693. "500":
  26694. description: Internal Server Error
  26695. schema:
  26696. $ref: '#/definitions/app.Response'
  26697. security:
  26698. - ApiKeyAuth: []
  26699. summary: 查询提货
  26700. tags:
  26701. - 大连千海金
  26702. /Qhj/QueryUserCollectConfig:
  26703. get:
  26704. parameters:
  26705. - description: 用户ID
  26706. in: query
  26707. name: userid
  26708. required: true
  26709. type: integer
  26710. produces:
  26711. - application/json
  26712. responses:
  26713. "200":
  26714. description: OK
  26715. schema:
  26716. items:
  26717. $ref: '#/definitions/models.UserCollectConfig'
  26718. type: array
  26719. "500":
  26720. description: Internal Server Error
  26721. schema:
  26722. $ref: '#/definitions/app.Response'
  26723. security:
  26724. - ApiKeyAuth: []
  26725. summary: 查询提现账户设置
  26726. tags:
  26727. - 大连千海金
  26728. /Qhj/QueryUserReceiveInfo:
  26729. get:
  26730. parameters:
  26731. - description: 用户ID
  26732. in: query
  26733. name: userid
  26734. required: true
  26735. type: integer
  26736. produces:
  26737. - application/json
  26738. responses:
  26739. "200":
  26740. description: OK
  26741. schema:
  26742. items:
  26743. $ref: '#/definitions/models.UserReceiveInfo'
  26744. type: array
  26745. "500":
  26746. description: Internal Server Error
  26747. schema:
  26748. $ref: '#/definitions/app.Response'
  26749. security:
  26750. - ApiKeyAuth: []
  26751. summary: 查询收货地址信息
  26752. tags:
  26753. - 大连千海金
  26754. /QhjMgr/QueryAccountInOutApply:
  26755. get:
  26756. parameters:
  26757. - description: 查询类型 1-提现(出金) 2-充值(出金)
  26758. in: query
  26759. name: querytype
  26760. required: true
  26761. type: integer
  26762. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  26763. in: query
  26764. name: applystatus
  26765. type: integer
  26766. - description: 申请起始日期(格式yyyymmdd)
  26767. in: query
  26768. name: begindate
  26769. type: string
  26770. - description: 申请截止日期(格式yyyymmdd)
  26771. in: query
  26772. name: enddate
  26773. type: string
  26774. - description: 模糊搜索名称
  26775. in: query
  26776. name: likename
  26777. type: string
  26778. produces:
  26779. - application/json
  26780. responses:
  26781. "200":
  26782. description: OK
  26783. schema:
  26784. items:
  26785. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  26786. type: array
  26787. "500":
  26788. description: Internal Server Error
  26789. schema:
  26790. $ref: '#/definitions/app.Response'
  26791. security:
  26792. - ApiKeyAuth: []
  26793. summary: 查询充值提现
  26794. tags:
  26795. - 大连千海金(PCWeb)
  26796. /QhjMgr/QueryBrokerApply:
  26797. get:
  26798. parameters:
  26799. - description: 所属机构ID
  26800. in: query
  26801. name: userid
  26802. type: integer
  26803. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26804. in: query
  26805. name: filterstatus
  26806. type: string
  26807. - description: 名称(模糊匹配)
  26808. in: query
  26809. name: filtername
  26810. type: string
  26811. - description: 是否包含子级 1-包含
  26812. in: query
  26813. name: includesub
  26814. type: integer
  26815. produces:
  26816. - application/json
  26817. responses:
  26818. "200":
  26819. description: OK
  26820. schema:
  26821. items:
  26822. $ref: '#/definitions/models.QhjMgrBrokerApply'
  26823. type: array
  26824. "500":
  26825. description: Internal Server Error
  26826. schema:
  26827. $ref: '#/definitions/app.Response'
  26828. security:
  26829. - ApiKeyAuth: []
  26830. summary: 查询经纪人申请
  26831. tags:
  26832. - 大连千海金(PCWeb)
  26833. /QhjMgr/QueryBrokerRewardReport:
  26834. get:
  26835. parameters:
  26836. - description: 所属机构ID
  26837. in: query
  26838. name: userid
  26839. required: true
  26840. type: integer
  26841. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26842. in: query
  26843. name: cycletype
  26844. required: true
  26845. type: integer
  26846. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  26847. in: query
  26848. name: cycletime
  26849. required: true
  26850. type: string
  26851. - description: 名称(模糊匹配)
  26852. in: query
  26853. name: filtername
  26854. type: string
  26855. - description: 是否包含子级 1-包含
  26856. in: query
  26857. name: includesub
  26858. type: integer
  26859. produces:
  26860. - application/json
  26861. responses:
  26862. "200":
  26863. description: OK
  26864. schema:
  26865. items:
  26866. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  26867. type: array
  26868. "500":
  26869. description: Internal Server Error
  26870. schema:
  26871. $ref: '#/definitions/app.Response'
  26872. security:
  26873. - ApiKeyAuth: []
  26874. summary: 查询经纪人奖励报表(废弃)
  26875. tags:
  26876. - 大连千海金(PCWeb)
  26877. /QhjMgr/QueryContract:
  26878. get:
  26879. parameters:
  26880. - description: 用户ID
  26881. in: query
  26882. name: userid
  26883. type: integer
  26884. - description: 商品id
  26885. in: query
  26886. name: goodsid
  26887. type: integer
  26888. - description: 名称(模糊搜索账户)
  26889. in: query
  26890. name: filtername
  26891. type: string
  26892. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  26893. in: query
  26894. name: risklevel
  26895. type: string
  26896. - description: 开始交易日(yyyymmdd)
  26897. in: query
  26898. name: begindate
  26899. type: string
  26900. - description: 结束交易日(yyyymmdd)
  26901. in: query
  26902. name: enddate
  26903. type: string
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. items:
  26911. $ref: '#/definitions/models.QhjMgrContract'
  26912. type: array
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询融资信息(合同)
  26920. tags:
  26921. - 大连千海金(PCWeb)
  26922. /QhjMgr/QueryCustomerInfo:
  26923. get:
  26924. parameters:
  26925. - description: 用户ID
  26926. in: query
  26927. name: userid
  26928. required: true
  26929. type: integer
  26930. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26931. in: query
  26932. name: querytype
  26933. required: true
  26934. type: integer
  26935. - description: 客户类型 1-个人 2-企业
  26936. in: query
  26937. name: userinfotype
  26938. type: integer
  26939. - description: 客户名称(模糊匹配)
  26940. in: query
  26941. name: customername
  26942. type: string
  26943. - description: 昵称(模糊匹配)
  26944. in: query
  26945. name: nickname
  26946. type: string
  26947. - description: 所属客户经理(模糊匹配)
  26948. in: query
  26949. name: brokername
  26950. type: string
  26951. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26952. 如0503 -5月3日)
  26953. in: query
  26954. name: birthday
  26955. type: string
  26956. - description: 是否包含子级 1-包含
  26957. in: query
  26958. name: includesub
  26959. type: integer
  26960. produces:
  26961. - application/json
  26962. responses:
  26963. "200":
  26964. description: OK
  26965. schema:
  26966. items:
  26967. $ref: '#/definitions/models.QhjMgrCustomer'
  26968. type: array
  26969. "500":
  26970. description: Internal Server Error
  26971. schema:
  26972. $ref: '#/definitions/app.Response'
  26973. security:
  26974. - ApiKeyAuth: []
  26975. summary: 查询客户资料
  26976. tags:
  26977. - 大连千海金(PCWeb)
  26978. /QhjMgr/QueryPickGoods:
  26979. get:
  26980. parameters:
  26981. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26982. in: query
  26983. name: status
  26984. type: string
  26985. produces:
  26986. - application/json
  26987. responses:
  26988. "200":
  26989. description: OK
  26990. schema:
  26991. items:
  26992. $ref: '#/definitions/models.QhjMgrPickGoods'
  26993. type: array
  26994. "500":
  26995. description: Internal Server Error
  26996. schema:
  26997. $ref: '#/definitions/app.Response'
  26998. security:
  26999. - ApiKeyAuth: []
  27000. summary: 查询提货商品
  27001. tags:
  27002. - 大连千海金(PCWeb)
  27003. /QhjMgr/QuerySubArea:
  27004. get:
  27005. parameters:
  27006. - description: 用户ID
  27007. in: query
  27008. name: userid
  27009. required: true
  27010. type: integer
  27011. produces:
  27012. - application/json
  27013. responses:
  27014. "200":
  27015. description: OK
  27016. schema:
  27017. items:
  27018. $ref: '#/definitions/models.QhjMgrSubArea'
  27019. type: array
  27020. "500":
  27021. description: Internal Server Error
  27022. schema:
  27023. $ref: '#/definitions/app.Response'
  27024. security:
  27025. - ApiKeyAuth: []
  27026. summary: 查询子机构列表
  27027. tags:
  27028. - 大连千海金(PCWeb)
  27029. /QhjMgr/QueryTradeDetail:
  27030. get:
  27031. parameters:
  27032. - description: 用户ID
  27033. in: query
  27034. name: userid
  27035. required: true
  27036. type: integer
  27037. - description: 用户类型 1-个人 2-企业
  27038. in: query
  27039. name: userinfotype
  27040. type: integer
  27041. - description: 交易模式
  27042. in: query
  27043. name: trademode
  27044. type: integer
  27045. - description: 商品id
  27046. in: query
  27047. name: goodsid
  27048. type: integer
  27049. - description: 名称(模糊搜索账户)
  27050. in: query
  27051. name: filtername
  27052. type: string
  27053. - description: 开始交易日(yyyymmdd)
  27054. in: query
  27055. name: begindate
  27056. type: string
  27057. - description: 结束交易日(yyyymmdd)
  27058. in: query
  27059. name: enddate
  27060. type: string
  27061. - description: 是否包含子级 1-包含
  27062. in: query
  27063. name: includesub
  27064. type: integer
  27065. produces:
  27066. - application/json
  27067. responses:
  27068. "200":
  27069. description: OK
  27070. schema:
  27071. items:
  27072. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  27073. type: array
  27074. "500":
  27075. description: Internal Server Error
  27076. schema:
  27077. $ref: '#/definitions/app.Response'
  27078. security:
  27079. - ApiKeyAuth: []
  27080. summary: 查询成交明细
  27081. tags:
  27082. - 大连千海金(PCWeb)
  27083. /QhjMgr/QueryTradeOrderDetail:
  27084. get:
  27085. parameters:
  27086. - description: 用户ID
  27087. in: query
  27088. name: userid
  27089. required: true
  27090. type: integer
  27091. - description: 用户类型 1-个人 2-企业
  27092. in: query
  27093. name: userinfotype
  27094. type: integer
  27095. - description: 交易模式
  27096. in: query
  27097. name: trademode
  27098. type: integer
  27099. - description: 商品id
  27100. in: query
  27101. name: goodsid
  27102. type: integer
  27103. - description: 名称(模糊搜索账户)
  27104. in: query
  27105. name: filtername
  27106. type: string
  27107. - description: 开始交易日(yyyymmdd)
  27108. in: query
  27109. name: begindate
  27110. type: string
  27111. - description: 结束交易日(yyyymmdd)
  27112. in: query
  27113. name: enddate
  27114. type: string
  27115. - description: 是否包含子级 1-包含
  27116. in: query
  27117. name: includesub
  27118. type: integer
  27119. produces:
  27120. - application/json
  27121. responses:
  27122. "200":
  27123. description: OK
  27124. schema:
  27125. items:
  27126. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27127. type: array
  27128. "500":
  27129. description: Internal Server Error
  27130. schema:
  27131. $ref: '#/definitions/app.Response'
  27132. security:
  27133. - ApiKeyAuth: []
  27134. summary: 查询委托明细
  27135. tags:
  27136. - 大连千海金(PCWeb)
  27137. /QhjMgr/QueryTradePayOrder:
  27138. get:
  27139. parameters:
  27140. - description: 用户ID
  27141. in: query
  27142. name: userid
  27143. required: true
  27144. type: integer
  27145. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27146. in: query
  27147. name: payflag
  27148. type: string
  27149. - description: 用户类型 1-个人 2-企业
  27150. in: query
  27151. name: userinfotype
  27152. type: integer
  27153. - description: 交易模式
  27154. in: query
  27155. name: trademode
  27156. type: integer
  27157. - description: 商品id
  27158. in: query
  27159. name: goodsid
  27160. type: integer
  27161. - description: 名称(模糊搜索账户)
  27162. in: query
  27163. name: filtername
  27164. type: string
  27165. - description: 开始交易日(yyyymmdd)
  27166. in: query
  27167. name: begindate
  27168. type: string
  27169. - description: 结束交易日(yyyymmdd)
  27170. in: query
  27171. name: enddate
  27172. type: string
  27173. - description: 是否包含子级 1-包含
  27174. in: query
  27175. name: includesub
  27176. type: integer
  27177. produces:
  27178. - application/json
  27179. responses:
  27180. "200":
  27181. description: OK
  27182. schema:
  27183. items:
  27184. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27185. type: array
  27186. "500":
  27187. description: Internal Server Error
  27188. schema:
  27189. $ref: '#/definitions/app.Response'
  27190. security:
  27191. - ApiKeyAuth: []
  27192. summary: 查询待付款单
  27193. tags:
  27194. - 大连千海金(PCWeb)
  27195. /QhjMgr/QueryTradePosition:
  27196. get:
  27197. parameters:
  27198. - description: 用户ID
  27199. in: query
  27200. name: userid
  27201. required: true
  27202. type: integer
  27203. - description: 用户类型 1-个人 2-企业
  27204. in: query
  27205. name: userinfotype
  27206. type: integer
  27207. - description: 交易模式
  27208. in: query
  27209. name: trademode
  27210. type: integer
  27211. - description: 商品id
  27212. in: query
  27213. name: goodsid
  27214. type: integer
  27215. - description: 名称(模糊搜索账户)
  27216. in: query
  27217. name: filtername
  27218. type: string
  27219. - description: 是否包含子级 1-包含
  27220. in: query
  27221. name: includesub
  27222. type: integer
  27223. produces:
  27224. - application/json
  27225. responses:
  27226. "200":
  27227. description: OK
  27228. schema:
  27229. items:
  27230. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27231. type: array
  27232. "500":
  27233. description: Internal Server Error
  27234. schema:
  27235. $ref: '#/definitions/app.Response'
  27236. security:
  27237. - ApiKeyAuth: []
  27238. summary: 查询持仓汇总
  27239. tags:
  27240. - 大连千海金(PCWeb)
  27241. /QhjSys/QueryAgreementChangeLog:
  27242. get:
  27243. parameters:
  27244. - description: 协议ID
  27245. in: query
  27246. name: agreementid
  27247. type: integer
  27248. - description: 协议版本号
  27249. in: query
  27250. name: agreementversion
  27251. type: integer
  27252. - description: 协议类型 - 1:注册 2:登录 3:交易
  27253. in: query
  27254. name: agreementtype
  27255. type: integer
  27256. - description: 协议编号(模糊匹配)
  27257. in: query
  27258. name: agreementno
  27259. type: string
  27260. - description: 协议名称(模糊匹配)
  27261. in: query
  27262. name: agreementname
  27263. type: string
  27264. produces:
  27265. - application/json
  27266. responses:
  27267. "200":
  27268. description: OK
  27269. schema:
  27270. items:
  27271. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27272. type: array
  27273. "500":
  27274. description: Internal Server Error
  27275. schema:
  27276. $ref: '#/definitions/app.Response'
  27277. security:
  27278. - ApiKeyAuth: []
  27279. summary: 查询协议配置变更流水
  27280. tags:
  27281. - 大连千海金(协议和签约信息)
  27282. /QhjSys/QueryAgreementConfig:
  27283. get:
  27284. parameters:
  27285. - description: 协议ID
  27286. in: query
  27287. name: agreementid
  27288. type: integer
  27289. - description: 协议版本号
  27290. in: query
  27291. name: agreementversion
  27292. type: integer
  27293. - description: 协议类型 - 1:注册 2:登录 3:交易
  27294. in: query
  27295. name: agreementtype
  27296. type: integer
  27297. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  27298. in: query
  27299. name: isvalid
  27300. type: integer
  27301. - description: 协议编号(模糊匹配)
  27302. in: query
  27303. name: agreementno
  27304. type: string
  27305. - description: 协议名称(模糊匹配)
  27306. in: query
  27307. name: agreementname
  27308. type: string
  27309. produces:
  27310. - application/json
  27311. responses:
  27312. "200":
  27313. description: OK
  27314. schema:
  27315. items:
  27316. $ref: '#/definitions/models.QhjAgreementConfig'
  27317. type: array
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. security:
  27323. - ApiKeyAuth: []
  27324. summary: 查询协议配置
  27325. tags:
  27326. - 大连千海金(协议和签约信息)
  27327. /QhjSys/QueryCustomerSignStatus:
  27328. get:
  27329. parameters:
  27330. - description: 客户ID
  27331. in: query
  27332. name: userid
  27333. type: integer
  27334. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  27335. in: query
  27336. name: nodetype
  27337. type: integer
  27338. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27339. in: query
  27340. name: goodsid
  27341. type: integer
  27342. - description: 创建交易日(yyyyMMdd)
  27343. in: query
  27344. name: tradedate
  27345. type: string
  27346. - description: 用户名称(模糊匹配)
  27347. in: query
  27348. name: username
  27349. type: string
  27350. produces:
  27351. - application/json
  27352. responses:
  27353. "200":
  27354. description: OK
  27355. schema:
  27356. items:
  27357. $ref: '#/definitions/models.QhjCustomerSignStatus'
  27358. type: array
  27359. "500":
  27360. description: Internal Server Error
  27361. schema:
  27362. $ref: '#/definitions/app.Response'
  27363. security:
  27364. - ApiKeyAuth: []
  27365. summary: 查询客户协议签约状态
  27366. tags:
  27367. - 大连千海金(协议和签约信息)
  27368. /QhjSys/QueryNodeAgreementConfig:
  27369. get:
  27370. parameters:
  27371. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27372. in: query
  27373. name: configid
  27374. type: integer
  27375. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27376. in: query
  27377. name: nodetype
  27378. type: integer
  27379. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27380. in: query
  27381. name: goodsid
  27382. type: integer
  27383. - description: 协议ID
  27384. in: query
  27385. name: agreementid
  27386. type: integer
  27387. - description: 协议类型 - 1:注册 2:登录 3:交易
  27388. in: query
  27389. name: agreementtype
  27390. type: integer
  27391. - description: 协议版本号
  27392. in: query
  27393. name: agreementversion
  27394. type: integer
  27395. - description: 协议编号(模糊匹配)
  27396. in: query
  27397. name: agreementno
  27398. type: string
  27399. - description: 协议名称(模糊匹配)
  27400. in: query
  27401. name: agreementname
  27402. type: string
  27403. produces:
  27404. - application/json
  27405. responses:
  27406. "200":
  27407. description: OK
  27408. schema:
  27409. items:
  27410. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  27411. type: array
  27412. "500":
  27413. description: Internal Server Error
  27414. schema:
  27415. $ref: '#/definitions/app.Response'
  27416. security:
  27417. - ApiKeyAuth: []
  27418. summary: 查询协议节点配置
  27419. tags:
  27420. - 大连千海金(协议和签约信息)
  27421. /QhjSys/QueryQhjCustomerSignLog:
  27422. get:
  27423. parameters:
  27424. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  27425. in: query
  27426. name: logid
  27427. type: integer
  27428. - description: 客户ID
  27429. in: query
  27430. name: userid
  27431. type: integer
  27432. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27433. in: query
  27434. name: nodetype
  27435. type: integer
  27436. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27437. in: query
  27438. name: goodsid
  27439. type: integer
  27440. - description: 协议ID
  27441. in: query
  27442. name: agreementid
  27443. type: integer
  27444. - description: 用户名称(模糊匹配)
  27445. in: query
  27446. name: username
  27447. type: string
  27448. - description: 协议编号(模糊匹配)
  27449. in: query
  27450. name: agreementno
  27451. type: string
  27452. - description: 协议名称(模糊匹配)
  27453. in: query
  27454. name: agreementname
  27455. type: string
  27456. produces:
  27457. - application/json
  27458. responses:
  27459. "200":
  27460. description: OK
  27461. schema:
  27462. items:
  27463. $ref: '#/definitions/models.QhjCustomerSignLog'
  27464. type: array
  27465. "500":
  27466. description: Internal Server Error
  27467. schema:
  27468. $ref: '#/definitions/app.Response'
  27469. security:
  27470. - ApiKeyAuth: []
  27471. summary: 查询客户协议签约流水
  27472. tags:
  27473. - 大连千海金(协议和签约信息)
  27474. /QhjSys/QueryUserNodeCfgAndStatus:
  27475. get:
  27476. parameters:
  27477. - description: 客户ID
  27478. in: query
  27479. name: userid
  27480. type: integer
  27481. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27482. in: query
  27483. name: configid
  27484. type: integer
  27485. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27486. in: query
  27487. name: nodetype
  27488. type: string
  27489. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27490. in: query
  27491. name: goodsid
  27492. type: integer
  27493. - description: 协议ID
  27494. in: query
  27495. name: agreementid
  27496. type: integer
  27497. - description: 协议类型 - 1:注册 2:登录 3:交易
  27498. in: query
  27499. name: agreementtype
  27500. type: integer
  27501. - description: 协议版本号
  27502. in: query
  27503. name: agreementversion
  27504. type: integer
  27505. - description: 协议编号(模糊匹配)
  27506. in: query
  27507. name: agreementno
  27508. type: string
  27509. - description: 协议名称(模糊匹配)
  27510. in: query
  27511. name: agreementname
  27512. type: string
  27513. produces:
  27514. - application/json
  27515. responses:
  27516. "200":
  27517. description: OK
  27518. schema:
  27519. items:
  27520. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27521. type: array
  27522. "500":
  27523. description: Internal Server Error
  27524. schema:
  27525. $ref: '#/definitions/app.Response'
  27526. security:
  27527. - ApiKeyAuth: []
  27528. summary: 查询用户协议节点配置和状态
  27529. tags:
  27530. - 大连千海金(协议和签约信息)
  27531. /Quote/QueryHistoryDatas:
  27532. get:
  27533. parameters:
  27534. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27535. 日线 12:周线 13:月线 14:年线'
  27536. in: query
  27537. name: cycleType
  27538. required: true
  27539. type: integer
  27540. - description: 商品代码
  27541. in: query
  27542. name: goodsCode
  27543. required: true
  27544. type: string
  27545. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27546. in: query
  27547. name: startTime
  27548. type: string
  27549. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27550. in: query
  27551. name: endTime
  27552. type: string
  27553. - description: 条数
  27554. in: query
  27555. name: count
  27556. type: integer
  27557. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27558. in: query
  27559. name: isAsc
  27560. type: boolean
  27561. produces:
  27562. - application/json
  27563. responses:
  27564. "200":
  27565. description: OK
  27566. schema:
  27567. $ref: '#/definitions/quote.HistoryData'
  27568. "500":
  27569. description: Internal Server Error
  27570. schema:
  27571. $ref: '#/definitions/app.Response'
  27572. security:
  27573. - ApiKeyAuth: []
  27574. summary: 查询行情历史数据
  27575. tags:
  27576. - 行情服务
  27577. /Quote/QueryHistoryTikDatas:
  27578. get:
  27579. parameters:
  27580. - description: 商品代码
  27581. in: query
  27582. name: goodsCode
  27583. required: true
  27584. type: string
  27585. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27586. in: query
  27587. name: startTime
  27588. type: string
  27589. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27590. in: query
  27591. name: endTime
  27592. type: string
  27593. - description: 条数
  27594. in: query
  27595. name: count
  27596. type: integer
  27597. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27598. in: query
  27599. name: isAsc
  27600. type: boolean
  27601. produces:
  27602. - application/json
  27603. responses:
  27604. "200":
  27605. description: OK
  27606. schema:
  27607. $ref: '#/definitions/quote.HistoryTikData'
  27608. "500":
  27609. description: Internal Server Error
  27610. schema:
  27611. $ref: '#/definitions/app.Response'
  27612. security:
  27613. - ApiKeyAuth: []
  27614. summary: 查询行情Tik数据
  27615. tags:
  27616. - 行情服务
  27617. /Quote/QueryQuoteDay:
  27618. get:
  27619. parameters:
  27620. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  27621. in: query
  27622. name: goodsCodes
  27623. type: string
  27624. produces:
  27625. - application/json
  27626. responses:
  27627. "200":
  27628. description: OK
  27629. schema:
  27630. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  27631. "500":
  27632. description: Internal Server Error
  27633. schema:
  27634. $ref: '#/definitions/app.Response'
  27635. security:
  27636. - ApiKeyAuth: []
  27637. summary: 获取商品盘面信息
  27638. tags:
  27639. - 行情服务
  27640. /Quote/QueryTSData:
  27641. get:
  27642. parameters:
  27643. - description: 商品代码
  27644. in: query
  27645. name: goodsCode
  27646. required: true
  27647. type: string
  27648. produces:
  27649. - application/json
  27650. responses:
  27651. "200":
  27652. description: OK
  27653. schema:
  27654. $ref: '#/definitions/quote.QueryTSDataRsp'
  27655. "500":
  27656. description: Internal Server Error
  27657. schema:
  27658. $ref: '#/definitions/app.Response'
  27659. security:
  27660. - ApiKeyAuth: []
  27661. summary: 分时图数据查询
  27662. tags:
  27663. - 行情服务
  27664. /SZDZ/QueryConvertConfig:
  27665. get:
  27666. parameters:
  27667. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27668. 6:交易转花生米(不设置)
  27669. in: query
  27670. name: convertType
  27671. type: integer
  27672. - description: 外部商品代码[JD\PD]
  27673. in: query
  27674. name: outerGoodsCode
  27675. type: string
  27676. - description: 内部商品ID列表[交易],格式:1,2,3
  27677. in: query
  27678. name: innerGoodsIDs
  27679. type: string
  27680. produces:
  27681. - application/json
  27682. responses:
  27683. "200":
  27684. description: OK
  27685. schema:
  27686. $ref: '#/definitions/models.Szdz3convertconfig'
  27687. "500":
  27688. description: Internal Server Error
  27689. schema:
  27690. $ref: '#/definitions/app.Response'
  27691. security:
  27692. - ApiKeyAuth: []
  27693. summary: 查询交易系统转换设置
  27694. tags:
  27695. - 定制【尚志大宗】
  27696. /SZDZ/QueryConvertLog:
  27697. get:
  27698. parameters:
  27699. - description: 资金账户 - 格式:1,2,3
  27700. in: query
  27701. name: accountID
  27702. required: true
  27703. type: string
  27704. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27705. in: query
  27706. name: startDate
  27707. type: string
  27708. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27709. in: query
  27710. name: endDate
  27711. type: string
  27712. produces:
  27713. - application/json
  27714. responses:
  27715. "200":
  27716. description: OK
  27717. schema:
  27718. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27719. "500":
  27720. description: Internal Server Error
  27721. schema:
  27722. $ref: '#/definitions/app.Response'
  27723. security:
  27724. - ApiKeyAuth: []
  27725. summary: 交易系统转换流水查询
  27726. tags:
  27727. - 定制【尚志大宗】
  27728. /SZDZ/QueryGoodsPickup:
  27729. get:
  27730. parameters:
  27731. - description: 资金账户 - 格式:1,2,3
  27732. in: query
  27733. name: accountID
  27734. required: true
  27735. type: string
  27736. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27737. in: query
  27738. name: takeOrderStatus
  27739. type: integer
  27740. produces:
  27741. - application/json
  27742. responses:
  27743. "200":
  27744. description: OK
  27745. schema:
  27746. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27747. "500":
  27748. description: Internal Server Error
  27749. schema:
  27750. $ref: '#/definitions/app.Response'
  27751. security:
  27752. - ApiKeyAuth: []
  27753. summary: 商品提货单查询
  27754. tags:
  27755. - 定制【尚志大宗】
  27756. /SZDZ/QueryRecieptOrder:
  27757. get:
  27758. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27759. parameters:
  27760. - description: 页码
  27761. in: query
  27762. name: page
  27763. type: integer
  27764. - description: 每页条数
  27765. in: query
  27766. name: pagesize
  27767. type: integer
  27768. - description: 商品ID
  27769. in: query
  27770. name: goodsID
  27771. required: true
  27772. type: integer
  27773. - description: 所属账户名称
  27774. in: query
  27775. name: accountName
  27776. type: string
  27777. - description: 市场ID
  27778. in: query
  27779. name: marketID
  27780. type: integer
  27781. - description: 方向 - 0:买 1:卖
  27782. in: query
  27783. name: buyorsell
  27784. required: true
  27785. type: integer
  27786. produces:
  27787. - application/json
  27788. responses:
  27789. "200":
  27790. description: OK
  27791. schema:
  27792. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  27793. "500":
  27794. description: Internal Server Error
  27795. schema:
  27796. $ref: '#/definitions/app.Response'
  27797. security:
  27798. - ApiKeyAuth: []
  27799. summary: 点选挂牌委托单据查询(摘牌大厅)
  27800. tags:
  27801. - 定制【尚志大宗】
  27802. /SZDZ/QuerySZDZTradePosition:
  27803. get:
  27804. parameters:
  27805. - description: 资金账户
  27806. in: query
  27807. name: accountID
  27808. required: true
  27809. type: integer
  27810. produces:
  27811. - application/json
  27812. responses:
  27813. "200":
  27814. description: OK
  27815. schema:
  27816. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  27817. "500":
  27818. description: Internal Server Error
  27819. schema:
  27820. $ref: '#/definitions/app.Response'
  27821. security:
  27822. - ApiKeyAuth: []
  27823. summary: 持仓汇总查询(尚志大宗)
  27824. tags:
  27825. - 定制【尚志大宗】
  27826. /SZDZ/SearchWhite:
  27827. get:
  27828. parameters:
  27829. - description: 用户ID
  27830. in: query
  27831. name: userID
  27832. required: true
  27833. type: integer
  27834. produces:
  27835. - application/json
  27836. responses:
  27837. "200":
  27838. description: OK
  27839. schema:
  27840. $ref: '#/definitions/models.Szdz3searchwhitelist'
  27841. "500":
  27842. description: Internal Server Error
  27843. schema:
  27844. $ref: '#/definitions/app.Response'
  27845. security:
  27846. - ApiKeyAuth: []
  27847. summary: 搜索白名单
  27848. tags:
  27849. - 定制【尚志大宗】
  27850. /Search/SearchGoodses:
  27851. get:
  27852. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  27853. parameters:
  27854. - description: 检索内容
  27855. in: query
  27856. name: content
  27857. required: true
  27858. type: string
  27859. - description: 交易模式,格式:1,2,3
  27860. in: query
  27861. name: tradeModes
  27862. type: string
  27863. produces:
  27864. - application/json
  27865. responses:
  27866. "200":
  27867. description: OK
  27868. schema:
  27869. $ref: '#/definitions/models.SearchGoods'
  27870. "500":
  27871. description: Internal Server Error
  27872. schema:
  27873. $ref: '#/definitions/app.Response'
  27874. summary: 检索商品信息
  27875. tags:
  27876. - 检索服务
  27877. /TaAccount/GetTaAccounts:
  27878. get:
  27879. parameters:
  27880. - description: 登录账户
  27881. in: query
  27882. name: loginID
  27883. required: true
  27884. type: integer
  27885. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  27886. in: query
  27887. name: taAccountType
  27888. type: integer
  27889. produces:
  27890. - application/json
  27891. responses:
  27892. "200":
  27893. description: OK
  27894. schema:
  27895. $ref: '#/definitions/models.Taaccount'
  27896. "500":
  27897. description: Internal Server Error
  27898. schema:
  27899. $ref: '#/definitions/app.Response'
  27900. security:
  27901. - ApiKeyAuth: []
  27902. summary: 获取资金账户信息
  27903. tags:
  27904. - 资金账户
  27905. /TaAccount/QueryAmountLog:
  27906. get:
  27907. parameters:
  27908. - description: 页码
  27909. in: query
  27910. name: page
  27911. type: integer
  27912. - description: 每页条数
  27913. in: query
  27914. name: pagesize
  27915. type: integer
  27916. - description: 资金账户 - 格式:1,2,3
  27917. in: query
  27918. name: accountID
  27919. required: true
  27920. type: string
  27921. - description: 资金操作类型 - 格式:1,2,3
  27922. in: query
  27923. name: OperateType
  27924. type: string
  27925. produces:
  27926. - application/json
  27927. responses:
  27928. "200":
  27929. description: OK
  27930. schema:
  27931. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27932. "500":
  27933. description: Internal Server Error
  27934. schema:
  27935. $ref: '#/definitions/app.Response'
  27936. security:
  27937. - ApiKeyAuth: []
  27938. summary: 资金流水查询(当前)
  27939. tags:
  27940. - 资金账户
  27941. /TaAccount/QueryHisAmountLog:
  27942. get:
  27943. parameters:
  27944. - description: 页码
  27945. in: query
  27946. name: page
  27947. type: integer
  27948. - description: 每页条数
  27949. in: query
  27950. name: pagesize
  27951. type: integer
  27952. - description: 资金账户 - 格式:1,2,3
  27953. in: query
  27954. name: accountID
  27955. required: true
  27956. type: string
  27957. - description: 资金操作类型 - 格式:1,2,3
  27958. in: query
  27959. name: OperateType
  27960. type: string
  27961. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27962. in: query
  27963. name: startDate
  27964. type: string
  27965. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27966. in: query
  27967. name: endDate
  27968. type: string
  27969. produces:
  27970. - application/json
  27971. responses:
  27972. "200":
  27973. description: OK
  27974. schema:
  27975. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27976. "500":
  27977. description: Internal Server Error
  27978. schema:
  27979. $ref: '#/definitions/app.Response'
  27980. security:
  27981. - ApiKeyAuth: []
  27982. summary: 资金流水查询(历史)
  27983. tags:
  27984. - 资金账户
  27985. /TaAccount/QueryRelatedTaAccount:
  27986. get:
  27987. parameters:
  27988. - description: 关联UserID
  27989. in: query
  27990. name: relateduserid
  27991. required: true
  27992. type: integer
  27993. produces:
  27994. - application/json
  27995. responses:
  27996. "200":
  27997. description: OK
  27998. schema:
  27999. items:
  28000. $ref: '#/definitions/models.RelatedTaAccount'
  28001. type: array
  28002. "500":
  28003. description: Internal Server Error
  28004. schema:
  28005. $ref: '#/definitions/app.Response'
  28006. security:
  28007. - ApiKeyAuth: []
  28008. summary: 查询关联资金账户信息
  28009. tags:
  28010. - 资金账户
  28011. /Tjmd/QueryQuoteGoodsList:
  28012. get:
  28013. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28014. parameters:
  28015. - description: 用户类型
  28016. in: query
  28017. name: usertype
  28018. required: true
  28019. type: integer
  28020. - description: 市场id, 格式 1,2,3
  28021. in: query
  28022. name: marketids
  28023. type: string
  28024. - description: 商品组id
  28025. in: query
  28026. name: goodsgroupid
  28027. type: integer
  28028. - description: 商品id
  28029. in: query
  28030. name: goodsid
  28031. type: integer
  28032. produces:
  28033. - application/json
  28034. responses:
  28035. "200":
  28036. description: OK
  28037. schema:
  28038. items:
  28039. $ref: '#/definitions/models.TjmdQuoteGoods'
  28040. type: array
  28041. "500":
  28042. description: Internal Server Error
  28043. schema:
  28044. $ref: '#/definitions/app.Response'
  28045. security:
  28046. - ApiKeyAuth: []
  28047. summary: 查询掉期报价列表
  28048. tags:
  28049. - 天津麦顿
  28050. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28051. get:
  28052. parameters:
  28053. - description: 成交单号
  28054. in: query
  28055. name: tradeid
  28056. required: true
  28057. type: string
  28058. produces:
  28059. - application/json
  28060. responses:
  28061. "200":
  28062. description: OK
  28063. schema:
  28064. items:
  28065. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28066. type: array
  28067. "500":
  28068. description: Internal Server Error
  28069. schema:
  28070. $ref: '#/definitions/app.Response'
  28071. security:
  28072. - ApiKeyAuth: []
  28073. summary: 掉期商品订单详情(交易确认书)
  28074. tags:
  28075. - 天津麦顿
  28076. /Tjmd/QueryTjmdMarketSection:
  28077. get:
  28078. produces:
  28079. - application/json
  28080. responses:
  28081. "200":
  28082. description: OK
  28083. schema:
  28084. items:
  28085. $ref: '#/definitions/models.TjmdMarketSection'
  28086. type: array
  28087. "500":
  28088. description: Internal Server Error
  28089. schema:
  28090. $ref: '#/definitions/app.Response'
  28091. security:
  28092. - ApiKeyAuth: []
  28093. summary: 查询市场板块
  28094. tags:
  28095. - 天津麦顿
  28096. /Tjmd/QueryTjmdTodayAccountMargin:
  28097. get:
  28098. parameters:
  28099. - description: 市场id
  28100. in: query
  28101. name: marketid
  28102. type: string
  28103. - description: 商品id
  28104. in: query
  28105. name: goodsid
  28106. type: string
  28107. - description: 资金账号
  28108. in: query
  28109. name: accountid
  28110. type: string
  28111. produces:
  28112. - application/json
  28113. responses:
  28114. "200":
  28115. description: OK
  28116. schema:
  28117. items:
  28118. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28119. type: array
  28120. "500":
  28121. description: Internal Server Error
  28122. schema:
  28123. $ref: '#/definitions/app.Response'
  28124. security:
  28125. - ApiKeyAuth: []
  28126. summary: 查询今日账户保证金配置
  28127. tags:
  28128. - 天津麦顿
  28129. /Tjmd/QueryTjmdTradeOrderDetail:
  28130. get:
  28131. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28132. parameters:
  28133. - description: 页码
  28134. in: query
  28135. name: page
  28136. type: integer
  28137. - description: 每页条数
  28138. in: query
  28139. name: pagesize
  28140. type: integer
  28141. - description: 用户id
  28142. in: query
  28143. name: userid
  28144. required: true
  28145. type: integer
  28146. - description: 用户类型
  28147. in: query
  28148. name: usertype
  28149. required: true
  28150. type: integer
  28151. - description: 市场id, 格式 1,2,3
  28152. in: query
  28153. name: marketids
  28154. type: string
  28155. - description: 商品id
  28156. in: query
  28157. name: goodsid
  28158. required: true
  28159. type: integer
  28160. - description: 买卖方向 0-买 1-卖
  28161. in: query
  28162. name: buyorsell
  28163. required: true
  28164. type: integer
  28165. produces:
  28166. - application/json
  28167. responses:
  28168. "200":
  28169. description: OK
  28170. schema:
  28171. items:
  28172. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28173. type: array
  28174. "500":
  28175. description: Internal Server Error
  28176. schema:
  28177. $ref: '#/definitions/app.Response'
  28178. security:
  28179. - ApiKeyAuth: []
  28180. summary: 查询掉期买卖大厅
  28181. tags:
  28182. - 天津麦顿
  28183. /Tjmd/QueryTjmdTransferApply:
  28184. get:
  28185. parameters:
  28186. - description: 类型 1-我的申请 2-对方申请
  28187. in: query
  28188. name: applytype
  28189. required: true
  28190. type: integer
  28191. - description: 市场id, 格式 1,2,3
  28192. in: query
  28193. name: marketids
  28194. type: string
  28195. - description: 资金账号, 格式 25000000001,25000000003
  28196. in: query
  28197. name: accountids
  28198. type: string
  28199. - description: 开始交易日(yyyymmdd)
  28200. in: query
  28201. name: begindate
  28202. type: string
  28203. - description: 结束交易日(yyyymmdd)
  28204. in: query
  28205. name: enddate
  28206. type: string
  28207. produces:
  28208. - application/json
  28209. responses:
  28210. "200":
  28211. description: OK
  28212. schema:
  28213. items:
  28214. $ref: '#/definitions/models.TjmdTransferApply'
  28215. type: array
  28216. "500":
  28217. description: Internal Server Error
  28218. schema:
  28219. $ref: '#/definitions/app.Response'
  28220. security:
  28221. - ApiKeyAuth: []
  28222. summary: 查询掉期协议单
  28223. tags:
  28224. - 天津麦顿
  28225. /Trade/QueryRecieptOrder:
  28226. get:
  28227. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28228. parameters:
  28229. - description: 页码
  28230. in: query
  28231. name: page
  28232. type: integer
  28233. - description: 每页条数
  28234. in: query
  28235. name: pagesize
  28236. type: integer
  28237. - description: 商品ID
  28238. in: query
  28239. name: goodsID
  28240. required: true
  28241. type: integer
  28242. - description: 所属账户名称
  28243. in: query
  28244. name: accountName
  28245. type: string
  28246. - description: 市场ID
  28247. in: query
  28248. name: marketID
  28249. type: integer
  28250. - description: 方向 - 0:买 1:卖
  28251. in: query
  28252. name: buyorsell
  28253. required: true
  28254. type: integer
  28255. produces:
  28256. - application/json
  28257. responses:
  28258. "200":
  28259. description: OK
  28260. schema:
  28261. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28262. "500":
  28263. description: Internal Server Error
  28264. schema:
  28265. $ref: '#/definitions/app.Response'
  28266. security:
  28267. - ApiKeyAuth: []
  28268. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28269. tags:
  28270. - 通用交易
  28271. /User/AddMessageBoard:
  28272. post:
  28273. parameters:
  28274. - description: 用户ID
  28275. in: query
  28276. name: userID
  28277. required: true
  28278. type: integer
  28279. - description: 留言信息
  28280. in: query
  28281. name: message
  28282. required: true
  28283. type: string
  28284. - description: 联系电话
  28285. in: query
  28286. name: contactNum
  28287. required: true
  28288. type: string
  28289. produces:
  28290. - application/json
  28291. responses:
  28292. "200":
  28293. description: OK
  28294. schema:
  28295. $ref: '#/definitions/app.Response'
  28296. "500":
  28297. description: Internal Server Error
  28298. schema:
  28299. $ref: '#/definitions/app.Response'
  28300. security:
  28301. - ApiKeyAuth: []
  28302. summary: 添加用户留言板信息
  28303. tags:
  28304. - 用户信息
  28305. /User/AddUserFavoriteGoods:
  28306. post:
  28307. parameters:
  28308. - description: 用户ID
  28309. in: query
  28310. name: userID
  28311. required: true
  28312. type: integer
  28313. - description: 商品ID
  28314. in: query
  28315. name: goodsID
  28316. required: true
  28317. type: integer
  28318. produces:
  28319. - application/json
  28320. responses:
  28321. "200":
  28322. description: OK
  28323. schema:
  28324. $ref: '#/definitions/app.Response'
  28325. "500":
  28326. description: Internal Server Error
  28327. schema:
  28328. $ref: '#/definitions/app.Response'
  28329. security:
  28330. - ApiKeyAuth: []
  28331. summary: 添加用户商品收藏信息
  28332. tags:
  28333. - 用户信息
  28334. /User/GetLoginID:
  28335. get:
  28336. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  28337. parameters:
  28338. - description: 登录代码
  28339. in: query
  28340. name: username
  28341. required: true
  28342. type: string
  28343. produces:
  28344. - application/json
  28345. responses:
  28346. "200":
  28347. description: OK
  28348. schema:
  28349. $ref: '#/definitions/app.Response'
  28350. "500":
  28351. description: Internal Server Error
  28352. schema:
  28353. $ref: '#/definitions/app.Response'
  28354. summary: 获取登录ID
  28355. tags:
  28356. - 用户信息
  28357. /User/GetUserAccount:
  28358. get:
  28359. parameters:
  28360. - description: 用户ID
  28361. in: query
  28362. name: userID
  28363. required: true
  28364. type: integer
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. $ref: '#/definitions/models.Useraccount'
  28372. "500":
  28373. description: Internal Server Error
  28374. schema:
  28375. $ref: '#/definitions/app.Response'
  28376. security:
  28377. - ApiKeyAuth: []
  28378. summary: 获取用户账号信息
  28379. tags:
  28380. - 用户信息
  28381. /User/GetUserAuthStatus:
  28382. get:
  28383. parameters:
  28384. - description: 用户ID
  28385. in: query
  28386. name: userID
  28387. required: true
  28388. type: integer
  28389. produces:
  28390. - application/json
  28391. responses:
  28392. "200":
  28393. description: OK
  28394. schema:
  28395. $ref: '#/definitions/app.Response'
  28396. "500":
  28397. description: Internal Server Error
  28398. schema:
  28399. $ref: '#/definitions/app.Response'
  28400. security:
  28401. - ApiKeyAuth: []
  28402. summary: 获取用户实名认证状态
  28403. tags:
  28404. - 用户信息
  28405. /User/LoginQuery:
  28406. get:
  28407. parameters:
  28408. - description: 登录账号
  28409. in: query
  28410. name: loginID
  28411. required: true
  28412. type: integer
  28413. produces:
  28414. - application/json
  28415. responses:
  28416. "200":
  28417. description: OK
  28418. schema:
  28419. $ref: '#/definitions/user.LoginQueryRsp'
  28420. "500":
  28421. description: Internal Server Error
  28422. schema:
  28423. $ref: '#/definitions/app.Response'
  28424. security:
  28425. - ApiKeyAuth: []
  28426. summary: 账户登录后信息查询
  28427. tags:
  28428. - 用户信息
  28429. /User/QueryMessageBoard:
  28430. get:
  28431. parameters:
  28432. - description: 用户ID
  28433. in: query
  28434. name: userID
  28435. required: true
  28436. type: integer
  28437. produces:
  28438. - application/json
  28439. responses:
  28440. "200":
  28441. description: OK
  28442. schema:
  28443. $ref: '#/definitions/models.Messageboard'
  28444. "500":
  28445. description: Internal Server Error
  28446. schema:
  28447. $ref: '#/definitions/app.Response'
  28448. security:
  28449. - ApiKeyAuth: []
  28450. summary: 获取用户留言板信息
  28451. tags:
  28452. - 用户信息
  28453. /User/QueryUserFavoriteGoodses:
  28454. get:
  28455. parameters:
  28456. - description: 用户ID
  28457. in: query
  28458. name: userID
  28459. required: true
  28460. type: integer
  28461. produces:
  28462. - application/json
  28463. responses:
  28464. "200":
  28465. description: OK
  28466. schema:
  28467. $ref: '#/definitions/models.Userfavoritegoods'
  28468. "500":
  28469. description: Internal Server Error
  28470. schema:
  28471. $ref: '#/definitions/app.Response'
  28472. security:
  28473. - ApiKeyAuth: []
  28474. summary: 获取用户商品收藏信息
  28475. tags:
  28476. - 用户信息
  28477. /User/QueryUserInfo:
  28478. get:
  28479. parameters:
  28480. - description: 用户ID
  28481. in: query
  28482. name: userID
  28483. required: true
  28484. type: integer
  28485. - description: 是否解密
  28486. in: query
  28487. name: isDecrypt
  28488. type: boolean
  28489. produces:
  28490. - application/json
  28491. responses:
  28492. "200":
  28493. description: OK
  28494. schema:
  28495. $ref: '#/definitions/models.Userinfo'
  28496. "500":
  28497. description: Internal Server Error
  28498. schema:
  28499. $ref: '#/definitions/app.Response'
  28500. security:
  28501. - ApiKeyAuth: []
  28502. summary: 获取用户信息
  28503. tags:
  28504. - 用户信息
  28505. /User/QueryUserReferNum:
  28506. get:
  28507. parameters:
  28508. - description: 用户ID
  28509. in: query
  28510. name: userID
  28511. required: true
  28512. type: integer
  28513. produces:
  28514. - application/json
  28515. responses:
  28516. "200":
  28517. description: OK
  28518. schema:
  28519. $ref: '#/definitions/app.Response'
  28520. "500":
  28521. description: Internal Server Error
  28522. schema:
  28523. $ref: '#/definitions/app.Response'
  28524. summary: 获取用户邀请码
  28525. tags:
  28526. - 用户信息
  28527. /User/RemoveUserFavoriteGoods:
  28528. post:
  28529. parameters:
  28530. - description: 用户ID
  28531. in: query
  28532. name: userID
  28533. required: true
  28534. type: integer
  28535. - description: 商品ID
  28536. in: query
  28537. name: goodsID
  28538. required: true
  28539. type: integer
  28540. produces:
  28541. - application/json
  28542. responses:
  28543. "200":
  28544. description: OK
  28545. schema:
  28546. $ref: '#/definitions/app.Response'
  28547. "500":
  28548. description: Internal Server Error
  28549. schema:
  28550. $ref: '#/definitions/app.Response'
  28551. security:
  28552. - ApiKeyAuth: []
  28553. summary: 移除用户商品收藏信息
  28554. tags:
  28555. - 用户信息
  28556. /User/UpdateUserAccountStatus:
  28557. post:
  28558. parameters:
  28559. - description: 用户ID
  28560. in: query
  28561. name: userID
  28562. required: true
  28563. type: integer
  28564. - description: 账户状态 - 4:正常 6:注销(停用)
  28565. in: query
  28566. name: accountStatus
  28567. required: true
  28568. type: integer
  28569. produces:
  28570. - application/json
  28571. responses:
  28572. "200":
  28573. description: OK
  28574. schema:
  28575. $ref: '#/definitions/app.Response'
  28576. "500":
  28577. description: Internal Server Error
  28578. schema:
  28579. $ref: '#/definitions/app.Response'
  28580. security:
  28581. - ApiKeyAuth: []
  28582. summary: 更新用户状态
  28583. tags:
  28584. - 用户信息
  28585. /WRTrade/GetAllDeliveryGoods:
  28586. get:
  28587. produces:
  28588. - application/json
  28589. responses:
  28590. "200":
  28591. description: OK
  28592. schema:
  28593. $ref: '#/definitions/app.Response'
  28594. "500":
  28595. description: Internal Server Error
  28596. schema:
  28597. $ref: '#/definitions/app.Response'
  28598. security:
  28599. - ApiKeyAuth: []
  28600. summary: 获取带仓单分类的种类信息
  28601. tags:
  28602. - 仓单贸易
  28603. - 仓单贸易
  28604. /WrTrade2/InsertXhcpSellBackApply:
  28605. post:
  28606. parameters:
  28607. - description: 回收申请
  28608. in: body
  28609. name: jsonBody
  28610. required: true
  28611. schema:
  28612. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  28613. produces:
  28614. - application/json
  28615. responses:
  28616. "200":
  28617. description: OK
  28618. schema:
  28619. $ref: '#/definitions/app.Response'
  28620. "500":
  28621. description: Internal Server Error
  28622. schema:
  28623. $ref: '#/definitions/app.Response'
  28624. security:
  28625. - ApiKeyAuth: []
  28626. summary: 新增回收申请(新会陈皮)
  28627. tags:
  28628. - 仓单贸易v2
  28629. /WrTrade2/QueryDeliveryGoodsSection:
  28630. get:
  28631. produces:
  28632. - application/json
  28633. responses:
  28634. "200":
  28635. description: OK
  28636. schema:
  28637. items:
  28638. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  28639. type: array
  28640. "500":
  28641. description: Internal Server Error
  28642. schema:
  28643. $ref: '#/definitions/app.Response'
  28644. security:
  28645. - ApiKeyAuth: []
  28646. summary: 查询板块(分类)
  28647. tags:
  28648. - 仓单贸易v2
  28649. /WrTrade2/QueryFaProductDetail:
  28650. get:
  28651. description: 页面 买卖大厅 -> 选择融资方案
  28652. parameters:
  28653. - description: 仓单要素id
  28654. in: query
  28655. name: wrfactortypeid
  28656. required: true
  28657. type: integer
  28658. produces:
  28659. - application/json
  28660. responses:
  28661. "200":
  28662. description: OK
  28663. schema:
  28664. items:
  28665. $ref: '#/definitions/models.WrFAProductDetail'
  28666. type: array
  28667. "500":
  28668. description: Internal Server Error
  28669. schema:
  28670. $ref: '#/definitions/app.Response'
  28671. security:
  28672. - ApiKeyAuth: []
  28673. summary: 查询融资产品列表
  28674. tags:
  28675. - 仓单贸易v2
  28676. /WrTrade2/QueryFilterItem:
  28677. get:
  28678. parameters:
  28679. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  28680. in: query
  28681. name: itype
  28682. required: true
  28683. type: string
  28684. produces:
  28685. - application/json
  28686. responses:
  28687. "200":
  28688. description: OK
  28689. schema:
  28690. items:
  28691. $ref: '#/definitions/models.WrFilterItem'
  28692. type: array
  28693. "500":
  28694. description: Internal Server Error
  28695. schema:
  28696. $ref: '#/definitions/app.Response'
  28697. security:
  28698. - ApiKeyAuth: []
  28699. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28700. tags:
  28701. - 仓单贸易v2
  28702. /WrTrade2/QueryFtDeliveryGoods:
  28703. get:
  28704. produces:
  28705. - application/json
  28706. responses:
  28707. "200":
  28708. description: OK
  28709. schema:
  28710. items:
  28711. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28712. type: array
  28713. "500":
  28714. description: Internal Server Error
  28715. schema:
  28716. $ref: '#/definitions/app.Response'
  28717. security:
  28718. - ApiKeyAuth: []
  28719. summary: 查询品种品类筛选框列表
  28720. tags:
  28721. - 仓单贸易v2
  28722. /WrTrade2/QueryHoldLB:
  28723. get:
  28724. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28725. parameters:
  28726. - description: 资金账号
  28727. in: query
  28728. name: accountid
  28729. required: true
  28730. type: integer
  28731. - description: 仓库id
  28732. in: query
  28733. name: warehouseid
  28734. type: integer
  28735. - description: 品种id
  28736. in: query
  28737. name: deliverygoodsid
  28738. type: integer
  28739. - description: 品类id
  28740. in: query
  28741. name: wrstandardid
  28742. type: integer
  28743. - description: 仓单要素id
  28744. in: query
  28745. name: wrfactortypeid
  28746. type: integer
  28747. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28748. in: query
  28749. name: dgitemname
  28750. type: string
  28751. produces:
  28752. - application/json
  28753. responses:
  28754. "200":
  28755. description: OK
  28756. schema:
  28757. items:
  28758. $ref: '#/definitions/models.WrHoldLB'
  28759. type: array
  28760. "500":
  28761. description: Internal Server Error
  28762. schema:
  28763. $ref: '#/definitions/app.Response'
  28764. security:
  28765. - ApiKeyAuth: []
  28766. summary: 查询仓单持有记录
  28767. tags:
  28768. - 仓单贸易v2
  28769. /WrTrade2/QueryOrderQuote:
  28770. get:
  28771. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  28772. 唯一确定1条记录
  28773. parameters:
  28774. - description: 页码
  28775. in: query
  28776. name: page
  28777. type: integer
  28778. - description: 每页条数
  28779. in: query
  28780. name: pagesize
  28781. type: integer
  28782. - description: 仓单贸易市场id
  28783. in: query
  28784. name: marketid
  28785. type: integer
  28786. - description: 价格方式 - 1:固定价 2-浮动价
  28787. in: query
  28788. name: wrpricetype
  28789. required: true
  28790. type: integer
  28791. - description: 0:仓单预售 1:仓单贸易
  28792. in: query
  28793. name: haswr
  28794. type: integer
  28795. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28796. in: query
  28797. name: dgitemname
  28798. type: string
  28799. - description: 仓库id(筛选条件)
  28800. in: query
  28801. name: warehouseid
  28802. type: integer
  28803. - description: 品种id
  28804. in: query
  28805. name: deliverygoodsid
  28806. type: integer
  28807. - description: 品类id
  28808. in: query
  28809. name: wrstandardid
  28810. type: integer
  28811. - description: 品牌id(dgfactoryitemid)
  28812. in: query
  28813. name: brandid
  28814. type: integer
  28815. - description: 年份id(dgfactoryitemid)
  28816. in: query
  28817. name: yearsid
  28818. type: integer
  28819. - description: 仓单要素id
  28820. in: query
  28821. name: wrfactortypeid
  28822. type: integer
  28823. - description: 交收月(yyyy-mm) 仓单预售填写
  28824. in: query
  28825. name: deliverymonth
  28826. type: string
  28827. produces:
  28828. - application/json
  28829. responses:
  28830. "200":
  28831. description: OK
  28832. schema:
  28833. items:
  28834. $ref: '#/definitions/models.WrOrderQuote'
  28835. type: array
  28836. "500":
  28837. description: Internal Server Error
  28838. schema:
  28839. $ref: '#/definitions/app.Response'
  28840. security:
  28841. - ApiKeyAuth: []
  28842. summary: 查询大厅行情列表
  28843. tags:
  28844. - 仓单贸易v2
  28845. /WrTrade2/QueryOrderQuoteDetail:
  28846. get:
  28847. parameters:
  28848. - description: 页码
  28849. in: query
  28850. name: page
  28851. type: integer
  28852. - description: 每页条数
  28853. in: query
  28854. name: pagesize
  28855. type: integer
  28856. - description: 仓单贸易市场id
  28857. in: query
  28858. name: marketid
  28859. type: integer
  28860. - description: 价格方式 - 1:固定价 2-浮动价
  28861. in: query
  28862. name: wrpricetype
  28863. required: true
  28864. type: integer
  28865. - description: 0:仓单预售 1:仓单贸易
  28866. in: query
  28867. name: haswr
  28868. type: integer
  28869. - description: 仓单要素id
  28870. in: query
  28871. name: wrfactortypeid
  28872. required: true
  28873. type: integer
  28874. - description: 期货商品id(浮动价方式时填)
  28875. in: query
  28876. name: goodsid
  28877. type: integer
  28878. - description: 买卖方向 0-买 1-卖
  28879. in: query
  28880. name: buyorsell
  28881. required: true
  28882. type: integer
  28883. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  28884. in: query
  28885. name: deliverymonth
  28886. type: string
  28887. produces:
  28888. - application/json
  28889. responses:
  28890. "200":
  28891. description: OK
  28892. schema:
  28893. items:
  28894. $ref: '#/definitions/models.WrOrderQuoteDetail'
  28895. type: array
  28896. "500":
  28897. description: Internal Server Error
  28898. schema:
  28899. $ref: '#/definitions/app.Response'
  28900. security:
  28901. - ApiKeyAuth: []
  28902. summary: 查询买卖大厅
  28903. tags:
  28904. - 仓单贸易v2
  28905. /WrTrade2/QueryOrderQuoteMyq:
  28906. get:
  28907. parameters:
  28908. - description: 页码
  28909. in: query
  28910. name: page
  28911. type: integer
  28912. - description: 每页条数
  28913. in: query
  28914. name: pagesize
  28915. type: integer
  28916. - description: 用户id
  28917. in: query
  28918. name: userid
  28919. required: true
  28920. type: integer
  28921. - description: 仓单贸易市场id
  28922. in: query
  28923. name: marketid
  28924. type: integer
  28925. - description: 0:仓单预售 1:仓单贸易
  28926. in: query
  28927. name: haswr
  28928. type: integer
  28929. - description: 买卖方向 0-买 1-卖
  28930. in: query
  28931. name: buyorsell
  28932. required: true
  28933. type: integer
  28934. - description: 品种id
  28935. in: query
  28936. name: deliverygoodsid
  28937. type: integer
  28938. - description: 品类id
  28939. in: query
  28940. name: wrstandardid
  28941. type: integer
  28942. - description: 交收月(yyyy-mm) 仓单预售填写
  28943. in: query
  28944. name: deliverymonth
  28945. type: string
  28946. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28947. in: query
  28948. name: dgitemname
  28949. type: string
  28950. produces:
  28951. - application/json
  28952. responses:
  28953. "200":
  28954. description: OK
  28955. schema:
  28956. items:
  28957. $ref: '#/definitions/models.WrQuoteOrderMyq'
  28958. type: array
  28959. "500":
  28960. description: Internal Server Error
  28961. schema:
  28962. $ref: '#/definitions/app.Response'
  28963. security:
  28964. - ApiKeyAuth: []
  28965. summary: 查询贸易圈挂牌大厅
  28966. tags:
  28967. - 仓单贸易v2
  28968. /WrTrade2/QueryPerformancePlan:
  28969. get:
  28970. parameters:
  28971. - description: 用户id
  28972. in: query
  28973. name: userid
  28974. required: true
  28975. type: integer
  28976. - description: 买卖方向 0-买 1-卖
  28977. in: query
  28978. name: buyorsell
  28979. required: true
  28980. type: integer
  28981. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28982. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28983. in: query
  28984. name: status
  28985. type: string
  28986. - description: 开始交易日(yyyymmdd)
  28987. in: query
  28988. name: begindate
  28989. type: string
  28990. - description: 结束交易日(yyyymmdd)
  28991. in: query
  28992. name: enddate
  28993. type: string
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. items:
  29001. $ref: '#/definitions/models.WrPerformancePlan'
  29002. type: array
  29003. "500":
  29004. description: Internal Server Error
  29005. schema:
  29006. $ref: '#/definitions/app.Response'
  29007. security:
  29008. - ApiKeyAuth: []
  29009. summary: 查询履约信息
  29010. tags:
  29011. - 仓单贸易v2
  29012. /WrTrade2/QueryPermancePlanTmp:
  29013. get:
  29014. description: |-
  29015. 返回指定用户的模板和公共模板(用户id为空)
  29016. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29017. parameters:
  29018. - description: 用户id
  29019. in: query
  29020. name: userid
  29021. type: integer
  29022. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29023. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29024. in: query
  29025. name: tmptype
  29026. type: string
  29027. - description: 是否包含公共模板(用户id为空的) 1-包含
  29028. in: query
  29029. name: includepub
  29030. type: integer
  29031. - description: 市场id(天津麦顿指定此参数,其它不用)
  29032. in: query
  29033. name: marketid
  29034. type: integer
  29035. produces:
  29036. - application/json
  29037. responses:
  29038. "200":
  29039. description: OK
  29040. schema:
  29041. items:
  29042. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29043. type: array
  29044. "500":
  29045. description: Internal Server Error
  29046. schema:
  29047. $ref: '#/definitions/app.Response'
  29048. security:
  29049. - ApiKeyAuth: []
  29050. summary: 查询履约模板
  29051. tags:
  29052. - 仓单贸易v2
  29053. /WrTrade2/QuerySiteColumnDetail:
  29054. get:
  29055. parameters:
  29056. - description: 页码
  29057. in: query
  29058. name: page
  29059. type: integer
  29060. - description: 每页条数
  29061. in: query
  29062. name: pagesize
  29063. type: integer
  29064. - description: 所属栏目id
  29065. in: query
  29066. name: columnid
  29067. type: integer
  29068. produces:
  29069. - application/json
  29070. responses:
  29071. "200":
  29072. description: OK
  29073. schema:
  29074. items:
  29075. $ref: '#/definitions/models.WrSiteColumnDetail'
  29076. type: array
  29077. "500":
  29078. description: Internal Server Error
  29079. schema:
  29080. $ref: '#/definitions/app.Response'
  29081. security:
  29082. - ApiKeyAuth: []
  29083. summary: 查询资讯
  29084. tags:
  29085. - 仓单贸易v2
  29086. /WrTrade2/QuerySpotGroupTradeSum:
  29087. get:
  29088. produces:
  29089. - application/json
  29090. responses:
  29091. "200":
  29092. description: OK
  29093. schema:
  29094. items:
  29095. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29096. type: array
  29097. "500":
  29098. description: Internal Server Error
  29099. schema:
  29100. $ref: '#/definitions/app.Response'
  29101. security:
  29102. - ApiKeyAuth: []
  29103. summary: 查询指数
  29104. tags:
  29105. - 仓单贸易v2
  29106. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29107. get:
  29108. description: 查询的结果将会按日期 从小到大 排序
  29109. parameters:
  29110. - description: 现货商品id
  29111. in: query
  29112. name: deliverygoodsid
  29113. required: true
  29114. type: integer
  29115. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29116. in: query
  29117. name: lastnum
  29118. type: integer
  29119. produces:
  29120. - application/json
  29121. responses:
  29122. "200":
  29123. description: OK
  29124. schema:
  29125. items:
  29126. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29127. type: array
  29128. "500":
  29129. description: Internal Server Error
  29130. schema:
  29131. $ref: '#/definitions/app.Response'
  29132. security:
  29133. - ApiKeyAuth: []
  29134. summary: 查询指数详细(价格走势图)
  29135. tags:
  29136. - 仓单贸易v2
  29137. /WrTrade2/QueryWrAverageTradePrice:
  29138. get:
  29139. parameters:
  29140. - description: 页码
  29141. in: query
  29142. name: page
  29143. type: integer
  29144. - description: 每页条数
  29145. in: query
  29146. name: pagesize
  29147. type: integer
  29148. - description: 0:仓单预售 1:仓单贸易
  29149. in: query
  29150. name: haswr
  29151. required: true
  29152. type: integer
  29153. - description: 仓单要素id
  29154. in: query
  29155. name: wrfactortypeid
  29156. required: true
  29157. type: integer
  29158. produces:
  29159. - application/json
  29160. responses:
  29161. "200":
  29162. description: OK
  29163. schema:
  29164. items:
  29165. $ref: '#/definitions/models.WrAverageTradePrice'
  29166. type: array
  29167. "500":
  29168. description: Internal Server Error
  29169. schema:
  29170. $ref: '#/definitions/app.Response'
  29171. security:
  29172. - ApiKeyAuth: []
  29173. summary: 查询成交价(历史走势)
  29174. tags:
  29175. - 仓单贸易v2
  29176. /WrTrade2/QueryWrBrandAndYears:
  29177. get:
  29178. produces:
  29179. - application/json
  29180. responses:
  29181. "200":
  29182. description: OK
  29183. schema:
  29184. items:
  29185. $ref: '#/definitions/models.WrBrandAndYears'
  29186. type: array
  29187. "500":
  29188. description: Internal Server Error
  29189. schema:
  29190. $ref: '#/definitions/app.Response'
  29191. security:
  29192. - ApiKeyAuth: []
  29193. summary: 查询品牌和年份
  29194. tags:
  29195. - 仓单贸易v2
  29196. /WrTrade2/QueryWrBsGoodsInfo:
  29197. get:
  29198. description: 合约交易/买卖大厅/详情
  29199. parameters:
  29200. - description: 商品id
  29201. in: query
  29202. name: goodsid
  29203. required: true
  29204. type: integer
  29205. produces:
  29206. - application/json
  29207. responses:
  29208. "200":
  29209. description: OK
  29210. schema:
  29211. items:
  29212. $ref: '#/definitions/models.WrBsGoodsInfo'
  29213. type: array
  29214. "500":
  29215. description: Internal Server Error
  29216. schema:
  29217. $ref: '#/definitions/app.Response'
  29218. security:
  29219. - ApiKeyAuth: []
  29220. summary: 查询合约交易买卖大厅详情
  29221. tags:
  29222. - 仓单贸易v2
  29223. /WrTrade2/QueryWrBuybackDetail:
  29224. get:
  29225. parameters:
  29226. - description: 融资合同id
  29227. in: query
  29228. name: scfcontractid
  29229. type: integer
  29230. produces:
  29231. - application/json
  29232. responses:
  29233. "200":
  29234. description: OK
  29235. schema:
  29236. items:
  29237. $ref: '#/definitions/models.WrBuybackDetail'
  29238. type: array
  29239. "500":
  29240. description: Internal Server Error
  29241. schema:
  29242. $ref: '#/definitions/app.Response'
  29243. security:
  29244. - ApiKeyAuth: []
  29245. summary: 查询仓单回购明细
  29246. tags:
  29247. - 仓单贸易v2
  29248. /WrTrade2/QueryWrClientAdSpaceConfig:
  29249. get:
  29250. produces:
  29251. - application/json
  29252. responses:
  29253. "200":
  29254. description: OK
  29255. schema:
  29256. items:
  29257. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29258. type: array
  29259. "500":
  29260. description: Internal Server Error
  29261. schema:
  29262. $ref: '#/definitions/app.Response'
  29263. security:
  29264. - ApiKeyAuth: []
  29265. summary: 查询固定广告配置
  29266. tags:
  29267. - 仓单贸易v2
  29268. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29269. get:
  29270. parameters:
  29271. - description: 资金账号
  29272. in: query
  29273. name: accountid
  29274. required: true
  29275. type: integer
  29276. - description: 商品id
  29277. in: query
  29278. name: goodsid
  29279. required: true
  29280. type: integer
  29281. produces:
  29282. - application/json
  29283. responses:
  29284. "200":
  29285. description: OK
  29286. schema:
  29287. items:
  29288. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29289. type: array
  29290. "500":
  29291. description: Internal Server Error
  29292. schema:
  29293. $ref: '#/definitions/app.Response'
  29294. security:
  29295. - ApiKeyAuth: []
  29296. summary: 查询合约交收可点选仓单
  29297. tags:
  29298. - 仓单贸易v2
  29299. /WrTrade2/QueryWrDeliveryDetail:
  29300. get:
  29301. parameters:
  29302. - description: 用户id
  29303. in: query
  29304. name: userid
  29305. required: true
  29306. type: integer
  29307. - description: 资金账号id
  29308. in: query
  29309. name: accountid
  29310. type: integer
  29311. - description: 开始交易日(yyyymmdd)
  29312. in: query
  29313. name: begindate
  29314. type: string
  29315. - description: 结束交易日(yyyymmdd)
  29316. in: query
  29317. name: enddate
  29318. type: string
  29319. produces:
  29320. - application/json
  29321. responses:
  29322. "200":
  29323. description: OK
  29324. schema:
  29325. items:
  29326. $ref: '#/definitions/models.WrDeliveryDetail'
  29327. type: array
  29328. "500":
  29329. description: Internal Server Error
  29330. schema:
  29331. $ref: '#/definitions/app.Response'
  29332. security:
  29333. - ApiKeyAuth: []
  29334. summary: 查询交收
  29335. tags:
  29336. - 仓单贸易v2
  29337. /WrTrade2/QueryWrDraftUserInfo:
  29338. get:
  29339. parameters:
  29340. - description: 用户ID
  29341. in: query
  29342. name: userid
  29343. required: true
  29344. type: integer
  29345. - description: 用户状态 1:正常 2:注销
  29346. in: query
  29347. name: userstatus
  29348. type: integer
  29349. produces:
  29350. - application/json
  29351. responses:
  29352. "200":
  29353. description: OK
  29354. schema:
  29355. items:
  29356. $ref: '#/definitions/models.WrDraftUserInfo'
  29357. type: array
  29358. "500":
  29359. description: Internal Server Error
  29360. schema:
  29361. $ref: '#/definitions/app.Response'
  29362. security:
  29363. - ApiKeyAuth: []
  29364. summary: 查询实名认证信息
  29365. tags:
  29366. - 仓单贸易v2
  29367. /WrTrade2/QueryWrFactorTypeInfo:
  29368. get:
  29369. parameters:
  29370. - description: 仓单要素id
  29371. in: query
  29372. name: wrfactortypeid
  29373. required: true
  29374. type: integer
  29375. produces:
  29376. - application/json
  29377. responses:
  29378. "200":
  29379. description: OK
  29380. schema:
  29381. items:
  29382. $ref: '#/definitions/models.WrFactorTypeInfo'
  29383. type: array
  29384. "500":
  29385. description: Internal Server Error
  29386. schema:
  29387. $ref: '#/definitions/app.Response'
  29388. security:
  29389. - ApiKeyAuth: []
  29390. summary: 查询仓单要素详细信息
  29391. tags:
  29392. - 仓单贸易v2
  29393. /WrTrade2/QueryWrFactorTypeInfoEx:
  29394. get:
  29395. parameters:
  29396. - description: 仓单要素id
  29397. in: query
  29398. name: wrfactortypeid
  29399. required: true
  29400. type: integer
  29401. produces:
  29402. - application/json
  29403. responses:
  29404. "200":
  29405. description: OK
  29406. schema:
  29407. items:
  29408. $ref: '#/definitions/models.WrTypeItem'
  29409. type: array
  29410. "500":
  29411. description: Internal Server Error
  29412. schema:
  29413. $ref: '#/definitions/app.Response'
  29414. security:
  29415. - ApiKeyAuth: []
  29416. summary: 查询仓单要素详细信息列表项
  29417. tags:
  29418. - 仓单贸易v2
  29419. /WrTrade2/QueryWrFinanceBuyApply:
  29420. get:
  29421. description: 页面 融资信息+ / 申请单
  29422. parameters:
  29423. - description: 用户id
  29424. in: query
  29425. name: userid
  29426. required: true
  29427. type: integer
  29428. produces:
  29429. - application/json
  29430. responses:
  29431. "200":
  29432. description: OK
  29433. schema:
  29434. items:
  29435. $ref: '#/definitions/models.WrFinanceBuyApply'
  29436. type: array
  29437. "500":
  29438. description: Internal Server Error
  29439. schema:
  29440. $ref: '#/definitions/app.Response'
  29441. security:
  29442. - ApiKeyAuth: []
  29443. summary: 查询融资购买申请
  29444. tags:
  29445. - 仓单贸易v2
  29446. /WrTrade2/QueryWrFriendApply:
  29447. get:
  29448. parameters:
  29449. - description: 用户id
  29450. in: query
  29451. name: userid
  29452. required: true
  29453. type: integer
  29454. produces:
  29455. - application/json
  29456. responses:
  29457. "200":
  29458. description: OK
  29459. schema:
  29460. items:
  29461. $ref: '#/definitions/models.WrFriendApply'
  29462. type: array
  29463. "500":
  29464. description: Internal Server Error
  29465. schema:
  29466. $ref: '#/definitions/app.Response'
  29467. security:
  29468. - ApiKeyAuth: []
  29469. summary: 查询好友申请记录
  29470. tags:
  29471. - 仓单贸易v2
  29472. /WrTrade2/QueryWrGoodsInfo:
  29473. get:
  29474. parameters:
  29475. - description: 仓单贸易市场id
  29476. in: query
  29477. name: marketid
  29478. type: integer
  29479. - description: 0:仓单预售 1:仓单贸易
  29480. in: query
  29481. name: haswr
  29482. required: true
  29483. type: integer
  29484. - description: 仓单要素id
  29485. in: query
  29486. name: wrfactortypeid
  29487. required: true
  29488. type: integer
  29489. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29490. in: query
  29491. name: tmplateid
  29492. type: integer
  29493. produces:
  29494. - application/json
  29495. responses:
  29496. "200":
  29497. description: OK
  29498. schema:
  29499. items:
  29500. $ref: '#/definitions/models.WrGoodsInfo'
  29501. type: array
  29502. "500":
  29503. description: Internal Server Error
  29504. schema:
  29505. $ref: '#/definitions/app.Response'
  29506. security:
  29507. - ApiKeyAuth: []
  29508. summary: 查询仓单商品信息
  29509. tags:
  29510. - 仓单贸易v2
  29511. /WrTrade2/QueryWrMarketTradeConfig:
  29512. get:
  29513. parameters:
  29514. - description: 市场id
  29515. in: query
  29516. name: marketid
  29517. type: integer
  29518. produces:
  29519. - application/json
  29520. responses:
  29521. "200":
  29522. description: OK
  29523. schema:
  29524. items:
  29525. $ref: '#/definitions/models.WrMarketTradeConfig'
  29526. type: array
  29527. "500":
  29528. description: Internal Server Error
  29529. schema:
  29530. $ref: '#/definitions/app.Response'
  29531. security:
  29532. - ApiKeyAuth: []
  29533. summary: 查询市场交易参数配置
  29534. tags:
  29535. - 仓单贸易v2
  29536. /WrTrade2/QueryWrOrderDetail:
  29537. get:
  29538. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29539. parameters:
  29540. - description: 页码
  29541. in: query
  29542. name: page
  29543. type: integer
  29544. - description: 每页条数
  29545. in: query
  29546. name: pagesize
  29547. type: integer
  29548. - description: 用户id
  29549. in: query
  29550. name: userid
  29551. required: true
  29552. type: integer
  29553. - description: 仓单贸易市场id
  29554. in: query
  29555. name: marketid
  29556. type: integer
  29557. - description: 0:仓单预售 1:仓单贸易
  29558. in: query
  29559. name: haswr
  29560. required: true
  29561. type: integer
  29562. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  29563. in: query
  29564. name: bcancel
  29565. type: integer
  29566. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  29567. in: query
  29568. name: wrtradetype
  29569. type: integer
  29570. - description: 开始交易日(yyyymmdd)
  29571. in: query
  29572. name: begindate
  29573. type: string
  29574. - description: 结束交易日(yyyymmdd)
  29575. in: query
  29576. name: enddate
  29577. type: string
  29578. produces:
  29579. - application/json
  29580. responses:
  29581. "200":
  29582. description: OK
  29583. schema:
  29584. items:
  29585. $ref: '#/definitions/models.WrOrderDetail'
  29586. type: array
  29587. "500":
  29588. description: Internal Server Error
  29589. schema:
  29590. $ref: '#/definitions/app.Response'
  29591. security:
  29592. - ApiKeyAuth: []
  29593. summary: 查询仓单委托单
  29594. tags:
  29595. - 仓单贸易v2
  29596. /WrTrade2/QueryWrOutInApply:
  29597. get:
  29598. parameters:
  29599. - description: 用户id
  29600. in: query
  29601. name: userid
  29602. required: true
  29603. type: integer
  29604. - description: 开始交易日(yyyymmdd)
  29605. in: query
  29606. name: begindate
  29607. type: string
  29608. - description: 结束交易日(yyyymmdd)
  29609. in: query
  29610. name: enddate
  29611. type: string
  29612. produces:
  29613. - application/json
  29614. responses:
  29615. "200":
  29616. description: OK
  29617. schema:
  29618. items:
  29619. $ref: '#/definitions/models.WrOutInApply'
  29620. type: array
  29621. "500":
  29622. description: Internal Server Error
  29623. schema:
  29624. $ref: '#/definitions/app.Response'
  29625. security:
  29626. - ApiKeyAuth: []
  29627. summary: 查询提货申请
  29628. tags:
  29629. - 仓单贸易v2
  29630. /WrTrade2/QueryWrPerformancePlanStep:
  29631. get:
  29632. parameters:
  29633. - description: 履约计划id(performanceplanid)
  29634. in: query
  29635. name: planid
  29636. required: true
  29637. type: integer
  29638. - description: 当前步骤id
  29639. in: query
  29640. name: curstepid
  29641. type: integer
  29642. produces:
  29643. - application/json
  29644. responses:
  29645. "200":
  29646. description: OK
  29647. schema:
  29648. items:
  29649. $ref: '#/definitions/models.WrPerformancePlanStep'
  29650. type: array
  29651. "500":
  29652. description: Internal Server Error
  29653. schema:
  29654. $ref: '#/definitions/app.Response'
  29655. security:
  29656. - ApiKeyAuth: []
  29657. summary: 查询履约信息详情
  29658. tags:
  29659. - 仓单贸易v2
  29660. /WrTrade2/QueryWrPerformanceStepType:
  29661. get:
  29662. produces:
  29663. - application/json
  29664. responses:
  29665. "200":
  29666. description: OK
  29667. schema:
  29668. items:
  29669. $ref: '#/definitions/models.WrPerformanceStepType'
  29670. type: array
  29671. "500":
  29672. description: Internal Server Error
  29673. schema:
  29674. $ref: '#/definitions/app.Response'
  29675. security:
  29676. - ApiKeyAuth: []
  29677. summary: 查询履约步骤枚举
  29678. tags:
  29679. - 仓单贸易v2
  29680. /WrTrade2/QueryWrPosition:
  29681. get:
  29682. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  29683. parameters:
  29684. - description: 用户id
  29685. in: query
  29686. name: userid
  29687. required: true
  29688. type: integer
  29689. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  29690. in: query
  29691. name: querytype
  29692. required: true
  29693. type: integer
  29694. - description: 0:仓单预售 1:仓单贸易
  29695. in: query
  29696. name: haswr
  29697. required: true
  29698. type: integer
  29699. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29700. in: query
  29701. name: dgitemname
  29702. type: string
  29703. - description: 仓库id(筛选条件)
  29704. in: query
  29705. name: warehouseid
  29706. type: integer
  29707. - description: 品种id
  29708. in: query
  29709. name: deliverygoodsid
  29710. type: integer
  29711. - description: 品类id
  29712. in: query
  29713. name: wrstandardid
  29714. type: integer
  29715. produces:
  29716. - application/json
  29717. responses:
  29718. "200":
  29719. description: OK
  29720. schema:
  29721. items:
  29722. $ref: '#/definitions/models.WrPosition'
  29723. type: array
  29724. "500":
  29725. description: Internal Server Error
  29726. schema:
  29727. $ref: '#/definitions/app.Response'
  29728. security:
  29729. - ApiKeyAuth: []
  29730. summary: 查询现货(预售)仓单持仓
  29731. tags:
  29732. - 仓单贸易v2
  29733. /WrTrade2/QueryWrPreSaleInfo:
  29734. get:
  29735. parameters:
  29736. - description: 市场id
  29737. in: query
  29738. name: marketid
  29739. type: integer
  29740. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29741. in: query
  29742. name: presalestatus
  29743. type: string
  29744. - description: 摇号标识 - 0:未摇号 1:已摇号
  29745. in: query
  29746. name: lotteryflag
  29747. type: integer
  29748. - description: 最近多少条记录(按创建时间倒序)
  29749. in: query
  29750. name: lastnum
  29751. type: integer
  29752. produces:
  29753. - application/json
  29754. responses:
  29755. "200":
  29756. description: OK
  29757. schema:
  29758. items:
  29759. $ref: '#/definitions/models.WrPreSaleInfo'
  29760. type: array
  29761. "500":
  29762. description: Internal Server Error
  29763. schema:
  29764. $ref: '#/definitions/app.Response'
  29765. security:
  29766. - ApiKeyAuth: []
  29767. summary: 查询新品发布
  29768. tags:
  29769. - 仓单贸易v2
  29770. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  29771. get:
  29772. parameters:
  29773. - description: 市场id
  29774. in: query
  29775. name: marketid
  29776. required: true
  29777. type: integer
  29778. - description: 现货商品id
  29779. in: query
  29780. name: wrstandardid
  29781. required: true
  29782. type: integer
  29783. - description: 开始交易日(yyyymmdd)
  29784. in: query
  29785. name: begindate
  29786. type: string
  29787. - description: 结束交易日(yyyymmdd)
  29788. in: query
  29789. name: enddate
  29790. type: string
  29791. - description: 最近多少条记录(按交易日倒序)
  29792. in: query
  29793. name: lastnum
  29794. type: integer
  29795. - description: 是否今日
  29796. in: query
  29797. name: istoday
  29798. type: boolean
  29799. produces:
  29800. - application/json
  29801. responses:
  29802. "200":
  29803. description: OK
  29804. schema:
  29805. items:
  29806. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  29807. type: array
  29808. "500":
  29809. description: Internal Server Error
  29810. schema:
  29811. $ref: '#/definitions/app.Response'
  29812. security:
  29813. - ApiKeyAuth: []
  29814. summary: 查询价格走势
  29815. tags:
  29816. - 仓单贸易v2
  29817. /WrTrade2/QueryWrScfContract:
  29818. get:
  29819. parameters:
  29820. - description: 用户id
  29821. in: query
  29822. name: userid
  29823. required: true
  29824. type: integer
  29825. - description: 融资合同id
  29826. in: query
  29827. name: scfcontractid
  29828. type: integer
  29829. produces:
  29830. - application/json
  29831. responses:
  29832. "200":
  29833. description: OK
  29834. schema:
  29835. items:
  29836. $ref: '#/definitions/models.WrScfContract'
  29837. type: array
  29838. "500":
  29839. description: Internal Server Error
  29840. schema:
  29841. $ref: '#/definitions/app.Response'
  29842. security:
  29843. - ApiKeyAuth: []
  29844. summary: 查询仓单贸易融资合同
  29845. tags:
  29846. - 仓单贸易v2
  29847. /WrTrade2/QueryWrScfContractInterest:
  29848. get:
  29849. parameters:
  29850. - description: 融资合同id
  29851. in: query
  29852. name: scfcontractid
  29853. type: integer
  29854. produces:
  29855. - application/json
  29856. responses:
  29857. "200":
  29858. description: OK
  29859. schema:
  29860. items:
  29861. $ref: '#/definitions/models.WrScfContractInterest'
  29862. type: array
  29863. "500":
  29864. description: Internal Server Error
  29865. schema:
  29866. $ref: '#/definitions/app.Response'
  29867. security:
  29868. - ApiKeyAuth: []
  29869. summary: 查询融资合同费用明细
  29870. tags:
  29871. - 仓单贸易v2
  29872. /WrTrade2/QueryWrSearchUser:
  29873. get:
  29874. parameters:
  29875. - description: 用户名称(模糊匹配)
  29876. in: query
  29877. name: username
  29878. required: true
  29879. type: string
  29880. produces:
  29881. - application/json
  29882. responses:
  29883. "200":
  29884. description: OK
  29885. schema:
  29886. items:
  29887. $ref: '#/definitions/models.WrSearchUser'
  29888. type: array
  29889. "500":
  29890. description: Internal Server Error
  29891. schema:
  29892. $ref: '#/definitions/app.Response'
  29893. security:
  29894. - ApiKeyAuth: []
  29895. summary: 查询用户
  29896. tags:
  29897. - 仓单贸易v2
  29898. /WrTrade2/QueryWrSpecialMatchOrder:
  29899. get:
  29900. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  29901. parameters:
  29902. - description: 页码
  29903. in: query
  29904. name: page
  29905. type: integer
  29906. - description: 每页条数
  29907. in: query
  29908. name: pagesize
  29909. type: integer
  29910. - description: 用户id
  29911. in: query
  29912. name: userid
  29913. required: true
  29914. type: integer
  29915. - description: 仓单贸易市场id
  29916. in: query
  29917. name: marketid
  29918. type: integer
  29919. - description: 0:仓单预售 1:仓单贸易
  29920. in: query
  29921. name: haswr
  29922. required: true
  29923. type: integer
  29924. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  29925. in: query
  29926. name: isspecified
  29927. type: integer
  29928. produces:
  29929. - application/json
  29930. responses:
  29931. "200":
  29932. description: OK
  29933. schema:
  29934. items:
  29935. $ref: '#/definitions/models.WrSpecialMatchOrder'
  29936. type: array
  29937. "500":
  29938. description: Internal Server Error
  29939. schema:
  29940. $ref: '#/definitions/app.Response'
  29941. security:
  29942. - ApiKeyAuth: []
  29943. summary: 查询指定成交
  29944. tags:
  29945. - 仓单贸易v2
  29946. /WrTrade2/QueryWrStandardFactoryItem:
  29947. get:
  29948. parameters:
  29949. - description: 品类id
  29950. in: query
  29951. name: wrstandardid
  29952. required: true
  29953. type: integer
  29954. produces:
  29955. - application/json
  29956. responses:
  29957. "200":
  29958. description: OK
  29959. schema:
  29960. items:
  29961. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  29962. type: array
  29963. "500":
  29964. description: Internal Server Error
  29965. schema:
  29966. $ref: '#/definitions/app.Response'
  29967. security:
  29968. - ApiKeyAuth: []
  29969. summary: 查询品类要素定义项
  29970. tags:
  29971. - 仓单贸易v2
  29972. /WrTrade2/QueryWrTradeBargainApply:
  29973. get:
  29974. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  29975. 议价->对方议价 填写matchuserid=登录用户id
  29976. parameters:
  29977. - description: 议价人id(摘牌方)
  29978. in: query
  29979. name: userid
  29980. type: integer
  29981. - description: 挂牌方id(查对方议价时,填写此项)
  29982. in: query
  29983. name: matchuserid
  29984. type: integer
  29985. - description: 关联委托单id
  29986. in: query
  29987. name: wrtradeorderid
  29988. type: integer
  29989. - description: 0:仓单预售 1:仓单贸易
  29990. in: query
  29991. name: haswr
  29992. required: true
  29993. type: integer
  29994. - description: 开始交易日(yyyymmdd)
  29995. in: query
  29996. name: begindate
  29997. type: string
  29998. - description: 结束交易日(yyyymmdd)
  29999. in: query
  30000. name: enddate
  30001. type: string
  30002. produces:
  30003. - application/json
  30004. responses:
  30005. "200":
  30006. description: OK
  30007. schema:
  30008. items:
  30009. $ref: '#/definitions/models.WRTradeBargainApply'
  30010. type: array
  30011. "500":
  30012. description: Internal Server Error
  30013. schema:
  30014. $ref: '#/definitions/app.Response'
  30015. security:
  30016. - ApiKeyAuth: []
  30017. summary: 查询议价单
  30018. tags:
  30019. - 仓单贸易v2
  30020. /WrTrade2/QueryWrTradeDetail:
  30021. get:
  30022. parameters:
  30023. - description: 页码
  30024. in: query
  30025. name: page
  30026. type: integer
  30027. - description: 每页条数
  30028. in: query
  30029. name: pagesize
  30030. type: integer
  30031. - description: 用户id
  30032. in: query
  30033. name: userid
  30034. required: true
  30035. type: integer
  30036. - description: 仓单贸易市场id
  30037. in: query
  30038. name: marketid
  30039. type: integer
  30040. - description: 0:仓单预售 1:仓单贸易
  30041. in: query
  30042. name: haswr
  30043. required: true
  30044. type: integer
  30045. - description: 开始交易日(yyyymmdd)
  30046. in: query
  30047. name: begindate
  30048. type: string
  30049. - description: 结束交易日(yyyymmdd)
  30050. in: query
  30051. name: enddate
  30052. type: string
  30053. produces:
  30054. - application/json
  30055. responses:
  30056. "200":
  30057. description: OK
  30058. schema:
  30059. items:
  30060. $ref: '#/definitions/models.WrTradeDetail'
  30061. type: array
  30062. "500":
  30063. description: Internal Server Error
  30064. schema:
  30065. $ref: '#/definitions/app.Response'
  30066. security:
  30067. - ApiKeyAuth: []
  30068. summary: 查询仓单成交明细
  30069. tags:
  30070. - 仓单贸易v2
  30071. /WrTrade2/QueryWrTradeOrderDetail:
  30072. get:
  30073. parameters:
  30074. - description: 页码
  30075. in: query
  30076. name: page
  30077. type: integer
  30078. - description: 每页条数
  30079. in: query
  30080. name: pagesize
  30081. type: integer
  30082. - description: 商品id
  30083. in: query
  30084. name: goodsid
  30085. required: true
  30086. type: integer
  30087. - description: 买卖方向 0-买 1-卖
  30088. in: query
  30089. name: buyorsell
  30090. required: true
  30091. type: integer
  30092. produces:
  30093. - application/json
  30094. responses:
  30095. "200":
  30096. description: OK
  30097. schema:
  30098. items:
  30099. $ref: '#/definitions/models.WrTradeOrderDetail'
  30100. type: array
  30101. "500":
  30102. description: Internal Server Error
  30103. schema:
  30104. $ref: '#/definitions/app.Response'
  30105. security:
  30106. - ApiKeyAuth: []
  30107. summary: 查询合约交易买卖大厅
  30108. tags:
  30109. - 仓单贸易v2
  30110. /WrTrade2/QueryWrUserFriend:
  30111. get:
  30112. parameters:
  30113. - description: 用户id
  30114. in: query
  30115. name: userid
  30116. required: true
  30117. type: integer
  30118. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30119. in: query
  30120. name: newuserid
  30121. type: integer
  30122. produces:
  30123. - application/json
  30124. responses:
  30125. "200":
  30126. description: OK
  30127. schema:
  30128. items:
  30129. $ref: '#/definitions/models.WrUserFriend'
  30130. type: array
  30131. "500":
  30132. description: Internal Server Error
  30133. schema:
  30134. $ref: '#/definitions/app.Response'
  30135. security:
  30136. - ApiKeyAuth: []
  30137. summary: 查询我的朋友
  30138. tags:
  30139. - 仓单贸易v2
  30140. /WrTrade2/QueryWrUserReceiptInfo:
  30141. get:
  30142. parameters:
  30143. - description: 用户id
  30144. in: query
  30145. name: userid
  30146. type: integer
  30147. - description: 发票类型 - 1:个人 2:企业
  30148. in: query
  30149. name: receipttype
  30150. type: integer
  30151. produces:
  30152. - application/json
  30153. responses:
  30154. "200":
  30155. description: OK
  30156. schema:
  30157. items:
  30158. $ref: '#/definitions/models.WrUserReceiptInfo'
  30159. type: array
  30160. "500":
  30161. description: Internal Server Error
  30162. schema:
  30163. $ref: '#/definitions/app.Response'
  30164. security:
  30165. - ApiKeyAuth: []
  30166. summary: 查询发票信息
  30167. tags:
  30168. - 仓单贸易v2
  30169. /WrTrade2/QueryXhcpSellBackApply:
  30170. get:
  30171. parameters:
  30172. - description: 用户ID
  30173. in: query
  30174. name: userid
  30175. required: true
  30176. type: integer
  30177. produces:
  30178. - application/json
  30179. responses:
  30180. "200":
  30181. description: OK
  30182. schema:
  30183. items:
  30184. $ref: '#/definitions/models.Xhcpsellbackapply'
  30185. type: array
  30186. "500":
  30187. description: Internal Server Error
  30188. schema:
  30189. $ref: '#/definitions/app.Response'
  30190. security:
  30191. - ApiKeyAuth: []
  30192. summary: 查询我的回收申请(新会陈皮)
  30193. tags:
  30194. - 仓单贸易v2
  30195. /ZJ/GetBankTip:
  30196. get:
  30197. produces:
  30198. - application/json
  30199. responses:
  30200. "200":
  30201. description: OK
  30202. schema:
  30203. type: string
  30204. "500":
  30205. description: Internal Server Error
  30206. schema:
  30207. $ref: '#/definitions/app.Response'
  30208. summary: 获取中江网银端出入金提示信息
  30209. tags:
  30210. - 中江
  30211. /ZJ/GetCusBankChannels:
  30212. get:
  30213. produces:
  30214. - application/json
  30215. responses:
  30216. "200":
  30217. description: OK
  30218. schema:
  30219. items:
  30220. type: string
  30221. type: array
  30222. "500":
  30223. description: Internal Server Error
  30224. schema:
  30225. $ref: '#/definitions/app.Response'
  30226. summary: 获取中江出入金渠道显示列表
  30227. tags:
  30228. - 中江
  30229. securityDefinitions:
  30230. ApiKeyAuth:
  30231. in: header
  30232. name: Authorization
  30233. type: apiKey
  30234. swagger: "2.0"