swagger.yaml 836 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086
  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: integer
  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.Loginaccount:
  10329. properties:
  10330. accountname:
  10331. description: 账户名称
  10332. type: string
  10333. canoutin:
  10334. description: 是否可出入金 - 0:不可 1:可
  10335. type: integer
  10336. clientroleid:
  10337. description: 终端角色ID
  10338. type: integer
  10339. haslogined:
  10340. description: 是否已登录 - 0:未登录 1:已登录
  10341. type: integer
  10342. hasupdatedpwd:
  10343. description: 是否已更改密码 - 0:未修改 1:已修改
  10344. type: integer
  10345. lastloginip:
  10346. description: 最新登录地址
  10347. type: string
  10348. lastloginmode:
  10349. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10350. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10351. type: integer
  10352. lastloginremark:
  10353. description: 最新登录描述
  10354. type: string
  10355. lastlogintime:
  10356. description: 最新登录时间
  10357. type: string
  10358. logincode:
  10359. description: 登录代码
  10360. type: string
  10361. loginfailnum:
  10362. description: 连续登录失败次数(登录成功时清零)
  10363. type: integer
  10364. loginid:
  10365. description: 登陆账号
  10366. type: integer
  10367. loginport:
  10368. description: 最新登录端口
  10369. type: integer
  10370. loginstatus:
  10371. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10372. type: integer
  10373. loginusertype:
  10374. description: 登录账号类型 - 1:投资者 2:机构交易员
  10375. type: integer
  10376. mobile:
  10377. description: 手机号码(加密存储)
  10378. type: string
  10379. modifierid:
  10380. description: 修改人
  10381. type: integer
  10382. modifysrc:
  10383. description: 审核来源 - 1:管理端 2:终端
  10384. type: integer
  10385. modifytime:
  10386. description: 修改时间
  10387. type: string
  10388. password:
  10389. description: 登陆密码
  10390. type: string
  10391. pwdwrongcount:
  10392. description: 密码错误次数
  10393. type: integer
  10394. relateduserid:
  10395. description: 关联用户ID(机构)
  10396. type: integer
  10397. taaccountrighttype:
  10398. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10399. type: integer
  10400. unfreezetime:
  10401. description: 账户解冻时间
  10402. type: string
  10403. userid:
  10404. description: 用户ID
  10405. type: integer
  10406. required:
  10407. - loginid
  10408. type: object
  10409. models.MainAccountInfo:
  10410. properties:
  10411. accountid:
  10412. description: 账号id
  10413. type: integer
  10414. accountname:
  10415. description: 账号名称(taaccount表中的名称)
  10416. type: string
  10417. appid:
  10418. description: AppID
  10419. type: string
  10420. authcode:
  10421. description: 授权码
  10422. type: string
  10423. brokerid:
  10424. description: 经纪商id
  10425. type: string
  10426. fcid:
  10427. description: 期货公司id
  10428. type: integer
  10429. fcname:
  10430. description: 期货公司代码
  10431. type: string
  10432. hedgeaccountcode:
  10433. description: 外部账号代码(主账号登录代码)
  10434. type: string
  10435. hedgeaccountpwd:
  10436. description: 密码
  10437. type: string
  10438. ismain:
  10439. description: 是否主账号
  10440. type: integer
  10441. relateduserid:
  10442. description: 关联用户id
  10443. type: integer
  10444. userid:
  10445. description: 关联用户id
  10446. type: integer
  10447. type: object
  10448. models.Market:
  10449. properties:
  10450. auctionwrtype:
  10451. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10452. type: integer
  10453. canacceptquote:
  10454. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10455. type: integer
  10456. cangoodsexercise:
  10457. description: '[期权]是否可现货行权- 0:否 1:是'
  10458. type: integer
  10459. cangoodsexercisetype:
  10460. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10461. type: integer
  10462. canmanualquotestrike:
  10463. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10464. type: integer
  10465. canmutistage:
  10466. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10467. type: integer
  10468. canpreexercise:
  10469. description: '[期权]是否可预申报- 0:否 1:是'
  10470. type: integer
  10471. clearinterval:
  10472. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10473. type: integer
  10474. contracttmp:
  10475. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10476. type: string
  10477. exchareaid:
  10478. description: 所属交易所,可以没有
  10479. type: integer
  10480. goodstype:
  10481. description: 商品类型 - 1:交易商品 2:仓单商品
  10482. type: integer
  10483. hasrebate:
  10484. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10485. type: integer
  10486. hastradecredit:
  10487. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10488. type: integer
  10489. haswr:
  10490. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10491. type: integer
  10492. isdeductmargin:
  10493. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10494. type: integer
  10495. isrecordsource:
  10496. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10497. type: integer
  10498. isreleasemargin:
  10499. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10500. type: integer
  10501. marginformula:
  10502. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10503. type: integer
  10504. marginformula2:
  10505. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10506. type: integer
  10507. marketid:
  10508. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10509. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10510. type: integer
  10511. marketname:
  10512. description: 市场名称
  10513. type: string
  10514. marketserviceid:
  10515. description: 市场服务ID
  10516. type: integer
  10517. marketstatus:
  10518. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10519. type: integer
  10520. markettype:
  10521. description: 市场类型- 1:非交易服务 2:交易服务
  10522. type: integer
  10523. matchermode:
  10524. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10525. type: integer
  10526. openmethod:
  10527. description: 开盘模式 - 0 自动 1手动
  10528. type: integer
  10529. otcuserid:
  10530. description: 场外期权做市商[场外期权]
  10531. type: integer
  10532. outersynctime:
  10533. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10534. type: string
  10535. pendingflag:
  10536. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10537. type: integer
  10538. pendingtime:
  10539. description: 待开市时间[通道交易-对冲](HH:mm)
  10540. type: string
  10541. performancetempid:
  10542. description: 履约计划模板ID - 作废
  10543. type: integer
  10544. premiumquotemode:
  10545. description: 权利金报价方式 - 1:自动 2:手动
  10546. type: integer
  10547. rebateratio:
  10548. description: 返利比率[竞价式]
  10549. type: number
  10550. reckonorder:
  10551. description: 结算顺序
  10552. type: integer
  10553. reckonpricealgorithm:
  10554. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10555. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10556. type: integer
  10557. reckonpriceparam:
  10558. description: 结算价参数
  10559. type: integer
  10560. reckontime:
  10561. description: 结算时间[通道交易-对冲](HH:mm)
  10562. type: string
  10563. roleprioritytype:
  10564. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10565. type: integer
  10566. selllistingauditflag:
  10567. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10568. type: integer
  10569. trademarkettype:
  10570. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10571. type: integer
  10572. trademode:
  10573. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10574. 21:竞拍-大宗式 22:受托竞价
  10575. type: integer
  10576. tradeproperty:
  10577. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10578. 8:场外期权
  10579. type: integer
  10580. tradetype:
  10581. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10582. type: integer
  10583. required:
  10584. - marketid
  10585. - marketstatus
  10586. - openmethod
  10587. - reckonpricealgorithm
  10588. - trademode
  10589. - tradeproperty
  10590. type: object
  10591. models.Marketrun:
  10592. properties:
  10593. afternexttradedate:
  10594. description: 下下交易日
  10595. type: string
  10596. clearquoteflag:
  10597. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10598. type: integer
  10599. lastreckondate:
  10600. description: 最新交易日(结算成功)
  10601. type: string
  10602. machinedate:
  10603. description: 机器时间
  10604. type: string
  10605. manualflag:
  10606. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10607. type: integer
  10608. marketid:
  10609. description: 市场ID
  10610. type: integer
  10611. nexttradedate:
  10612. description: 下一交易日
  10613. type: string
  10614. pretradedate:
  10615. description: 上一交易日
  10616. type: string
  10617. reckonflag:
  10618. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10619. type: integer
  10620. runstatus:
  10621. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10622. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10623. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10624. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10625. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10626. 62.今日免清算
  10627. type: integer
  10628. sectionid:
  10629. description: 时间段号[多时段时用]
  10630. type: integer
  10631. tradedate:
  10632. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10633. type: string
  10634. tradedate2:
  10635. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10636. type: string
  10637. updatetime:
  10638. description: 更新时间
  10639. type: string
  10640. required:
  10641. - marketid
  10642. - nexttradedate
  10643. - reckonflag
  10644. - runstatus
  10645. - tradedate
  10646. - tradedate2
  10647. type: object
  10648. models.Messageboard:
  10649. properties:
  10650. contactnum:
  10651. description: 联系电话
  10652. type: string
  10653. createtime:
  10654. description: 创建时间
  10655. type: string
  10656. message:
  10657. description: 留言信息
  10658. type: string
  10659. messageboardid:
  10660. description: 留言簿ID(SEQ_MessageBoard)
  10661. type: integer
  10662. userid:
  10663. description: 用户ID
  10664. type: integer
  10665. required:
  10666. - messageboardid
  10667. type: object
  10668. models.MyCoupon:
  10669. properties:
  10670. accountid:
  10671. description: 资金账户ID
  10672. type: integer
  10673. areauserid:
  10674. description: 所属机构
  10675. type: integer
  10676. conditionvalue:
  10677. description: 条件阈值(可为0)
  10678. type: number
  10679. couponcategroy:
  10680. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10681. type: integer
  10682. couponname:
  10683. description: 优惠券名称
  10684. type: string
  10685. coupontypeid:
  10686. description: 优惠券类型ID
  10687. type: string
  10688. couponvalue:
  10689. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10690. type: number
  10691. curfreezeqty:
  10692. description: 期末冻结数量
  10693. type: integer
  10694. curqty:
  10695. description: 期末数量
  10696. type: integer
  10697. isgeneral:
  10698. description: 是否通用券 - 0:否 1:是
  10699. type: integer
  10700. isunusable:
  10701. description: 是否不可用
  10702. type: boolean
  10703. limitedflag:
  10704. description: 是否指定商品 - 0:不限 1:限制
  10705. type: integer
  10706. limitedgoodsids:
  10707. description: 指定商品IDs[逗号分隔,前后加逗号]
  10708. type: string
  10709. orifreezeqty:
  10710. description: 期初冻结数量
  10711. type: integer
  10712. oriqty:
  10713. description: 期初数量
  10714. type: integer
  10715. reasontype:
  10716. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10717. type: integer
  10718. todaydecrease:
  10719. description: 今日减少
  10720. type: integer
  10721. todayincrease:
  10722. description: 今日增加
  10723. type: integer
  10724. userid:
  10725. description: 用户ID
  10726. type: integer
  10727. userscope:
  10728. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10729. type: string
  10730. required:
  10731. - accountid
  10732. - coupontypeid
  10733. type: object
  10734. models.MyCouponHold:
  10735. properties:
  10736. accountid:
  10737. description: 资金账户ID
  10738. type: integer
  10739. conditionvalue:
  10740. description: 条件阈值(可为0)
  10741. type: number
  10742. couponcategroy:
  10743. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10744. type: integer
  10745. couponholdid:
  10746. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10747. type: string
  10748. couponname:
  10749. description: 优惠券名称
  10750. type: string
  10751. coupontypeid:
  10752. description: 优惠券类型ID - SEQ_COUPONTYPE
  10753. type: string
  10754. couponvalue:
  10755. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10756. type: number
  10757. createtime:
  10758. description: 创建时间
  10759. type: string
  10760. enddate:
  10761. description: 结束日期
  10762. type: string
  10763. giveapplyid:
  10764. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10765. type: integer
  10766. holdstatus:
  10767. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10768. type: integer
  10769. isgeneral:
  10770. description: 是否通用券 - 0:否 1:是
  10771. type: integer
  10772. limitedflag:
  10773. description: 是否指定商品 - 0:不限 1:限制
  10774. type: integer
  10775. limitedgoodsids:
  10776. description: 指定商品IDs[逗号分隔]
  10777. type: string
  10778. qty:
  10779. description: 数量(按1平铺)
  10780. type: integer
  10781. startdate:
  10782. description: 开始日期
  10783. type: string
  10784. userid:
  10785. description: 用户ID
  10786. type: integer
  10787. userscope:
  10788. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10789. type: string
  10790. required:
  10791. - couponholdid
  10792. type: object
  10793. models.MyUsedCoupon:
  10794. properties:
  10795. accountid:
  10796. description: 资金账户ID(买方)
  10797. type: integer
  10798. conditionvalue:
  10799. description: 条件阈值(可为0)
  10800. type: number
  10801. couponcategroy:
  10802. description: 种类 - 1:现金券 2:折扣券
  10803. type: integer
  10804. couponname:
  10805. description: 优惠券名称
  10806. type: string
  10807. coupontypeid:
  10808. description: 优惠券类型ID(买方)
  10809. type: string
  10810. couponvalue:
  10811. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10812. type: number
  10813. createtime:
  10814. description: 创建时间
  10815. type: string
  10816. goodsid:
  10817. description: 商品ID
  10818. type: integer
  10819. handlestatus:
  10820. description: 处理状态
  10821. type: integer
  10822. marketid:
  10823. description: 市场ID
  10824. type: integer
  10825. offamount:
  10826. description: 优惠金额
  10827. type: number
  10828. orderid:
  10829. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10830. type: string
  10831. sellaccountid:
  10832. description: 资金账户ID(卖方)
  10833. type: integer
  10834. tradeamount:
  10835. description: 成交金额
  10836. type: number
  10837. tradeid:
  10838. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10839. type: string
  10840. usedqty:
  10841. description: 使用数量
  10842. type: integer
  10843. required:
  10844. - coupontypeid
  10845. - orderid
  10846. type: object
  10847. models.OperationPrimaryMenu:
  10848. properties:
  10849. Children:
  10850. description: 二级功能菜单
  10851. items:
  10852. $ref: '#/definitions/models.OperationSecondaryMenu'
  10853. type: array
  10854. Key:
  10855. description: 菜单KEY
  10856. type: string
  10857. Label:
  10858. description: 菜单标题
  10859. type: string
  10860. type: object
  10861. models.OperationSecondaryMenu:
  10862. properties:
  10863. Key:
  10864. description: 菜单KEY
  10865. type: string
  10866. Label:
  10867. description: 菜单标题
  10868. type: string
  10869. TabList:
  10870. description: 三级功能菜单
  10871. items:
  10872. $ref: '#/definitions/models.OperationTabMenu'
  10873. type: array
  10874. type: object
  10875. models.OperationTabMenu:
  10876. properties:
  10877. Key:
  10878. description: 菜单KEY
  10879. type: string
  10880. Label:
  10881. description: 菜单标题
  10882. type: string
  10883. type: object
  10884. models.QhjAccountOutInApply:
  10885. properties:
  10886. accountcode:
  10887. description: 资金账号
  10888. type: string
  10889. accountname:
  10890. description: 用户名称(名称)
  10891. type: string
  10892. accountpwd:
  10893. description: 资金密码
  10894. type: string
  10895. accountticket:
  10896. description: 最新账户服务流水号
  10897. type: string
  10898. amount:
  10899. description: 金额
  10900. type: number
  10901. applyremark:
  10902. description: 申请备注
  10903. type: string
  10904. applystatus:
  10905. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10906. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10907. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10908. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10909. type: integer
  10910. auditid:
  10911. description: 审核人
  10912. type: integer
  10913. audittime:
  10914. description: 审核时间
  10915. type: string
  10916. bank_apply_ticket:
  10917. description: 银行申请流水
  10918. type: string
  10919. bankaccountname:
  10920. description: 银行账户名
  10921. type: string
  10922. bankaccountno:
  10923. description: 银行卡号
  10924. type: string
  10925. bankid:
  10926. description: 银行编号
  10927. type: string
  10928. bankticket:
  10929. description: 银行流水
  10930. type: string
  10931. branchbankid:
  10932. description: 银行支行号
  10933. type: string
  10934. branchbankname:
  10935. description: 银行支行名称
  10936. type: string
  10937. capamountout:
  10938. description: 出金(劣后本金) - 外部子账户
  10939. type: number
  10940. certificatephotourl:
  10941. description: 凭证地址
  10942. type: string
  10943. charge:
  10944. description: 手续费
  10945. type: number
  10946. checkerrorflag:
  10947. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10948. type: integer
  10949. currency:
  10950. description: 币种
  10951. type: string
  10952. cusbankid:
  10953. description: 托管银行编号
  10954. type: string
  10955. exchticket:
  10956. description: 银行服务流水号
  10957. type: string
  10958. executetype:
  10959. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10960. 7:外部子账户:入金 8:外部子账户:出金'
  10961. type: integer
  10962. extendinfo:
  10963. description: 扩展信息
  10964. type: string
  10965. extoperateid:
  10966. description: 交易服务流水号
  10967. type: integer
  10968. infamount:
  10969. description: 劣后金额(自有)
  10970. type: number
  10971. logincode:
  10972. description: 登录账号(账号)
  10973. type: string
  10974. netaddr:
  10975. description: 调转网址
  10976. type: string
  10977. priamount:
  10978. description: 优先金额(授信)
  10979. type: number
  10980. reauditid:
  10981. description: 复审人
  10982. type: integer
  10983. reauditremark:
  10984. description: 复审备注
  10985. type: string
  10986. reaudittime:
  10987. description: 复审时间
  10988. type: string
  10989. relatedorderid:
  10990. description: 三方关联ID
  10991. type: string
  10992. remark:
  10993. description: 备注
  10994. type: string
  10995. remark2:
  10996. description: 备注(失败原因)
  10997. type: string
  10998. soucreamount:
  10999. description: 原始出入金金额
  11000. type: number
  11001. soucrecurrencyid:
  11002. description: 原始出入金币种
  11003. type: integer
  11004. tradedate:
  11005. description: 交易日(yyyyMMdd)
  11006. type: string
  11007. updatetime:
  11008. description: 更新时间(申请时间)
  11009. type: string
  11010. userid:
  11011. description: 用户id
  11012. type: integer
  11013. userinfotype:
  11014. description: 账户类型 1-个人 2-企业
  11015. type: integer
  11016. type: object
  11017. models.QhjAgreementChangeLog:
  11018. properties:
  11019. agreementcontent:
  11020. description: 协议内容
  11021. type: string
  11022. agreementfrequency:
  11023. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11024. type: integer
  11025. agreementid:
  11026. description: 协议ID
  11027. type: integer
  11028. agreementname:
  11029. description: 协议名称
  11030. type: string
  11031. agreementno:
  11032. description: 协议编号
  11033. type: string
  11034. agreementtype:
  11035. description: 协议类型 - 1:注册 2:登录 3:交易
  11036. type: integer
  11037. agreementversion:
  11038. description: 协议版本号
  11039. type: integer
  11040. logid:
  11041. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11042. type: integer
  11043. reviserid:
  11044. description: 修改人
  11045. type: integer
  11046. revisersrc:
  11047. description: 修改来源 - 1:管理端 2:终端
  11048. type: integer
  11049. updatetime:
  11050. description: 更新时间
  11051. type: string
  11052. type: object
  11053. models.QhjAgreementConfig:
  11054. properties:
  11055. agreementcontent:
  11056. description: 协议内容
  11057. type: string
  11058. agreementfrequency:
  11059. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11060. type: integer
  11061. agreementid:
  11062. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11063. type: integer
  11064. agreementname:
  11065. description: 协议名称
  11066. type: string
  11067. agreementno:
  11068. description: 协议编号
  11069. type: string
  11070. agreementtype:
  11071. description: 协议类型 - 1:注册 2:登录 3:交易
  11072. type: integer
  11073. agreementversion:
  11074. description: 协议版本号(从1开始每次修改加1)
  11075. type: integer
  11076. createtime:
  11077. description: 创建时间
  11078. type: string
  11079. creatorid:
  11080. description: 创建人
  11081. type: integer
  11082. creatorsrc:
  11083. description: 创建来源 - 1:管理端 2:终端
  11084. type: integer
  11085. isvalid:
  11086. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11087. type: integer
  11088. reviserid:
  11089. description: 修改人
  11090. type: integer
  11091. revisersrc:
  11092. description: 修改来源 - 1:管理端 2:终端
  11093. type: integer
  11094. updatetime:
  11095. description: 更新时间
  11096. type: string
  11097. type: object
  11098. models.QhjAreaFinanceConfig:
  11099. properties:
  11100. additionalratio:
  11101. description: 追加款比例
  11102. type: number
  11103. advanceratio:
  11104. description: 预付款比例
  11105. type: number
  11106. alarmratio:
  11107. description: 告警比例
  11108. type: number
  11109. consumptiondirectreward:
  11110. description: 消费直推奖励值
  11111. type: number
  11112. consumptionenabled:
  11113. description: 是否启用消费奖励 - 0:不启用 1:启用
  11114. type: integer
  11115. consumptionindirectreward:
  11116. description: 消费间推奖励值
  11117. type: number
  11118. consumptionmodel:
  11119. description: 消费奖励方式 - 1:比率 2:固定
  11120. type: integer
  11121. customerservicenum:
  11122. description: 客服电话
  11123. type: string
  11124. dayinterestrate:
  11125. description: 日利率
  11126. type: number
  11127. disableconsumptiontips:
  11128. description: 关闭消费奖励提示
  11129. type: string
  11130. modifierid:
  11131. description: 修改人ID
  11132. type: integer
  11133. modifysrc:
  11134. description: 审核来源 - 1:管理端 2:终端
  11135. type: integer
  11136. modifytime:
  11137. description: 修改时间
  11138. type: string
  11139. promotionvalue:
  11140. description: 推广奖励值(固定)
  11141. type: number
  11142. scoreconfigvalue1:
  11143. description: 提货积分配置1
  11144. type: integer
  11145. scoreconfigvalue2:
  11146. description: 提货积分配置2
  11147. type: integer
  11148. userid:
  11149. description: 机构用户ID其他做市关系,都设置为 1
  11150. type: integer
  11151. username:
  11152. description: 用户名称
  11153. type: string
  11154. type: object
  11155. models.QhjBankAccountSign:
  11156. properties:
  11157. accountcode:
  11158. description: 资金账号
  11159. type: string
  11160. accountname:
  11161. description: 资金账号对应的账号名(UserName)
  11162. type: string
  11163. accountname2:
  11164. description: 资金账号对应的账号名(UserName) - 密文
  11165. type: string
  11166. accounttype:
  11167. description: 账户类型(UserType)
  11168. type: integer
  11169. applicationtime:
  11170. description: 最后一次更新的时间
  11171. type: string
  11172. applyexchticket:
  11173. description: 申请流水
  11174. type: string
  11175. auditid:
  11176. description: 审核人
  11177. type: integer
  11178. audittime:
  11179. description: 审核时间
  11180. type: string
  11181. bankaccountname:
  11182. description: 签约银行卡账号名
  11183. type: string
  11184. bankaccountname2:
  11185. description: 签约银行卡账号名 - 密文
  11186. type: string
  11187. bankaccountno:
  11188. description: 银行卡号
  11189. type: string
  11190. bankaccountno2:
  11191. description: 银行卡号 - 密文
  11192. type: string
  11193. bankaccounttype:
  11194. description: 银行账户类型 - 1-对私; 2-对公
  11195. type: integer
  11196. bankcardtype:
  11197. description: 银行卡类型
  11198. type: integer
  11199. bankchildaccount:
  11200. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11201. type: string
  11202. bankcity:
  11203. description: 开户行城市
  11204. type: string
  11205. bankid:
  11206. description: 签约银行ID
  11207. type: string
  11208. bankname:
  11209. description: 签约银行名称
  11210. type: string
  11211. bankprovince:
  11212. description: 开户行省份
  11213. type: string
  11214. branchbankid:
  11215. description: 签约银行支行号
  11216. type: string
  11217. branchbankname:
  11218. description: 签约银行支行名称
  11219. type: string
  11220. cardno:
  11221. description: 证件号码
  11222. type: string
  11223. cardno2:
  11224. description: 证件号码 - 密文
  11225. type: string
  11226. cardtype:
  11227. description: 证件类型
  11228. type: string
  11229. currency:
  11230. description: 币种
  11231. type: string
  11232. cusbankid:
  11233. description: 托管银行编号
  11234. type: string
  11235. direct:
  11236. description: 方向(可以判断那方先发起的签约)
  11237. type: integer
  11238. exchticket:
  11239. description: 最后一次签约成功的流水号
  11240. type: string
  11241. extendinfo:
  11242. description: 扩展信息(JSON字符串)
  11243. type: string
  11244. mobilephone:
  11245. description: 手机号
  11246. type: string
  11247. mobilephone2:
  11248. description: 手机号 - 密文
  11249. type: string
  11250. netaddr:
  11251. description: 调转网址
  11252. type: string
  11253. relateduserid:
  11254. description: 关联使用者userid
  11255. type: integer
  11256. signstatus:
  11257. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11258. 10:审核拒绝 11:换签待审核
  11259. type: integer
  11260. updatetime:
  11261. description: 更新时间(签解约更新时间)
  11262. type: string
  11263. type: object
  11264. models.QhjBankInfo:
  11265. properties:
  11266. bankid:
  11267. description: 银行ID
  11268. type: string
  11269. bankname:
  11270. description: 银行名称
  11271. type: string
  11272. clearbankno:
  11273. description: 清算系统银行编号
  11274. type: string
  11275. orderindex:
  11276. description: 排序顺序
  11277. type: integer
  11278. status:
  11279. description: 状态 - 0:正常 1:注销
  11280. type: integer
  11281. type: object
  11282. models.QhjBrokerApply:
  11283. properties:
  11284. applicantid:
  11285. description: 申请人
  11286. type: integer
  11287. applysrc:
  11288. description: 申请来源 - 1:管理端 2:终端
  11289. type: integer
  11290. applystatus:
  11291. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11292. type: integer
  11293. applytime:
  11294. description: 申请时间
  11295. type: string
  11296. auditorid:
  11297. description: 审核人
  11298. type: integer
  11299. auditremark:
  11300. description: 审核备注
  11301. type: string
  11302. auditsrc:
  11303. description: 审核来源 - 1:管理端 2:终端
  11304. type: integer
  11305. audittime:
  11306. description: 审核时间
  11307. type: string
  11308. audittradedate:
  11309. description: 审核交易日(yyyyMMdd)
  11310. type: string
  11311. brokerapplyid:
  11312. description: 申请ID(SEQ_BROKERAPPLY)
  11313. type: integer
  11314. cardbackphotourl:
  11315. description: 证件背面图片地址
  11316. type: string
  11317. cardfrontphotourl:
  11318. description: 证件正面图片地址
  11319. type: string
  11320. cardnum:
  11321. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11322. type: string
  11323. customername:
  11324. description: 姓名
  11325. type: string
  11326. logincode:
  11327. description: 登录代码
  11328. type: string
  11329. mobile:
  11330. description: 手机号码
  11331. type: string
  11332. parentuserid:
  11333. description: 所属机构id
  11334. type: integer
  11335. parentusername:
  11336. description: 所属机构名称
  11337. type: string
  11338. refereeuserid:
  11339. description: 推荐人id(经纪人)
  11340. type: integer
  11341. refernum:
  11342. description: 推荐码
  11343. type: string
  11344. remark:
  11345. description: 备注
  11346. type: string
  11347. subarealevelpath:
  11348. description: 层级路径
  11349. type: string
  11350. tradedate:
  11351. description: 交易日(yyyyMMdd)
  11352. type: string
  11353. userid:
  11354. description: 申请人用户ID
  11355. type: integer
  11356. userinfotype:
  11357. description: 用户类型 1-个人 2-企业
  11358. type: integer
  11359. username:
  11360. description: 用户名称
  11361. type: string
  11362. type: object
  11363. models.QhjBrokerApplyEx:
  11364. properties:
  11365. applylist:
  11366. description: 经纪人申请记录(只返回最新一条)
  11367. items:
  11368. $ref: '#/definitions/models.QhjBrokerApply'
  11369. type: array
  11370. canrecommend:
  11371. description: 是否经纪人 0-不是 1-是
  11372. type: integer
  11373. refernum:
  11374. description: 推荐码
  11375. type: string
  11376. userid:
  11377. description: 用户id
  11378. type: integer
  11379. userinfotype:
  11380. description: 用户类型 1-个人 2-企业
  11381. type: integer
  11382. type: object
  11383. models.QhjBrokerRewardLog:
  11384. properties:
  11385. accountid:
  11386. description: 资金账号ID
  11387. type: integer
  11388. createtime:
  11389. description: 创建时间(时间)
  11390. type: string
  11391. handlestatus:
  11392. description: 处理状态
  11393. type: integer
  11394. logid:
  11395. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11396. type: string
  11397. marketid:
  11398. description: 市场ID
  11399. type: integer
  11400. mmaccountid:
  11401. description: 做市商资金账号ID
  11402. type: string
  11403. mmuserid:
  11404. description: 做市商用户ID
  11405. type: string
  11406. rewardamount:
  11407. description: 奖励金额
  11408. type: number
  11409. rewardmodel:
  11410. description: 消费奖励方式 - 1:比率 2:固定
  11411. type: integer
  11412. rewardtype:
  11413. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11414. type: integer
  11415. rewardvalue:
  11416. description: 配置奖励值
  11417. type: number
  11418. srcamount:
  11419. description: 成交金额 [消费奖励] (金额)
  11420. type: number
  11421. srcgoodsid:
  11422. description: 来源商品ID [消费奖励]
  11423. type: string
  11424. srctime:
  11425. description: 来源时间 (成交时间) [消费奖励]
  11426. type: string
  11427. srctradeid:
  11428. description: 来源成交单ID [消费奖励] - 排除提货成交
  11429. type: string
  11430. srcuserid:
  11431. description: 来源用户ID(推广账户)
  11432. type: string
  11433. srcusername:
  11434. description: 推广账户名称
  11435. type: string
  11436. tradedate:
  11437. description: 交易日(yyyyMMdd)
  11438. type: string
  11439. userid:
  11440. description: 经纪人用户ID
  11441. type: integer
  11442. type: object
  11443. models.QhjContract:
  11444. properties:
  11445. contractconfirmtime:
  11446. description: 合同确认时间(时间)
  11447. type: string
  11448. currisklevel:
  11449. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11450. type: integer
  11451. decimalplace:
  11452. description: 商品报价小数位
  11453. type: integer
  11454. enumdicname:
  11455. description: 单位名称
  11456. type: string
  11457. goodscode:
  11458. description: 商品代码
  11459. type: string
  11460. goodsid:
  11461. description: 商品ID [5:融资单]
  11462. type: integer
  11463. goodsname:
  11464. description: 商品名称
  11465. type: string
  11466. goodunitid:
  11467. description: 商品单位id
  11468. type: integer
  11469. initmargin:
  11470. description: 初始保证金(首付款)
  11471. type: number
  11472. lenderamount:
  11473. description: 贷款金额(总额|订单总额)
  11474. type: number
  11475. marginratio:
  11476. description: 保证金比率(首付比例)
  11477. type: number
  11478. payamount:
  11479. description: 已付(已付货款)
  11480. type: number
  11481. reckonrecovermargin:
  11482. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11483. type: number
  11484. recoveredmargin:
  11485. description: 已追缴保证金
  11486. type: number
  11487. remainamount:
  11488. description: 合同剩余金额(融资额)
  11489. type: number
  11490. scfcontractid:
  11491. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11492. type: string
  11493. scfcontractstatus:
  11494. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11495. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11496. type: integer
  11497. scfcontracttype:
  11498. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11499. type: integer
  11500. totalinterest:
  11501. description: 已计总利息(利息)
  11502. type: number
  11503. tradeprice:
  11504. description: 成交价格(成本价格)
  11505. type: number
  11506. userid:
  11507. description: 用户ID
  11508. type: integer
  11509. username:
  11510. description: 用户名称
  11511. type: string
  11512. wrqty:
  11513. description: 仓单数量(数量)
  11514. type: number
  11515. type: object
  11516. models.QhjContractLog:
  11517. properties:
  11518. amount:
  11519. description: 支付金额
  11520. type: number
  11521. amounttype:
  11522. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11523. type: integer
  11524. logid:
  11525. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11526. type: string
  11527. remainamount:
  11528. description: 剩余货款
  11529. type: number
  11530. scfcontractid:
  11531. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11532. type: integer
  11533. updatetime:
  11534. description: 更新时间
  11535. type: string
  11536. type: object
  11537. models.QhjCusBankSignBankEx:
  11538. properties:
  11539. banklst:
  11540. description: 银行列表
  11541. items:
  11542. $ref: '#/definitions/models.QhjBankInfo'
  11543. type: array
  11544. canallot:
  11545. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11546. type: integer
  11547. canallotquery:
  11548. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11549. type: integer
  11550. canbindcard:
  11551. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11552. type: integer
  11553. caninamount:
  11554. description: 是否可入金 - 0:不可 1:可以
  11555. type: integer
  11556. caninamount2:
  11557. description: 是否可入金(网银端) - 0:不可 1:可以
  11558. type: integer
  11559. canmodifybankcard:
  11560. description: 是否可修改银行卡号 - 0:不可 1:可以
  11561. type: integer
  11562. canmodifyphone:
  11563. description: 是否可修改手机号 - 0:不可 1:可以
  11564. type: integer
  11565. canmodifysigninfo:
  11566. description: 是否可修改签约信息 - 0:不可 1:可以
  11567. type: integer
  11568. canoutamount:
  11569. description: 是否可出金 - 0:不可 1:可以
  11570. type: integer
  11571. canoutamount2:
  11572. description: 是否可出金(网银端) - 0:不可 1:可以
  11573. type: integer
  11574. canrelease:
  11575. description: 是否可解约 - 0:不可 1:可以
  11576. type: integer
  11577. canrelease2:
  11578. description: 是否可解约(网银端) - 0:不可 1:可以
  11579. type: integer
  11580. cansign:
  11581. description: 是否可签约 - 0:不可 1:可以
  11582. type: integer
  11583. cansign2:
  11584. description: 是否可签约(网银端) - 0:不可 1:可以
  11585. type: integer
  11586. currency:
  11587. description: 币种
  11588. type: string
  11589. cusbankid:
  11590. description: 托管银行编号(对应清算中心TRAN_NO)
  11591. type: string
  11592. cusbankname:
  11593. description: 银行业务名称
  11594. type: string
  11595. cusbankshortname:
  11596. description: 银行业务简称
  11597. type: string
  11598. exchbankid:
  11599. description: 交易所开户银行ID
  11600. type: string
  11601. exchpaybankaccname:
  11602. description: 交易所支出结算账户户名
  11603. type: string
  11604. exchpaybankaccno:
  11605. description: 交易所支出结算账户
  11606. type: string
  11607. isneedcheck:
  11608. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11609. type: integer
  11610. isneedclear:
  11611. description: 是否需要清算 - 0:不需要 1:需要
  11612. type: integer
  11613. lastcheckstatus:
  11614. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11615. type: integer
  11616. lastchecktime:
  11617. description: 最后对账时间
  11618. type: string
  11619. lastclearstatus:
  11620. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11621. type: integer
  11622. lastcleartime:
  11623. description: 最后清算时间
  11624. type: string
  11625. lastsignintime:
  11626. description: 最后签到时间
  11627. type: string
  11628. lastsignouttime:
  11629. description: 最后签退时间
  11630. type: string
  11631. riskinfo:
  11632. description: 签约风险提示书
  11633. type: string
  11634. signstatus:
  11635. description: 当前签到/签退状态 - 1:签到 2:签退
  11636. type: integer
  11637. tradedate:
  11638. description: 交易日(yyyyMMdd)
  11639. type: string
  11640. updatetime:
  11641. description: 当前签到/签退更新时间
  11642. type: string
  11643. type: object
  11644. models.QhjCustomer:
  11645. properties:
  11646. address:
  11647. description: 通讯地址
  11648. type: string
  11649. attachment1:
  11650. description: 附件1
  11651. type: string
  11652. attachment2:
  11653. description: 附件2
  11654. type: string
  11655. audittime:
  11656. description: 审核时间
  11657. type: string
  11658. cardbackphotourl:
  11659. description: 证件反面图片地址
  11660. type: string
  11661. cardfrontphotourl:
  11662. description: 证件正面图片地址
  11663. type: string
  11664. cardnum:
  11665. description: 证件号码
  11666. type: string
  11667. cardtype:
  11668. description: 证件类型
  11669. type: integer
  11670. cardtypename:
  11671. description: 证件类型名称
  11672. type: string
  11673. cityid:
  11674. description: 市
  11675. type: integer
  11676. cityname:
  11677. description: 城市名称
  11678. type: string
  11679. contactname:
  11680. description: 联系人
  11681. type: string
  11682. countryid:
  11683. description: 国家
  11684. type: integer
  11685. countryname:
  11686. description: 国家名称
  11687. type: string
  11688. createtime:
  11689. description: 创建时间
  11690. type: string
  11691. customername:
  11692. description: 客户名称
  11693. type: string
  11694. districtid:
  11695. description: 区域
  11696. type: integer
  11697. districtname:
  11698. description: 地区名称
  11699. type: string
  11700. email:
  11701. description: 邮件
  11702. type: string
  11703. legalpersonname:
  11704. description: 法人姓名(企业)
  11705. type: string
  11706. logincode:
  11707. description: 登录账号(代码)
  11708. type: string
  11709. memberuserid:
  11710. description: 所属机构ID(所属会员)
  11711. type: integer
  11712. memberusername:
  11713. description: 所属会员名称
  11714. type: string
  11715. mobile:
  11716. description: 手机号码
  11717. type: string
  11718. modifytime:
  11719. description: 修改时间
  11720. type: string
  11721. nickname:
  11722. description: 昵称
  11723. type: string
  11724. parentuserid:
  11725. description: 上级机构(所属机构)
  11726. type: integer
  11727. parentusername:
  11728. description: 所属机构名称
  11729. type: string
  11730. provinceid:
  11731. description: 省
  11732. type: integer
  11733. provincename:
  11734. description: 省名称
  11735. type: string
  11736. proxystatementurl:
  11737. description: 授权委托书
  11738. type: string
  11739. remark:
  11740. description: 备注
  11741. type: string
  11742. status:
  11743. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11744. type: integer
  11745. statusdesc:
  11746. description: 账户状态中文描述
  11747. type: string
  11748. taxpayernum:
  11749. description: 纳税人识别号
  11750. type: string
  11751. telphone:
  11752. description: 联系电话
  11753. type: string
  11754. userid:
  11755. description: 用户ID
  11756. type: integer
  11757. userinfotype:
  11758. description: 客户类型 1-个人 2-企业
  11759. type: integer
  11760. username:
  11761. description: 用户名称
  11762. type: string
  11763. type: object
  11764. models.QhjCustomerSignLog:
  11765. properties:
  11766. agreementcontent:
  11767. description: 协议内容
  11768. type: string
  11769. agreementid:
  11770. description: 协议ID
  11771. type: integer
  11772. agreementname:
  11773. description: 协议名称
  11774. type: string
  11775. agreementno:
  11776. description: 协议编号
  11777. type: string
  11778. agreementtype:
  11779. description: 协议类型 - 1:注册 2:登录 3:交易
  11780. type: integer
  11781. agreementversion:
  11782. description: 协议版本号
  11783. type: integer
  11784. createtime:
  11785. description: 创建时间
  11786. type: string
  11787. goodscode:
  11788. description: 商品代码
  11789. type: string
  11790. goodsid:
  11791. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11792. type: integer
  11793. goodsname:
  11794. description: 商品名称
  11795. type: string
  11796. logid:
  11797. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11798. type: integer
  11799. nodetype:
  11800. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11801. type: integer
  11802. signadressurl:
  11803. description: 签约文件地址
  11804. type: string
  11805. signtimestamp:
  11806. description: 签约状态时间戳
  11807. type: string
  11808. userid:
  11809. description: 客户ID
  11810. type: integer
  11811. username:
  11812. description: 客户名称
  11813. type: string
  11814. type: object
  11815. models.QhjCustomerSignStatus:
  11816. properties:
  11817. createtime:
  11818. description: 创建时间
  11819. type: string
  11820. goodscode:
  11821. description: 商品代码
  11822. type: string
  11823. goodsid:
  11824. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11825. type: integer
  11826. goodsname:
  11827. description: 商品名称
  11828. type: string
  11829. nodetype:
  11830. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11831. type: integer
  11832. signtimestamp:
  11833. description: 签约状态时间戳
  11834. type: string
  11835. tradedate:
  11836. description: 创建交易日(yyyyMMdd)
  11837. type: string
  11838. updatetime:
  11839. description: 更新时间
  11840. type: string
  11841. userid:
  11842. description: 客户ID
  11843. type: integer
  11844. username:
  11845. description: 客户名称
  11846. type: string
  11847. type: object
  11848. models.QhjMgrAccountOutInApply:
  11849. properties:
  11850. accountcode:
  11851. description: 资金账号
  11852. type: string
  11853. accountname:
  11854. description: 用户名称(名称)
  11855. type: string
  11856. accountpwd:
  11857. description: 资金密码
  11858. type: string
  11859. accountticket:
  11860. description: 最新账户服务流水号
  11861. type: string
  11862. amount:
  11863. description: 金额
  11864. type: number
  11865. applyremark:
  11866. description: 申请备注
  11867. type: string
  11868. applystatus:
  11869. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11870. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11871. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11872. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11873. type: integer
  11874. auditid:
  11875. description: 审核人
  11876. type: integer
  11877. audittime:
  11878. description: 审核时间
  11879. type: string
  11880. bank_apply_ticket:
  11881. description: 银行申请流水
  11882. type: string
  11883. bankaccountname:
  11884. description: 银行账户名
  11885. type: string
  11886. bankaccountno:
  11887. description: 银行卡号
  11888. type: string
  11889. bankid:
  11890. description: 银行编号
  11891. type: string
  11892. bankname:
  11893. description: 银行名称
  11894. type: string
  11895. bankticket:
  11896. description: 银行流水
  11897. type: string
  11898. branchbankid:
  11899. description: 银行支行号
  11900. type: string
  11901. branchbankname:
  11902. description: 银行支行名称
  11903. type: string
  11904. capamountout:
  11905. description: 出金(劣后本金) - 外部子账户
  11906. type: number
  11907. certificatephotourl:
  11908. description: 凭证地址
  11909. type: string
  11910. charge:
  11911. description: 手续费
  11912. type: number
  11913. checkerrorflag:
  11914. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11915. type: integer
  11916. currency:
  11917. description: 币种
  11918. type: string
  11919. cusbankid:
  11920. description: 托管银行编号
  11921. type: string
  11922. exchticket:
  11923. description: 银行服务流水号
  11924. type: string
  11925. executetype:
  11926. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11927. 7:外部子账户:入金 8:外部子账户:出金'
  11928. type: integer
  11929. extendinfo:
  11930. description: 扩展信息
  11931. type: string
  11932. extoperateid:
  11933. description: 交易服务流水号
  11934. type: integer
  11935. infamount:
  11936. description: 劣后金额(自有)
  11937. type: number
  11938. logincode:
  11939. description: 登录账号(账号)
  11940. type: string
  11941. netaddr:
  11942. description: 调转网址
  11943. type: string
  11944. priamount:
  11945. description: 优先金额(授信)
  11946. type: number
  11947. reauditid:
  11948. description: 复审人
  11949. type: integer
  11950. reauditremark:
  11951. description: 复审备注
  11952. type: string
  11953. reaudittime:
  11954. description: 复审时间
  11955. type: string
  11956. relatedorderid:
  11957. description: 三方关联ID
  11958. type: string
  11959. remark:
  11960. description: 备注
  11961. type: string
  11962. remark2:
  11963. description: 备注(失败原因)
  11964. type: string
  11965. soucreamount:
  11966. description: 原始出入金金额
  11967. type: number
  11968. soucrecurrencyid:
  11969. description: 原始出入金币种
  11970. type: integer
  11971. tradedate:
  11972. description: 交易日(yyyyMMdd)
  11973. type: string
  11974. updatetime:
  11975. description: 更新时间(申请时间)
  11976. type: string
  11977. userid:
  11978. description: 用户id
  11979. type: integer
  11980. userinfotype:
  11981. description: 账户类型 1-个人 2-企业
  11982. type: integer
  11983. type: object
  11984. models.QhjMgrBrokerApply:
  11985. properties:
  11986. applicantid:
  11987. description: 申请人
  11988. type: integer
  11989. applysrc:
  11990. description: 申请来源 - 1:管理端 2:终端
  11991. type: integer
  11992. applystatus:
  11993. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11994. type: integer
  11995. applytime:
  11996. description: 申请时间
  11997. type: string
  11998. auditorid:
  11999. description: 审核人
  12000. type: integer
  12001. auditremark:
  12002. description: 审核备注
  12003. type: string
  12004. auditsrc:
  12005. description: 审核来源 - 1:管理端 2:终端
  12006. type: integer
  12007. audittime:
  12008. description: 审核时间
  12009. type: string
  12010. audittradedate:
  12011. description: 审核交易日(yyyyMMdd)
  12012. type: string
  12013. brokerapplyid:
  12014. description: 申请ID(SEQ_BROKERAPPLY)
  12015. type: integer
  12016. cardbackphotourl:
  12017. description: 证件背面图片地址
  12018. type: string
  12019. cardfrontphotourl:
  12020. description: 证件正面图片地址
  12021. type: string
  12022. cardnum:
  12023. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12024. type: string
  12025. customername:
  12026. description: 姓名
  12027. type: string
  12028. filterstatus:
  12029. description: 筛选条件
  12030. type: string
  12031. logincode:
  12032. description: 登录代码
  12033. type: string
  12034. mobile:
  12035. description: 手机号码
  12036. type: string
  12037. parentuserid:
  12038. description: 所属机构id
  12039. type: integer
  12040. parentusername:
  12041. description: 所属机构名称
  12042. type: string
  12043. refereeuserid:
  12044. description: 推荐人id(经纪人)
  12045. type: integer
  12046. refernum:
  12047. description: 推荐码
  12048. type: string
  12049. remark:
  12050. description: 备注
  12051. type: string
  12052. subarealevelpath:
  12053. description: 层级路径
  12054. type: string
  12055. tradedate:
  12056. description: 交易日(yyyyMMdd)
  12057. type: string
  12058. userid:
  12059. description: 申请人用户ID
  12060. type: integer
  12061. userinfotype:
  12062. description: 用户类型 1-个人 2-企业
  12063. type: integer
  12064. username:
  12065. description: 用户名称
  12066. type: string
  12067. type: object
  12068. models.QhjMgrBrokerRewardReport:
  12069. properties:
  12070. createtime:
  12071. description: 创建时间(注册时间)
  12072. type: string
  12073. cycletime:
  12074. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12075. type: string
  12076. cycletype:
  12077. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12078. type: integer
  12079. directtotalnum:
  12080. description: 直推总人数【期末】
  12081. type: integer
  12082. indirecttotalnum:
  12083. description: 间推总人数【期末】
  12084. type: integer
  12085. mobile:
  12086. description: 电话号码
  12087. type: string
  12088. refereeuserid:
  12089. description: 推荐人id(经纪人id)
  12090. type: integer
  12091. refereeusername:
  12092. description: 推荐人名称(经纪人) 上级经纪人名称
  12093. type: string
  12094. refernum:
  12095. description: 推荐码
  12096. type: string
  12097. subarealevelpath:
  12098. description: 用户层级路径
  12099. type: string
  12100. todayrewardamount:
  12101. description: 奖励总金额【汇总】
  12102. type: number
  12103. updatetime:
  12104. description: 更新时间
  12105. type: string
  12106. userid:
  12107. description: 经纪人用户ID
  12108. type: integer
  12109. userinfotype:
  12110. description: 用户类型 1-个人 2-企业
  12111. type: integer
  12112. username:
  12113. description: 用户名称
  12114. type: string
  12115. type: object
  12116. models.QhjMgrContract:
  12117. properties:
  12118. contractconfirmtime:
  12119. description: 合同确认时间(时间)
  12120. type: string
  12121. currisklevel:
  12122. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12123. type: integer
  12124. decimalplace:
  12125. description: 商品报价小数位
  12126. type: integer
  12127. enumdicname:
  12128. description: 单位名称
  12129. type: string
  12130. goodscode:
  12131. description: 商品代码
  12132. type: string
  12133. goodsid:
  12134. description: 商品ID [5:融资单]
  12135. type: integer
  12136. goodsname:
  12137. description: 商品名称
  12138. type: string
  12139. goodunitid:
  12140. description: 商品单位id
  12141. type: integer
  12142. initmargin:
  12143. description: 初始保证金(首付款)
  12144. type: number
  12145. lenderamount:
  12146. description: 贷款金额(总额|订单总额)
  12147. type: number
  12148. logincode:
  12149. description: 账号(登录代码)
  12150. type: string
  12151. marginratio:
  12152. description: 保证金比率(首付比例)
  12153. type: number
  12154. mobile:
  12155. description: 电话号码(用户资料里的电话)
  12156. type: string
  12157. payamount:
  12158. description: 已付(已付货款)
  12159. type: number
  12160. reckonrecovermargin:
  12161. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12162. type: number
  12163. recoveredmargin:
  12164. description: 已追缴保证金
  12165. type: number
  12166. remainamount:
  12167. description: 合同剩余金额(融资额)
  12168. type: number
  12169. scfcontractid:
  12170. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12171. type: string
  12172. scfcontractstatus:
  12173. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12174. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12175. type: integer
  12176. scfcontracttype:
  12177. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12178. type: integer
  12179. totalinterest:
  12180. description: 已计总利息(利息)
  12181. type: number
  12182. tradedate:
  12183. description: 交易日
  12184. type: string
  12185. tradeprice:
  12186. description: 成交价格(成本价格)
  12187. type: number
  12188. userid:
  12189. description: 用户ID
  12190. type: integer
  12191. userinfotype:
  12192. description: 用户类型 1-个人 2-企业
  12193. type: integer
  12194. username:
  12195. description: 用户名称
  12196. type: string
  12197. wrqty:
  12198. description: 仓单数量(数量)
  12199. type: number
  12200. type: object
  12201. models.QhjMgrCustomer:
  12202. properties:
  12203. address:
  12204. description: 通讯地址
  12205. type: string
  12206. attachment1:
  12207. description: 附件1
  12208. type: string
  12209. audittime:
  12210. description: 审核时间
  12211. type: string
  12212. birthday:
  12213. description: 生日
  12214. type: string
  12215. brokerid:
  12216. description: 所属客户经理id
  12217. type: integer
  12218. brokername:
  12219. description: 所属客户经理名称
  12220. type: string
  12221. cardbackphotourl:
  12222. description: 证件反面图片地址
  12223. type: string
  12224. cardfrontphotourl:
  12225. description: 证件正面图片地址
  12226. type: string
  12227. cardnum:
  12228. description: 证件号码
  12229. type: string
  12230. cardtype:
  12231. description: 证件类型
  12232. type: integer
  12233. cardtypename:
  12234. description: 证件类型名称
  12235. type: string
  12236. cityid:
  12237. description: 市
  12238. type: integer
  12239. cityname:
  12240. description: 城市名称
  12241. type: string
  12242. contactname:
  12243. description: 联系人
  12244. type: string
  12245. countryid:
  12246. description: 国家
  12247. type: integer
  12248. countryname:
  12249. description: 国家名称
  12250. type: string
  12251. createtime:
  12252. description: 创建时间
  12253. type: string
  12254. customername:
  12255. description: 客户名称
  12256. type: string
  12257. districtid:
  12258. description: 区域
  12259. type: integer
  12260. districtname:
  12261. description: 地区名称
  12262. type: string
  12263. email:
  12264. description: 邮件
  12265. type: string
  12266. legalpersonname:
  12267. description: 法人姓名(企业)
  12268. type: string
  12269. logincode:
  12270. description: 登录账号(代码)
  12271. type: string
  12272. memberuserid:
  12273. description: 所属机构ID(所属会员)
  12274. type: integer
  12275. memberusername:
  12276. description: 所属会员名称
  12277. type: string
  12278. mobile:
  12279. description: 手机号码
  12280. type: string
  12281. modifytime:
  12282. description: 修改时间
  12283. type: string
  12284. nickname:
  12285. description: 昵称
  12286. type: string
  12287. parentuserid:
  12288. description: 上级机构(所属机构)
  12289. type: integer
  12290. parentusername:
  12291. description: 所属机构名称
  12292. type: string
  12293. provinceid:
  12294. description: 省
  12295. type: integer
  12296. provincename:
  12297. description: 省名称
  12298. type: string
  12299. proxystatementurl:
  12300. description: 授权委托书
  12301. type: string
  12302. querytype:
  12303. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12304. type: integer
  12305. remark:
  12306. description: 备注
  12307. type: string
  12308. sex:
  12309. description: 性别 0-女 1-男
  12310. type: integer
  12311. status:
  12312. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12313. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12314. type: integer
  12315. statusdesc:
  12316. description: 账户状态中文描述
  12317. type: string
  12318. taxpayernum:
  12319. description: 纳税人识别号
  12320. type: string
  12321. telphone:
  12322. description: 联系电话
  12323. type: string
  12324. userid:
  12325. description: 用户ID
  12326. type: integer
  12327. userinfotype:
  12328. description: 客户类型 1-个人 2-企业
  12329. type: integer
  12330. username:
  12331. description: 用户名称
  12332. type: string
  12333. type: object
  12334. models.QhjMgrPickGoods:
  12335. properties:
  12336. enumdicname:
  12337. description: 单位名称(提货商品)
  12338. type: string
  12339. goodsid:
  12340. description: 商品id
  12341. type: integer
  12342. imageaddress:
  12343. description: 图片
  12344. type: string
  12345. modifierid:
  12346. description: 修改人
  12347. type: integer
  12348. modifiername:
  12349. description: 修改人名称
  12350. type: string
  12351. modifysrc:
  12352. description: 修改来源 - 1:管理端 2:终端
  12353. type: integer
  12354. pickupgoodsagreeunit:
  12355. description: 合约乘数
  12356. type: number
  12357. pickupgoodsdesc:
  12358. description: 描述
  12359. type: string
  12360. pickupgoodsid:
  12361. description: 提货商品ID
  12362. type: string
  12363. pickupgoodsname:
  12364. description: 提货商品名称
  12365. type: string
  12366. pickupgoodsstatus:
  12367. description: 状态 - 1:正常 2:停用 3:注销
  12368. type: integer
  12369. pickupgoodsunitid:
  12370. description: 单位ID
  12371. type: integer
  12372. pickupratio:
  12373. description: 提货系数
  12374. type: number
  12375. preparedays:
  12376. description: 备货期(天)
  12377. type: integer
  12378. remark:
  12379. description: 备注
  12380. type: string
  12381. updatetime:
  12382. description: 更新时间
  12383. type: string
  12384. type: object
  12385. models.QhjMgrPositionRsp:
  12386. properties:
  12387. accountid:
  12388. description: 账号Id
  12389. type: integer
  12390. accountname:
  12391. description: 用户名称
  12392. type: string
  12393. agreeunit:
  12394. description: 合约乘数
  12395. type: number
  12396. averageprice:
  12397. description: 均价
  12398. type: number
  12399. avialqty:
  12400. description: 可用数量
  12401. type: number
  12402. decimalplace:
  12403. description: 报价小数位
  12404. type: integer
  12405. enumdicname:
  12406. description: 单位名称(商品)
  12407. type: string
  12408. frozenqty:
  12409. description: 冻结数量
  12410. type: number
  12411. goodscode:
  12412. description: 商品代码(内部)
  12413. type: string
  12414. goodsid:
  12415. description: 商品Id
  12416. type: integer
  12417. goodsname:
  12418. description: 商品名称
  12419. type: string
  12420. goodunitid:
  12421. description: 报价单位ID
  12422. type: integer
  12423. holderamount:
  12424. description: 金额
  12425. type: number
  12426. holderqty:
  12427. description: 持有数量
  12428. type: number
  12429. holdertype:
  12430. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12431. type: integer
  12432. logincode:
  12433. description: 登录代码(账户)
  12434. type: string
  12435. marketid:
  12436. description: 市场id
  12437. type: integer
  12438. qtydecimalplace:
  12439. description: 成交量小数位
  12440. type: integer
  12441. trademode:
  12442. description: 交易模式
  12443. type: integer
  12444. userid:
  12445. description: 用户id
  12446. type: integer
  12447. userinfotype:
  12448. description: 账户类型 1-个人 2-企业
  12449. type: integer
  12450. type: object
  12451. models.QhjMgrSubArea:
  12452. properties:
  12453. accountname:
  12454. description: 账户名称(机构名称)
  12455. type: string
  12456. memberuserid:
  12457. description: 所属会员ID
  12458. type: integer
  12459. parenttopuser:
  12460. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12461. type: string
  12462. parentuserid:
  12463. description: 所属机构ID
  12464. type: integer
  12465. rootuserid:
  12466. description: 根用户ID
  12467. type: string
  12468. subaccountlevel:
  12469. description: 子账户层数
  12470. type: integer
  12471. subarealevelpath:
  12472. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12473. type: string
  12474. userid:
  12475. description: 用户ID
  12476. type: integer
  12477. usertype:
  12478. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12479. type: integer
  12480. type: object
  12481. models.QhjMgrTradeDetailRsp:
  12482. properties:
  12483. accountid:
  12484. description: 资金账号
  12485. type: integer
  12486. accountname:
  12487. description: 用户名称
  12488. type: string
  12489. agreeunit:
  12490. description: 合约乘数
  12491. type: number
  12492. buyorsell:
  12493. description: 成交类型(方向) 0:买 1:卖
  12494. type: integer
  12495. decimalplace:
  12496. description: 报价小数位
  12497. type: integer
  12498. enumdicname:
  12499. description: 单位名称(商品)
  12500. type: string
  12501. goodscode:
  12502. description: 商品代码(内部)
  12503. type: string
  12504. goodsid:
  12505. description: 商品id
  12506. type: integer
  12507. goodsname:
  12508. description: 商品名称
  12509. type: string
  12510. goodunitid:
  12511. description: 报价单位ID
  12512. type: integer
  12513. logincode:
  12514. description: 登录代码(账户)
  12515. type: string
  12516. marketid:
  12517. description: 市场id
  12518. type: integer
  12519. orderid:
  12520. description: 关联委托单号
  12521. type: string
  12522. qtydecimalplace:
  12523. description: 成交量小数位
  12524. type: integer
  12525. tradeamount:
  12526. description: 金额
  12527. type: number
  12528. tradedate:
  12529. description: 交易日
  12530. type: string
  12531. tradeid:
  12532. description: 成交单号
  12533. type: string
  12534. trademode:
  12535. description: 交易模式
  12536. type: integer
  12537. tradeprice:
  12538. description: 价格
  12539. type: number
  12540. tradeqty:
  12541. description: 数量
  12542. type: number
  12543. tradetime:
  12544. description: 成交时间
  12545. type: string
  12546. userid:
  12547. description: 用户id
  12548. type: integer
  12549. userinfotype:
  12550. description: 账户类型 1-个人 2-企业
  12551. type: integer
  12552. type: object
  12553. models.QhjMgrTradeOrderDetailRsp:
  12554. properties:
  12555. accountid:
  12556. description: 资金账号
  12557. type: integer
  12558. accountname:
  12559. description: 用户名称
  12560. type: string
  12561. agreeunit:
  12562. description: 合约乘数
  12563. type: number
  12564. amount:
  12565. description: 金额
  12566. type: number
  12567. decimalplace:
  12568. description: 报价小数位
  12569. type: integer
  12570. enumdicname:
  12571. description: 单位名称(商品)
  12572. type: string
  12573. goodscode:
  12574. description: 商品代码(内部)
  12575. type: string
  12576. goodsid:
  12577. description: 商品id
  12578. type: integer
  12579. goodsname:
  12580. description: 商品名称
  12581. type: string
  12582. goodunitid:
  12583. description: 报价单位ID
  12584. type: integer
  12585. logincode:
  12586. description: 登录代码(账户)
  12587. type: string
  12588. marketid:
  12589. description: 市场id
  12590. type: integer
  12591. orderid:
  12592. description: 关联委托单号
  12593. type: string
  12594. orderprice:
  12595. description: 价格
  12596. type: number
  12597. orderqty:
  12598. description: 数量
  12599. type: number
  12600. orderstatus:
  12601. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12602. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12603. 16:成交失败违约(荷兰式竞拍专用)
  12604. type: integer
  12605. ordertime:
  12606. description: 委托时间
  12607. type: string
  12608. qtydecimalplace:
  12609. description: 成交量小数位
  12610. type: integer
  12611. tradedate:
  12612. description: 交易日
  12613. type: string
  12614. trademode:
  12615. description: 交易模式
  12616. type: integer
  12617. userid:
  12618. description: 用户id
  12619. type: integer
  12620. userinfotype:
  12621. description: 账户类型 1-个人 2-企业
  12622. type: integer
  12623. type: object
  12624. models.QhjMgrTradePayOrder:
  12625. properties:
  12626. accountname:
  12627. description: 用户名称
  12628. type: string
  12629. advanceratio:
  12630. description: 首付比率
  12631. type: number
  12632. agreeunit:
  12633. description: 合约乘数
  12634. type: number
  12635. buyaccountid:
  12636. description: 买方账号ID[报价币种]
  12637. type: integer
  12638. buyorderid:
  12639. description: 买方委托单号(关联单号)
  12640. type: string
  12641. createtime:
  12642. description: 创建时间
  12643. type: string
  12644. decimalplace:
  12645. description: 报价小数位
  12646. type: integer
  12647. enumdicname:
  12648. description: 单位名称(商品)
  12649. type: string
  12650. goodscode:
  12651. description: 商品代码(内部)
  12652. type: string
  12653. goodsid:
  12654. description: 商品ID
  12655. type: integer
  12656. goodsname:
  12657. description: 商品名称
  12658. type: string
  12659. goodunitid:
  12660. description: 报价单位ID
  12661. type: integer
  12662. logincode:
  12663. description: 登录代码(账户)
  12664. type: string
  12665. marketid:
  12666. description: 市场id
  12667. type: integer
  12668. offamount:
  12669. description: 优惠金额
  12670. type: number
  12671. operatetype:
  12672. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12673. type: integer
  12674. payamount:
  12675. description: 支付金额(金额)
  12676. type: number
  12677. payflag:
  12678. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12679. type: integer
  12680. paylimitedtime:
  12681. description: 支付期限
  12682. type: string
  12683. paytime:
  12684. description: 付款时间
  12685. type: string
  12686. qtydecimalplace:
  12687. description: 成交量小数位
  12688. type: integer
  12689. sellaccountid:
  12690. description: 卖方账号ID[报价币种]
  12691. type: integer
  12692. sellorderid:
  12693. description: 卖方委托单号
  12694. type: string
  12695. tradeamount:
  12696. description: 成交金额(优惠后金额)
  12697. type: number
  12698. tradecharge:
  12699. description: 成交手续费(买方)
  12700. type: number
  12701. tradedate:
  12702. description: 交易日(yyyyMMdd)
  12703. type: string
  12704. tradeid:
  12705. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12706. type: string
  12707. trademode:
  12708. description: 交易模式
  12709. type: integer
  12710. tradeprice:
  12711. description: 成交价格(价格)
  12712. type: number
  12713. tradeqty:
  12714. description: 成交数量(数量)
  12715. type: number
  12716. tradetime:
  12717. description: 成交时间
  12718. type: string
  12719. userid:
  12720. description: 用户id
  12721. type: integer
  12722. userinfotype:
  12723. description: 账户类型 1-个人 2-企业
  12724. type: integer
  12725. type: object
  12726. models.QhjMyTeamEx:
  12727. properties:
  12728. accountname:
  12729. description: 用户名称
  12730. type: string
  12731. accountstatus:
  12732. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12733. type: integer
  12734. createtime:
  12735. description: 创建时间
  12736. type: string
  12737. mobile:
  12738. description: 手机号码
  12739. type: string
  12740. refereeuserid:
  12741. description: 推荐人id
  12742. type: integer
  12743. refernum:
  12744. description: 推荐码
  12745. type: string
  12746. subList:
  12747. items:
  12748. $ref: '#/definitions/models.QhjMyTeamEx'
  12749. type: array
  12750. userid:
  12751. description: 用户id
  12752. type: integer
  12753. userinfotype:
  12754. description: 用户类型 1-个人 2-企业
  12755. type: integer
  12756. type: object
  12757. models.QhjNodeAgreementConfig:
  12758. properties:
  12759. agreementcontent:
  12760. description: 协议内容
  12761. type: string
  12762. agreementid:
  12763. description: 协议ID
  12764. type: integer
  12765. agreementname:
  12766. description: 协议名称
  12767. type: string
  12768. agreementno:
  12769. description: 协议编号
  12770. type: string
  12771. agreementtype:
  12772. description: 协议类型 - 1:注册 2:登录 3:交易
  12773. type: integer
  12774. agreementversion:
  12775. description: 协议版本号
  12776. type: integer
  12777. configid:
  12778. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12779. type: integer
  12780. createtime:
  12781. description: 创建时间
  12782. type: string
  12783. goodsid:
  12784. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12785. type: integer
  12786. nodetype:
  12787. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12788. type: integer
  12789. type: object
  12790. models.QhjParentAreaList:
  12791. properties:
  12792. accountname:
  12793. description: 账户名称(机构名称)
  12794. type: string
  12795. userid:
  12796. description: 用户ID
  12797. type: integer
  12798. usertype:
  12799. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12800. type: integer
  12801. type: object
  12802. models.QhjPayOrder:
  12803. properties:
  12804. advanceratio:
  12805. description: 首付比率
  12806. type: number
  12807. buyaccountid:
  12808. description: 买方账号ID[报价币种]
  12809. type: integer
  12810. buyorderid:
  12811. description: 买方委托单号
  12812. type: string
  12813. createtime:
  12814. description: 创建时间
  12815. type: string
  12816. decimalplace:
  12817. description: 商品报价小数位
  12818. type: integer
  12819. enumdicname:
  12820. description: 单位名称
  12821. type: string
  12822. goodscode:
  12823. description: 商品代码
  12824. type: string
  12825. goodsid:
  12826. description: 商品ID
  12827. type: integer
  12828. goodsname:
  12829. description: 商品名称
  12830. type: string
  12831. goodunitid:
  12832. description: 商品单位id
  12833. type: integer
  12834. marketid:
  12835. description: 市场ID
  12836. type: integer
  12837. offamount:
  12838. description: 优惠金额
  12839. type: number
  12840. operatetype:
  12841. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12842. type: integer
  12843. payamount:
  12844. description: 支付金额
  12845. type: number
  12846. payflag:
  12847. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12848. type: integer
  12849. paylimitedtime:
  12850. description: 支付期限
  12851. type: string
  12852. paytime:
  12853. description: 付款时间
  12854. type: string
  12855. qtydecimalplace:
  12856. description: 成交量小数位
  12857. type: integer
  12858. sellaccountid:
  12859. description: 卖方账号ID[报价币种]
  12860. type: integer
  12861. sellorderid:
  12862. description: 卖方委托单号
  12863. type: string
  12864. tradeamount:
  12865. description: 成交金额(优惠后金额)
  12866. type: number
  12867. tradecharge:
  12868. description: 成交手续费(买方)
  12869. type: number
  12870. tradedate:
  12871. description: 交易日(yyyyMMdd)
  12872. type: string
  12873. tradeid:
  12874. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12875. type: string
  12876. tradeprice:
  12877. description: 成交价格
  12878. type: number
  12879. tradeqty:
  12880. description: 成交数量
  12881. type: number
  12882. type: object
  12883. models.QhjPickArea:
  12884. properties:
  12885. address:
  12886. description: 详细地址
  12887. type: string
  12888. cityid:
  12889. description: 市
  12890. type: integer
  12891. cityname:
  12892. description: 城市名称
  12893. type: string
  12894. countryid:
  12895. description: 国家
  12896. type: integer
  12897. countryname:
  12898. description: 国家名称
  12899. type: string
  12900. districtid:
  12901. description: 地区
  12902. type: integer
  12903. districtname:
  12904. description: 地区名称
  12905. type: string
  12906. fromuserid:
  12907. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12908. type: integer
  12909. fromusername:
  12910. description: 所属机构名称
  12911. type: string
  12912. provinceid:
  12913. description: 省
  12914. type: integer
  12915. provincename:
  12916. description: 省名称
  12917. type: string
  12918. suborgtype:
  12919. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12920. type: integer
  12921. userid:
  12922. description: 机构用户ID 其他做市关系,都设置为 1
  12923. type: integer
  12924. username:
  12925. description: 机构用户名称(门店门称)
  12926. type: string
  12927. type: object
  12928. models.QhjPickGoods:
  12929. properties:
  12930. enumdicname:
  12931. description: 单位名称(提货商品)
  12932. type: string
  12933. goodsid:
  12934. description: 商品id
  12935. type: integer
  12936. imageaddress:
  12937. description: 图片
  12938. type: string
  12939. modifierid:
  12940. description: 修改人
  12941. type: integer
  12942. modifiername:
  12943. description: 修改人名称
  12944. type: string
  12945. modifysrc:
  12946. description: 修改来源 - 1:管理端 2:终端
  12947. type: integer
  12948. pickupgoodsagreeunit:
  12949. description: 合约乘数
  12950. type: number
  12951. pickupgoodsdesc:
  12952. description: 描述
  12953. type: string
  12954. pickupgoodsid:
  12955. description: 提货商品ID
  12956. type: string
  12957. pickupgoodsname:
  12958. description: 提货商品名称
  12959. type: string
  12960. pickupgoodsstatus:
  12961. description: 状态 - 1:正常 2:停用 3:注销
  12962. type: integer
  12963. pickupgoodsunitid:
  12964. description: 单位ID
  12965. type: integer
  12966. pickupratio:
  12967. description: 提货系数
  12968. type: number
  12969. preparedays:
  12970. description: 备货期(天)
  12971. type: integer
  12972. remark:
  12973. description: 备注
  12974. type: string
  12975. updatetime:
  12976. description: 更新时间
  12977. type: string
  12978. type: object
  12979. models.QhjRSTriggerLog:
  12980. properties:
  12981. accountid:
  12982. description: 用户资金账户
  12983. type: integer
  12984. accountname:
  12985. description: 账号名称(ACCOUNTID对应的名称)
  12986. type: string
  12987. currencyid:
  12988. description: 币种id
  12989. type: integer
  12990. currencyname:
  12991. description: 币种名称
  12992. type: string
  12993. decimalplace:
  12994. description: 商品报价小数位
  12995. type: integer
  12996. enumdicname:
  12997. description: 单位名称
  12998. type: string
  12999. goodscode:
  13000. description: 定投商品代码
  13001. type: string
  13002. goodsid:
  13003. description: 定投商品ID
  13004. type: integer
  13005. goodsname:
  13006. description: 定投商品名称
  13007. type: string
  13008. goodunitid:
  13009. description: 定投商品单位id
  13010. type: integer
  13011. logid:
  13012. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13013. type: string
  13014. logincode:
  13015. description: 账号(登录代码)
  13016. type: string
  13017. qtydecimalplace:
  13018. description: 成交量小数位
  13019. type: integer
  13020. regularlycycle:
  13021. description: 定投频率 - 1:每周 2:每月
  13022. type: integer
  13023. regularlycyclevalue:
  13024. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13025. type: string
  13026. regularlymode:
  13027. description: 定投方式 - 1:按数量 2:按金额
  13028. type: integer
  13029. regularlymodevalue:
  13030. description: 定投方式值 - 数量或金额
  13031. type: number
  13032. regularlystrategyid:
  13033. description: 定投策略ID
  13034. type: integer
  13035. retcode:
  13036. description: 错误码
  13037. type: string
  13038. tradeid:
  13039. description: 成交单ID
  13040. type: string
  13041. triggeramount:
  13042. description: 触发金额
  13043. type: number
  13044. triggerqty:
  13045. description: 触发数量
  13046. type: number
  13047. triggerstatus:
  13048. description: 触发状态 - 1:成功 2:失败
  13049. type: integer
  13050. triggertime:
  13051. description: 触发时间
  13052. type: string
  13053. triggertradedate:
  13054. description: 触发交易日
  13055. type: string
  13056. userid:
  13057. description: 所属用户ID
  13058. type: integer
  13059. userinfotype:
  13060. description: 用户类型 1-个人 2-企业
  13061. type: integer
  13062. username:
  13063. description: 用户名称(userid对应的名称)
  13064. type: string
  13065. type: object
  13066. models.QhjRStrategy:
  13067. properties:
  13068. accountid:
  13069. description: 用户资金账户
  13070. type: integer
  13071. accountname:
  13072. description: 账号名称(ACCOUNTID对应的名称)
  13073. type: string
  13074. currencyid:
  13075. description: 币种id
  13076. type: integer
  13077. currencyname:
  13078. description: 币种名称
  13079. type: string
  13080. decimalplace:
  13081. description: 商品报价小数位
  13082. type: integer
  13083. enumdicname:
  13084. description: 单位名称
  13085. type: string
  13086. goodscode:
  13087. description: 定投商品代码
  13088. type: string
  13089. goodsid:
  13090. description: 定投商品ID
  13091. type: integer
  13092. goodsname:
  13093. description: 定投商品名称
  13094. type: string
  13095. goodunitid:
  13096. description: 定投商品单位id
  13097. type: integer
  13098. lasteffecttradedate:
  13099. description: 最新生效交易日
  13100. type: string
  13101. laststoptradedate:
  13102. description: 最新暂停交易日
  13103. type: string
  13104. lasttriggertradedate:
  13105. description: 最新触发交易日
  13106. type: string
  13107. logincode:
  13108. description: 账号(登录代码)
  13109. type: string
  13110. nexttriggeramount:
  13111. description: 下次触发金额
  13112. type: number
  13113. nexttriggerdate:
  13114. description: 下次触发日期
  13115. type: string
  13116. nexttriggerqty:
  13117. description: 下次触发数量 [按小数位放大值]
  13118. type: number
  13119. qtydecimalplace:
  13120. description: 成交量小数位
  13121. type: integer
  13122. regularlycycle:
  13123. description: 定投频率 - 1:每周 2:每月
  13124. type: integer
  13125. regularlycyclevalue:
  13126. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13127. type: string
  13128. regularlymode:
  13129. description: 定投方式 - 1:按数量 2:按金额
  13130. type: integer
  13131. regularlymodevalue:
  13132. description: 定投方式值 - 数量或金额
  13133. type: number
  13134. regularlystrategyid:
  13135. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13136. type: integer
  13137. regularlystrategystatus:
  13138. description: 策略状态 - 1:正常 2:暂停 3:终止
  13139. type: integer
  13140. remark:
  13141. description: 备注
  13142. type: string
  13143. triggersuccesstimes:
  13144. description: 累计定投成功次数
  13145. type: string
  13146. triggertotalamount:
  13147. description: 累计定投金额(成功)
  13148. type: number
  13149. triggertotalqty:
  13150. description: 累计定投数量(成功) [按小数位放大值]
  13151. type: number
  13152. triggertotaltimes:
  13153. description: 累计定投总次数
  13154. type: string
  13155. updatesrc:
  13156. description: 更新来源 - 1:管理端 2:终端
  13157. type: integer
  13158. updatetime:
  13159. description: 更新时间
  13160. type: string
  13161. updatorid:
  13162. description: 更新人
  13163. type: string
  13164. userid:
  13165. description: 所属用户ID
  13166. type: integer
  13167. userinfotype:
  13168. description: 用户类型 1-个人 2-企业
  13169. type: integer
  13170. username:
  13171. description: 用户名称(userid对应的名称)
  13172. type: string
  13173. type: object
  13174. models.QhjReckonPriceLog:
  13175. properties:
  13176. decimalplace:
  13177. description: 商品报价小数位
  13178. type: integer
  13179. goodscode:
  13180. description: 商品代码
  13181. type: string
  13182. goodsid:
  13183. description: 商品ID
  13184. type: integer
  13185. goodsname:
  13186. description: 商品名称
  13187. type: string
  13188. lastreckonprice:
  13189. description: 上日结算价
  13190. type: number
  13191. nextdnlimitprice:
  13192. description: 下个交易日跌停价
  13193. type: number
  13194. nexttrade:
  13195. description: 下个交易日
  13196. type: string
  13197. nextuplimitprice:
  13198. description: 下个交易日涨停价
  13199. type: number
  13200. reckonprice:
  13201. description: 今日结算价(定投价)
  13202. type: number
  13203. reckontime:
  13204. description: 结算时间
  13205. type: string
  13206. totalholderqty:
  13207. description: 总持仓数
  13208. type: integer
  13209. totalstock:
  13210. description: 总库存
  13211. type: integer
  13212. tradedate:
  13213. description: 交易日
  13214. type: string
  13215. updowncount:
  13216. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13217. type: integer
  13218. updownflag:
  13219. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13220. type: integer
  13221. updownrate:
  13222. description: 今日涨跌幅
  13223. type: number
  13224. updownrate_2d:
  13225. description: 连续两日涨跌幅
  13226. type: number
  13227. updownrate_3d:
  13228. description: 连续三日涨跌幅
  13229. type: number
  13230. type: object
  13231. models.QhjScoreLog:
  13232. properties:
  13233. accountid:
  13234. description: 账户ID
  13235. type: integer
  13236. createtime:
  13237. description: 创建时间(时间)
  13238. type: string
  13239. goodsid:
  13240. description: 商品ID
  13241. type: integer
  13242. hasuploaded:
  13243. description: 是否已同步(千海金) 0:未同步 1;已同步
  13244. type: integer
  13245. logid:
  13246. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13247. type: string
  13248. marketid:
  13249. description: 市场ID
  13250. type: integer
  13251. relatedamount:
  13252. description: 关联金额
  13253. type: number
  13254. relatedorderid:
  13255. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13256. type: string
  13257. scoreconfigvalue1:
  13258. description: 积分配置1
  13259. type: integer
  13260. scoreconfigvalue2:
  13261. description: 积分配置1
  13262. type: integer
  13263. scoretype:
  13264. description: 积分类型 - 1:提货积分
  13265. type: integer
  13266. scorevalue:
  13267. description: 积分
  13268. type: number
  13269. tradedate:
  13270. description: 交易日(yyyyMMdd)
  13271. type: string
  13272. uploadedtime:
  13273. description: 同步时间
  13274. type: string
  13275. userid:
  13276. description: 用户ID
  13277. type: integer
  13278. type: object
  13279. models.QhjSiteColumnDetail:
  13280. properties:
  13281. author:
  13282. description: 作者
  13283. type: string
  13284. brief:
  13285. description: 简介
  13286. type: string
  13287. columnid:
  13288. description: 所属栏目
  13289. type: integer
  13290. context:
  13291. description: 内容
  13292. type: string
  13293. coverimage:
  13294. description: 封面图片
  13295. type: string
  13296. creaedate:
  13297. description: 创建时间
  13298. type: string
  13299. creatorid:
  13300. description: 创建人
  13301. type: integer
  13302. hits:
  13303. description: 点击数
  13304. type: integer
  13305. id:
  13306. description: ID(SEQ_SITE_COLUMNDETAIL)
  13307. type: integer
  13308. isshow:
  13309. description: 是否展示 - 0:不展示 1:展示
  13310. type: integer
  13311. istop:
  13312. description: 是否置顶 - 0:不置 1:置顶
  13313. type: integer
  13314. modifierid:
  13315. description: 操作人
  13316. type: integer
  13317. publishdate:
  13318. description: 发布日期
  13319. type: string
  13320. status:
  13321. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13322. type: integer
  13323. title:
  13324. description: 标题
  13325. type: string
  13326. updatedate:
  13327. description: 修改时间
  13328. type: string
  13329. userid:
  13330. description: 用户ID(默认为0, 核心为为机构用户ID)
  13331. type: integer
  13332. username:
  13333. description: 用户名称
  13334. type: string
  13335. type: object
  13336. models.QhjTeamOrder:
  13337. properties:
  13338. accountid:
  13339. description: 账户ID[报价币种]
  13340. type: integer
  13341. accountname:
  13342. description: 账户名称
  13343. type: string
  13344. agreeunit:
  13345. description: 合约乘数
  13346. type: number
  13347. buyorsell:
  13348. description: 方向 - 0:买 1:卖
  13349. type: integer
  13350. decimalplace:
  13351. description: 报价小数位
  13352. type: integer
  13353. enumdicname:
  13354. description: 单位名称
  13355. type: string
  13356. goodscode:
  13357. description: 商品代码(内部)
  13358. type: string
  13359. goodsid:
  13360. description: 商品ID
  13361. type: integer
  13362. goodsname:
  13363. description: 商品名称
  13364. type: string
  13365. goodunitid:
  13366. description: 报价单位ID
  13367. type: integer
  13368. marketid:
  13369. description: 市场ID
  13370. type: integer
  13371. marketname:
  13372. description: 市场名称
  13373. type: string
  13374. qtydecimalplace:
  13375. description: 成交量小数位
  13376. type: integer
  13377. refereeuserid:
  13378. description: 推荐人ID
  13379. type: integer
  13380. tradeamount:
  13381. description: 成交金额[账户币种,用于所有权]
  13382. type: number
  13383. tradedate:
  13384. description: 交易日(yyyyMMdd)
  13385. type: string
  13386. trademode:
  13387. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13388. 21:竞拍-大宗式 22:受托竞价
  13389. type: integer
  13390. tradeprice:
  13391. description: 成交价格
  13392. type: number
  13393. tradeqty:
  13394. description: 成交数量
  13395. type: number
  13396. tradetime:
  13397. description: 成交时间
  13398. type: string
  13399. userid:
  13400. description: 用户ID
  13401. type: integer
  13402. type: object
  13403. models.QhjTradeGoodsPickup:
  13404. properties:
  13405. accountid:
  13406. description: 账户ID
  13407. type: integer
  13408. address:
  13409. description: 提货人详细地址
  13410. type: string
  13411. amount:
  13412. description: 提货金额
  13413. type: number
  13414. artradedate:
  13415. description: 自动收货交易日(yyyyMMdd)
  13416. type: string
  13417. auditer:
  13418. description: 审核人
  13419. type: integer
  13420. auditsrc:
  13421. description: 更新来源 - 1:管理端 2:终端
  13422. type: integer
  13423. audittime:
  13424. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13425. type: string
  13426. audittradedate:
  13427. description: 审核交易日(yyyyMMdd)
  13428. type: string
  13429. cardnum:
  13430. description: 提货人证件号码
  13431. type: string
  13432. cardtypeid:
  13433. description: 提货人证件类型
  13434. type: integer
  13435. checkremark:
  13436. description: 审核备注
  13437. type: string
  13438. cityid:
  13439. description: 市
  13440. type: integer
  13441. cityname:
  13442. description: 城市名称
  13443. type: string
  13444. confirmtime:
  13445. description: 取货时间 或 收货时间
  13446. type: string
  13447. countryid:
  13448. description: 国家
  13449. type: integer
  13450. countryname:
  13451. description: 国家名称
  13452. type: string
  13453. decimalplace:
  13454. description: 商品报价小数位
  13455. type: integer
  13456. districtid:
  13457. description: 地区
  13458. type: integer
  13459. districtname:
  13460. description: 地区名称
  13461. type: string
  13462. enumdicname:
  13463. description: 单位名称(提货商品)
  13464. type: string
  13465. expresscompany:
  13466. description: 物流公司
  13467. type: string
  13468. expressnum:
  13469. description: 物流单号
  13470. type: string
  13471. goodsagreeunit:
  13472. description: 交易商品乘数
  13473. type: number
  13474. goodscode:
  13475. description: 商品代码
  13476. type: string
  13477. goodsid:
  13478. description: 商品ID
  13479. type: integer
  13480. goodsname:
  13481. description: 商品名称
  13482. type: string
  13483. goodsqty:
  13484. description: 交易商品手数(69模式按成交量小数位放大取整)
  13485. type: number
  13486. handlestatus:
  13487. description: 处理状态
  13488. type: integer
  13489. logincode:
  13490. description: 账号(登录代码, 有可能为空)
  13491. type: string
  13492. marketid:
  13493. description: 市场ID
  13494. type: integer
  13495. phonenum:
  13496. description: 提货人联系方式
  13497. type: string
  13498. pickupgoodsagreeunit:
  13499. description: 提货商品合约乘数
  13500. type: number
  13501. pickupgoodsid:
  13502. description: 提货商品ID
  13503. type: string
  13504. pickupgoodsname:
  13505. description: 提货商品名称
  13506. type: string
  13507. pickupgoodsqty:
  13508. description: 提货商品手数(数量)
  13509. type: number
  13510. pickupgoodsunitid:
  13511. description: 单位ID(提货商品)
  13512. type: integer
  13513. pickupratio:
  13514. description: 提货系数
  13515. type: number
  13516. preparedays:
  13517. description: 备货期(天)-提货单明细表
  13518. type: integer
  13519. provinceid:
  13520. description: 省
  13521. type: integer
  13522. provincename:
  13523. description: 省名称
  13524. type: string
  13525. qty:
  13526. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13527. type: number
  13528. qtydecimalplace:
  13529. description: 商品数量小数位
  13530. type: integer
  13531. recivername:
  13532. description: 提货人姓名
  13533. type: string
  13534. reqtime:
  13535. description: 提货申请时间
  13536. type: string
  13537. storeuserid:
  13538. description: 门店用户ID (千海金)
  13539. type: integer
  13540. storeusername:
  13541. description: 门店用户名称
  13542. type: string
  13543. takemode:
  13544. description: 提货方式 - 2:自提 3:配送(邮寄)
  13545. type: integer
  13546. takeorderid:
  13547. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13548. type: string
  13549. takeorderstatus:
  13550. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13551. 7:已拒绝 8:已撤销
  13552. type: integer
  13553. takeremark:
  13554. description: 提货备注
  13555. type: string
  13556. tradedate:
  13557. description: 交易日(yyyyMMdd)
  13558. type: string
  13559. updatetime:
  13560. description: 更新时间
  13561. type: string
  13562. userid:
  13563. description: 用户ID
  13564. type: integer
  13565. userinfotype:
  13566. description: 客户类型 1-个人 2-企业
  13567. type: integer
  13568. username:
  13569. description: 用户名称
  13570. type: string
  13571. type: object
  13572. models.QhjUserNodeCfgAndStatus:
  13573. properties:
  13574. agreementcontent:
  13575. description: 协议内容
  13576. type: string
  13577. agreementid:
  13578. description: 协议ID
  13579. type: integer
  13580. agreementname:
  13581. description: 协议名称
  13582. type: string
  13583. agreementno:
  13584. description: 协议编号
  13585. type: string
  13586. agreementtype:
  13587. description: 协议类型 - 1:注册 2:登录 3:交易
  13588. type: integer
  13589. agreementversion:
  13590. description: 协议版本号
  13591. type: integer
  13592. configid:
  13593. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13594. type: integer
  13595. createtime:
  13596. description: 创建时间
  13597. type: string
  13598. goodsid:
  13599. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13600. type: integer
  13601. nodetype:
  13602. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13603. type: integer
  13604. signtimestamp:
  13605. description: 签约状态时间戳(最近一次)
  13606. type: string
  13607. tradedate:
  13608. description: 签约交易日(yyyyMMdd)
  13609. type: string
  13610. userid:
  13611. description: 客户ID
  13612. type: integer
  13613. type: object
  13614. models.Qhjgoodsex:
  13615. properties:
  13616. canfinance:
  13617. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13618. type: integer
  13619. canregularlybuy:
  13620. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13621. type: integer
  13622. defaulttradeuserid:
  13623. description: 默认交易用户ID
  13624. type: integer
  13625. deliverygoodsid:
  13626. description: 现货品种ID
  13627. type: integer
  13628. goodsid:
  13629. description: 商品ID(自增ID SEQ_GOODS)
  13630. type: integer
  13631. minamount:
  13632. description: 最小购买金额
  13633. type: number
  13634. regularlybuyminamount:
  13635. description: 定投最小金额
  13636. type: number
  13637. regularlybuyminqty:
  13638. description: 定投最小数量
  13639. type: number
  13640. spotgoodsbrandid:
  13641. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13642. type: integer
  13643. visibilityforenterprise:
  13644. description: 企业客户是否可见 - 0:不可见 1:可见
  13645. type: integer
  13646. visibilityforpersonal:
  13647. description: 个人客户是否可见 - 0:不可见 1:可见
  13648. type: integer
  13649. wrstandardid:
  13650. description: 现货商品ID
  13651. type: integer
  13652. type: object
  13653. models.QueryErrorInfosRsp:
  13654. properties:
  13655. description:
  13656. description: 异常描述
  13657. type: string
  13658. errorcode:
  13659. description: 异常代码
  13660. type: string
  13661. errorid:
  13662. description: 异常ID
  13663. type: integer
  13664. modulecode:
  13665. description: 所属模块
  13666. type: string
  13667. operatecode:
  13668. description: 所属操作
  13669. type: string
  13670. rownumber:
  13671. description: 行号
  13672. type: string
  13673. required:
  13674. - errorid
  13675. type: object
  13676. models.QueryHedgeOrderDetailRsp:
  13677. properties:
  13678. accountid:
  13679. description: 账户ID
  13680. type: integer
  13681. buyorsell:
  13682. description: 买卖 - 0:买 1:卖
  13683. type: integer
  13684. cancellogincode:
  13685. description: 撤单人
  13686. type: string
  13687. channelbuildtype:
  13688. description: 开平标志 - 0:无 1:建仓 2:平仓
  13689. type: integer
  13690. channelinnerorderstatus:
  13691. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13692. 9:全部成交
  13693. type: integer
  13694. channeloperatetype:
  13695. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13696. type: integer
  13697. closetype:
  13698. description: 平仓方式 - 0:无 1:平今 2:平昨
  13699. type: integer
  13700. curexchangerate:
  13701. description: 当前汇率
  13702. type: number
  13703. decimalplace:
  13704. description: 商品报价小数位
  13705. type: integer
  13706. exchangefullname:
  13707. description: 外部交易所全称
  13708. type: string
  13709. goodscode:
  13710. description: 商品代码(内部)
  13711. type: string
  13712. goodsid:
  13713. description: 商品ID
  13714. type: integer
  13715. goodsname:
  13716. description: 商品名称
  13717. type: string
  13718. marketid:
  13719. description: 市场ID
  13720. type: integer
  13721. openfreezemargin:
  13722. description: 冻结保证金(冻结交易金额)
  13723. type: number
  13724. orderid:
  13725. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13726. type: string
  13727. orderlogincode:
  13728. description: 委托人
  13729. type: string
  13730. orderprice:
  13731. description: 委托价格(账户)
  13732. type: number
  13733. orderqty:
  13734. description: 委托数量
  13735. type: integer
  13736. ordertime:
  13737. description: 委托时间
  13738. type: string
  13739. pricemode:
  13740. description: '取价方式 - 1:市价 2: 限价'
  13741. type: integer
  13742. tradedate:
  13743. description: 交易日(yyyyMMdd)
  13744. type: string
  13745. tradeqty:
  13746. description: 成交数量
  13747. type: integer
  13748. type: object
  13749. models.QueryHedgeTradeDetailRsp:
  13750. properties:
  13751. accountid:
  13752. description: 账号ID
  13753. type: integer
  13754. buyorsell:
  13755. description: 方向 - 0:买 1:卖
  13756. type: integer
  13757. channelbuildtype:
  13758. description: 委托单据类型 0:无 1:建仓 2:平仓
  13759. type: integer
  13760. closecharge:
  13761. description: 平仓手续费(账户)
  13762. type: number
  13763. closecharge2:
  13764. description: 平仓手续费(商品)
  13765. type: number
  13766. closepl:
  13767. description: 平仓盈亏(账户)
  13768. type: number
  13769. closepl2:
  13770. description: 平仓盈亏(商品)
  13771. type: number
  13772. closepl3:
  13773. description: 平仓盈亏(账户)(逐笔)
  13774. type: number
  13775. closepl4:
  13776. description: 平仓盈亏(商品)(逐笔)
  13777. type: number
  13778. closetype:
  13779. description: 平仓方式 - 0:无 1:平今 2:平昨
  13780. type: integer
  13781. curexchangerate:
  13782. description: 当前汇率
  13783. type: number
  13784. decimalplace:
  13785. description: 商品报价小数位
  13786. type: integer
  13787. exchangefullname:
  13788. description: 外部交易所全称
  13789. type: string
  13790. goodscode:
  13791. description: 商品代码(内部)
  13792. type: string
  13793. goodsid:
  13794. description: 商品ID
  13795. type: integer
  13796. goodsname:
  13797. description: 商品名称
  13798. type: string
  13799. marketid:
  13800. description: 市场ID
  13801. type: integer
  13802. opencharge:
  13803. description: 建仓手续费(账户)
  13804. type: number
  13805. opencharge2:
  13806. description: 建仓手续费(商品)
  13807. type: number
  13808. orderid:
  13809. description: 委托单号
  13810. type: string
  13811. orderlogincode:
  13812. description: 委托人
  13813. type: string
  13814. tradeamount:
  13815. description: 成交金额(账户)
  13816. type: number
  13817. tradedate:
  13818. description: 交易日(yyyyMMdd)
  13819. type: string
  13820. tradeid:
  13821. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13822. type: string
  13823. tradeprice:
  13824. description: 成交价格
  13825. type: number
  13826. tradeqty:
  13827. description: 成交数量
  13828. type: integer
  13829. tradetime:
  13830. description: 成交时间
  13831. type: string
  13832. tradetype:
  13833. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13834. type: integer
  13835. type: object
  13836. models.QuotePrimaryMenu:
  13837. properties:
  13838. Index:
  13839. description: 序号
  13840. type: integer
  13841. Key:
  13842. description: 键名
  13843. type: string
  13844. Name:
  13845. description: 菜单名称
  13846. type: string
  13847. SubMenus:
  13848. description: 子菜单
  13849. items:
  13850. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13851. type: array
  13852. SubTitleType:
  13853. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13854. type: integer
  13855. TradeModes:
  13856. description: 包含市场交易类型
  13857. type: string
  13858. type: object
  13859. models.QuoteSecondaryMenu:
  13860. properties:
  13861. ExExchangeCode:
  13862. description: 外部交易所代码
  13863. type: string
  13864. ExExchangeID:
  13865. description: 外部交易所ID
  13866. type: integer
  13867. GoodsGroupIDs:
  13868. description: 商品组ID列表
  13869. items:
  13870. type: integer
  13871. type: array
  13872. Index:
  13873. description: 序号
  13874. type: integer
  13875. MarketID:
  13876. description: 市场ID
  13877. type: integer
  13878. MenuTitle:
  13879. description: 菜单标题(市场名称或外部交易所名称)
  13880. type: string
  13881. TradeMode:
  13882. description: 交易模式
  13883. type: integer
  13884. type: object
  13885. models.RelatedTaAccount:
  13886. properties:
  13887. accountid:
  13888. description: 资金账户ID
  13889. type: integer
  13890. type: object
  13891. models.RoleMenu:
  13892. properties:
  13893. hasright:
  13894. description: 是否有权限 0-没有权限 1-有权限
  13895. type: integer
  13896. iconame:
  13897. description: 菜单图标
  13898. type: string
  13899. menutype:
  13900. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13901. type: integer
  13902. parentcode:
  13903. description: 上级资源代码
  13904. type: string
  13905. remark:
  13906. description: 菜单备注
  13907. type: string
  13908. resourcecode:
  13909. description: 菜单代码
  13910. type: string
  13911. resourcelevel:
  13912. description: 级别
  13913. type: integer
  13914. resourcename:
  13915. description: 菜单名称
  13916. type: string
  13917. roleid:
  13918. description: 角色id
  13919. type: integer
  13920. sort:
  13921. description: 排序
  13922. type: integer
  13923. subMenu:
  13924. description: 子级菜单(结构同上层一样, swag解析不出来)
  13925. items:
  13926. $ref: '#/definitions/models.RoleMenu'
  13927. type: array
  13928. url:
  13929. description: URL
  13930. type: string
  13931. userid:
  13932. description: 用户id
  13933. type: integer
  13934. type: object
  13935. models.SearchGoods:
  13936. properties:
  13937. goodscode:
  13938. description: 商品代码(内部)
  13939. type: string
  13940. goodsid:
  13941. description: 商品ID(自增ID SEQ_GOODS)
  13942. type: integer
  13943. goodsname:
  13944. description: 商品名称
  13945. type: string
  13946. marketid:
  13947. description: 所属市场ID
  13948. type: integer
  13949. marketname:
  13950. description: 市场名称
  13951. type: string
  13952. trademode:
  13953. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13954. 21:竞拍-大宗式 22:受托竞价
  13955. type: integer
  13956. required:
  13957. - goodscode
  13958. - goodsid
  13959. - goodsname
  13960. - marketid
  13961. - trademode
  13962. type: object
  13963. models.Systemparam:
  13964. properties:
  13965. loginid:
  13966. description: 更新用户账号,登录账号
  13967. type: string
  13968. modifyflag:
  13969. description: 修改标志0 不允许修改 1 允许修改
  13970. type: integer
  13971. paramcode:
  13972. description: 参数代码
  13973. type: string
  13974. paramname:
  13975. description: 参数名
  13976. type: string
  13977. paramtype:
  13978. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13979. type: integer
  13980. paramvalue:
  13981. description: 参数值
  13982. type: string
  13983. paramvalue2:
  13984. description: 参数值(CLOB)
  13985. type: string
  13986. regexpress:
  13987. description: 正则表达式
  13988. type: string
  13989. remark:
  13990. description: 备注
  13991. type: string
  13992. serverip:
  13993. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13994. type: string
  13995. showflag:
  13996. description: 是否显示0 不显示 1 显示
  13997. type: integer
  13998. updatetime:
  13999. description: 更新时间
  14000. type: string
  14001. userid:
  14002. description: 更新用户ID
  14003. type: integer
  14004. required:
  14005. - paramcode
  14006. type: object
  14007. models.Szdz3convertconfig:
  14008. properties:
  14009. canin:
  14010. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14011. type: integer
  14012. canout:
  14013. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14014. type: integer
  14015. converttype:
  14016. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14017. 6:交易转花生米(不设置)
  14018. type: integer
  14019. createtime:
  14020. description: 创建时间
  14021. type: string
  14022. creatorid:
  14023. description: 创建人
  14024. type: integer
  14025. daymaxvalue:
  14026. description: 当日最大转入限制
  14027. type: number
  14028. freezedays:
  14029. description: 冻结天数 [5:花生米转交易]
  14030. type: integer
  14031. innergoodsid:
  14032. description: 内部商品ID[交易]
  14033. type: integer
  14034. inratio:
  14035. description: 目标值
  14036. type: integer
  14037. modifierid:
  14038. description: 修改人
  14039. type: integer
  14040. modifytime:
  14041. description: 修改时间
  14042. type: string
  14043. outergoodscode:
  14044. description: 外部商品代码[JD\PD]
  14045. type: string
  14046. outratio:
  14047. description: 源值
  14048. type: integer
  14049. pddecimalplace:
  14050. description: PD小数位
  14051. type: integer
  14052. timemaxvalue:
  14053. description: 单次最大转入限制
  14054. type: number
  14055. timeminvalue:
  14056. description: 单次最小转入限制
  14057. type: number
  14058. required:
  14059. - converttype
  14060. - innergoodsid
  14061. - outergoodscode
  14062. type: object
  14063. models.Szdz3searchwhitelist:
  14064. properties:
  14065. createtime:
  14066. description: 创建时间
  14067. type: string
  14068. creatorid:
  14069. description: 创建人
  14070. type: integer
  14071. modifierid:
  14072. description: 修改人
  14073. type: integer
  14074. modifytime:
  14075. description: 修改时间
  14076. type: string
  14077. userid:
  14078. description: 用户ID
  14079. type: integer
  14080. required:
  14081. - userid
  14082. type: object
  14083. models.TBGoods:
  14084. properties:
  14085. agreeunit:
  14086. description: 合约乘数
  14087. type: number
  14088. enumdicname:
  14089. description: 单位名称
  14090. type: string
  14091. goodscode:
  14092. description: 商品代码(内部)
  14093. type: string
  14094. goodsid:
  14095. description: 商品ID(自增ID SEQ_GOODS)
  14096. type: integer
  14097. goodsname:
  14098. description: 商品名称
  14099. type: string
  14100. type: object
  14101. models.TBGoodsGroup:
  14102. properties:
  14103. GDLST:
  14104. description: 商品列表
  14105. items:
  14106. $ref: '#/definitions/models.TBGoods'
  14107. type: array
  14108. convertratio:
  14109. description: 折算系数
  14110. type: number
  14111. enumdicname:
  14112. description: 单位名称
  14113. type: string
  14114. exexchangecode:
  14115. description: 交易所代码
  14116. type: string
  14117. exexchangename:
  14118. description: 交易所名称
  14119. type: string
  14120. goodsgroupid:
  14121. description: 商品组ID(自增ID)
  14122. type: integer
  14123. goodsgroupname:
  14124. description: 商品组名称
  14125. type: string
  14126. goodunitid:
  14127. description: 报价单位ID
  14128. type: integer
  14129. type: object
  14130. models.TBMiddleGoods:
  14131. properties:
  14132. GPLST:
  14133. description: 期货品种列表
  14134. items:
  14135. $ref: '#/definitions/models.TBGoodsGroup'
  14136. type: array
  14137. WDLST:
  14138. description: 商品信息列表(现货品类)
  14139. items:
  14140. $ref: '#/definitions/models.TBWrstandard'
  14141. type: array
  14142. areauserid:
  14143. description: 机构用户ID
  14144. type: integer
  14145. enumdicname:
  14146. description: 单位名称
  14147. type: string
  14148. goodsunitid:
  14149. description: 套保品种单位id
  14150. type: integer
  14151. middlegoodscode:
  14152. description: 套保品种代码
  14153. type: string
  14154. middlegoodsid:
  14155. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14156. type: integer
  14157. middlegoodsname:
  14158. description: 套保品种名称
  14159. type: string
  14160. needarbitrageratio:
  14161. description: 套利比率
  14162. type: number
  14163. needhedgeratio:
  14164. description: 套保比率
  14165. type: number
  14166. type: object
  14167. models.TBWrstandard:
  14168. properties:
  14169. convertratio:
  14170. description: 折算系数
  14171. type: number
  14172. deliverygoodsname:
  14173. description: 品种名称
  14174. type: string
  14175. enumdicname:
  14176. description: 单位名称
  14177. type: string
  14178. vatrate:
  14179. description: 增值税率
  14180. type: number
  14181. wrstandardcode:
  14182. description: 现货商品代码
  14183. type: string
  14184. wrstandardid:
  14185. description: 现货商品ID(SEQ_WRSTANDARD)
  14186. type: integer
  14187. wrstandardname:
  14188. description: 现货商品名称
  14189. type: string
  14190. type: object
  14191. models.Taaccount:
  14192. properties:
  14193. accountflag:
  14194. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14195. type: integer
  14196. accountid:
  14197. description: 资金账户ID
  14198. type: integer
  14199. accountname:
  14200. description: 账户名称
  14201. type: string
  14202. balance:
  14203. description: 期初余额
  14204. type: number
  14205. capitalbalance:
  14206. description: 本金余额[外部子账户实际出入金余额]
  14207. type: number
  14208. changeflag:
  14209. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14210. type: integer
  14211. changetime:
  14212. description: 账户状态变更时间
  14213. type: string
  14214. closepl:
  14215. description: 今日平仓盈亏
  14216. type: number
  14217. creditdecrease:
  14218. description: 今日授信减少
  14219. type: number
  14220. creditincrease:
  14221. description: 今日授信增加
  14222. type: number
  14223. curamount:
  14224. description: 总市值(从持仓中统计)
  14225. type: number
  14226. currencyid:
  14227. description: 货币ID
  14228. type: integer
  14229. currentbalance:
  14230. description: 期末余额
  14231. type: number
  14232. freezecharge:
  14233. description: 手续费冻结
  14234. type: number
  14235. freezemargin:
  14236. description: 冻结保证金
  14237. type: number
  14238. fromaccountid:
  14239. description: 所属上级账户
  14240. type: integer
  14241. inamount:
  14242. description: 今日入金金额(包括三方入金)
  14243. type: number
  14244. ismain:
  14245. description: 是否母账号 0:不是母账户 1:是母账户
  14246. type: integer
  14247. ismarketaccount:
  14248. description: 是否机构接单账号 0:不是 1:是
  14249. type: integer
  14250. isreckonaccount:
  14251. description: 是否机构分润账号 0:不是 1:是
  14252. type: integer
  14253. mortgagecredit:
  14254. description: 授信金额
  14255. type: number
  14256. orifreezecharge:
  14257. description: 期初手续费冻结
  14258. type: number
  14259. orifreezemargin:
  14260. description: 期初冻结保证金
  14261. type: number
  14262. orimortgagecredit:
  14263. description: 期初授信金额
  14264. type: number
  14265. oriothercredit:
  14266. description: 期初其它授信金额
  14267. type: number
  14268. oriotherfreezemargin:
  14269. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14270. type: number
  14271. orioutamountfreeze:
  14272. description: 期初出金冻结
  14273. type: number
  14274. oriusedmargin:
  14275. description: 期初占用保证金
  14276. type: number
  14277. othercredit:
  14278. description: 其它授信金额
  14279. type: number
  14280. othercreditdecrease:
  14281. description: 今日其它授信减少
  14282. type: number
  14283. othercreditincrease:
  14284. description: 今日其它授信增加
  14285. type: number
  14286. otherfreezemargin:
  14287. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14288. type: number
  14289. otherincome:
  14290. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14291. type: number
  14292. otherpay:
  14293. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14294. type: number
  14295. outamount:
  14296. description: 今日出金金额(包括三方出金)
  14297. type: number
  14298. outamountfreeze:
  14299. description: 出金冻结
  14300. type: number
  14301. outthreshold:
  14302. description: 出金阈值
  14303. type: number
  14304. parentaccountid:
  14305. description: 所属根账号
  14306. type: integer
  14307. paycharge:
  14308. description: 今日手续费支出
  14309. type: number
  14310. relatedaccountstatus:
  14311. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14312. type: integer
  14313. relateduserid:
  14314. description: 关联用户
  14315. type: integer
  14316. remainamount:
  14317. description: 融资额(从融资合同中统计)
  14318. type: number
  14319. serivcegroup:
  14320. description: 服务分组
  14321. type: integer
  14322. signstatus:
  14323. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14324. type: integer
  14325. sublevelpath:
  14326. description: 账号层级路径(逗号分隔,首尾加逗号)
  14327. type: string
  14328. taaccounttype:
  14329. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14330. type: integer
  14331. thirdinamount:
  14332. description: 今日三方入金
  14333. type: number
  14334. thirdoutamount:
  14335. description: 今日三方出金
  14336. type: number
  14337. tradestatus:
  14338. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14339. type: integer
  14340. tradestatuschangetime:
  14341. description: 激活时间
  14342. type: string
  14343. transferamount:
  14344. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14345. type: number
  14346. usedmargin:
  14347. description: 占用保证金
  14348. type: number
  14349. userid:
  14350. description: 用户ID
  14351. type: integer
  14352. required:
  14353. - accountid
  14354. - userid
  14355. type: object
  14356. models.Tablecolumnconfig:
  14357. properties:
  14358. aligntype:
  14359. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14360. type: integer
  14361. autoid:
  14362. description: AutoID
  14363. type: integer
  14364. columnfield:
  14365. description: 列字段
  14366. type: string
  14367. columntitle:
  14368. description: 列Title
  14369. type: string
  14370. columnwidth:
  14371. description: 列宽
  14372. type: string
  14373. formatterstring:
  14374. description: 格式化字符
  14375. type: string
  14376. formattertype:
  14377. description: 格式化类型
  14378. type: string
  14379. groupname:
  14380. description: 表头分组名称
  14381. type: string
  14382. isshow:
  14383. description: 是否显示 - 0:不显示 1:显示
  14384. type: integer
  14385. needsummary:
  14386. description: 是否需要汇总 - 0:不需要 1:需要
  14387. type: integer
  14388. orderindex:
  14389. description: 顺序
  14390. type: integer
  14391. remark:
  14392. description: 备注
  14393. type: string
  14394. summarytype:
  14395. description: 汇总类型 - 1:加总 2:最后一个
  14396. type: integer
  14397. tablekey:
  14398. description: 列表Key
  14399. type: string
  14400. required:
  14401. - autoid
  14402. type: object
  14403. models.TjmdHolderDetailTradeInfo:
  14404. properties:
  14405. agreeunit:
  14406. description: 合约乘数
  14407. type: number
  14408. buyaccountid:
  14409. description: 买方账户
  14410. type: string
  14411. buyusername:
  14412. description: 买方
  14413. type: string
  14414. delistingdate:
  14415. description: 最后结算日
  14416. type: string
  14417. expiredate:
  14418. description: 到期结算价定价日
  14419. type: string
  14420. exprieprice:
  14421. description: 到期清算价格
  14422. type: string
  14423. goodscode:
  14424. description: 商品代码
  14425. type: string
  14426. goodsid:
  14427. description: 商品ID
  14428. type: integer
  14429. goodsname:
  14430. description: 商品名称(交易标的)
  14431. type: string
  14432. lasttradedate:
  14433. description: 最后交易日
  14434. type: string
  14435. listingdate:
  14436. description: 开始交易日
  14437. type: string
  14438. openprice:
  14439. description: 成交价
  14440. type: number
  14441. openqty:
  14442. description: 交易数量
  14443. type: integer
  14444. sellaccountid:
  14445. description: 卖方账户
  14446. type: string
  14447. sellusername:
  14448. description: 卖方
  14449. type: string
  14450. tradeamount:
  14451. description: 初始名义价值
  14452. type: number
  14453. tradedate:
  14454. description: 成交日期
  14455. type: string
  14456. tradeid:
  14457. description: 成交编号
  14458. type: string
  14459. type: object
  14460. models.TjmdMarketSection:
  14461. properties:
  14462. marketsectionid:
  14463. description: 市场版块ID(SEQ_MARKETSECTION)
  14464. type: integer
  14465. marketsectionname:
  14466. description: 市场版块名称
  14467. type: string
  14468. mlist:
  14469. description: 市场列表(板块下面有多少个市场)
  14470. items:
  14471. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14472. type: array
  14473. orderindex:
  14474. description: 排序
  14475. type: integer
  14476. pictureurl:
  14477. description: 图片url, 规格(90*90)
  14478. type: string
  14479. remark:
  14480. description: 备注
  14481. type: string
  14482. type: object
  14483. models.TjmdMarketSectionConfig:
  14484. properties:
  14485. auctionwrtype:
  14486. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14487. type: integer
  14488. canacceptquote:
  14489. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14490. type: integer
  14491. cangoodsexercise:
  14492. description: '[期权]是否可现货行权- 0:否 1:是'
  14493. type: integer
  14494. cangoodsexercisetype:
  14495. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14496. type: integer
  14497. canmanualquotestrike:
  14498. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14499. type: integer
  14500. canmutistage:
  14501. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14502. type: integer
  14503. canpreexercise:
  14504. description: '[期权]是否可预申报- 0:否 1:是'
  14505. type: integer
  14506. clearinterval:
  14507. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14508. type: integer
  14509. contracttmp:
  14510. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14511. type: string
  14512. exchareaid:
  14513. description: 所属交易所,可以没有
  14514. type: integer
  14515. financemarketid:
  14516. description: 融资回购市场ID [仓单贸易]
  14517. type: integer
  14518. goodstype:
  14519. description: 商品类型 - 1:交易商品 2:仓单商品
  14520. type: integer
  14521. hasrebate:
  14522. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14523. type: integer
  14524. hastradecredit:
  14525. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14526. type: integer
  14527. haswr:
  14528. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14529. type: integer
  14530. isdeductmargin:
  14531. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14532. type: integer
  14533. isrecordsource:
  14534. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14535. type: integer
  14536. isreleasemargin:
  14537. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14538. type: integer
  14539. isupdatereckonprice:
  14540. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14541. type: integer
  14542. listingmode:
  14543. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14544. type: integer
  14545. marginformula:
  14546. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14547. type: integer
  14548. marginformula2:
  14549. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14550. type: integer
  14551. marketid:
  14552. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14553. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14554. type: integer
  14555. marketname:
  14556. description: 市场名称
  14557. type: string
  14558. marketsectionid:
  14559. description: 市场版块ID(SEQ_MARKETSECTION)
  14560. type: integer
  14561. marketserviceid:
  14562. description: 市场服务ID
  14563. type: integer
  14564. marketstatus:
  14565. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14566. type: integer
  14567. markettype:
  14568. description: 市场类型- 1:非交易服务 2:交易服务
  14569. type: integer
  14570. matchermode:
  14571. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14572. type: integer
  14573. nowrquotaflag:
  14574. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14575. type: integer
  14576. openmethod:
  14577. description: 开盘模式 - 0 自动 1手动
  14578. type: integer
  14579. orderindex:
  14580. description: 排序
  14581. type: integer
  14582. otcuserid:
  14583. description: 场外期权做市商[场外期权]
  14584. type: integer
  14585. outersynctime:
  14586. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14587. type: string
  14588. paylaterflag:
  14589. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14590. type: integer
  14591. pendingflag:
  14592. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14593. type: integer
  14594. pendingtime:
  14595. description: 待开市时间[通道交易-对冲](HH:mm)
  14596. type: string
  14597. performancetempid:
  14598. description: 履约计划模板ID - 作废
  14599. type: integer
  14600. premiumquotemode:
  14601. description: 权利金报价方式 - 1:自动 2:手动
  14602. type: integer
  14603. rebateratio:
  14604. description: 返利比率[竞价式]
  14605. type: number
  14606. reckonorder:
  14607. description: 结算顺序
  14608. type: integer
  14609. reckonpricealgorithm:
  14610. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14611. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14612. type: integer
  14613. reckonpriceparam:
  14614. description: 结算价参数
  14615. type: integer
  14616. reckontime:
  14617. description: 结算时间[通道交易-对冲](HH:mm)
  14618. type: string
  14619. roleprioritytype:
  14620. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14621. type: integer
  14622. selllistingauditflag:
  14623. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14624. type: integer
  14625. trademarkettype:
  14626. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14627. type: integer
  14628. trademode:
  14629. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14630. 21:竞拍-大宗式 22:受托竞价
  14631. type: integer
  14632. tradeproperty:
  14633. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14634. 8:场外期权
  14635. type: integer
  14636. tradetype:
  14637. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14638. type: integer
  14639. updatereckonpriceinterval:
  14640. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14641. type: integer
  14642. type: object
  14643. models.TjmdQuoteGoods:
  14644. properties:
  14645. buyqty:
  14646. description: 买量(暂不做, 无值, 保留字段)
  14647. type: number
  14648. decimalplace:
  14649. description: 报价小数位
  14650. type: integer
  14651. goodscode:
  14652. description: 合约代码
  14653. type: string
  14654. goodsgroupid:
  14655. description: 商品组ID(自增ID)
  14656. type: integer
  14657. goodsgroupname:
  14658. description: 商品组名称
  14659. type: string
  14660. goodsid:
  14661. description: 合约id
  14662. type: integer
  14663. goodsname:
  14664. description: 合约名称
  14665. type: string
  14666. refgoodscode:
  14667. description: 标的合约代码
  14668. type: string
  14669. refgoodsid:
  14670. description: 标的合约id
  14671. type: integer
  14672. refgoodsname:
  14673. description: 标的合约名称
  14674. type: string
  14675. sellqty:
  14676. description: 卖量(暂不做, 无值, 保留字段)
  14677. type: number
  14678. type: object
  14679. models.TjmdTodayAccountMargin:
  14680. properties:
  14681. accountid:
  14682. description: 账号ID
  14683. type: integer
  14684. goodsid:
  14685. description: 商品ID
  14686. type: integer
  14687. infoc:
  14688. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14689. description: 配置参数
  14690. marketid:
  14691. description: 市场ID
  14692. type: integer
  14693. type: object
  14694. models.TjmdTradeOrderDetail:
  14695. properties:
  14696. buyorsell:
  14697. description: 买卖方向 0-买 1-卖
  14698. type: integer
  14699. goodsid:
  14700. description: 商品id
  14701. type: integer
  14702. marketmaxsub:
  14703. description: 市价最大偏移范围 [浮动价 - 点差]
  14704. type: number
  14705. orderid:
  14706. description: 委托单号
  14707. type: string
  14708. orderprice:
  14709. description: 委托价格
  14710. type: number
  14711. orderqty:
  14712. description: 委托数量
  14713. type: integer
  14714. pricemode:
  14715. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14716. type: integer
  14717. userid:
  14718. description: 用户id
  14719. type: integer
  14720. username:
  14721. description: 用户名称(已脱敏)
  14722. type: string
  14723. type: object
  14724. models.TjmdTransferApply:
  14725. properties:
  14726. applyid:
  14727. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14728. type: integer
  14729. applystatus:
  14730. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14731. type: integer
  14732. applytime:
  14733. description: 申请时间(时间)
  14734. type: string
  14735. auditremark:
  14736. description: 审核备注(拒绝原因?)
  14737. type: string
  14738. begindate:
  14739. description: 开始交易日(yyyymmdd)
  14740. type: string
  14741. buyorsell:
  14742. description: 买卖 - 0:买 1:卖
  14743. type: integer
  14744. enddate:
  14745. description: 结束交易日(yyyymmdd)
  14746. type: string
  14747. goodscode:
  14748. description: 商品代码
  14749. type: string
  14750. goodsid:
  14751. description: 商品ID
  14752. type: integer
  14753. goodsname:
  14754. description: 商品名称
  14755. type: string
  14756. marketid:
  14757. description: 市场ID
  14758. type: integer
  14759. qty:
  14760. description: 转让数量(数量)
  14761. type: number
  14762. tradeid:
  14763. description: 成交单号(关联持仓)
  14764. type: string
  14765. transferamount:
  14766. description: 转让总金额(金额)
  14767. type: number
  14768. transferprice:
  14769. description: 转让价格(协议价格)
  14770. type: number
  14771. type: object
  14772. models.TradeHolderDetail:
  14773. properties:
  14774. accountid:
  14775. description: 账号ID
  14776. type: integer
  14777. agreeunit:
  14778. description: 合约乘数
  14779. type: number
  14780. buyorsell:
  14781. description: 方向 - 0:买 1:卖
  14782. type: integer
  14783. currencyid:
  14784. description: 商品币种id
  14785. type: integer
  14786. currencyname:
  14787. description: 币种名称
  14788. type: string
  14789. decimalplace:
  14790. description: 商品价格小数位
  14791. type: integer
  14792. enumdicname:
  14793. description: 商品单位名称
  14794. type: string
  14795. expirecycle:
  14796. description: 行权周期(天) - 1:滚动行权时填写
  14797. type: integer
  14798. expiredate:
  14799. description: 行权日(yyyyMMdd) - 到期日
  14800. type: string
  14801. expiretype:
  14802. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14803. type: integer
  14804. freezeqty:
  14805. description: 冻结数量
  14806. type: number
  14807. goodscode:
  14808. description: 商品代码
  14809. type: string
  14810. goodsid:
  14811. description: 商品ID
  14812. type: integer
  14813. goodsname:
  14814. description: 商品名称
  14815. type: string
  14816. goodunitid:
  14817. description: 商品单位id
  14818. type: integer
  14819. holderamount:
  14820. description: 持仓金额
  14821. type: number
  14822. holdercredit:
  14823. description: 持仓授信金额
  14824. type: number
  14825. holderdays:
  14826. description: 剩余冻结天数
  14827. type: integer
  14828. holderprice:
  14829. description: 持仓价格
  14830. type: number
  14831. holderqty:
  14832. description: 持仓数量
  14833. type: number
  14834. isconfirmexercise:
  14835. description: 是否确认行权- 0:否 1:是
  14836. type: integer
  14837. ispreexercise:
  14838. description: 是否预申报- 0:否 1:是 2:不可行权
  14839. type: integer
  14840. marketid:
  14841. description: 市场id
  14842. type: integer
  14843. marketname:
  14844. description: 市场名称
  14845. type: string
  14846. openprice:
  14847. description: 建仓价格
  14848. type: number
  14849. openqty:
  14850. description: 建仓数量
  14851. type: number
  14852. optiontype:
  14853. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14854. type: integer
  14855. preexerciseprice:
  14856. description: 预申报价格
  14857. type: number
  14858. premium:
  14859. description: 权利金
  14860. type: number
  14861. qtydecimalplace:
  14862. description: 商品成交量小数位
  14863. type: integer
  14864. refgoodscode:
  14865. description: 标的合约代码
  14866. type: string
  14867. refgoodsid:
  14868. description: 标的合约id
  14869. type: integer
  14870. releaseamount:
  14871. description: 释放持仓金额
  14872. type: number
  14873. releaseholdercredit:
  14874. description: 释放持仓授信金额
  14875. type: number
  14876. taname:
  14877. description: 资金账号名称
  14878. type: string
  14879. tradeamount:
  14880. description: 成交金额
  14881. type: number
  14882. tradedate:
  14883. description: 交易日(yyyyMMdd)
  14884. type: string
  14885. tradeid:
  14886. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14887. type: string
  14888. trademode:
  14889. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14890. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14891. type: integer
  14892. tradeproperty:
  14893. description: 交易属性
  14894. type: integer
  14895. tradetime:
  14896. description: 交易时间
  14897. type: string
  14898. userid:
  14899. description: 用户id
  14900. type: integer
  14901. username:
  14902. description: 用户名称
  14903. type: string
  14904. type: object
  14905. models.UserCollectConfig:
  14906. properties:
  14907. accountstatus:
  14908. description: 账户状态 - 1:正常 2:停用 3:注销
  14909. type: integer
  14910. collectaccountname:
  14911. description: 收款人账户名称
  14912. type: string
  14913. collectaccountno:
  14914. description: 收款人账户
  14915. type: string
  14916. collectbankname:
  14917. description: 收款人开户行
  14918. type: string
  14919. collectbranchbankname:
  14920. description: 收款人开户支行
  14921. type: string
  14922. collectconfigid:
  14923. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14924. type: string
  14925. remark:
  14926. description: 备注
  14927. type: string
  14928. userid:
  14929. description: 收款人用户ID
  14930. type: integer
  14931. type: object
  14932. models.UserReceiveInfo:
  14933. properties:
  14934. address:
  14935. description: 提货人详细地址
  14936. type: string
  14937. autoid:
  14938. description: AutoID
  14939. type: integer
  14940. cardnum:
  14941. description: 证件号码(加密存储)
  14942. type: string
  14943. cardtypeid:
  14944. description: 证件类型
  14945. type: integer
  14946. cityid:
  14947. description: 市
  14948. type: integer
  14949. cityname:
  14950. description: 城市名称
  14951. type: string
  14952. countryid:
  14953. description: 国家
  14954. type: integer
  14955. countryname:
  14956. description: 国家名称
  14957. type: string
  14958. districtid:
  14959. description: 地区
  14960. type: integer
  14961. districtname:
  14962. description: 地区名称
  14963. type: string
  14964. hasencrypt:
  14965. description: 数据是否已加密 - 0:未加密 1:已加密
  14966. type: integer
  14967. isdefault:
  14968. description: 是否默认地址 - 0:否 1:是
  14969. type: integer
  14970. phonenum:
  14971. description: 提货人联系方式(加密存储)
  14972. type: string
  14973. provinceid:
  14974. description: 省
  14975. type: integer
  14976. provincename:
  14977. description: 省名称
  14978. type: string
  14979. receivername:
  14980. description: 提货人姓名
  14981. type: string
  14982. takeremark:
  14983. description: 提货备注
  14984. type: string
  14985. userid:
  14986. description: 用户ID
  14987. type: integer
  14988. type: object
  14989. models.Useraccount:
  14990. properties:
  14991. accountname:
  14992. description: 账户名称(机构名称)
  14993. type: string
  14994. accountstatus:
  14995. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14996. type: integer
  14997. applysrc:
  14998. description: 申请来源 - 1:管理端 2:终端
  14999. type: integer
  15000. auditremark:
  15001. description: 审核备注
  15002. type: string
  15003. auditsrc:
  15004. description: 审核来源 - 1:管理端 2:终端
  15005. type: integer
  15006. audittime:
  15007. description: 审核时间
  15008. type: string
  15009. audituserid:
  15010. description: 审核人
  15011. type: integer
  15012. broker:
  15013. description: 所属经纪人ID
  15014. type: integer
  15015. canceltime:
  15016. description: 销户时间
  15017. type: string
  15018. canceluserid:
  15019. description: 销户人
  15020. type: integer
  15021. canrecommend:
  15022. description: 是否可推荐 - 0:不可 1;可
  15023. type: integer
  15024. createtime:
  15025. description: 创建时间
  15026. type: string
  15027. creatorid:
  15028. description: 创建人
  15029. type: integer
  15030. hasauth:
  15031. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15032. type: integer
  15033. isanonymous:
  15034. description: 是否匿名下单 - 0:否 1:是
  15035. type: integer
  15036. maxinvestornum:
  15037. description: 最大用户数(经纪会员下投资者个数)
  15038. type: integer
  15039. memberuserid:
  15040. description: 所属会员ID
  15041. type: integer
  15042. modifierid:
  15043. description: 修改人
  15044. type: integer
  15045. modifyremark:
  15046. description: 变更备注
  15047. type: string
  15048. modifystatus:
  15049. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15050. type: integer
  15051. modifytime:
  15052. description: 修改时间
  15053. type: string
  15054. parenttopuser:
  15055. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15056. type: string
  15057. parentuserid:
  15058. description: 所属机构ID
  15059. type: integer
  15060. reckonaccountid:
  15061. description: 默认结算资金账号ID(机构分润使用) 作废
  15062. type: integer
  15063. refercount:
  15064. description: 推荐总人数
  15065. type: integer
  15066. refereeuserid:
  15067. description: 推荐人ID
  15068. type: integer
  15069. refernum:
  15070. description: 推荐码
  15071. type: string
  15072. rootuserid:
  15073. description: 根用户ID
  15074. type: integer
  15075. subaccountlevel:
  15076. description: 子账户层数
  15077. type: integer
  15078. subarealevelpath:
  15079. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15080. type: string
  15081. userid:
  15082. description: 用户ID
  15083. type: integer
  15084. usertype:
  15085. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15086. type: integer
  15087. required:
  15088. - userid
  15089. type: object
  15090. models.Userfavoritegoods:
  15091. properties:
  15092. goodsid:
  15093. description: 商品ID
  15094. type: integer
  15095. required:
  15096. - goodsid
  15097. type: object
  15098. models.Userinfo:
  15099. properties:
  15100. address:
  15101. description: 地址
  15102. type: string
  15103. attachment1:
  15104. description: 附件1
  15105. type: string
  15106. attachment2:
  15107. description: 附件2
  15108. type: string
  15109. bankaccount:
  15110. description: 银行帐号 (加密存储)
  15111. type: string
  15112. bankaccountname:
  15113. description: 收款人名称
  15114. type: string
  15115. bankcardfrontphotourl:
  15116. description: 银行卡正面照地址
  15117. type: string
  15118. bankid:
  15119. description: 银行编码
  15120. type: string
  15121. bankname:
  15122. description: 银行名称
  15123. type: string
  15124. biznature:
  15125. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15126. type: integer
  15127. bizscope:
  15128. description: 企业经营范围(企业)
  15129. type: string
  15130. cardbackphotourl:
  15131. description: 证件背面图片地址
  15132. type: string
  15133. cardfrontphotourl:
  15134. description: 证件正面图片地址
  15135. type: string
  15136. cardnum:
  15137. description: 证件号码(加密存储)
  15138. type: string
  15139. cardtypeid:
  15140. description: 证件类型ID
  15141. type: integer
  15142. cityid:
  15143. description: 市
  15144. type: integer
  15145. company:
  15146. description: 公司(个人)
  15147. type: string
  15148. contactname:
  15149. description: 联系人
  15150. type: string
  15151. countryid:
  15152. description: 国家
  15153. type: integer
  15154. createtime:
  15155. description: 创建时间
  15156. type: string
  15157. creatorid:
  15158. description: 创建人
  15159. type: integer
  15160. customername:
  15161. description: 客户名称(企业名称)
  15162. type: string
  15163. districtid:
  15164. description: 地区
  15165. type: integer
  15166. email:
  15167. description: 邮件(加密存储)
  15168. type: string
  15169. fax:
  15170. description: 传真(加密存储)
  15171. type: string
  15172. halfbodyphotourl:
  15173. description: 半身照地址
  15174. type: string
  15175. hasencrypt:
  15176. description: 数据是否已加密 - 0:未加密 1:已加密
  15177. type: integer
  15178. headurl:
  15179. description: 头像地址
  15180. type: string
  15181. legalcardbackphotourl:
  15182. description: 法人身份证背面照地址
  15183. type: string
  15184. legalcardfrontphotourl:
  15185. description: 法人身份证正面照地址
  15186. type: string
  15187. legalpersonname:
  15188. description: 法人姓名(企业)
  15189. type: string
  15190. mobile:
  15191. description: 手机号码(加密存储)
  15192. type: string
  15193. mobile2:
  15194. description: 手机号码[明文-尚志]
  15195. type: string
  15196. modifierid:
  15197. description: 修改人
  15198. type: integer
  15199. modifiertime:
  15200. description: 修改时间
  15201. type: string
  15202. needinvoice:
  15203. description: 是否需要发票 - 0:不需要 1:需要
  15204. type: integer
  15205. nickname:
  15206. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15207. type: string
  15208. openmode:
  15209. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15210. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15211. type: integer
  15212. otherurl:
  15213. description: 其它图片地址[使用分号分隔]
  15214. type: string
  15215. postalcode:
  15216. description: 邮政编码
  15217. type: string
  15218. provinceid:
  15219. description: 省
  15220. type: integer
  15221. qq:
  15222. description: QQ(加密存储
  15223. type: string
  15224. remark:
  15225. description: 备注
  15226. type: string
  15227. sex:
  15228. description: '用户性别 0: 女 1: 男'
  15229. type: integer
  15230. signpdfurl:
  15231. description: 签约pdf文件
  15232. type: string
  15233. telphone:
  15234. description: 联系电话(加密存储)
  15235. type: string
  15236. userid:
  15237. description: 用户ID
  15238. type: integer
  15239. userinfotype:
  15240. description: 用户信息类型 - 1:个人 2:企业
  15241. type: integer
  15242. userstatus:
  15243. description: 用户状态 - 1:正常 2:注销
  15244. type: integer
  15245. usertype:
  15246. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15247. type: integer
  15248. wechat:
  15249. description: 微信(加密存储)
  15250. type: string
  15251. wskhinfo:
  15252. description: 开户申请信息(JSON)
  15253. type: string
  15254. required:
  15255. - userid
  15256. type: object
  15257. models.WRSConverTDetail:
  15258. properties:
  15259. convertratio:
  15260. description: 套保系数
  15261. type: number
  15262. deliverygoodscode:
  15263. description: 现货商品代码
  15264. type: string
  15265. deliverygoodsid:
  15266. description: 现货品种ID
  15267. type: integer
  15268. deliverygoodsname:
  15269. description: 现货商品名称
  15270. type: string
  15271. enumdicname:
  15272. description: 单位名称
  15273. type: string
  15274. goodsunitid:
  15275. description: 套保品种单位id
  15276. type: integer
  15277. middlegoodscode:
  15278. description: 套保品种代码
  15279. type: string
  15280. middlegoodsid:
  15281. description: 套保品种ID
  15282. type: integer
  15283. middlegoodsname:
  15284. description: 套保品种名称
  15285. type: string
  15286. modifytime:
  15287. description: 修改时间
  15288. type: string
  15289. wrstandardid:
  15290. description: 品类ID
  15291. type: integer
  15292. type: object
  15293. models.WRStandardInfo:
  15294. properties:
  15295. areauserid:
  15296. description: 所属机构
  15297. type: integer
  15298. convertfactor:
  15299. description: 标仓系数
  15300. type: number
  15301. createtime:
  15302. description: 创建时间
  15303. type: string
  15304. creatorid:
  15305. description: 创建人
  15306. type: integer
  15307. deliverygoodsid:
  15308. description: 品种ID
  15309. type: integer
  15310. deliverygoodsname:
  15311. description: 交割商品名称
  15312. type: string
  15313. factoryitemjson:
  15314. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15315. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15316. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15317. 逗号分隔'
  15318. type: string
  15319. isvalid:
  15320. description: 是否有效 - 0:无效 1:有效
  15321. type: integer
  15322. minivalue:
  15323. description: 最小变动值
  15324. type: integer
  15325. minivaluedp:
  15326. description: 最小变动值小数位
  15327. type: integer
  15328. realminivalue:
  15329. description: 实际最小变动值
  15330. type: integer
  15331. realminivaluedp:
  15332. description: 实际最小变动值小数位
  15333. type: integer
  15334. remark:
  15335. description: 备注
  15336. type: string
  15337. unitid:
  15338. description: 单位ID
  15339. type: integer
  15340. unitname:
  15341. description: 单位
  15342. type: string
  15343. updatetime:
  15344. description: 更新时间
  15345. type: string
  15346. updatorid:
  15347. description: 更新人
  15348. type: integer
  15349. wrsstatus:
  15350. description: 状态 - 作废 - 0:未激活 1:正常
  15351. type: integer
  15352. wrstandardcode:
  15353. description: 现货品类代码
  15354. type: string
  15355. wrstandardid:
  15356. description: 现货品类ID(SEQ_WRSTANDARD)
  15357. type: integer
  15358. wrstandardname:
  15359. description: 现货品类名称
  15360. type: string
  15361. required:
  15362. - wrstandardid
  15363. type: object
  15364. models.WRTradeBargainApply:
  15365. properties:
  15366. accountid:
  15367. description: 摘牌资金账号
  15368. type: integer
  15369. applyprice:
  15370. description: 申请价格(议价价格)
  15371. type: string
  15372. applyqty:
  15373. description: 摘牌数量(议价数量)
  15374. type: number
  15375. applyremark:
  15376. description: 申请备注
  15377. type: string
  15378. applystatus:
  15379. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15380. type: integer
  15381. applytime:
  15382. description: 申请时间(议价时间)
  15383. type: string
  15384. begindate:
  15385. description: 开始交易日(yyyymmdd)
  15386. type: string
  15387. buyorsell:
  15388. description: 买卖(挂牌类型) - 0:买 1:卖
  15389. type: integer
  15390. confirmremark:
  15391. description: 确认备注
  15392. type: string
  15393. confirmtime:
  15394. description: 确认时间
  15395. type: string
  15396. confirmuserid:
  15397. description: 确认人
  15398. type: integer
  15399. deliverygoodscode:
  15400. description: 品种代码
  15401. type: string
  15402. deliverygoodsid:
  15403. description: 品种ID
  15404. type: integer
  15405. deliverygoodsname:
  15406. description: 品种名称
  15407. type: string
  15408. deliverymonth:
  15409. description: 交收月
  15410. type: string
  15411. enddate:
  15412. description: 结束交易日(yyyymmdd)
  15413. type: string
  15414. enumdicname:
  15415. description: 单位名称
  15416. type: string
  15417. fixedprice:
  15418. description: 挂牌价格
  15419. type: number
  15420. handlestatus:
  15421. description: 处理状态
  15422. type: integer
  15423. marginvalue:
  15424. description: 履约保证金比例
  15425. type: number
  15426. marketid:
  15427. description: 市场ID
  15428. type: integer
  15429. matchaccountid:
  15430. description: 挂牌方资金账号
  15431. type: integer
  15432. matchuserid:
  15433. description: 挂牌方用户id
  15434. type: integer
  15435. matchusername:
  15436. description: 挂牌方用户名称(已脱敏)
  15437. type: string
  15438. minivalue:
  15439. description: 现货商品最小变动值
  15440. type: integer
  15441. optioncompare:
  15442. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15443. type: string
  15444. orderqty:
  15445. description: 挂牌数量
  15446. type: integer
  15447. refprice:
  15448. description: 参考价格
  15449. type: string
  15450. retcode:
  15451. description: 委托返回代码
  15452. type: integer
  15453. templatename:
  15454. description: 履约方式(履约模板名称)
  15455. type: string
  15456. tradedate:
  15457. description: 交易日(yyyyMMdd)
  15458. type: string
  15459. userid:
  15460. description: 摘牌人用户ID(议价人ID)
  15461. type: integer
  15462. username:
  15463. description: 议价人名字(已脱敏)
  15464. type: string
  15465. validtime:
  15466. description: 有效期限
  15467. type: string
  15468. warehouseid:
  15469. description: 仓库ID
  15470. type: integer
  15471. warehousename:
  15472. description: 仓库名称
  15473. type: string
  15474. wrbargainid:
  15475. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15476. type: string
  15477. wrfactortypeid:
  15478. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15479. type: string
  15480. wrfactortypename:
  15481. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15482. type: string
  15483. wrstandardcode:
  15484. description: 现货商品代码
  15485. type: string
  15486. wrstandardid:
  15487. description: 现货商品ID
  15488. type: integer
  15489. wrstandardname:
  15490. description: 商品名称
  15491. type: string
  15492. wrtradeorderid:
  15493. description: 关联委托单ID
  15494. type: string
  15495. wrtypename:
  15496. description: 商品
  15497. type: string
  15498. type: object
  15499. models.Warehouseinfo:
  15500. properties:
  15501. address:
  15502. description: 详细地址
  15503. type: string
  15504. areauserid:
  15505. description: 所属机构
  15506. type: integer
  15507. autoid:
  15508. description: 自增ID
  15509. type: integer
  15510. cityid:
  15511. description: 市
  15512. type: integer
  15513. contactname:
  15514. description: 联系人
  15515. type: string
  15516. contactnum:
  15517. description: 联系电话
  15518. type: string
  15519. countryid:
  15520. description: 国家
  15521. type: integer
  15522. createtime:
  15523. description: 创建时间
  15524. type: string
  15525. districtid:
  15526. description: 区
  15527. type: integer
  15528. hasvideo:
  15529. description: 是否有视频 - 0:无 1:有
  15530. type: integer
  15531. provinceid:
  15532. description: 省
  15533. type: integer
  15534. remark:
  15535. description: 审核备注
  15536. type: string
  15537. videourl:
  15538. description: 视频地址
  15539. type: string
  15540. warehousecode:
  15541. description: 仓库代码
  15542. type: string
  15543. warehousename:
  15544. description: 仓库名称
  15545. type: string
  15546. warehousestatus:
  15547. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15548. type: integer
  15549. warehousetype:
  15550. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15551. type: integer
  15552. required:
  15553. - autoid
  15554. - warehousecode
  15555. type: object
  15556. models.WrAverageTradePrice:
  15557. properties:
  15558. averageprice:
  15559. description: 成交均价
  15560. type: number
  15561. tradedate:
  15562. description: 交易日yyyymm
  15563. type: string
  15564. type: object
  15565. models.WrBrandAndYears:
  15566. properties:
  15567. brandlst:
  15568. description: 品牌列表
  15569. items:
  15570. $ref: '#/definitions/models.DgFactoryItem'
  15571. type: array
  15572. yearslst:
  15573. description: 年份列表
  15574. items:
  15575. $ref: '#/definitions/models.DgFactoryItem'
  15576. type: array
  15577. type: object
  15578. models.WrBsGoodsInfo:
  15579. properties:
  15580. buyorsell:
  15581. description: 买卖方向 0-买 1-卖
  15582. type: integer
  15583. goodsid:
  15584. description: 交易合约ID
  15585. type: integer
  15586. lstitem:
  15587. description: 商品信息项
  15588. items:
  15589. $ref: '#/definitions/models.WrTypeItem'
  15590. type: array
  15591. lststep:
  15592. description: 履约规则
  15593. items:
  15594. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15595. type: array
  15596. type: object
  15597. models.WrBuybackDetail:
  15598. properties:
  15599. buybackamount:
  15600. description: 回购金额
  15601. type: number
  15602. buybackqty:
  15603. description: 回购数量
  15604. type: number
  15605. buybackreleasemargin:
  15606. description: 回购释放保证金
  15607. type: number
  15608. buybacktime:
  15609. description: 回购时间
  15610. type: string
  15611. errordesc:
  15612. description: 错误描述
  15613. type: string
  15614. handlestatus:
  15615. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15616. type: integer
  15617. relatedwrid:
  15618. description: 关联仓单ID
  15619. type: integer
  15620. scfcontractid:
  15621. description: SCF合同ID
  15622. type: string
  15623. scfwrbuybackid:
  15624. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15625. type: integer
  15626. tradedate:
  15627. description: 交易日(yyyyMMdd)
  15628. type: string
  15629. type: object
  15630. models.WrClientAdSpaceConfig:
  15631. properties:
  15632. adspaceid:
  15633. description: 广告位ID
  15634. type: integer
  15635. adspacename:
  15636. description: 广告位名称
  15637. type: string
  15638. adspacetype:
  15639. description: 广告位类型 - 1:固定广告位
  15640. type: integer
  15641. areauserid:
  15642. description: 所属机构ID
  15643. type: integer
  15644. createdate:
  15645. description: 创建时间
  15646. type: string
  15647. imagepath:
  15648. description: 图片
  15649. type: string
  15650. modifierid:
  15651. description: 操作人
  15652. type: integer
  15653. recsize:
  15654. description: 推荐尺寸
  15655. type: string
  15656. title:
  15657. description: 标题
  15658. type: string
  15659. updatedate:
  15660. description: 更新时间
  15661. type: string
  15662. urlcontent:
  15663. description: 链接(地址\商品ID\功能菜单Key\appid)
  15664. type: string
  15665. urltype:
  15666. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15667. type: integer
  15668. type: object
  15669. models.WrDeliveryAvalidHoldLB:
  15670. properties:
  15671. accountid:
  15672. description: 资金账号
  15673. type: integer
  15674. avalidqty:
  15675. description: 数量(可点选数量)
  15676. type: number
  15677. deliverygoodsid:
  15678. description: 品种id
  15679. type: integer
  15680. enumdicname:
  15681. description: 单位名称
  15682. type: string
  15683. goodsid:
  15684. description: x合约商品id
  15685. type: integer
  15686. ladingbillid:
  15687. description: 提单id
  15688. type: string
  15689. pgoodscode:
  15690. description: p商品代码(点价合约)
  15691. type: string
  15692. pgoodsid:
  15693. description: p商品id(点价合约)
  15694. type: integer
  15695. pgoodsname:
  15696. description: p商品名称(点价合约)
  15697. type: string
  15698. pricemove:
  15699. description: 升贴水
  15700. type: number
  15701. subnum:
  15702. description: 提单子id
  15703. type: integer
  15704. userid:
  15705. description: 用户id
  15706. type: integer
  15707. username:
  15708. description: 仓单持有人
  15709. type: string
  15710. warehousecode:
  15711. description: 仓库代码
  15712. type: string
  15713. warehouseid:
  15714. description: 仓库id
  15715. type: integer
  15716. warehousename:
  15717. description: 仓库名称
  15718. type: string
  15719. wrfactortypeid:
  15720. description: 仓单要素id
  15721. type: string
  15722. wrstandardcode:
  15723. description: 品代码
  15724. type: string
  15725. wrstandardid:
  15726. description: 品类d
  15727. type: integer
  15728. wrstandardname:
  15729. description: 品类名称
  15730. type: string
  15731. wrtypename:
  15732. description: 商品
  15733. type: string
  15734. xgoodscode:
  15735. description: x合约代码
  15736. type: string
  15737. xgoodsname:
  15738. description: x合约名称
  15739. type: string
  15740. type: object
  15741. models.WrDeliveryDetail:
  15742. properties:
  15743. accountid:
  15744. description: 账号ID
  15745. type: integer
  15746. averageprice:
  15747. description: 交割均价 = 交割金额 / 交割数量
  15748. type: number
  15749. begindate:
  15750. description: 开始交易日(yyyymmdd)
  15751. type: string
  15752. buyorsell:
  15753. description: 方向 - 0:买 1:卖
  15754. type: integer
  15755. deliveryamount:
  15756. description: 货款金额(X总货款+P总货款)
  15757. type: number
  15758. deliveryid:
  15759. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15760. type: string
  15761. deliveryorderid:
  15762. description: 申报单号
  15763. type: string
  15764. deliverypricemove:
  15765. description: 升贴水(升贴水总额)
  15766. type: number
  15767. deliveryqty:
  15768. description: 交收数量(点选数量)
  15769. type: number
  15770. deliverystatus:
  15771. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15772. type: integer
  15773. deliverytime:
  15774. description: 交割时间
  15775. type: string
  15776. deliverytotalamount:
  15777. description: 交收金额
  15778. type: number
  15779. enddate:
  15780. description: 结束交易日(yyyymmdd)
  15781. type: string
  15782. enumdicname:
  15783. description: 单位名称
  15784. type: string
  15785. matchaccountid:
  15786. description: 对手账号ID
  15787. type: integer
  15788. matchusername:
  15789. description: 对手方名称(仓单持有人)
  15790. type: string
  15791. p1goodsremainamount:
  15792. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15793. type: number
  15794. pdeliverycloseqty:
  15795. description: p合约平仓数量
  15796. type: number
  15797. pdeliveryprice:
  15798. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15799. type: number
  15800. pgoodscode:
  15801. description: 商品代码
  15802. type: string
  15803. pgoodsid:
  15804. description: p点选合约id
  15805. type: integer
  15806. pgoodsname:
  15807. description: 商品名称
  15808. type: string
  15809. ppricemode:
  15810. description: 点价价格方式 - 1:商品价 2:固定值
  15811. type: integer
  15812. tradedate:
  15813. description: 交易日(yyyymmdd)
  15814. type: string
  15815. userid:
  15816. description: 用户id
  15817. type: integer
  15818. username:
  15819. description: 用户名称
  15820. type: string
  15821. warehousename:
  15822. description: 仓库名称
  15823. type: string
  15824. wrfactortypeid:
  15825. description: 仓单要素类型ID
  15826. type: string
  15827. wrtypename:
  15828. description: 商品
  15829. type: string
  15830. xdeliverycloseqty:
  15831. description: 合约数量
  15832. type: number
  15833. xgoodsamount:
  15834. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15835. type: number
  15836. xgoodscode:
  15837. description: 商品代码
  15838. type: string
  15839. xgoodsid:
  15840. description: x交易合约ID
  15841. type: integer
  15842. xgoodsname:
  15843. description: 商品名称
  15844. type: string
  15845. type: object
  15846. models.WrDeliveryGoodsSection:
  15847. properties:
  15848. dglst:
  15849. description: 板块商品列表
  15850. items:
  15851. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15852. type: array
  15853. imagepath:
  15854. description: 图片地址
  15855. type: string
  15856. orderindex:
  15857. description: 排序
  15858. type: integer
  15859. sectionid:
  15860. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15861. = 1的版块1 - 云融指数
  15862. type: integer
  15863. sectionname:
  15864. description: 版块名称
  15865. type: string
  15866. sectiontype:
  15867. description: 版块类型 - 1:指数版块 2:普通版块
  15868. type: integer
  15869. type: object
  15870. models.WrDeliveryGoodsSectionConfig:
  15871. properties:
  15872. deliverygoodscode:
  15873. description: 现货商品代码
  15874. type: string
  15875. deliverygoodsid:
  15876. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15877. type: integer
  15878. deliverygoodsname:
  15879. description: 现货商品名称
  15880. type: string
  15881. orderindex:
  15882. description: 排序
  15883. type: integer
  15884. type: object
  15885. models.WrDraftUserInfo:
  15886. properties:
  15887. address:
  15888. description: 地址
  15889. type: string
  15890. attachment1:
  15891. description: 附件1
  15892. type: string
  15893. attachment2:
  15894. description: 附件2
  15895. type: string
  15896. attachment3:
  15897. description: 附件3
  15898. type: string
  15899. attachment4:
  15900. description: 附件4
  15901. type: string
  15902. attachment5:
  15903. description: 附件5
  15904. type: string
  15905. bankaccount:
  15906. description: 银行帐号 (加密存储)
  15907. type: string
  15908. bankaccountname:
  15909. description: 收款人名称
  15910. type: string
  15911. bankcardfrontphotourl:
  15912. description: 银行卡正面照地址
  15913. type: string
  15914. bankid:
  15915. description: 银行编码
  15916. type: string
  15917. bankname:
  15918. description: 银行名称
  15919. type: string
  15920. birthday:
  15921. description: 生日(个人:年月日)
  15922. type: string
  15923. biznature:
  15924. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15925. type: integer
  15926. bizscope:
  15927. description: 企业经营范围(企业)
  15928. type: string
  15929. biztype:
  15930. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15931. type: integer
  15932. cardbackphotourl:
  15933. description: 证件背面图片地址
  15934. type: string
  15935. cardfrontphotourl:
  15936. description: 证件正面图片地址
  15937. type: string
  15938. cardnum:
  15939. description: 证件号码(加密存储)
  15940. type: string
  15941. cardtypeid:
  15942. description: 证件类型ID
  15943. type: integer
  15944. cityid:
  15945. description: 市
  15946. type: integer
  15947. company:
  15948. description: 公司(个人)
  15949. type: string
  15950. contactcardbackphotourl:
  15951. description: 联系人证件背面图片地址
  15952. type: string
  15953. contactcardfrontphotourl:
  15954. description: 联系人证件正面图片地址
  15955. type: string
  15956. contactname:
  15957. description: 联系人
  15958. type: string
  15959. countryid:
  15960. description: 国家
  15961. type: integer
  15962. createtime:
  15963. description: 创建时间
  15964. type: string
  15965. creatorid:
  15966. description: 创建人
  15967. type: integer
  15968. creditquota:
  15969. description: 授信额度(金瑞)
  15970. type: number
  15971. customername:
  15972. description: 客户名称(企业名称)
  15973. type: string
  15974. districtid:
  15975. description: 地区
  15976. type: integer
  15977. email:
  15978. description: 邮件(加密存储)
  15979. type: string
  15980. fax:
  15981. description: 传真(加密存储)
  15982. type: string
  15983. halfbodyphotourl:
  15984. description: 半身照地址
  15985. type: string
  15986. hasencrypt:
  15987. description: 数据是否已加密 - 0:未加密 1:已加密
  15988. type: integer
  15989. headurl:
  15990. description: 头像地址
  15991. type: string
  15992. legalcardbackphotourl:
  15993. description: 法人身份证背面照地址
  15994. type: string
  15995. legalcardfrontphotourl:
  15996. description: 法人身份证正面照地址
  15997. type: string
  15998. legalpersonname:
  15999. description: 法人姓名(企业)
  16000. type: string
  16001. mobile:
  16002. description: 手机号码(加密存储)
  16003. type: string
  16004. mobile2:
  16005. description: 手机号码[明文-尚志]
  16006. type: string
  16007. modifierid:
  16008. description: 修改人
  16009. type: integer
  16010. modifiertime:
  16011. description: 修改时间
  16012. type: string
  16013. needinvoice:
  16014. description: 是否需要发票 - 0:不需要 1:需要
  16015. type: integer
  16016. nickname:
  16017. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16018. type: string
  16019. openmode:
  16020. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16021. 6:苹果手机端注册 7:PC交易端注册"
  16022. type: integer
  16023. otherurl:
  16024. description: 其它图片地址[使用分号分隔]
  16025. type: string
  16026. postalcode:
  16027. description: 邮政编码
  16028. type: string
  16029. provinceid:
  16030. description: 省
  16031. type: integer
  16032. proxystatementurl:
  16033. description: 授权委托书
  16034. type: string
  16035. qq:
  16036. description: QQ(加密存储
  16037. type: string
  16038. remark:
  16039. description: 备注
  16040. type: string
  16041. sex:
  16042. description: '用户性别 0: 女 1: 男'
  16043. type: integer
  16044. signpdfurl:
  16045. description: 签约pdf文件
  16046. type: string
  16047. taxpayernum:
  16048. description: 纳税人识别号
  16049. type: string
  16050. telphone:
  16051. description: 联系电话(加密存储)
  16052. type: string
  16053. userid:
  16054. description: 用户ID
  16055. type: integer
  16056. userinfotype:
  16057. description: 用户信息类型 - 1:个人 2:企业
  16058. type: integer
  16059. userstatus:
  16060. description: 用户状态 - 1:正常 2:注销
  16061. type: integer
  16062. usertype:
  16063. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16064. type: integer
  16065. wechat:
  16066. description: 微信(加密存储)
  16067. type: string
  16068. wskhinfo:
  16069. description: 开户申请信息(JSON)
  16070. type: string
  16071. type: object
  16072. models.WrFAProductDetail:
  16073. properties:
  16074. accountid:
  16075. description: 资金账号
  16076. type: integer
  16077. areauserid:
  16078. description: 金融机构ID
  16079. type: integer
  16080. financingdays:
  16081. description: 天数(天)
  16082. type: integer
  16083. interestminlen:
  16084. description: 最小起息天数
  16085. type: integer
  16086. interestrate:
  16087. description: 利率
  16088. type: number
  16089. interestratemode:
  16090. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16091. type: integer
  16092. interestsettlemode:
  16093. description: 结息方式 - 1:按日结息 3:按月结息
  16094. type: integer
  16095. interestsettlevalue:
  16096. description: 结息方式值
  16097. type: integer
  16098. isautoloan:
  16099. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16100. type: integer
  16101. loantag:
  16102. description: '放款标识: "放款快" 或者为空'
  16103. type: string
  16104. marginratio:
  16105. description: 保证金比率质押率 - [仓单质押]
  16106. type: number
  16107. productdetailid:
  16108. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16109. type: integer
  16110. productid:
  16111. description: 金融产品ID
  16112. type: integer
  16113. productname:
  16114. description: 产品名称
  16115. type: string
  16116. updatetime:
  16117. description: 更新时间
  16118. type: string
  16119. username:
  16120. description: 融出方
  16121. type: string
  16122. type: object
  16123. models.WrFactorTypeInfo:
  16124. properties:
  16125. deliverygoodscode:
  16126. description: 品种代码
  16127. type: string
  16128. deliverygoodsname:
  16129. description: 品种名称
  16130. type: string
  16131. dgfactoryitemid:
  16132. description: 选择项id
  16133. type: integer
  16134. dgfactoryitemtypeid:
  16135. description: 要素选择项ID (1-仓库 2-品牌)
  16136. type: integer
  16137. dgfactoryitemvalue:
  16138. description: 要素项值
  16139. type: string
  16140. itemtypename:
  16141. description: 要素项名称
  16142. type: string
  16143. optioncompare:
  16144. description: 选择比较串
  16145. type: string
  16146. warehouseid:
  16147. description: 仓库id
  16148. type: integer
  16149. wrfactortypeid:
  16150. description: 仓单要素ID
  16151. type: string
  16152. wrfactortypename:
  16153. description: 要素名称
  16154. type: string
  16155. wrfactortypename2:
  16156. description: 要素名称(不含仓库)
  16157. type: string
  16158. wrstandardcode:
  16159. description: 品类代码
  16160. type: string
  16161. wrstandardid:
  16162. description: 品类id
  16163. type: integer
  16164. wrstandardname:
  16165. description: 品类名称
  16166. type: string
  16167. type: object
  16168. models.WrFilterItem:
  16169. properties:
  16170. itemcode:
  16171. description: 代码
  16172. type: string
  16173. itemid:
  16174. description: 项id
  16175. type: integer
  16176. itemname:
  16177. description: 名称
  16178. type: string
  16179. itemtype:
  16180. description: 类型 1-品种 2-品类(商品) 3-仓库
  16181. type: integer
  16182. type: object
  16183. models.WrFinanceBuyApply:
  16184. properties:
  16185. applydate:
  16186. description: 申请时间
  16187. type: string
  16188. applystatus:
  16189. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16190. type: integer
  16191. applyuserid:
  16192. description: 申请人
  16193. type: integer
  16194. auditdate:
  16195. description: 审核时间
  16196. type: string
  16197. auditremark:
  16198. description: 审核备注
  16199. type: string
  16200. audituserid:
  16201. description: 审核人
  16202. type: integer
  16203. buyaccountid:
  16204. description: 买方资金账号
  16205. type: integer
  16206. buyorsell:
  16207. description: 买卖 - 0:买 1:卖
  16208. type: integer
  16209. buyuserid:
  16210. description: 买方用户ID
  16211. type: integer
  16212. buyusername:
  16213. description: 买方名称
  16214. type: string
  16215. buywrtradeorderid:
  16216. description: 融资方买委托单ID
  16217. type: string
  16218. deliverygoodscode:
  16219. description: 品种代码
  16220. type: string
  16221. deliverygoodsid:
  16222. description: 品种ID
  16223. type: integer
  16224. deliverygoodsname:
  16225. description: 品种名称
  16226. type: string
  16227. deliverymonth:
  16228. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16229. type: string
  16230. enumdicname:
  16231. description: 单位名称
  16232. type: string
  16233. financeaccountid:
  16234. description: 融资方资金帐户ID
  16235. type: integer
  16236. financeapplyid:
  16237. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16238. type: string
  16239. financeareauserid:
  16240. description: 融资方用户ID
  16241. type: string
  16242. financename:
  16243. description: 融出方名称
  16244. type: string
  16245. financetype:
  16246. description: 融资类型 1-融资回购
  16247. type: integer
  16248. financingdays:
  16249. description: 天数(天)
  16250. type: integer
  16251. freezebuymargin:
  16252. description: 冻结融资保证金(买方)
  16253. type: number
  16254. handleremark:
  16255. description: 处理备注
  16256. type: string
  16257. handlestatus:
  16258. description: 处理状态
  16259. type: integer
  16260. interestminlen:
  16261. description: 最小起息天数
  16262. type: integer
  16263. interestrate:
  16264. description: 利率
  16265. type: number
  16266. interestratemode:
  16267. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16268. type: integer
  16269. interestsettlemode:
  16270. description: 结息方式 - 1:按日结息 3:按月结息
  16271. type: integer
  16272. interestsettlevalue:
  16273. description: 结息方式值
  16274. type: integer
  16275. isautoloan:
  16276. description: 是否自动放款 - 0:手动 1:自动
  16277. type: integer
  16278. marginratio:
  16279. description: 保证金比率质押率 - [仓单质押]
  16280. type: number
  16281. marketid:
  16282. description: 市场ID
  16283. type: integer
  16284. minivalue:
  16285. description: 现货商品最小变动值
  16286. type: integer
  16287. optioncompare:
  16288. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16289. type: string
  16290. orderqty:
  16291. description: 委托数量(商品数量)
  16292. type: number
  16293. productdetailid:
  16294. description: 产品组合ID
  16295. type: integer
  16296. productid:
  16297. description: 金融产品ID
  16298. type: integer
  16299. productname:
  16300. description: 产品名称
  16301. type: string
  16302. remark:
  16303. description: 备注
  16304. type: string
  16305. scfcontractid:
  16306. description: 仓单回购合同ID
  16307. type: string
  16308. sellaccountid:
  16309. description: 卖方资金账号
  16310. type: integer
  16311. selluserid:
  16312. description: 卖方用户ID
  16313. type: integer
  16314. sellwrtradeorderid:
  16315. description: 卖方委托单ID
  16316. type: string
  16317. tradeamount:
  16318. description: 成交金额(借款金额)
  16319. type: number
  16320. tradedate:
  16321. description: 交易日(yyyyMMdd)
  16322. type: string
  16323. tradeprice:
  16324. description: 成交价格
  16325. type: number
  16326. warehouseid:
  16327. description: 仓库ID
  16328. type: integer
  16329. warehousename:
  16330. description: 仓库名称
  16331. type: string
  16332. wrfactortypeid:
  16333. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16334. type: string
  16335. wrfactortypename:
  16336. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16337. type: string
  16338. wrpricetype:
  16339. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16340. type: integer
  16341. wrstandardcode:
  16342. description: 现货商品代码
  16343. type: string
  16344. wrstandardid:
  16345. description: 现货商品ID
  16346. type: integer
  16347. wrstandardname:
  16348. description: 商品名称
  16349. type: string
  16350. wrtypename:
  16351. description: 商品
  16352. type: string
  16353. type: object
  16354. models.WrFriendApply:
  16355. properties:
  16356. applicantid:
  16357. description: 申请人
  16358. type: integer
  16359. applyname:
  16360. description: 申请人名称
  16361. type: string
  16362. applysrc:
  16363. description: 申请来源 - 1:管理端 2:终端
  16364. type: integer
  16365. applystatus:
  16366. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16367. type: integer
  16368. applytime:
  16369. description: 申请时间
  16370. type: string
  16371. auditname:
  16372. description: 审核人名称
  16373. type: string
  16374. auditorid:
  16375. description: 审核人
  16376. type: integer
  16377. auditremark:
  16378. description: 审核备注
  16379. type: string
  16380. auditsrc:
  16381. description: 审核来源 - 1:管理端 2:终端
  16382. type: integer
  16383. audittime:
  16384. description: 审核时间
  16385. type: string
  16386. friendapplyid:
  16387. description: 申请ID(SEQ_FRIENDAPPLY)
  16388. type: string
  16389. friendname:
  16390. description: 好友名字(已脱敏)
  16391. type: string
  16392. frienduserid:
  16393. description: 好友用户ID
  16394. type: string
  16395. remark:
  16396. description: 备注
  16397. type: string
  16398. userid:
  16399. description: 申请人用户ID
  16400. type: integer
  16401. type: object
  16402. models.WrFtDeliveryGoods:
  16403. properties:
  16404. deliverygoodscode:
  16405. description: 品种代码
  16406. type: string
  16407. deliverygoodsid:
  16408. description: 品种ID
  16409. type: integer
  16410. deliverygoodsname:
  16411. description: 品种名称
  16412. type: string
  16413. wdlst:
  16414. description: 商品列表
  16415. items:
  16416. $ref: '#/definitions/models.WrFtWrstandard'
  16417. type: array
  16418. type: object
  16419. models.WrFtWrstandard:
  16420. properties:
  16421. enumdicname:
  16422. description: 单位名称
  16423. type: string
  16424. minivalue:
  16425. description: 最小变动值
  16426. type: integer
  16427. wrstandardcode:
  16428. description: 现货商品代码
  16429. type: string
  16430. wrstandardid:
  16431. description: 现货商品ID
  16432. type: integer
  16433. wrstandardname:
  16434. description: 商品名称
  16435. type: string
  16436. type: object
  16437. models.WrGoodsInfo:
  16438. properties:
  16439. haswr:
  16440. description: 0:仓单预售 1:仓单贸易
  16441. type: integer
  16442. lstitem:
  16443. description: 商品信息项
  16444. items:
  16445. $ref: '#/definitions/models.WrTypeItem'
  16446. type: array
  16447. lststep:
  16448. description: 履约规则
  16449. items:
  16450. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16451. type: array
  16452. marketid:
  16453. description: 市场id
  16454. type: integer
  16455. type: object
  16456. models.WrGoodsPerformanceStep:
  16457. properties:
  16458. autoid:
  16459. description: AutoID
  16460. type: integer
  16461. isauto:
  16462. description: 是否自动 - 0:不自动 1:自动
  16463. type: integer
  16464. remark:
  16465. description: 备注
  16466. type: string
  16467. stepdate:
  16468. description: 天数信息(T+N)
  16469. type: string
  16470. stepdays:
  16471. description: 距离上一步天数
  16472. type: integer
  16473. stepindex:
  16474. description: 步骤序号
  16475. type: integer
  16476. stepinfo:
  16477. description: 步骤信息(步骤名称+步骤值)
  16478. type: string
  16479. steptypeid:
  16480. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16481. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16482. type: integer
  16483. steptypename:
  16484. description: 步骤名称
  16485. type: string
  16486. stepvalue:
  16487. description: 步骤值
  16488. type: number
  16489. templateid:
  16490. description: 履约计划模板ID
  16491. type: integer
  16492. type: object
  16493. models.WrHoldLB:
  16494. properties:
  16495. accountid:
  16496. description: 持有人帐户ID
  16497. type: integer
  16498. bannerpicurl:
  16499. description: Banner图
  16500. type: string
  16501. createtime:
  16502. description: 创建时间(过户时间)
  16503. type: string
  16504. deliverygoodscode:
  16505. description: 品种代码
  16506. type: string
  16507. deliverygoodsid:
  16508. description: 品种ID
  16509. type: integer
  16510. deliverygoodsname:
  16511. description: 品种名称
  16512. type: string
  16513. enableqty:
  16514. description: 可用数量
  16515. type: number
  16516. enumdicname:
  16517. description: 单位名称
  16518. type: string
  16519. freezerqty:
  16520. description: 冻结数量
  16521. type: number
  16522. ladingbillid:
  16523. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16524. type: string
  16525. minivalue:
  16526. description: 现货商品最小变动值
  16527. type: integer
  16528. optioncompare:
  16529. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16530. type: string
  16531. parentsubnum:
  16532. description: 拆分父子单号
  16533. type: integer
  16534. pledgeqty:
  16535. description: 质押数量
  16536. type: number
  16537. qty:
  16538. description: 数量
  16539. type: number
  16540. subnum:
  16541. description: 提单子单号
  16542. type: integer
  16543. thumurls:
  16544. description: 缩略图
  16545. type: string
  16546. tradedate:
  16547. description: 交易日(yyyyMMdd)
  16548. type: string
  16549. userid:
  16550. description: 持有人ID
  16551. type: integer
  16552. warehouseid:
  16553. description: 仓库ID
  16554. type: integer
  16555. warehousename:
  16556. description: 仓库名称
  16557. type: string
  16558. wrfactortypeid:
  16559. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16560. type: string
  16561. wrfactortypename:
  16562. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16563. type: string
  16564. wrholdeno:
  16565. description: 仓单编号
  16566. type: string
  16567. wrid:
  16568. description: 仓单变更ID
  16569. type: string
  16570. wrstandardcode:
  16571. description: 现货商品代码
  16572. type: string
  16573. wrstandardid:
  16574. description: 现货商品ID
  16575. type: integer
  16576. wrstandardname:
  16577. description: 商品名称
  16578. type: string
  16579. wrtypename:
  16580. description: 商品
  16581. type: string
  16582. type: object
  16583. models.WrMarketTradeConfig:
  16584. properties:
  16585. basisdownratio:
  16586. description: 浮动价基差下限比例(仓单贸易)
  16587. type: number
  16588. basisupratio:
  16589. description: 浮动价基差上限比例(仓单贸易)
  16590. type: number
  16591. buychargealgorithm:
  16592. description: 买方手续费收取方式 1:比率 2:固定
  16593. type: integer
  16594. buychargealgorithm2:
  16595. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16596. type: integer
  16597. buychargealgorithmvalue:
  16598. description: 买方手续费设置值(交易所部分)
  16599. type: number
  16600. buychargealgorithmvalue2:
  16601. description: 买方手续费设置值(会员部分)
  16602. type: number
  16603. buychargealgorithmvalue3:
  16604. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16605. type: number
  16606. buychargealgorithmvalue4:
  16607. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16608. type: number
  16609. buyfirstmarginalgorithm:
  16610. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16611. type: integer
  16612. buyfirstmarginvalue:
  16613. description: 买方出价保证金设置值 - [竞拍]
  16614. type: number
  16615. buymarginalgorithm:
  16616. description: 买方保证金方式 - 1:比率 2:固定
  16617. type: integer
  16618. buymarginvalue:
  16619. description: 买方保证金设置值
  16620. type: number
  16621. buyreleaseratio:
  16622. description: 买方释放比率[2:分步履约]
  16623. type: number
  16624. executemode:
  16625. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16626. type: integer
  16627. executeside:
  16628. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16629. type: integer
  16630. failedchargealgorithm:
  16631. description: 流拍手续费收取方式 1:比率 2:固定
  16632. type: integer
  16633. failedchargevalue:
  16634. description: 流拍手续费设置值
  16635. type: number
  16636. failedchargevalue2:
  16637. description: 流拍卖方手续费设置值
  16638. type: number
  16639. holddays:
  16640. description: 合同期限[2:分步履约]
  16641. type: integer
  16642. listingmode:
  16643. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16644. type: integer
  16645. marketid:
  16646. description: 市场ID-仓单贸易、竞拍、预售
  16647. type: integer
  16648. minqty:
  16649. description: 最小执行量[2:分步履约]
  16650. type: number
  16651. modifierid:
  16652. description: 修改人
  16653. type: integer
  16654. nowrquotaflag:
  16655. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16656. type: integer
  16657. performancetempid:
  16658. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16659. 立即执行(-1)
  16660. type: integer
  16661. performancetempid2:
  16662. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16663. 立即执行
  16664. type: integer
  16665. performancetempid2s:
  16666. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16667. - 履约方式: 立即执行
  16668. type: string
  16669. performancetempids:
  16670. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16671. - 履约方式: 立即执行(-1)
  16672. type: string
  16673. performanceway:
  16674. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16675. type: integer
  16676. sellchargealgorithm:
  16677. description: 卖方手续费收取方式 1:比率 2:固定
  16678. type: integer
  16679. sellchargealgorithm2:
  16680. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16681. type: integer
  16682. sellchargealgorithmvalue:
  16683. description: 卖方手续费设置值(交易所部分)
  16684. type: number
  16685. sellchargealgorithmvalue2:
  16686. description: 卖方手续费设置值(会员部分)
  16687. type: number
  16688. sellchargealgorithmvalue3:
  16689. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16690. type: number
  16691. sellchargealgorithmvalue4:
  16692. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16693. type: number
  16694. sellmarginalgorithm:
  16695. description: 卖方保证金方式 - 1:比率 2:固定
  16696. type: integer
  16697. sellmarginvalue:
  16698. description: 卖方保证金设置值
  16699. type: number
  16700. sellmarginvalue2:
  16701. description: 卖方保证金设置值(无仓单)
  16702. type: number
  16703. sellreleaseratio:
  16704. description: 卖方释放比率[2:分步履约]
  16705. type: number
  16706. updatetime:
  16707. description: 更新时间
  16708. type: string
  16709. type: object
  16710. models.WrOrderDetail:
  16711. properties:
  16712. accountid:
  16713. description: 交易账号(资金账号)
  16714. type: integer
  16715. allfriendsflag:
  16716. description: 是否全好友可见 - 0:否 1:是
  16717. type: integer
  16718. amount:
  16719. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16720. type: number
  16721. bannerpicurl:
  16722. description: Banner图
  16723. type: string
  16724. begindate:
  16725. description: 开始交易日(yyyymmdd)
  16726. type: string
  16727. buyorsell:
  16728. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16729. type: integer
  16730. canbargain:
  16731. description: 是否可议价 - 0:不可 1:可
  16732. type: integer
  16733. cancelqty:
  16734. description: 撤销数量
  16735. type: number
  16736. canpart:
  16737. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16738. type: integer
  16739. delistminqty:
  16740. description: 起摘数量
  16741. type: integer
  16742. deliverygoodscode:
  16743. description: 品种代码
  16744. type: string
  16745. deliverygoodsid:
  16746. description: 品种ID
  16747. type: integer
  16748. deliverygoodsname:
  16749. description: 品种名称
  16750. type: string
  16751. deliverymonth:
  16752. description: 交收月
  16753. type: string
  16754. enddate:
  16755. description: 结束交易日(yyyymmdd)
  16756. type: string
  16757. enumdicname:
  16758. description: 单位名称
  16759. type: string
  16760. fixedprice:
  16761. description: 固定价格 - [挂牌]
  16762. type: number
  16763. freezecharge:
  16764. description: 冻结手续费
  16765. type: number
  16766. freezemargin:
  16767. description: 冻结保证金(保证金)
  16768. type: number
  16769. futupricemove:
  16770. description: 期货升贴水
  16771. type: number
  16772. futushow:
  16773. description: 期货合约/升贴水
  16774. type: string
  16775. goodscode:
  16776. description: 期货合约
  16777. type: string
  16778. goodsid:
  16779. description: 期货商品id
  16780. type: integer
  16781. goodsname:
  16782. description: 商品名称
  16783. type: string
  16784. haswr:
  16785. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16786. type: integer
  16787. isspecified:
  16788. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16789. type: integer
  16790. ladingbillid:
  16791. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16792. type: string
  16793. marginvalue:
  16794. description: 保证金设置值(履约保证金)
  16795. type: number
  16796. marketid:
  16797. description: 市场ID
  16798. type: integer
  16799. matchusername:
  16800. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16801. type: string
  16802. minivalue:
  16803. description: 现货商品最小变动值
  16804. type: integer
  16805. optioncompare:
  16806. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16807. type: string
  16808. orderqty:
  16809. description: 委托数量
  16810. type: number
  16811. ordertime:
  16812. description: 委托时间(挂牌时间)
  16813. type: string
  16814. performancetemplateid:
  16815. description: 履约模板id
  16816. type: integer
  16817. pricemove:
  16818. description: 升贴水(浮动价时填写) - [挂牌]
  16819. type: number
  16820. taname:
  16821. description: 交易用户名称(资金账号名称)
  16822. type: string
  16823. thumurls:
  16824. description: 缩略图
  16825. type: string
  16826. tradedate:
  16827. description: 交易日(yyyyMMdd)
  16828. type: string
  16829. tradeprice:
  16830. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16831. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16832. type: number
  16833. tradeqty:
  16834. description: 成交数量
  16835. type: number
  16836. userid:
  16837. description: 用户ID
  16838. type: integer
  16839. validtime:
  16840. description: 挂牌有效期
  16841. type: string
  16842. validtype:
  16843. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16844. type: integer
  16845. warehouseid:
  16846. description: 仓库ID
  16847. type: integer
  16848. warehousename:
  16849. description: 仓库名称
  16850. type: string
  16851. wrfactortypeid:
  16852. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16853. type: string
  16854. wrfactortypename:
  16855. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16856. type: string
  16857. wrpricetype:
  16858. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16859. type: integer
  16860. wrstandardcode:
  16861. description: 现货商品代码
  16862. type: string
  16863. wrstandardid:
  16864. description: 现货商品ID
  16865. type: integer
  16866. wrstandardname:
  16867. description: 商品名称
  16868. type: string
  16869. wrtradeorderid:
  16870. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16871. type: string
  16872. wrtradeorderstatus:
  16873. 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:撤单解冻贷款失败
  16874. type: integer
  16875. wrtradetype:
  16876. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16877. type: integer
  16878. wrtypename:
  16879. description: 商品
  16880. type: string
  16881. type: object
  16882. models.WrOrderQuote:
  16883. properties:
  16884. bannerpicurl:
  16885. description: Banner图
  16886. type: string
  16887. buyprice:
  16888. description: 买价
  16889. type: number
  16890. buypricemove:
  16891. description: 买升贴水(基差)
  16892. type: number
  16893. buyqty:
  16894. description: 买量
  16895. type: number
  16896. deliverygoodscode:
  16897. description: 品种代码
  16898. type: string
  16899. deliverygoodsid:
  16900. description: 品种id
  16901. type: integer
  16902. deliverygoodsname:
  16903. description: 品种名称
  16904. type: string
  16905. deliverymonth:
  16906. description: 交收月
  16907. type: string
  16908. enumdicname:
  16909. description: 单位名称
  16910. type: string
  16911. goodscode:
  16912. description: 商品合约(浮动价列表才有)
  16913. type: string
  16914. goodsid:
  16915. description: 商品id(浮动价列表才有)
  16916. type: integer
  16917. minivalue:
  16918. description: 现货商品最小变动值
  16919. type: integer
  16920. pictureurls:
  16921. description: 详情图片(逗号分隔)
  16922. type: string
  16923. sellprice:
  16924. description: 卖价
  16925. type: number
  16926. sellpricemove:
  16927. description: 卖升贴水(基差)
  16928. type: number
  16929. sellqty:
  16930. description: 卖量
  16931. type: number
  16932. thumurls:
  16933. description: 缩略图片(1:1)(逗号分隔)
  16934. type: string
  16935. warehousecode:
  16936. description: 仓库代码
  16937. type: string
  16938. warehouseid:
  16939. description: 仓库id
  16940. type: integer
  16941. warehousename:
  16942. description: 仓库名称
  16943. type: string
  16944. wrfactortypeid:
  16945. description: 仓单要素id
  16946. type: string
  16947. wrfactortypename:
  16948. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16949. type: string
  16950. wrgoodsname:
  16951. description: 商品(商品名称+仓库要素名称 拼接)
  16952. type: string
  16953. wrstandardcode:
  16954. description: 商品代码
  16955. type: string
  16956. wrstandardid:
  16957. description: 商品id
  16958. type: integer
  16959. wrstandardname:
  16960. description: 商品名称
  16961. type: string
  16962. type: object
  16963. models.WrOrderQuoteDetail:
  16964. properties:
  16965. buyorsell:
  16966. description: 买卖 - 0:买 1:卖
  16967. type: integer
  16968. delistminqty:
  16969. description: 起摘数量
  16970. type: number
  16971. deliverymonth:
  16972. description: 交收月
  16973. type: string
  16974. enumdicname:
  16975. description: 单位名称
  16976. type: string
  16977. fixedprice:
  16978. description: 买(卖)价
  16979. type: number
  16980. marketid:
  16981. description: 市场id
  16982. type: integer
  16983. minivalue:
  16984. description: 现货商品最小变动值
  16985. type: integer
  16986. orderqty:
  16987. description: 买(卖)量(=委托量-成交量)
  16988. type: number
  16989. ordertime:
  16990. description: 委托时间
  16991. type: string
  16992. pricemove:
  16993. description: 买(卖)升贴水- 基差
  16994. type: number
  16995. userid:
  16996. description: 购买方(销售方)用户ID
  16997. type: integer
  16998. username:
  16999. description: 购买方(销售方)
  17000. type: string
  17001. wrtradeorderid:
  17002. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17003. type: string
  17004. type: object
  17005. models.WrOutInApply:
  17006. properties:
  17007. applyid:
  17008. description: 申请单id
  17009. type: string
  17010. applystatus:
  17011. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17012. 8:已撤销
  17013. type: integer
  17014. applytime:
  17015. description: 申请时间
  17016. type: string
  17017. applytype:
  17018. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17019. type: integer
  17020. bannerpicurl:
  17021. description: Banner图
  17022. type: string
  17023. begindate:
  17024. description: 开始交易日(yyyymmdd)
  17025. type: string
  17026. deliverygoodscode:
  17027. description: 品种代码
  17028. type: string
  17029. deliverygoodsid:
  17030. description: 品种ID
  17031. type: integer
  17032. deliverygoodsname:
  17033. description: 品种名称
  17034. type: string
  17035. enddate:
  17036. description: 结束交易日(yyyymmdd)
  17037. type: string
  17038. enumdicname:
  17039. description: 单位名称
  17040. type: string
  17041. expresscompany:
  17042. description: 物流公司
  17043. type: string
  17044. expressnum:
  17045. description: 物流单号
  17046. type: string
  17047. minivalue:
  17048. description: 现货商品最小变动值
  17049. type: integer
  17050. optioncompare:
  17051. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17052. type: string
  17053. qty:
  17054. description: 数量
  17055. type: integer
  17056. userid:
  17057. description: 用户id
  17058. type: integer
  17059. warehouseid:
  17060. description: 仓库ID
  17061. type: integer
  17062. warehousename:
  17063. description: 仓库名称
  17064. type: string
  17065. wrfactortypeid:
  17066. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17067. type: string
  17068. wrfactortypename:
  17069. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17070. type: string
  17071. wrstandardcode:
  17072. description: 现货商品代码
  17073. type: string
  17074. wrstandardid:
  17075. description: 现货商品ID
  17076. type: integer
  17077. wrstandardname:
  17078. description: 商品名称
  17079. type: string
  17080. wrtypename:
  17081. description: 商品
  17082. type: string
  17083. type: object
  17084. models.WrPerformancePlan:
  17085. properties:
  17086. activatemonth:
  17087. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17088. type: string
  17089. amount:
  17090. description: 履约金额(总金额)
  17091. type: number
  17092. begindate:
  17093. description: 开始交易日(yyyymmdd)
  17094. type: string
  17095. buyaccountid:
  17096. description: 买方账号
  17097. type: integer
  17098. buyerfreezeamount:
  17099. description: 履约冻结(买履约)
  17100. type: number
  17101. buyerfreezeamountremain:
  17102. description: 履约冻结剩余(买履约)
  17103. type: number
  17104. buyorsell:
  17105. description: 买卖方向 0-买 1-卖
  17106. type: integer
  17107. buypaidamount:
  17108. description: 买方已冻/已扣金额 (已付金额)
  17109. type: number
  17110. buyusername:
  17111. description: 买方名字
  17112. type: string
  17113. contractid:
  17114. description: 合同ID
  17115. type: integer
  17116. createtime:
  17117. description: 创建时间
  17118. type: string
  17119. creatorid:
  17120. description: 创建人
  17121. type: integer
  17122. curstepdeadline:
  17123. description: 当前步骤到期时间
  17124. type: string
  17125. curstepid:
  17126. description: 当前步骤ID
  17127. type: string
  17128. curstepname:
  17129. description: 当前步骤名称
  17130. type: string
  17131. deliverygoodscode:
  17132. description: 品种代码
  17133. type: string
  17134. deliverygoodsid:
  17135. description: 品种ID
  17136. type: integer
  17137. deliverygoodsname:
  17138. description: 品种名称
  17139. type: string
  17140. enddate:
  17141. description: 结束交易日(yyyymmdd)
  17142. type: string
  17143. enumdicname:
  17144. description: 单位名称
  17145. type: string
  17146. expressfee:
  17147. description: 运费
  17148. type: number
  17149. expressfeeconfirmed:
  17150. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17151. type: integer
  17152. hasovershort:
  17153. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17154. type: integer
  17155. haswr:
  17156. description: 类型 0-仓单预售 1-仓单贸易
  17157. type: integer
  17158. marketid:
  17159. description: 市场ID
  17160. type: integer
  17161. middleaccountid:
  17162. description: 中间商资金账号ID
  17163. type: integer
  17164. middleuserid:
  17165. description: 中间商用户ID
  17166. type: integer
  17167. minivalue:
  17168. description: 现货商品最小变动值
  17169. type: integer
  17170. optioncompare:
  17171. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17172. type: string
  17173. overshortamount:
  17174. description: 溢短金额
  17175. type: number
  17176. overshortqty:
  17177. description: 溢短数量
  17178. type: number
  17179. paymenttype:
  17180. description: 付款方式 - 1:冻结 2:扣款
  17181. type: integer
  17182. performanceplanid:
  17183. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17184. type: string
  17185. performancestatus:
  17186. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17187. 9:超时待处理 10:超时关闭
  17188. type: integer
  17189. performancetype:
  17190. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17191. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17192. type: integer
  17193. qty:
  17194. description: 履约数量
  17195. type: number
  17196. relatedorderid:
  17197. description: 关联单号(履约类型的关联单号)
  17198. type: string
  17199. remark:
  17200. description: 备注
  17201. type: string
  17202. sellaccountid:
  17203. description: 卖方账号
  17204. type: integer
  17205. sellerfreezeamount:
  17206. description: 履约冻结(卖履约)
  17207. type: number
  17208. sellerfreezeamountremain:
  17209. description: 履约冻结剩余(卖履约)
  17210. type: number
  17211. sellreceivedamount:
  17212. description: 卖方已收金额
  17213. type: number
  17214. sellusername:
  17215. description: 卖方名字
  17216. type: string
  17217. shipremark:
  17218. description: 发货备注[物流单号]
  17219. type: string
  17220. starttime:
  17221. description: 开始时间
  17222. type: string
  17223. steptypeid:
  17224. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17225. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17226. type: integer
  17227. typename:
  17228. description: 履约类型 名称
  17229. type: string
  17230. unpaidamount:
  17231. description: 剩余款(待支付金额)
  17232. type: number
  17233. userid:
  17234. description: 用户id
  17235. type: integer
  17236. warehouseid:
  17237. description: 仓库ID
  17238. type: integer
  17239. warehousename:
  17240. description: 仓库名称
  17241. type: string
  17242. wrfactortypeid:
  17243. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17244. type: string
  17245. wrfactortypename:
  17246. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17247. type: string
  17248. wrstandardcode:
  17249. description: 现货商品代码
  17250. type: string
  17251. wrstandardid:
  17252. description: 现货商品ID
  17253. type: integer
  17254. wrstandardname:
  17255. description: 商品名称
  17256. type: string
  17257. wrtransferuserid:
  17258. description: 仓单受让用户
  17259. type: integer
  17260. wrtypename:
  17261. description: 商品
  17262. type: string
  17263. required:
  17264. - userid
  17265. type: object
  17266. models.WrPerformancePlanStep:
  17267. properties:
  17268. delaydays:
  17269. description: 延期申请天数
  17270. type: integer
  17271. deliverygoodscode:
  17272. description: 品种代码
  17273. type: string
  17274. deliverygoodsid:
  17275. description: 品种ID
  17276. type: integer
  17277. deliverygoodsname:
  17278. description: 品种名称
  17279. type: string
  17280. endtime:
  17281. description: 结束日期
  17282. type: string
  17283. enumdicname:
  17284. description: 单位名称
  17285. type: string
  17286. executeside:
  17287. description: 步骤执行方 - 1:买方 2:卖方
  17288. type: integer
  17289. handlestatus:
  17290. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17291. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17292. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17293. type: integer
  17294. isauto:
  17295. description: 是否自动 - 0:不自动 1:自动
  17296. type: integer
  17297. islastreceivestep:
  17298. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17299. type: integer
  17300. minivalue:
  17301. description: 现货商品最小变动值
  17302. type: integer
  17303. optioncompare:
  17304. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17305. type: string
  17306. overdays:
  17307. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17308. type: integer
  17309. performancestepid:
  17310. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17311. type: string
  17312. planid:
  17313. description: 所属履约计划ID
  17314. type: string
  17315. realamount:
  17316. description: 实际完成金额
  17317. type: number
  17318. relatedorderid:
  17319. description: 关联单号
  17320. type: string
  17321. remaindays:
  17322. description: 剩余天数
  17323. type: integer
  17324. remark:
  17325. description: 错误备注
  17326. type: string
  17327. starttime:
  17328. description: 开始日期
  17329. type: string
  17330. stepamount:
  17331. description: 步骤金额
  17332. type: number
  17333. stepdays:
  17334. description: 距离上一步天数(分钟)
  17335. type: integer
  17336. stepindex:
  17337. description: 步骤序号
  17338. type: integer
  17339. steplanchtype:
  17340. description: 步骤启动类型 - 1:系统自动 2:手动
  17341. type: integer
  17342. stepremark:
  17343. description: 步骤备注
  17344. type: string
  17345. stepstatus:
  17346. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17347. type: integer
  17348. steptypeid:
  17349. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17350. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17351. type: integer
  17352. steptypename:
  17353. description: 步骤名称
  17354. type: string
  17355. stepvalue:
  17356. description: 步骤值
  17357. type: number
  17358. warehouseid:
  17359. description: 仓库ID
  17360. type: integer
  17361. warehousename:
  17362. description: 仓库名称
  17363. type: string
  17364. wrfactortypeid:
  17365. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17366. type: string
  17367. wrfactortypename:
  17368. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17369. type: string
  17370. wrstandardcode:
  17371. description: 现货商品代码
  17372. type: string
  17373. wrstandardid:
  17374. description: 现货商品ID
  17375. type: integer
  17376. wrstandardname:
  17377. description: 商品名称
  17378. type: string
  17379. wrtypename:
  17380. description: 商品
  17381. type: string
  17382. type: object
  17383. models.WrPerformanceStepType:
  17384. properties:
  17385. canauto:
  17386. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17387. type: integer
  17388. steptypeid:
  17389. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17390. type: integer
  17391. steptypename:
  17392. description: 步骤类型名称
  17393. type: string
  17394. type: object
  17395. models.WrPerformanceTemplateEx:
  17396. properties:
  17397. autoid:
  17398. description: AutoID 模板id
  17399. type: integer
  17400. createtime:
  17401. description: 创建时间
  17402. type: string
  17403. creatorid:
  17404. description: 创建人
  17405. type: integer
  17406. lstStep:
  17407. description: 步骤信息列表
  17408. items:
  17409. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17410. type: array
  17411. paymenttype:
  17412. description: 支付方式 - 1:冻结 2:扣款
  17413. type: integer
  17414. takemode:
  17415. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17416. type: integer
  17417. templatename:
  17418. description: 模板名称
  17419. type: string
  17420. templatetype:
  17421. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17422. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17423. type: integer
  17424. userid:
  17425. description: 所属用户
  17426. type: integer
  17427. type: object
  17428. models.WrPosition:
  17429. properties:
  17430. accountid:
  17431. description: 帐户ID
  17432. type: integer
  17433. buyexcuteqty:
  17434. description: 采购履约中数量
  17435. type: number
  17436. creditcurqty:
  17437. description: 授信当前数量(预售仓单:预售当前量)
  17438. type: number
  17439. creditenableqty:
  17440. description: '授信可用数量(预售仓单: 可用数量)'
  17441. type: number
  17442. creditfreezeqty:
  17443. description: '授信冻结数量(预售仓单: 当前数量)'
  17444. type: number
  17445. credittotalqty:
  17446. description: 授信总数量(预售仓单:预售总量)
  17447. type: number
  17448. credittradeqty:
  17449. description: 授信成交数量(预售仓单:成交总量)
  17450. type: number
  17451. deliverygoodscode:
  17452. description: 品种代码
  17453. type: string
  17454. deliverygoodsid:
  17455. description: 品种ID
  17456. type: integer
  17457. deliverygoodsname:
  17458. description: 品种名称
  17459. type: string
  17460. enalbeqty:
  17461. description: 可用数量
  17462. type: number
  17463. enumdicname:
  17464. description: 单位名称
  17465. type: string
  17466. freezeqty:
  17467. description: 总冻结数量
  17468. type: number
  17469. haswr:
  17470. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17471. type: integer
  17472. minivalue:
  17473. description: 现货商品最小变动值
  17474. type: integer
  17475. modifytime:
  17476. description: 修改时间(过户时间)
  17477. type: string
  17478. optioncompare:
  17479. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17480. type: string
  17481. pledgeqty:
  17482. description: 质押数量
  17483. type: number
  17484. querytype:
  17485. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17486. type: integer
  17487. sellexcuteqty:
  17488. description: 销售履约中数量
  17489. type: number
  17490. totalqty:
  17491. description: 总数量(库存数量)
  17492. type: number
  17493. warehouseid:
  17494. description: 仓库ID
  17495. type: integer
  17496. warehousename:
  17497. description: 仓库名称
  17498. type: string
  17499. wrfactortypeid:
  17500. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17501. type: string
  17502. wrfactortypename:
  17503. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17504. type: string
  17505. wrpositionid:
  17506. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17507. type: string
  17508. wrpositionno:
  17509. description: 仓单编号
  17510. type: string
  17511. wrstandardcode:
  17512. description: 现货商品代码
  17513. type: string
  17514. wrstandardid:
  17515. description: 现货商品ID
  17516. type: integer
  17517. wrstandardname:
  17518. description: 商品名称
  17519. type: string
  17520. wrtypename:
  17521. description: 商品
  17522. type: string
  17523. wruserid:
  17524. description: 持有人ID
  17525. type: integer
  17526. type: object
  17527. models.WrPreSaleInfo:
  17528. properties:
  17529. bannerpicurl:
  17530. description: Banner图
  17531. type: string
  17532. baseqty:
  17533. description: 中签基数
  17534. type: number
  17535. createtime:
  17536. description: 创建时间
  17537. type: string
  17538. deliverygoodsid:
  17539. description: 现货品种ID
  17540. type: integer
  17541. enddate:
  17542. description: 预售结束日期
  17543. type: string
  17544. enumdicname:
  17545. description: 单位名称
  17546. type: string
  17547. lotteryflag:
  17548. description: 摇号标识 - 0:未摇号 1:已摇号
  17549. type: integer
  17550. lotteryqty:
  17551. description: 摇号总量
  17552. type: number
  17553. luckyqty:
  17554. description: 已中签量
  17555. type: number
  17556. marketid:
  17557. description: 市场ID
  17558. type: integer
  17559. maxbuyqty:
  17560. description: 单人最大申购量
  17561. type: number
  17562. maxluckyqty:
  17563. description: 单人最大中签量
  17564. type: number
  17565. pictureurls:
  17566. description: 详情图片(逗号分隔)
  17567. type: string
  17568. placeqty:
  17569. description: 已配售量
  17570. type: number
  17571. presaleapplyid:
  17572. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17573. example: "0"
  17574. type: string
  17575. presaleqty:
  17576. description: 预售总量
  17577. type: number
  17578. presalestatus:
  17579. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17580. type: integer
  17581. sellaccountid:
  17582. description: 发行方资金账户ID
  17583. type: integer
  17584. selluserid:
  17585. description: 发行方用户ID
  17586. type: integer
  17587. sellwrtradeorderid:
  17588. description: 发行方卖委托单ID
  17589. type: string
  17590. startdate:
  17591. description: 预售开始日期
  17592. type: string
  17593. takestartdate:
  17594. description: 提货开始日期
  17595. type: string
  17596. thumurls:
  17597. description: 缩略图片(1:1)(逗号分隔)
  17598. type: string
  17599. tradedate:
  17600. description: 交易日
  17601. type: string
  17602. unitid:
  17603. description: 单位ID
  17604. type: integer
  17605. unitprice:
  17606. description: 商品单价
  17607. type: number
  17608. username:
  17609. description: 发行方用户名称
  17610. type: string
  17611. warehousecode:
  17612. description: 仓库代码(仓库简称)
  17613. type: string
  17614. warehouseid:
  17615. description: 仓库ID
  17616. type: integer
  17617. warehousename:
  17618. description: 仓库名称
  17619. type: string
  17620. wrfactortypeid:
  17621. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17622. example: "0"
  17623. type: string
  17624. wrstandardid:
  17625. description: 现货商品ID
  17626. type: integer
  17627. wrstandardname:
  17628. description: 现货商品名称
  17629. type: string
  17630. type: object
  17631. models.WrQuoteOrderMyq:
  17632. properties:
  17633. buyorsell:
  17634. description: 买卖 - 0:买 1:卖
  17635. type: integer
  17636. canbargain:
  17637. description: 是否可议价 - 0:不可 1:可
  17638. type: integer
  17639. canpart:
  17640. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17641. type: integer
  17642. delistminqty:
  17643. description: 起摘数量
  17644. type: number
  17645. deliverygoodscode:
  17646. description: 品种代码
  17647. type: string
  17648. deliverygoodsid:
  17649. description: 品种ID
  17650. type: integer
  17651. deliverygoodsname:
  17652. description: 品种名称
  17653. type: string
  17654. deliverymonth:
  17655. description: 交收月
  17656. type: string
  17657. enumdicname:
  17658. description: 单位名称
  17659. type: string
  17660. fixedprice:
  17661. description: 买(卖)价
  17662. type: number
  17663. goodscode:
  17664. description: 商品合约代码
  17665. type: string
  17666. marginflag:
  17667. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17668. type: integer
  17669. marginvalue:
  17670. description: 保证金设置值
  17671. type: number
  17672. minivalue:
  17673. description: 现货商品最小变动值
  17674. type: integer
  17675. orderqty:
  17676. description: 买(卖)量(=委托量-成交量)
  17677. type: number
  17678. ordertime:
  17679. description: 委托时间
  17680. type: string
  17681. performancetemplateid:
  17682. description: 履约模板id
  17683. type: integer
  17684. pricemove:
  17685. description: 买(卖)升贴水- 基差
  17686. type: number
  17687. templatename:
  17688. description: 履约模板名称
  17689. type: string
  17690. userid:
  17691. description: 购买方(销售方)用户ID
  17692. type: integer
  17693. username:
  17694. description: 购买方(销售方)
  17695. type: string
  17696. validtime:
  17697. description: 有效期限
  17698. type: string
  17699. validtype:
  17700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17701. type: integer
  17702. warehousename:
  17703. description: 仓库名称
  17704. type: string
  17705. wrfactortypeid:
  17706. description: 仓单要素id
  17707. type: string
  17708. wrstandardcode:
  17709. description: 现货商品代码
  17710. type: string
  17711. wrstandardid:
  17712. description: 现货商品ID
  17713. type: integer
  17714. wrstandardname:
  17715. description: 商品名称
  17716. type: string
  17717. wrtradeorderid:
  17718. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17719. type: string
  17720. wrtypename:
  17721. description: 商品
  17722. type: string
  17723. type: object
  17724. models.WrReckonSpotGoodsTradeSum:
  17725. properties:
  17726. begindate:
  17727. description: 开始日期(结果含开始日期) yyyymmdd
  17728. type: string
  17729. enddate:
  17730. description: 结束日期(结果含结束日期) yyyymmdd
  17731. type: string
  17732. istoday:
  17733. description: 是否当日
  17734. type: boolean
  17735. marketid:
  17736. description: 市场ID
  17737. type: integer
  17738. price:
  17739. description: 价格 = 日成交金额 / 日成交数量
  17740. type: string
  17741. reckondate:
  17742. description: 日期 格式 yyyymmdd
  17743. type: string
  17744. tradeamount:
  17745. description: 日成交金额(当日单方向成交金额)
  17746. type: number
  17747. tradeqty:
  17748. description: 日成交数量(当日单方向成交数量)
  17749. type: number
  17750. wrstandardid:
  17751. description: 现货商品ID
  17752. type: integer
  17753. type: object
  17754. models.WrScfContract:
  17755. properties:
  17756. borroweruserid:
  17757. description: 借款用户ID
  17758. type: integer
  17759. buybackwrpositionqty:
  17760. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17761. type: number
  17762. closeinterest:
  17763. description: 已结利息 -> 已结费用
  17764. type: number
  17765. currisklevel:
  17766. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17767. type: integer
  17768. deadline:
  17769. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17770. type: string
  17771. deliverygoodscode:
  17772. description: 品种代码
  17773. type: string
  17774. deliverygoodsid:
  17775. description: 品种ID
  17776. type: integer
  17777. deliverygoodsname:
  17778. description: 品种名称
  17779. type: string
  17780. enumdicname:
  17781. description: 单位名称
  17782. type: string
  17783. financingdays:
  17784. description: 天数(天)
  17785. type: integer
  17786. initmargin:
  17787. description: 保证金 - [仓单回购]
  17788. type: number
  17789. interestamount:
  17790. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17791. type: number
  17792. interestdebt:
  17793. description: 利息欠款(记录负数) -> 费用欠款
  17794. type: number
  17795. interestminlen:
  17796. description: 最小起息天数
  17797. type: integer
  17798. interestrate:
  17799. description: 利率
  17800. type: number
  17801. interestratemode:
  17802. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17803. type: integer
  17804. interestsettlemode:
  17805. description: 结息方式 - 1:按日结息 3:按月结息
  17806. type: integer
  17807. interestsettlevalue:
  17808. description: 结息方式值
  17809. type: integer
  17810. isautoloan:
  17811. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17812. type: integer
  17813. lastcloseinterestday:
  17814. description: 最近结息日(yyyyMMdd)
  17815. type: string
  17816. lenderamount:
  17817. description: 贷款金额 -> 借款金额
  17818. type: number
  17819. lenderuserid:
  17820. description: 贷款方用户ID -> 融出方用户ID
  17821. type: integer
  17822. lenderusername:
  17823. description: 融出方
  17824. type: string
  17825. marginratio:
  17826. description: 保证金比率质押率 - [仓单质押]
  17827. type: number
  17828. marketid:
  17829. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17830. type: integer
  17831. minivalue:
  17832. description: 现货商品最小变动值
  17833. type: integer
  17834. optioncompare:
  17835. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17836. type: string
  17837. pricemove:
  17838. description: 估值升贴水值
  17839. type: number
  17840. productdetailid:
  17841. description: 产品组合ID
  17842. type: integer
  17843. productid:
  17844. description: 金融产品ID
  17845. type: integer
  17846. productname:
  17847. description: 产品名称
  17848. type: string
  17849. remainamount:
  17850. description: 合同剩余金额 -> 剩余金额
  17851. type: number
  17852. remainwrpositionqty:
  17853. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17854. type: number
  17855. remark:
  17856. description: 备注
  17857. type: string
  17858. scfcontractid:
  17859. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17860. type: string
  17861. scfcontractstatus:
  17862. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17863. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17864. type: integer
  17865. scfcontracttype:
  17866. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17867. type: integer
  17868. startinterestday:
  17869. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17870. type: string
  17871. totalinterest:
  17872. description: 已计利息 -> 已计费用
  17873. type: number
  17874. unpaidinterest:
  17875. description: 未结费用
  17876. type: number
  17877. updatetime:
  17878. description: 更新时间
  17879. type: string
  17880. warehouseid:
  17881. description: 仓库ID
  17882. type: integer
  17883. warehousename:
  17884. description: 仓库名称
  17885. type: string
  17886. wrfactortypeid:
  17887. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17888. type: string
  17889. wrfactortypename:
  17890. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17891. type: string
  17892. wrqty:
  17893. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17894. type: number
  17895. wrstandardcode:
  17896. description: 现货商品代码
  17897. type: string
  17898. wrstandardid:
  17899. description: 现货商品ID
  17900. type: integer
  17901. wrstandardname:
  17902. description: 商品名称
  17903. type: string
  17904. wrtypename:
  17905. description: 商品
  17906. type: string
  17907. type: object
  17908. models.WrScfContractInterest:
  17909. properties:
  17910. closeinterest:
  17911. description: 已结利息
  17912. type: number
  17913. closeintereststatus:
  17914. description: 结息状态 - 1:未结 2:已结
  17915. type: integer
  17916. closetime:
  17917. description: 结息时间
  17918. type: string
  17919. closetradedate:
  17920. description: 结息交易日
  17921. type: string
  17922. creatorid:
  17923. description: 操作人ID
  17924. type: integer
  17925. dayrate:
  17926. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17927. type: number
  17928. interest:
  17929. description: 利息
  17930. type: number
  17931. interestamount:
  17932. description: 计息金额
  17933. type: number
  17934. interestday:
  17935. description: 计息日(yyyyMMdd)
  17936. type: string
  17937. scfcontractid:
  17938. description: SCF合同ID
  17939. type: string
  17940. scfcontractinterestid:
  17941. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17942. type: integer
  17943. updatetime:
  17944. description: 更新时间
  17945. type: string
  17946. type: object
  17947. models.WrSearchUser:
  17948. properties:
  17949. userid:
  17950. description: 用户ID
  17951. type: integer
  17952. username:
  17953. description: 用户名称(已脱敏)
  17954. type: string
  17955. username2:
  17956. description: 用户名称(未脱敏)
  17957. type: string
  17958. usertype:
  17959. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17960. type: integer
  17961. required:
  17962. - username
  17963. type: object
  17964. models.WrSiteColumnDetail:
  17965. properties:
  17966. brief:
  17967. description: 简介
  17968. type: string
  17969. context:
  17970. description: 内容
  17971. type: string
  17972. coverimage:
  17973. description: 封面图片
  17974. type: string
  17975. creaedate:
  17976. description: 创建时间
  17977. type: string
  17978. id:
  17979. description: ID(SEQ_SITE_COLUMNDETAIL)
  17980. type: integer
  17981. istop:
  17982. description: 是否置顶 - 0:不置 1:置顶
  17983. type: integer
  17984. publishdate:
  17985. description: 发布日期
  17986. type: string
  17987. title:
  17988. description: 标题
  17989. type: string
  17990. updatedate:
  17991. description: 修改时间
  17992. type: string
  17993. type: object
  17994. models.WrSpecialMatchOrder:
  17995. properties:
  17996. amount:
  17997. description: 金额 = 数量 * 价格
  17998. type: number
  17999. buyorsell:
  18000. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18001. type: integer
  18002. cancelqty:
  18003. description: 撤销数量
  18004. type: number
  18005. deliverygoodscode:
  18006. description: 品种代码
  18007. type: string
  18008. deliverygoodsid:
  18009. description: 品种ID
  18010. type: integer
  18011. deliverygoodsname:
  18012. description: 品种名称
  18013. type: string
  18014. enumdicname:
  18015. description: 单位名称
  18016. type: string
  18017. fixedprice:
  18018. description: 固定价格(价格)
  18019. type: number
  18020. haswr:
  18021. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18022. type: integer
  18023. isspecified:
  18024. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18025. type: integer
  18026. marketid:
  18027. description: 市场ID
  18028. type: integer
  18029. matchuserid:
  18030. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18031. type: integer
  18032. matchusername:
  18033. description: 指定方
  18034. type: string
  18035. minivalue:
  18036. description: 现货商品最小变动值
  18037. type: integer
  18038. optioncompare:
  18039. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18040. type: string
  18041. orderqty:
  18042. description: 委托数量
  18043. type: number
  18044. ordertime:
  18045. description: 委托时间
  18046. type: string
  18047. pricemove:
  18048. description: 升贴水(浮动价时填写) - [挂牌]
  18049. type: number
  18050. tradedate:
  18051. description: 交易日(yyyyMMdd)
  18052. type: string
  18053. tradeprice:
  18054. description: 成交价格
  18055. type: number
  18056. tradeqty:
  18057. description: 成交数量
  18058. type: number
  18059. userid:
  18060. description: 用户ID
  18061. type: integer
  18062. username:
  18063. description: 发起方
  18064. type: string
  18065. warehouseid:
  18066. description: 仓库ID
  18067. type: integer
  18068. warehousename:
  18069. description: 仓库名称
  18070. type: string
  18071. wrfactortypeid:
  18072. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18073. type: string
  18074. wrfactortypename:
  18075. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18076. type: string
  18077. wrpricetype:
  18078. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18079. type: integer
  18080. wrstandardcode:
  18081. description: 现货商品代码
  18082. type: string
  18083. wrstandardid:
  18084. description: 现货商品ID
  18085. type: integer
  18086. wrstandardname:
  18087. description: 商品名称
  18088. type: string
  18089. wrtradeorderid:
  18090. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18091. type: string
  18092. wrtradeorderstatus:
  18093. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18094. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18095. type: integer
  18096. wrtradetype:
  18097. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18098. type: integer
  18099. wrtypename:
  18100. description: 商品
  18101. type: string
  18102. type: object
  18103. models.WrSpotGroupTradeSum:
  18104. properties:
  18105. deliverygoodscode:
  18106. description: 现货品种代码
  18107. type: string
  18108. deliverygoodsid:
  18109. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18110. type: integer
  18111. deliverygoodsname:
  18112. description: 现货品种名称
  18113. type: string
  18114. lastavgprice:
  18115. description: 上上个交易日价格(前2天价格)
  18116. type: string
  18117. lastreckondate:
  18118. description: 上上个交易日(前2天交易日)
  18119. type: string
  18120. reckondate:
  18121. description: 上个交易日(前1天交易日)
  18122. type: string
  18123. todayavgprice:
  18124. description: 上个交易日价格(前1天价格)
  18125. type: string
  18126. updown:
  18127. description: 涨跌
  18128. type: string
  18129. updownratio:
  18130. description: 涨幅(已格式化, 直接显示即可)
  18131. type: string
  18132. type: object
  18133. models.WrSpotGroupTradeSumDetail:
  18134. properties:
  18135. deliverygoodsid:
  18136. description: 现货商品id
  18137. type: integer
  18138. price:
  18139. description: 价格
  18140. type: number
  18141. reckondate:
  18142. description: 日期(yyymmdd, 如:20211031)
  18143. type: string
  18144. type: object
  18145. models.WrSpotGroupTradeSumEx:
  18146. properties:
  18147. lst:
  18148. description: 指数列表
  18149. items:
  18150. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18151. type: array
  18152. prereckondate:
  18153. description: 上上个交易日(yyymmdd)
  18154. type: string
  18155. reckondate:
  18156. description: 上个交易日(yyyymmdd)
  18157. type: string
  18158. type: object
  18159. models.WrStandardFactoryItem:
  18160. properties:
  18161. dgfactoryitemid:
  18162. description: 选择项id
  18163. type: integer
  18164. dgfactoryitemvalue:
  18165. description: 要素项值
  18166. type: string
  18167. warehouseid:
  18168. description: 仓库id
  18169. type: integer
  18170. type: object
  18171. models.WrStandardFactoryItemEx:
  18172. properties:
  18173. dgfactoryitemtypeid:
  18174. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18175. type: integer
  18176. itemlst:
  18177. description: 要素项列表
  18178. items:
  18179. $ref: '#/definitions/models.WrStandardFactoryItem'
  18180. type: array
  18181. itemtypename:
  18182. description: 要素项类型名称
  18183. type: string
  18184. wrstandardid:
  18185. description: 品类
  18186. type: integer
  18187. type: object
  18188. models.WrTradeDetail:
  18189. properties:
  18190. accountid:
  18191. description: 资金账号
  18192. type: integer
  18193. bannerpicurl:
  18194. description: Banner图
  18195. type: string
  18196. begindate:
  18197. description: 开始交易日(yyyymmdd)
  18198. type: string
  18199. buyorsell:
  18200. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18201. type: integer
  18202. chargevalue:
  18203. description: 手续费
  18204. type: number
  18205. deliverygoodscode:
  18206. description: 品种代码
  18207. type: string
  18208. deliverygoodsid:
  18209. description: 品种ID
  18210. type: integer
  18211. deliverygoodsname:
  18212. description: 品种名称
  18213. type: string
  18214. deliverymonth:
  18215. description: 交收月
  18216. type: string
  18217. enddate:
  18218. description: 结束交易日(yyyymmdd)
  18219. type: string
  18220. enumdicname:
  18221. description: 单位名称
  18222. type: string
  18223. haswr:
  18224. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18225. type: integer
  18226. marketid:
  18227. description: 市场ID
  18228. type: integer
  18229. matchaccountid:
  18230. description: 对手账号
  18231. type: integer
  18232. matchusername:
  18233. description: 对手方
  18234. type: string
  18235. minivalue:
  18236. description: 现货商品最小变动值
  18237. type: integer
  18238. optioncompare:
  18239. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18240. type: string
  18241. thumurls:
  18242. description: 缩略图
  18243. type: string
  18244. tradedate:
  18245. description: 交易日(yyyyMMdd)
  18246. type: string
  18247. tradeprice:
  18248. description: 成交价格
  18249. type: number
  18250. tradeqty:
  18251. description: 成交数量
  18252. type: number
  18253. tradetime:
  18254. description: 成交时间
  18255. type: string
  18256. userid:
  18257. description: 用户ID
  18258. type: integer
  18259. warehouseid:
  18260. description: 仓库ID
  18261. type: integer
  18262. warehousename:
  18263. description: 仓库名称
  18264. type: string
  18265. wrfactortypeid:
  18266. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18267. type: string
  18268. wrfactortypename:
  18269. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18270. type: string
  18271. wrstandardcode:
  18272. description: 现货商品代码
  18273. type: string
  18274. wrstandardid:
  18275. description: 现货商品ID
  18276. type: integer
  18277. wrstandardname:
  18278. description: 商品名称
  18279. type: string
  18280. wrtradedetailid:
  18281. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18282. type: string
  18283. wrtradetype:
  18284. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18285. type: integer
  18286. wrtypename:
  18287. description: 商品
  18288. type: string
  18289. type: object
  18290. models.WrTradeOrderDetail:
  18291. properties:
  18292. buyorsell:
  18293. description: 买卖方向 0-买 1-卖
  18294. type: integer
  18295. goodsid:
  18296. description: 商品id
  18297. type: integer
  18298. orderid:
  18299. description: 委托单号
  18300. type: string
  18301. orderprice:
  18302. description: 委托价格
  18303. type: number
  18304. orderqty:
  18305. description: 委托数量
  18306. type: integer
  18307. userid:
  18308. description: 用户id
  18309. type: integer
  18310. username:
  18311. description: 用户名称(已脱敏)
  18312. type: string
  18313. type: object
  18314. models.WrTypeItem:
  18315. properties:
  18316. name:
  18317. description: 名称
  18318. type: string
  18319. value:
  18320. description: 值
  18321. type: string
  18322. type: object
  18323. models.WrUserFriend:
  18324. properties:
  18325. friendname:
  18326. description: 朋友名称(已脱敏)
  18327. type: string
  18328. frienduserid:
  18329. description: 朋友id
  18330. type: integer
  18331. isfriend:
  18332. description: 是否好友 0-不是 1-是
  18333. type: integer
  18334. userid:
  18335. description: 用户id
  18336. type: integer
  18337. type: object
  18338. models.WrUserReceiptInfo:
  18339. properties:
  18340. address:
  18341. description: 地址[发票类型:企业]
  18342. type: string
  18343. autoid:
  18344. description: AutoID
  18345. type: integer
  18346. contactinfo:
  18347. description: 联系方式
  18348. type: string
  18349. idnum:
  18350. description: 身份证号码[发票类型:个人]
  18351. type: string
  18352. isdefault:
  18353. description: 是否默认地址 - 0:否 1:是
  18354. type: integer
  18355. receiptaccount:
  18356. description: 发票帐号[发票类型:企业]
  18357. type: string
  18358. receiptbank:
  18359. description: 发票开户行[发票类型:企业]
  18360. type: string
  18361. receipttype:
  18362. description: 发票类型 - 1:个人 2:企业
  18363. type: integer
  18364. taxpayerid:
  18365. description: 纳税人识别号
  18366. type: string
  18367. userid:
  18368. description: 用户ID
  18369. type: integer
  18370. username:
  18371. description: 户名(个人姓名或企业名称)
  18372. type: string
  18373. type: object
  18374. models.XHBRAND:
  18375. properties:
  18376. brandid:
  18377. description: 品牌id
  18378. type: integer
  18379. brandname:
  18380. description: 品牌名称
  18381. type: string
  18382. isvalid:
  18383. description: 是否有效 0-无效 1-有效
  18384. type: integer
  18385. type: object
  18386. models.XHDeliveryGoods:
  18387. properties:
  18388. areauserid:
  18389. description: 所属机构
  18390. type: integer
  18391. bdlst:
  18392. description: 品牌列表
  18393. items:
  18394. $ref: '#/definitions/models.XHBRAND'
  18395. type: array
  18396. deliverygoodscode:
  18397. description: 现货品种代码
  18398. type: string
  18399. deliverygoodsid:
  18400. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18401. type: integer
  18402. deliverygoodsname:
  18403. description: 现货品种名称
  18404. type: string
  18405. dgstatus:
  18406. description: 品种状态 - 作废 - 0:未激活 1:正常
  18407. type: integer
  18408. filterSubEmpty:
  18409. description: 过滤下级为空的
  18410. type: integer
  18411. isvalid:
  18412. description: 是否有效 - 0:无效 1:有效
  18413. type: integer
  18414. remark:
  18415. description: 备注
  18416. type: string
  18417. unitid:
  18418. description: 单位id(目前看,数据库中是空值)
  18419. type: integer
  18420. wdlst:
  18421. description: 品类(现货商品)列表
  18422. items:
  18423. $ref: '#/definitions/models.XHWrstandard'
  18424. type: array
  18425. type: object
  18426. models.XHMiddleGoods:
  18427. properties:
  18428. GPLST:
  18429. description: 期货品种列表
  18430. items:
  18431. $ref: '#/definitions/models.TBGoodsGroup'
  18432. type: array
  18433. convertratio:
  18434. description: 拆算系数
  18435. type: number
  18436. costratio:
  18437. description: 成本权重
  18438. type: number
  18439. deliverygoodsid:
  18440. description: 现货商品id
  18441. type: integer
  18442. enumdicname:
  18443. description: 单位名称
  18444. type: string
  18445. middlegoodscode:
  18446. description: 套保品种代码
  18447. type: string
  18448. middlegoodsid:
  18449. description: 套保品种id
  18450. type: integer
  18451. middlegoodsname:
  18452. description: 套保品种名称
  18453. type: string
  18454. unitid:
  18455. description: 单位id
  18456. type: integer
  18457. type: object
  18458. models.XHWrstandard:
  18459. properties:
  18460. bannerpicurl:
  18461. description: banner图
  18462. type: string
  18463. deliverygoodsid:
  18464. description: 品种ID
  18465. type: integer
  18466. enumdicname:
  18467. description: 单位名称
  18468. type: string
  18469. mglst:
  18470. description: 套保品列表
  18471. items:
  18472. $ref: '#/definitions/models.XHMiddleGoods'
  18473. type: array
  18474. pictureurls:
  18475. description: 详情图片(逗号分隔)
  18476. type: string
  18477. thumurls:
  18478. description: 缩略图片(1:1)(逗号分隔)
  18479. type: string
  18480. unitid:
  18481. description: 单位id
  18482. type: integer
  18483. vatrate:
  18484. description: 增值税率
  18485. type: number
  18486. wrstandardcode:
  18487. description: 现货商品代码
  18488. type: string
  18489. wrstandardid:
  18490. description: 现货商品ID(SEQ_WRSTANDARD)
  18491. type: integer
  18492. wrstandardname:
  18493. description: 现货商品名称
  18494. type: string
  18495. type: object
  18496. models.XhcpSellBackApplyEx:
  18497. properties:
  18498. applyremark:
  18499. description: 申请备注
  18500. type: string
  18501. expirytype:
  18502. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18503. type: integer
  18504. goodsspec:
  18505. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18506. type: integer
  18507. holeflag:
  18508. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18509. type: integer
  18510. isunopened:
  18511. description: 是否原封 - 1:否 2:是
  18512. type: integer
  18513. mpflag:
  18514. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18515. type: integer
  18516. openflag:
  18517. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18518. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18519. type: integer
  18520. phonenum:
  18521. description: 联系电话
  18522. type: string
  18523. userid:
  18524. description: 所属用户ID
  18525. type: integer
  18526. zpflag:
  18527. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18528. type: integer
  18529. required:
  18530. - userid
  18531. type: object
  18532. models.Xhcpsellbackapply:
  18533. properties:
  18534. applyid:
  18535. description: 申请人
  18536. type: integer
  18537. applyremark:
  18538. description: 申请备注
  18539. type: string
  18540. applysrc:
  18541. description: 申请来源 - 1:管理端 2:终端
  18542. type: integer
  18543. applystatus:
  18544. description: 申请状态 - 1:待确认 2:已处理
  18545. type: integer
  18546. applytime:
  18547. description: 申请时间
  18548. type: string
  18549. auditremark:
  18550. description: 审核备注
  18551. type: string
  18552. auditsrc:
  18553. description: 审核来源 - 1:管理端 2:终端
  18554. type: integer
  18555. expirytype:
  18556. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18557. type: integer
  18558. goodsspec:
  18559. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18560. type: integer
  18561. holeflag:
  18562. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18563. type: integer
  18564. isunopened:
  18565. description: 是否原封 - 1:否 2:是
  18566. type: integer
  18567. mpflag:
  18568. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18569. type: integer
  18570. openflag:
  18571. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18572. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18573. type: integer
  18574. phonenum:
  18575. description: 联系电话
  18576. type: string
  18577. sellbackapplyid:
  18578. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  18579. type: string
  18580. userid:
  18581. description: 所属用户ID
  18582. type: integer
  18583. zpflag:
  18584. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18585. type: integer
  18586. required:
  18587. - userid
  18588. type: object
  18589. order.QueryHisTradeDetailRsp:
  18590. properties:
  18591. accountid:
  18592. description: 账户ID[报价币种]
  18593. type: integer
  18594. advanceratio:
  18595. description: 首付比率
  18596. type: number
  18597. buildtype:
  18598. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18599. type: integer
  18600. buyorsell:
  18601. description: 方向 - 0:买 1:卖
  18602. type: integer
  18603. charge:
  18604. description: 手续费
  18605. type: number
  18606. closecharge:
  18607. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18608. type: number
  18609. closeexchagechargevalue:
  18610. description: 平仓交易所手续费设置值
  18611. type: number
  18612. closefeealgorithm:
  18613. description: 平仓手续费收取方式 1:比率 2:固定
  18614. type: integer
  18615. closememberchargevalue:
  18616. description: 平仓会员手续费设置值
  18617. type: number
  18618. closepl:
  18619. description: 平仓盈亏
  18620. type: number
  18621. closepl2:
  18622. description: 平仓盈亏[逐笔]
  18623. type: number
  18624. closeqty:
  18625. description: 平仓数量(先建后平操作 需要记录)
  18626. type: number
  18627. creditamount:
  18628. description: 授信金额
  18629. type: number
  18630. decimalplace:
  18631. description: 商品报价小数位
  18632. type: integer
  18633. enumdicname:
  18634. description: 单位名称
  18635. type: string
  18636. gcaccountid:
  18637. description: 账户ID[合约币种]
  18638. type: integer
  18639. goodscode:
  18640. description: 商品代码
  18641. type: string
  18642. goodsid:
  18643. description: 商品ID
  18644. type: integer
  18645. goodsname:
  18646. description: 商品名称
  18647. type: string
  18648. goodunitid:
  18649. description: 商品单位id
  18650. type: integer
  18651. histradedate:
  18652. description: 历史交易日
  18653. type: string
  18654. intclosepl:
  18655. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18656. type: integer
  18657. isconfirmexercise:
  18658. description: 是否确认行权- 0:否 1:是
  18659. type: integer
  18660. ismain:
  18661. description: 是否主单 - 0:不是 1:是
  18662. type: integer
  18663. ispreexercise:
  18664. description: 是否预申报- 0:否 1:是
  18665. type: integer
  18666. isreckoned:
  18667. description: 是否结算 - 0:未结算 1:已结算
  18668. type: integer
  18669. isvaliddata:
  18670. description: 是否有效 - 0:无效 1:有效
  18671. type: integer
  18672. listingselecttype:
  18673. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18674. type: integer
  18675. marketid:
  18676. description: 市场ID
  18677. type: integer
  18678. marketname:
  18679. description: 市场名称
  18680. type: string
  18681. matchaccountid:
  18682. description: 对手账号id
  18683. type: integer
  18684. memberuserid:
  18685. description: 会员id 个人投资者 需要填写
  18686. type: integer
  18687. opencharge:
  18688. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18689. type: number
  18690. openexchagechargevalue:
  18691. description: 建仓交易所手续费设置值
  18692. type: number
  18693. openfeealgorithm:
  18694. description: 建仓手续费收取方式 1:比率 2:固定
  18695. type: integer
  18696. openmemberchargevalue:
  18697. description: 建仓会员手续费设置值
  18698. type: number
  18699. openqty:
  18700. description: 开仓数量(先建后平操作 需要记录)
  18701. type: number
  18702. optiontype:
  18703. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18704. type: integer
  18705. orderid:
  18706. description: 委托单号
  18707. type: string
  18708. payamount:
  18709. description: 支付金额(付款金额)
  18710. type: number
  18711. performanceplanid:
  18712. description: 履约计划ID[期权]
  18713. type: integer
  18714. performancestatus:
  18715. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18716. type: integer
  18717. preexerciseprice:
  18718. description: 预申报价格
  18719. type: number
  18720. premium:
  18721. description: 权利金 - [持仓单的权利金]
  18722. type: number
  18723. qtydecimalplace:
  18724. description: 商品报价小数位
  18725. type: integer
  18726. recvamount:
  18727. description: 到账金额 = 成交金额 - 手续费
  18728. type: number
  18729. relatedouttradeid:
  18730. description: 关联外部成交单ID
  18731. type: integer
  18732. status:
  18733. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18734. type: integer
  18735. totalamount:
  18736. description: 订单总额 = 成交金额 + 手续费
  18737. type: number
  18738. tradeamount:
  18739. description: 成交金额[账户币种,用于所有权]
  18740. type: number
  18741. tradedate:
  18742. description: 交易日(yyyyMMdd)
  18743. type: string
  18744. tradeid:
  18745. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18746. type: string
  18747. trademode:
  18748. description: 交易模式
  18749. type: integer
  18750. tradeprice:
  18751. description: 成交价格
  18752. type: number
  18753. tradeproperty:
  18754. description: 交易属性
  18755. type: integer
  18756. tradeqty:
  18757. description: 成交数量
  18758. type: number
  18759. tradetime:
  18760. description: 成交时间
  18761. type: string
  18762. tradetype:
  18763. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18764. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18765. type: integer
  18766. required:
  18767. - accountid
  18768. - buyorsell
  18769. - goodsid
  18770. - histradedate
  18771. - marketid
  18772. - memberuserid
  18773. - orderid
  18774. - tradeamount
  18775. - tradedate
  18776. - tradeid
  18777. - tradeprice
  18778. - tradeqty
  18779. - tradetime
  18780. type: object
  18781. order.QueryHisTradeOrderDetailRsp:
  18782. properties:
  18783. accountid:
  18784. description: 账户ID[报价币种]
  18785. type: integer
  18786. buildtype:
  18787. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18788. type: integer
  18789. buyorsell:
  18790. description: 买卖 - 0:买 1:卖
  18791. type: integer
  18792. cancelorderid:
  18793. description: 撤单单号(撤单时填写)
  18794. type: string
  18795. cancelqty:
  18796. description: 撤单数量
  18797. type: number
  18798. clientordertime:
  18799. description: 客户端委托时间
  18800. type: string
  18801. clientticket:
  18802. description: 客户端流水号
  18803. type: string
  18804. clienttype:
  18805. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18806. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18807. type: integer
  18808. closeexchagechargevalue:
  18809. description: 平仓交易所手续费设置值
  18810. type: number
  18811. closefeealgorithm:
  18812. description: 平仓手续费收取方式 1:比率 2:固定
  18813. type: integer
  18814. closefreezecharge:
  18815. description: 平仓冻结手续费(先建后平操作,需要记录)
  18816. type: number
  18817. closememberchargevalue:
  18818. description: 平仓会员手续费设置值
  18819. type: number
  18820. closeqty:
  18821. description: 平仓数量(先建后平操作 需要记录)
  18822. type: number
  18823. closetradeqty:
  18824. description: 平仓成交数量(先建后平操作,需要记录)
  18825. type: number
  18826. closeunfreezecharge:
  18827. description: 平仓解冻手续费(先建后平操作,需要记录)
  18828. type: number
  18829. decimalplace:
  18830. description: 商品报价小数位
  18831. type: integer
  18832. delistingtype:
  18833. description: 摘牌类型 - 1:价格最优 2:点选成交
  18834. type: integer
  18835. enumdicname:
  18836. description: 单位名称
  18837. type: string
  18838. freezecharge:
  18839. description: 冻结手续费
  18840. type: number
  18841. freezemargin:
  18842. description: 冻结保证金(冻结交易金额)
  18843. type: number
  18844. gcaccountid:
  18845. description: 账户ID[合约币种]
  18846. type: integer
  18847. goodscode:
  18848. description: 商品代码
  18849. type: string
  18850. goodsid:
  18851. description: 商品ID
  18852. type: integer
  18853. goodsname:
  18854. description: 商品名称
  18855. type: string
  18856. goodunitid:
  18857. description: 商品单位id
  18858. type: integer
  18859. histradedate:
  18860. description: 历史交易日
  18861. type: string
  18862. isconfirmexercise:
  18863. description: 是否确认行权- 0:否 1:是
  18864. type: integer
  18865. ispreexercise:
  18866. description: 是否预申报- 0:否 1:是
  18867. type: integer
  18868. isvaliddata:
  18869. description: 是否有效 - 0:无效 1:有效
  18870. type: integer
  18871. listingselecttype:
  18872. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18873. type: integer
  18874. marginalgorithm:
  18875. description: 保证金收取方式 1:比率 2:固定
  18876. type: integer
  18877. marginvalue:
  18878. description: 即市保证金设置值
  18879. type: number
  18880. marketid:
  18881. description: 市场ID
  18882. type: integer
  18883. marketmaxsub:
  18884. description: 市价最大偏移范围
  18885. type: number
  18886. marketname:
  18887. description: 市场名称
  18888. type: string
  18889. memberuserid:
  18890. description: 所属会员UserID
  18891. type: integer
  18892. openexchagechargevalue:
  18893. description: 建仓交易所手续费设置值
  18894. type: number
  18895. openfeealgorithm:
  18896. description: 建仓手续费收取方式 1:比率 2:固定
  18897. type: integer
  18898. openfreezecharge:
  18899. description: 开仓冻结手续费(先建后平操作,需要记录)
  18900. type: number
  18901. openmemberchargevalue:
  18902. description: 建仓会员手续费设置值
  18903. type: number
  18904. openqty:
  18905. description: 开仓数量(先建后平操作,需要记录)
  18906. type: number
  18907. opentradeqty:
  18908. description: 开仓成交数量(先建后平操作,需要记录)
  18909. type: number
  18910. openunfreezecharge:
  18911. description: 开仓解冻手续费(先建后平操作,需要记录)
  18912. type: number
  18913. operatetype:
  18914. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18915. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18916. 15:管理端协议转让
  18917. type: integer
  18918. operatorid:
  18919. description: 登录账号(LoginID)
  18920. type: integer
  18921. optiontype:
  18922. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18923. type: integer
  18924. orderid:
  18925. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18926. type: string
  18927. orderprice:
  18928. description: 委托价格
  18929. type: number
  18930. orderqty:
  18931. description: 委托数量
  18932. type: number
  18933. ordersrc:
  18934. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18935. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18936. type: integer
  18937. orderstatus:
  18938. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18939. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18940. 16:成交失败违约(荷兰式竞拍专用)
  18941. type: integer
  18942. ordertime:
  18943. description: 委托时间
  18944. type: string
  18945. preexerciseprice:
  18946. description: 预申报价格
  18947. type: number
  18948. premium:
  18949. description: 权利金
  18950. type: number
  18951. preorderid:
  18952. description: 关联预埋单号(止盈止损单时填写)
  18953. type: string
  18954. pricemode:
  18955. description: '取价方式 - 1:市价 2: 限价'
  18956. type: integer
  18957. qtydecimalplace:
  18958. description: 成交量小数位
  18959. type: integer
  18960. quoteid:
  18961. description: 报价单ID
  18962. type: integer
  18963. relatedid:
  18964. description: 关联单号(交割单)
  18965. type: string
  18966. retcode:
  18967. description: 错误代码
  18968. type: integer
  18969. sessionid:
  18970. description: 会话ID
  18971. type: integer
  18972. tradedate:
  18973. description: 交易日(yyyyMMdd)
  18974. type: string
  18975. trademode:
  18976. description: 交易模式
  18977. type: integer
  18978. tradeproperty:
  18979. description: 交易属性
  18980. type: integer
  18981. tradeqty:
  18982. description: 成交数量
  18983. type: number
  18984. unfreezecharge:
  18985. description: 解冻手续费
  18986. type: number
  18987. unfreezemargin:
  18988. description: 解冻保证金
  18989. type: number
  18990. updatetime:
  18991. description: 更新时间
  18992. type: string
  18993. uuid:
  18994. description: 发起端唯一id
  18995. type: string
  18996. validtime:
  18997. description: 有效期限
  18998. type: string
  18999. validtype:
  19000. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19001. type: integer
  19002. volumetype:
  19003. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19004. type: integer
  19005. required:
  19006. - accountid
  19007. - buildtype
  19008. - buyorsell
  19009. - goodsid
  19010. - histradedate
  19011. - marketid
  19012. - memberuserid
  19013. - operatetype
  19014. - orderid
  19015. - orderqty
  19016. - ordertime
  19017. - pricemode
  19018. - tradedate
  19019. - validtype
  19020. type: object
  19021. order.QueryTradeDetailRsp:
  19022. properties:
  19023. accountid:
  19024. description: 账户ID[报价币种]
  19025. type: integer
  19026. advanceratio:
  19027. description: 首付比率
  19028. type: number
  19029. buildtype:
  19030. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19031. type: integer
  19032. buyorsell:
  19033. description: 方向 - 0:买 1:卖
  19034. type: integer
  19035. charge:
  19036. description: 手续费
  19037. type: number
  19038. closecharge:
  19039. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19040. type: number
  19041. closeexchagechargevalue:
  19042. description: 平仓交易所手续费设置值
  19043. type: number
  19044. closefeealgorithm:
  19045. description: 平仓手续费收取方式 1:比率 2:固定
  19046. type: integer
  19047. closememberchargevalue:
  19048. description: 平仓会员手续费设置值
  19049. type: number
  19050. closepl:
  19051. description: 平仓盈亏
  19052. type: number
  19053. closepl2:
  19054. description: 平仓盈亏[逐笔]
  19055. type: number
  19056. closeqty:
  19057. description: 平仓数量(先建后平操作 需要记录)
  19058. type: number
  19059. creditamount:
  19060. description: 授信金额
  19061. type: number
  19062. decimalplace:
  19063. description: 商品报价小数位
  19064. type: integer
  19065. enumdicname:
  19066. description: 单位名称
  19067. type: string
  19068. gcaccountid:
  19069. description: 账户ID[合约币种]
  19070. type: integer
  19071. goodscode:
  19072. description: 商品代码
  19073. type: string
  19074. goodsid:
  19075. description: 商品ID
  19076. type: integer
  19077. goodsname:
  19078. description: 商品名称
  19079. type: string
  19080. goodunitid:
  19081. description: 商品单位id
  19082. type: integer
  19083. intclosepl:
  19084. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19085. type: integer
  19086. isconfirmexercise:
  19087. description: 是否确认行权- 0:否 1:是
  19088. type: integer
  19089. ismain:
  19090. description: 是否主单 - 0:不是 1:是
  19091. type: integer
  19092. ispreexercise:
  19093. description: 是否预申报- 0:否 1:是
  19094. type: integer
  19095. isreckoned:
  19096. description: 是否结算 - 0:未结算 1:已结算
  19097. type: integer
  19098. listingselecttype:
  19099. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19100. type: integer
  19101. marketid:
  19102. description: 市场ID
  19103. type: integer
  19104. marketname:
  19105. description: 市场名称
  19106. type: string
  19107. matchaccountid:
  19108. description: 对手账号id
  19109. type: integer
  19110. memberuserid:
  19111. description: 会员id 个人投资者 需要填写
  19112. type: integer
  19113. opencharge:
  19114. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19115. type: number
  19116. openexchagechargevalue:
  19117. description: 建仓交易所手续费设置值
  19118. type: number
  19119. openfeealgorithm:
  19120. description: 建仓手续费收取方式 1:比率 2:固定
  19121. type: integer
  19122. openmemberchargevalue:
  19123. description: 建仓会员手续费设置值
  19124. type: number
  19125. openqty:
  19126. description: 开仓数量(先建后平操作 需要记录)
  19127. type: number
  19128. optiontype:
  19129. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19130. type: integer
  19131. orderid:
  19132. description: 委托单号
  19133. type: string
  19134. payamount:
  19135. description: 支付金额(付款金额)
  19136. type: number
  19137. performanceplanid:
  19138. description: 履约计划ID[期权]
  19139. type: integer
  19140. performancestatus:
  19141. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19142. type: integer
  19143. preexerciseprice:
  19144. description: 预申报价格
  19145. type: number
  19146. premium:
  19147. description: 权利金 - [持仓单的权利金]
  19148. type: number
  19149. qtydecimalplace:
  19150. description: 商品报价小数位
  19151. type: integer
  19152. recvamount:
  19153. description: 到账金额 = 成交金额 - 手续费
  19154. type: number
  19155. relatedouttradeid:
  19156. description: 关联外部成交单ID
  19157. type: integer
  19158. status:
  19159. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19160. type: integer
  19161. totalamount:
  19162. description: 订单总额 = 成交金额 + 手续费
  19163. type: number
  19164. tradeamount:
  19165. description: 成交金额[账户币种,用于所有权]
  19166. type: number
  19167. tradedate:
  19168. description: 交易日(yyyyMMdd)
  19169. type: string
  19170. tradeid:
  19171. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19172. type: string
  19173. trademode:
  19174. description: 交易模式
  19175. type: integer
  19176. tradeprice:
  19177. description: 成交价格
  19178. type: number
  19179. tradeproperty:
  19180. description: 交易属性
  19181. type: integer
  19182. tradeqty:
  19183. description: 成交数量
  19184. type: number
  19185. tradetime:
  19186. description: 成交时间
  19187. type: string
  19188. tradetype:
  19189. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19190. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19191. type: integer
  19192. required:
  19193. - accountid
  19194. - buyorsell
  19195. - goodsid
  19196. - marketid
  19197. - memberuserid
  19198. - orderid
  19199. - tradeamount
  19200. - tradedate
  19201. - tradeid
  19202. - tradeprice
  19203. - tradeqty
  19204. - tradetime
  19205. type: object
  19206. order.QueryTradeOrderDetailRsp:
  19207. properties:
  19208. accountid:
  19209. description: 账户ID[报价币种]
  19210. type: integer
  19211. buildtype:
  19212. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19213. type: integer
  19214. buyorsell:
  19215. description: 买卖 - 0:买 1:卖
  19216. type: integer
  19217. cancelorderid:
  19218. description: 撤单单号(撤单时填写)
  19219. type: string
  19220. cancelqty:
  19221. description: 撤单数量
  19222. type: number
  19223. clienttype:
  19224. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19225. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19226. type: integer
  19227. closefreezecharge:
  19228. description: 平仓冻结手续费(先建后平操作,需要记录)
  19229. type: number
  19230. closeqty:
  19231. description: 平仓数量(先建后平操作 需要记录)
  19232. type: number
  19233. closetradeqty:
  19234. description: 平仓成交数量(先建后平操作,需要记录)
  19235. type: number
  19236. closeunfreezecharge:
  19237. description: 平仓解冻手续费(先建后平操作,需要记录)
  19238. type: number
  19239. decimalplace:
  19240. description: 商品报价小数位
  19241. type: integer
  19242. delistingtype:
  19243. description: 摘牌类型 - 1:价格最优 2:点选成交
  19244. type: integer
  19245. enableqty:
  19246. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19247. type: number
  19248. enumdicname:
  19249. description: 单位名称
  19250. type: string
  19251. freezecharge:
  19252. description: 冻结手续费
  19253. type: number
  19254. freezemargin:
  19255. description: 冻结保证金(冻结交易金额)
  19256. type: number
  19257. goodscode:
  19258. description: 商品代码
  19259. type: string
  19260. goodsid:
  19261. description: 商品ID
  19262. type: integer
  19263. goodsname:
  19264. description: 商品名称
  19265. type: string
  19266. goodunitid:
  19267. description: 商品单位id
  19268. type: integer
  19269. listingselecttype:
  19270. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19271. type: integer
  19272. marketid:
  19273. description: 市场ID
  19274. type: integer
  19275. marketname:
  19276. description: 市场名称
  19277. type: string
  19278. openfreezecharge:
  19279. description: 开仓冻结手续费(先建后平操作,需要记录)
  19280. type: number
  19281. openqty:
  19282. description: 开仓数量(先建后平操作,需要记录)
  19283. type: number
  19284. opentradeqty:
  19285. description: 开仓成交数量(先建后平操作,需要记录)
  19286. type: number
  19287. openunfreezecharge:
  19288. description: 开仓解冻手续费(先建后平操作,需要记录)
  19289. type: number
  19290. operatetype:
  19291. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19292. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19293. 15:管理端协议转让
  19294. type: integer
  19295. operatorid:
  19296. description: 登录账号(LoginID)
  19297. type: integer
  19298. orderid:
  19299. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19300. type: string
  19301. orderprice:
  19302. description: 委托价格
  19303. type: number
  19304. orderqty:
  19305. description: 委托数量
  19306. type: number
  19307. ordersrc:
  19308. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19309. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19310. type: integer
  19311. orderstatus:
  19312. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19313. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19314. 16:成交失败违约(荷兰式竞拍专用)
  19315. type: integer
  19316. ordertime:
  19317. description: 委托时间
  19318. type: string
  19319. preorderid:
  19320. description: 关联预埋单号(止盈止损单时填写)
  19321. type: string
  19322. pricemode:
  19323. description: '取价方式 - 1:市价 2: 限价'
  19324. type: integer
  19325. qtydecimalplace:
  19326. description: 商品报价小数位
  19327. type: integer
  19328. relatedid:
  19329. description: 关联单号(交割单)
  19330. type: string
  19331. tradedate:
  19332. description: 交易日(yyyyMMdd)
  19333. type: string
  19334. trademode:
  19335. description: 交易模式
  19336. type: integer
  19337. tradeqty:
  19338. description: 成交数量
  19339. type: number
  19340. unfreezecharge:
  19341. description: 解冻手续费
  19342. type: number
  19343. unfreezemargin:
  19344. description: 解冻保证金
  19345. type: number
  19346. validtime:
  19347. description: 有效期限
  19348. type: string
  19349. validtype:
  19350. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19351. type: integer
  19352. volumetype:
  19353. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19354. type: integer
  19355. required:
  19356. - accountid
  19357. - buildtype
  19358. - buyorsell
  19359. - goodsid
  19360. - marketid
  19361. - operatetype
  19362. - orderqty
  19363. - ordertime
  19364. - pricemode
  19365. - tradedate
  19366. - validtype
  19367. type: object
  19368. order.QueryTradePositionRsp:
  19369. properties:
  19370. accountid:
  19371. description: 资金账户
  19372. type: integer
  19373. agreeunit:
  19374. description: 合约单位
  19375. type: number
  19376. averageprice:
  19377. description: 持仓均价
  19378. type: number
  19379. buyorsell:
  19380. description: 方向 - 0:买 1:卖
  19381. type: integer
  19382. closetotalqty:
  19383. description: 平仓总数量
  19384. type: number
  19385. curholderamount:
  19386. description: 当前持仓总金额[商品币种]
  19387. type: number
  19388. curpositionqty:
  19389. description: 当前持仓总数量
  19390. type: number
  19391. currencyid:
  19392. description: 报价货币ID
  19393. type: integer
  19394. curtdposition:
  19395. description: 期末今日头寸
  19396. type: number
  19397. decimalplace:
  19398. description: 报价小数位
  19399. type: integer
  19400. enableqty:
  19401. description: 可用量
  19402. type: number
  19403. fretdposition:
  19404. description: 冻结今日头寸
  19405. type: number
  19406. frozenqty:
  19407. description: 持仓冻结数量
  19408. type: number
  19409. goodscode:
  19410. description: 商品代码
  19411. type: string
  19412. goodsid:
  19413. description: 商品Id
  19414. type: integer
  19415. goodsname:
  19416. description: 商品名称
  19417. type: string
  19418. goodunit:
  19419. description: 报价单位
  19420. type: string
  19421. goodunitid:
  19422. description: 报价单位ID
  19423. type: integer
  19424. holderamount:
  19425. description: 期初持仓总金额[商品币种]
  19426. type: number
  19427. lastprice:
  19428. description: 最新价
  19429. type: number
  19430. marketamount:
  19431. description: 市值
  19432. type: number
  19433. marketid:
  19434. description: 所属市场ID
  19435. type: integer
  19436. openreqqty:
  19437. description: 开仓申请数量(用于比较最大持仓数量)
  19438. type: number
  19439. opentotalqty:
  19440. description: 开仓总数量
  19441. type: number
  19442. otherfrozenqty:
  19443. description: 持仓其他冻结数量(交割冻结)
  19444. type: number
  19445. positionpl:
  19446. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19447. * 合约单位
  19448. type: number
  19449. positionplrate:
  19450. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19451. type: number
  19452. positionqty:
  19453. description: 期初持仓数量
  19454. type: number
  19455. qtydecimalplace:
  19456. description: 成交量小数位
  19457. type: integer
  19458. refgoodscode:
  19459. description: 参考商品代码
  19460. type: string
  19461. refgoodsid:
  19462. description: 参考商品ID
  19463. type: integer
  19464. tnqty:
  19465. description: T+N冻结总量
  19466. type: number
  19467. tnusedqty:
  19468. description: T+N使用量(可以使用T+N的冻结数量)
  19469. type: number
  19470. trademode:
  19471. description: 交易模式
  19472. type: integer
  19473. tradeproperty:
  19474. description: 交易属性
  19475. type: integer
  19476. usedmargin:
  19477. description: 占用保证金[商品币种]
  19478. type: number
  19479. required:
  19480. - goodsid
  19481. type: object
  19482. pb.GoodsMarginCfgStruct:
  19483. properties:
  19484. CustomerTypeID:
  19485. description: 投资者客户类型
  19486. type: integer
  19487. GoodsID:
  19488. description: 商品ID
  19489. type: integer
  19490. IsDefault:
  19491. description: 是否默认标志位
  19492. type: integer
  19493. LockMarginValue:
  19494. description: 锁仓保证金
  19495. type: number
  19496. MarginAlgorithm:
  19497. description: 保证金计算方式
  19498. type: integer
  19499. MarketMarginValue:
  19500. description: 即市保证金值
  19501. type: number
  19502. RealMarginAlgorithm:
  19503. description: 实付保证金计算方式
  19504. type: integer
  19505. RealMarginValue:
  19506. description: 实付比例
  19507. type: number
  19508. ReckonMarginValue:
  19509. description: 结算保证金值
  19510. type: number
  19511. type: object
  19512. quote.HistoryData:
  19513. properties:
  19514. c:
  19515. description: 收盘价
  19516. type: number
  19517. f:
  19518. description: 是否补充数据
  19519. type: boolean
  19520. h:
  19521. description: 最高价
  19522. type: number
  19523. hv:
  19524. description: 持仓量
  19525. type: integer
  19526. l:
  19527. description: 最低价
  19528. type: number
  19529. o:
  19530. description: 开盘价
  19531. type: number
  19532. s:
  19533. description: 结算价,日线周期(包括)以上才有
  19534. type: number
  19535. ts:
  19536. description: 时间
  19537. type: string
  19538. tt:
  19539. description: 总金额
  19540. type: number
  19541. tv:
  19542. description: 总量(成交量)
  19543. type: integer
  19544. type: object
  19545. quote.HistoryTikData:
  19546. properties:
  19547. AV:
  19548. description: 卖量
  19549. type: integer
  19550. Ask:
  19551. description: 卖价
  19552. type: number
  19553. BV:
  19554. description: 买量
  19555. type: integer
  19556. Bid:
  19557. description: 买价
  19558. type: number
  19559. HI:
  19560. description: 单笔持仓
  19561. type: integer
  19562. HV:
  19563. description: 持仓量
  19564. type: integer
  19565. PE:
  19566. description: 现价
  19567. type: number
  19568. TDR:
  19569. description: 交易方向,0:买 1:卖
  19570. type: integer
  19571. TK:
  19572. description: 交易类型
  19573. type: integer
  19574. TS:
  19575. description: 行情时间文本
  19576. type: string
  19577. TT:
  19578. description: 现金额
  19579. type: number
  19580. Vol:
  19581. description: 现量
  19582. type: integer
  19583. type: object
  19584. quote.QueryQuoteDayRsp:
  19585. properties:
  19586. ask:
  19587. description: 卖1
  19588. type: number
  19589. ask2:
  19590. description: 卖2
  19591. type: number
  19592. ask3:
  19593. description: 卖3
  19594. type: number
  19595. ask4:
  19596. description: 卖4
  19597. type: number
  19598. ask5:
  19599. description: 卖5
  19600. type: number
  19601. ask6:
  19602. description: 卖6
  19603. type: number
  19604. ask7:
  19605. description: 卖7
  19606. type: number
  19607. ask8:
  19608. description: 卖8
  19609. type: number
  19610. ask9:
  19611. description: 卖9
  19612. type: number
  19613. ask10:
  19614. description: 卖10
  19615. type: number
  19616. askorderid:
  19617. description: 卖单号1
  19618. type: integer
  19619. askorderid2:
  19620. description: 卖单号2
  19621. type: integer
  19622. askorderid3:
  19623. description: 卖单号3
  19624. type: integer
  19625. askorderid4:
  19626. description: 卖单号4
  19627. type: integer
  19628. askorderid5:
  19629. description: 卖单号5
  19630. type: integer
  19631. askordervolume:
  19632. description: 卖单量1
  19633. type: integer
  19634. askordervolume2:
  19635. description: 卖单量2
  19636. type: integer
  19637. askordervolume3:
  19638. description: 卖单量3
  19639. type: integer
  19640. askordervolume4:
  19641. description: 卖单量4
  19642. type: integer
  19643. askordervolume5:
  19644. description: 卖单量5
  19645. type: integer
  19646. askordervolume6:
  19647. description: 卖单量6
  19648. type: integer
  19649. askordervolume7:
  19650. description: 卖单量7
  19651. type: integer
  19652. askordervolume8:
  19653. description: 卖单量8
  19654. type: integer
  19655. askordervolume9:
  19656. description: 卖单量9
  19657. type: integer
  19658. askordervolume10:
  19659. description: 卖单量10
  19660. type: integer
  19661. askqueueinfo:
  19662. description: 大利市卖港股用
  19663. type: string
  19664. askvolume:
  19665. description: 卖量1
  19666. type: integer
  19667. askvolume2:
  19668. description: 卖量2
  19669. type: integer
  19670. askvolume3:
  19671. description: 卖量3
  19672. type: integer
  19673. askvolume4:
  19674. description: 卖量4
  19675. type: integer
  19676. askvolume5:
  19677. description: 卖量5
  19678. type: integer
  19679. askvolume6:
  19680. description: 卖量6
  19681. type: integer
  19682. askvolume7:
  19683. description: 卖量7
  19684. type: integer
  19685. askvolume8:
  19686. description: 卖量8
  19687. type: integer
  19688. askvolume9:
  19689. description: 卖量9
  19690. type: integer
  19691. askvolume10:
  19692. description: 卖量10
  19693. type: integer
  19694. averageprice:
  19695. description: 均价
  19696. type: number
  19697. bid:
  19698. description: 买1
  19699. type: number
  19700. bid2:
  19701. description: 买2
  19702. type: number
  19703. bid3:
  19704. description: 买3
  19705. type: number
  19706. bid4:
  19707. description: 买4
  19708. type: number
  19709. bid5:
  19710. description: 买5
  19711. type: number
  19712. bid6:
  19713. description: 买6
  19714. type: number
  19715. bid7:
  19716. description: 买7
  19717. type: number
  19718. bid8:
  19719. description: 买8
  19720. type: number
  19721. bid9:
  19722. description: 买9
  19723. type: number
  19724. bid10:
  19725. description: 买10
  19726. type: number
  19727. bidorderid:
  19728. description: 买单号1
  19729. type: integer
  19730. bidorderid2:
  19731. description: 买单号2
  19732. type: integer
  19733. bidorderid3:
  19734. description: 买单号3
  19735. type: integer
  19736. bidorderid4:
  19737. description: 买单号4
  19738. type: integer
  19739. bidorderid5:
  19740. description: 买单号5
  19741. type: integer
  19742. bidordervolume:
  19743. description: 买单量1
  19744. type: integer
  19745. bidordervolume2:
  19746. description: 买单量2
  19747. type: integer
  19748. bidordervolume3:
  19749. description: 买单量3
  19750. type: integer
  19751. bidordervolume4:
  19752. description: 买单量4
  19753. type: integer
  19754. bidordervolume5:
  19755. description: 买单量5
  19756. type: integer
  19757. bidordervolume6:
  19758. description: 买单量6
  19759. type: integer
  19760. bidordervolume7:
  19761. description: 买单量7
  19762. type: integer
  19763. bidordervolume8:
  19764. description: 买单量8
  19765. type: integer
  19766. bidordervolume9:
  19767. description: 买单量9
  19768. type: integer
  19769. bidordervolume10:
  19770. description: 买单量10
  19771. type: integer
  19772. bidqueueinfo:
  19773. description: 大利市买港股用
  19774. type: string
  19775. bidvolume:
  19776. description: 买量1
  19777. type: integer
  19778. bidvolume2:
  19779. description: 买量2
  19780. type: integer
  19781. bidvolume3:
  19782. description: 买量3
  19783. type: integer
  19784. bidvolume4:
  19785. description: 买量4
  19786. type: integer
  19787. bidvolume5:
  19788. description: 买量5
  19789. type: integer
  19790. bidvolume6:
  19791. description: 买量6
  19792. type: integer
  19793. bidvolume7:
  19794. description: 买量7
  19795. type: integer
  19796. bidvolume8:
  19797. description: 买量8
  19798. type: integer
  19799. bidvolume9:
  19800. description: 买量9
  19801. type: integer
  19802. bidvolume10:
  19803. description: 买量10
  19804. type: integer
  19805. calloptionpremiums:
  19806. description: 认购期权1
  19807. type: integer
  19808. calloptionpremiums2:
  19809. description: 认购期权2
  19810. type: integer
  19811. calloptionpremiums3:
  19812. description: 认购期权3
  19813. type: integer
  19814. calloptionpremiums4:
  19815. description: 认购期权4
  19816. type: integer
  19817. calloptionpremiums5:
  19818. description: 认购期权5
  19819. type: integer
  19820. cleartime:
  19821. description: 清盘时间
  19822. type: integer
  19823. exchangecode:
  19824. description: 交易所代码
  19825. type: integer
  19826. exchangedate:
  19827. description: 交易日
  19828. type: integer
  19829. goodscode:
  19830. description: 商品代码
  19831. type: string
  19832. grepmarketprice:
  19833. description: 暗盘价 港股专用
  19834. type: number
  19835. highest:
  19836. description: 最高价
  19837. type: number
  19838. holdincrement:
  19839. description: 单笔持仓
  19840. type: integer
  19841. holdvolume:
  19842. description: 持仓
  19843. type: integer
  19844. iep:
  19845. description: 平衡价 港股专用
  19846. type: number
  19847. iev:
  19848. description: 平衡量 港股专用
  19849. type: number
  19850. inventory:
  19851. description: 库存
  19852. type: integer
  19853. iscleared:
  19854. description: 是否清盘标志
  19855. type: integer
  19856. issettled:
  19857. description: 是否结算标志
  19858. type: integer
  19859. last:
  19860. description: 最新价
  19861. type: number
  19862. lastlot:
  19863. description: 最新成交手数
  19864. type: integer
  19865. lasttime:
  19866. description: 行情时间(只有现价变化行情时间才变化)
  19867. type: string
  19868. lastturnover:
  19869. description: 最新成交金额
  19870. type: number
  19871. lastvolume:
  19872. description: 最新成交量
  19873. type: integer
  19874. limitdown:
  19875. description: 跌停价
  19876. type: number
  19877. limitup:
  19878. description: 涨停价
  19879. type: number
  19880. lowest:
  19881. description: 最低价
  19882. type: number
  19883. nontotalholdervolume:
  19884. description: 非交易持仓量
  19885. type: integer
  19886. nontotallot:
  19887. description: 非交易总手数
  19888. type: integer
  19889. nontotalturnover:
  19890. description: 非交易总金额
  19891. type: integer
  19892. nontotalvolume:
  19893. description: 非交易总量
  19894. type: integer
  19895. opened:
  19896. description: 开盘价
  19897. type: number
  19898. opentime:
  19899. description: 开盘时间
  19900. type: string
  19901. orderid:
  19902. description: 序号
  19903. type: integer
  19904. preclose:
  19905. description: 昨收
  19906. type: number
  19907. preholdvolume:
  19908. description: 昨持仓
  19909. type: integer
  19910. presettle:
  19911. description: 昨结价
  19912. type: number
  19913. publictradetype:
  19914. description: 公共交易标志类型 港股专用
  19915. type: string
  19916. putoptionpremiums:
  19917. description: 认沽期权1
  19918. type: integer
  19919. putoptionpremiums2:
  19920. description: 认沽期权2
  19921. type: integer
  19922. putoptionpremiums3:
  19923. description: 认沽期权3
  19924. type: integer
  19925. putoptionpremiums4:
  19926. description: 认沽期权4
  19927. type: integer
  19928. putoptionpremiums5:
  19929. description: 认沽期权5
  19930. type: integer
  19931. settle:
  19932. description: 结算价
  19933. type: number
  19934. strikeprice:
  19935. description: 发行价
  19936. type: number
  19937. totalaskvolume:
  19938. description: 内盘
  19939. type: integer
  19940. totalbidvolume:
  19941. description: 外盘
  19942. type: integer
  19943. totallot:
  19944. description: 总手数
  19945. type: integer
  19946. totalturnover:
  19947. description: 总金额
  19948. type: number
  19949. totalvolume:
  19950. description: 总量
  19951. type: integer
  19952. utclasttime:
  19953. description: utc的行情时间
  19954. type: string
  19955. type: object
  19956. quote.QueryTSDataRsp:
  19957. properties:
  19958. Count:
  19959. description: 交易日应有数据个数
  19960. type: integer
  19961. decimalPlace:
  19962. description: 小数位
  19963. type: integer
  19964. endTime:
  19965. description: 结束时间
  19966. type: string
  19967. goodsCode:
  19968. description: 商品代码
  19969. type: string
  19970. historyDatas:
  19971. description: 历史数据
  19972. items:
  19973. $ref: '#/definitions/quote.HistoryData'
  19974. type: array
  19975. outGoodsCode:
  19976. description: 外部商品代码
  19977. type: string
  19978. preSettle:
  19979. description: 昨结价
  19980. type: number
  19981. runSteps:
  19982. description: 交易日开休市计划
  19983. items:
  19984. $ref: '#/definitions/quote.TSDataRunStep'
  19985. type: array
  19986. startTime:
  19987. description: 开始时间
  19988. type: string
  19989. tradeDate:
  19990. description: 交易日
  19991. type: string
  19992. type: object
  19993. quote.TSDataRunStep:
  19994. properties:
  19995. end:
  19996. description: 真实结束时间
  19997. type: string
  19998. endflag:
  19999. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20000. type: integer
  20001. endtime:
  20002. description: 结束时间(HH:mm)
  20003. type: string
  20004. endweekday:
  20005. description: 结束周几
  20006. type: integer
  20007. groupid:
  20008. description: 分组ID
  20009. type: integer
  20010. runstep:
  20011. description: 运行阶段 - 2:连续交易
  20012. type: integer
  20013. sectionid:
  20014. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20015. 结束时间=结算时间 结束周几=结算周几
  20016. type: integer
  20017. start:
  20018. description: 真实开始时间
  20019. type: string
  20020. startflag:
  20021. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20022. type: integer
  20023. starttime:
  20024. description: 起始时间(HH:mm)
  20025. type: string
  20026. startweekday:
  20027. description: 起始周几
  20028. type: integer
  20029. tradeweekday:
  20030. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20031. type: integer
  20032. type: object
  20033. szdz.QueryConvertLogRsp:
  20034. properties:
  20035. accountid:
  20036. description: 资金账户ID
  20037. type: integer
  20038. clientticket:
  20039. description: 客户端流水号
  20040. type: string
  20041. converttype:
  20042. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20043. type: integer
  20044. createtime:
  20045. description: 记账时间
  20046. type: string
  20047. daymaxvalue:
  20048. description: 配置当日最大转入限制
  20049. type: number
  20050. daymaxvalue2:
  20051. description: 配置当日最大转入限制(转入)
  20052. type: number
  20053. goodscode:
  20054. description: 商品代码
  20055. type: string
  20056. goodsname:
  20057. description: 商品名称
  20058. type: string
  20059. handlestatus:
  20060. description: 处理状态
  20061. type: integer
  20062. innergoodsid:
  20063. description: 内部商品ID
  20064. type: integer
  20065. inratio:
  20066. description: 配置转入比值
  20067. type: integer
  20068. invalue:
  20069. description: 目标值
  20070. type: number
  20071. logid:
  20072. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20073. type: integer
  20074. mobile:
  20075. description: 手机号码(加密存储)
  20076. type: string
  20077. outergoodscode:
  20078. description: 外部商品代码[JD\PD]
  20079. type: string
  20080. outratio:
  20081. description: 配置转出比值
  20082. type: integer
  20083. outvalue:
  20084. description: 源值
  20085. type: number
  20086. pddecimalplace:
  20087. description: PD小数位
  20088. type: integer
  20089. qty:
  20090. description: 数量
  20091. type: string
  20092. remark:
  20093. description: 备注
  20094. type: string
  20095. sessionid:
  20096. description: 会话ID
  20097. type: integer
  20098. timemaxvalue:
  20099. description: 配置单次最大转入限制
  20100. type: number
  20101. timemaxvalue2:
  20102. description: 配置单次最大转入限制(转入)
  20103. type: number
  20104. timeminvalue:
  20105. description: 配置单次最小数量限制
  20106. type: number
  20107. timeminvalue2:
  20108. description: 配置单次最小数量限制(转入)
  20109. type: number
  20110. tradedate:
  20111. description: 交易日(yyyyMMdd)
  20112. type: string
  20113. userid:
  20114. description: 用户ID
  20115. type: integer
  20116. required:
  20117. - logid
  20118. type: object
  20119. szdz.QueryGoodsPickupRsp:
  20120. properties:
  20121. accountid:
  20122. description: 账户ID
  20123. type: integer
  20124. address:
  20125. description: 提货人详细地址
  20126. type: string
  20127. auditer:
  20128. description: 审核人
  20129. type: integer
  20130. audittime:
  20131. description: 审核时间
  20132. type: string
  20133. cardnum:
  20134. description: 提货人证件号码
  20135. type: string
  20136. cardtypeid:
  20137. description: 提货人证件类型
  20138. type: integer
  20139. checkremark:
  20140. description: 审核备注
  20141. type: string
  20142. goodscode:
  20143. description: 商品代码
  20144. type: string
  20145. goodsid:
  20146. description: 商品ID
  20147. type: integer
  20148. goodsname:
  20149. description: 商品名称
  20150. type: string
  20151. handlestatus:
  20152. description: 处理状态
  20153. type: integer
  20154. marketid:
  20155. description: 市场ID
  20156. type: integer
  20157. phonenum:
  20158. description: 提货人联系方式
  20159. type: string
  20160. qty:
  20161. description: 提货数量
  20162. type: number
  20163. recivername:
  20164. description: 提货人姓名
  20165. type: string
  20166. reqtime:
  20167. description: 更新时间
  20168. type: string
  20169. takemode:
  20170. description: 提货方式 - 2:自提 3:配送
  20171. type: integer
  20172. takeorderid:
  20173. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20174. type: string
  20175. takeorderstatus:
  20176. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20177. type: integer
  20178. takeremark:
  20179. description: 提货备注
  20180. type: string
  20181. tradedate:
  20182. description: 交易日(yyyyMMdd)
  20183. type: string
  20184. userid:
  20185. description: 用户ID
  20186. type: integer
  20187. required:
  20188. - takeorderid
  20189. type: object
  20190. szdz.QueryRecieptOrderRsp:
  20191. properties:
  20192. accountName:
  20193. description: 所属账号名称(已脱敏)
  20194. type: string
  20195. accountid:
  20196. description: 资金账号
  20197. type: integer
  20198. buyorsell:
  20199. description: 方向 - 0:买 1:卖
  20200. type: integer
  20201. enableqty:
  20202. description: 可摘数量
  20203. type: integer
  20204. goodscode:
  20205. description: 商品代码
  20206. type: string
  20207. goodsid:
  20208. description: 商品ID
  20209. type: integer
  20210. goodsname:
  20211. description: 商品名称
  20212. type: string
  20213. orderid:
  20214. description: 委托单号
  20215. type: string
  20216. orderprice:
  20217. description: 委托价格
  20218. type: number
  20219. ordertime:
  20220. description: 委托时间
  20221. type: string
  20222. tradedate:
  20223. description: 交易日(yyyyMMdd)
  20224. type: string
  20225. required:
  20226. - ordertime
  20227. type: object
  20228. szdz.QuerySZDZTradePositionRsp:
  20229. properties:
  20230. accountid:
  20231. description: 账号Id
  20232. type: integer
  20233. agreeunit:
  20234. description: 合约单位
  20235. type: number
  20236. averageprice:
  20237. description: 持仓均价
  20238. type: number
  20239. buyorsell:
  20240. description: 方向 - 0:买 1:卖
  20241. type: integer
  20242. closetotalqty:
  20243. description: 平仓总数量
  20244. type: integer
  20245. curholderamount:
  20246. description: 当前持仓总金额
  20247. type: number
  20248. curpositionqty:
  20249. description: 当前持仓总数量
  20250. type: integer
  20251. currencyid:
  20252. description: 报价货币ID
  20253. type: integer
  20254. curtdposition:
  20255. description: 期末今日头寸
  20256. type: integer
  20257. decimalplace:
  20258. description: 报价小数位
  20259. type: integer
  20260. enableqty:
  20261. description: 可用量
  20262. type: integer
  20263. fretdposition:
  20264. description: 冻结今日头寸
  20265. type: integer
  20266. frozenqty:
  20267. description: 持仓冻结数量
  20268. type: integer
  20269. goodscode:
  20270. description: 商品代码(内部)
  20271. type: string
  20272. goodsid:
  20273. description: 商品Id
  20274. type: integer
  20275. goodsname:
  20276. description: 商品名称
  20277. type: string
  20278. goodunit:
  20279. description: 报价单位
  20280. type: string
  20281. goodunitid:
  20282. description: 报价单位ID
  20283. type: integer
  20284. holderamount:
  20285. description: 期初持仓总金额
  20286. type: number
  20287. marketid:
  20288. description: 市场ID
  20289. type: integer
  20290. openreqqty:
  20291. description: 开仓申请数量
  20292. type: integer
  20293. opentotalqty:
  20294. description: 开仓总数量
  20295. type: integer
  20296. otherfrozenqty:
  20297. description: 持仓其他冻结数量(交割冻结)
  20298. type: integer
  20299. positionqty:
  20300. description: 期初持仓数量
  20301. type: integer
  20302. szdz3freezqty:
  20303. description: 尚志大宗转换冻结总数量
  20304. type: integer
  20305. tnqty:
  20306. description: T+N冻结总量
  20307. type: integer
  20308. tnusedqty:
  20309. description: T+N使用量
  20310. type: integer
  20311. trademode:
  20312. description: 交易模式
  20313. type: integer
  20314. usedmargin:
  20315. description: 占用保证金
  20316. type: number
  20317. type: object
  20318. taaccount.QueryAmountLogRsp:
  20319. properties:
  20320. OPERATETYPENAME:
  20321. description: 资金操作类型名称
  20322. type: string
  20323. accountid:
  20324. description: 资金账户ID
  20325. type: integer
  20326. agoodscode:
  20327. description: 竞拍商品代码
  20328. type: string
  20329. agoodsname:
  20330. description: 竞拍商品名称
  20331. type: string
  20332. amount:
  20333. description: 资金金额
  20334. type: number
  20335. amountadjusttype:
  20336. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20337. type: integer
  20338. autoid:
  20339. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20340. type: integer
  20341. balance:
  20342. description: 期初余额
  20343. type: number
  20344. businesscode:
  20345. description: 业务编号
  20346. type: integer
  20347. createtime:
  20348. description: 发生时间
  20349. type: string
  20350. currencyid:
  20351. description: 币种ID
  20352. type: integer
  20353. currentbalance:
  20354. description: 期末余额(变动后金额)
  20355. type: number
  20356. dgoodscode:
  20357. description: 交割商品代码
  20358. type: string
  20359. dgoodsname:
  20360. description: 交割商品名称
  20361. type: string
  20362. goodscode:
  20363. description: 商品代码
  20364. type: string
  20365. goodsid:
  20366. description: 商品ID
  20367. type: integer
  20368. goodsname:
  20369. description: 商品名称
  20370. type: string
  20371. marketid:
  20372. description: 市场ID
  20373. type: integer
  20374. marketname:
  20375. description: 市场名称
  20376. type: string
  20377. moneyticket:
  20378. description: 资金流水号:银行端流水号
  20379. type: integer
  20380. operatetype:
  20381. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20382. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20383. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20384. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20385. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20386. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20387. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20388. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20389. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20390. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20391. type: integer
  20392. relationorderid:
  20393. description: 关联单号
  20394. type: string
  20395. remark:
  20396. description: 备注
  20397. type: string
  20398. trademode:
  20399. description: 交易模式
  20400. type: integer
  20401. required:
  20402. - accountid
  20403. - amount
  20404. - amountadjusttype
  20405. - autoid
  20406. - balance
  20407. - createtime
  20408. - currentbalance
  20409. - operatetype
  20410. type: object
  20411. taaccount.QueryHisAmountLogRsp:
  20412. properties:
  20413. OPERATETYPENAME:
  20414. description: 资金操作类型名称
  20415. type: string
  20416. accountid:
  20417. description: 资金账户ID
  20418. type: integer
  20419. agoodscode:
  20420. description: 竞拍商品代码
  20421. type: string
  20422. agoodsname:
  20423. description: 竞拍商品名称
  20424. type: string
  20425. amount:
  20426. description: 资金金额
  20427. type: number
  20428. amountadjusttype:
  20429. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20430. type: integer
  20431. autoid:
  20432. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20433. type: integer
  20434. balance:
  20435. description: 期初余额
  20436. type: number
  20437. businesscode:
  20438. description: 业务编号
  20439. type: integer
  20440. createtime:
  20441. description: 发生时间
  20442. type: string
  20443. currencyid:
  20444. description: 币种ID
  20445. type: integer
  20446. currentbalance:
  20447. description: 期末余额(变动后金额)
  20448. type: number
  20449. dgoodscode:
  20450. description: 交割商品代码
  20451. type: string
  20452. dgoodsname:
  20453. description: 交割商品名称
  20454. type: string
  20455. goodscode:
  20456. description: 商品代码
  20457. type: string
  20458. goodsid:
  20459. description: 商品ID
  20460. type: integer
  20461. goodsname:
  20462. description: 商品名称
  20463. type: string
  20464. histradedate:
  20465. description: 历史交易日
  20466. type: string
  20467. isvaliddata:
  20468. description: 是否有效 - 0:无效 1:有效
  20469. type: integer
  20470. marketid:
  20471. description: 市场ID
  20472. type: integer
  20473. marketname:
  20474. description: 市场名称
  20475. type: string
  20476. moneyticket:
  20477. description: 资金流水号:银行端流水号
  20478. type: integer
  20479. operatetype:
  20480. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20481. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20482. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20483. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20484. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20485. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20486. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20487. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20488. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20489. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20490. type: integer
  20491. relationorderid:
  20492. description: 关联单号
  20493. type: string
  20494. remark:
  20495. description: 备注
  20496. type: string
  20497. trademode:
  20498. description: 交易模式
  20499. type: integer
  20500. required:
  20501. - accountid
  20502. - amount
  20503. - amountadjusttype
  20504. - autoid
  20505. - balance
  20506. - createtime
  20507. - currentbalance
  20508. - histradedate
  20509. - operatetype
  20510. type: object
  20511. trade.QueryRecieptOrderRsp:
  20512. properties:
  20513. accountName:
  20514. description: 所属账号名称(已脱敏)
  20515. type: string
  20516. accountid:
  20517. description: 资金账号
  20518. type: integer
  20519. buyorsell:
  20520. description: 方向 - 0:买 1:卖
  20521. type: integer
  20522. enableqty:
  20523. description: 可摘数量
  20524. type: integer
  20525. goodscode:
  20526. description: 商品代码
  20527. type: string
  20528. goodsid:
  20529. description: 商品ID
  20530. type: integer
  20531. goodsname:
  20532. description: 商品名称
  20533. type: string
  20534. orderid:
  20535. description: 委托单号
  20536. type: string
  20537. orderprice:
  20538. description: 委托价格
  20539. type: number
  20540. ordertime:
  20541. description: 委托时间
  20542. type: string
  20543. tradedate:
  20544. description: 交易日(yyyyMMdd)
  20545. type: string
  20546. required:
  20547. - ordertime
  20548. type: object
  20549. user.LoginQueryRsp:
  20550. properties:
  20551. areaRoles:
  20552. description: 所属角色信息
  20553. items:
  20554. $ref: '#/definitions/models.Arearole'
  20555. type: array
  20556. externalExchanges:
  20557. description: 外部交易所
  20558. items:
  20559. $ref: '#/definitions/models.Externalexchange'
  20560. type: array
  20561. goodsgroups:
  20562. description: 商品组
  20563. items:
  20564. $ref: '#/definitions/models.Goodsgroup'
  20565. type: array
  20566. loginAccount:
  20567. $ref: '#/definitions/models.Loginaccount'
  20568. description: 登录账号
  20569. markets:
  20570. description: 市场
  20571. items:
  20572. $ref: '#/definitions/models.Market'
  20573. type: array
  20574. systemParams:
  20575. description: 系统参数
  20576. items:
  20577. $ref: '#/definitions/models.Systemparam'
  20578. type: array
  20579. userAccount:
  20580. $ref: '#/definitions/models.Useraccount'
  20581. description: 用户账号
  20582. userInfo:
  20583. $ref: '#/definitions/models.Userinfo'
  20584. description: 用户信息
  20585. username:
  20586. description: 用户姓名
  20587. type: string
  20588. type: object
  20589. info:
  20590. contact: {}
  20591. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20592. termsOfService: http://www.muchinfo.cn
  20593. title: MTP2.0 查询服务 API
  20594. version: "1.0"
  20595. paths:
  20596. /CPTrade/QueryCPTradeMyBidInfos:
  20597. get:
  20598. parameters:
  20599. - description: 资金账户
  20600. in: query
  20601. name: accountid
  20602. required: true
  20603. type: integer
  20604. - description: 预售市场ID
  20605. in: query
  20606. name: marketid
  20607. type: integer
  20608. - description: 预售商品ID
  20609. in: query
  20610. name: goodsid
  20611. type: integer
  20612. produces:
  20613. - application/json
  20614. responses:
  20615. "200":
  20616. description: OK
  20617. schema:
  20618. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20619. "500":
  20620. description: Internal Server Error
  20621. schema:
  20622. $ref: '#/definitions/app.Response'
  20623. security:
  20624. - ApiKeyAuth: []
  20625. summary: 查询产能预售我的出价信息
  20626. tags:
  20627. - 产能预售
  20628. /CPTrade/QueryCPTradeOrderDetail:
  20629. get:
  20630. parameters:
  20631. - description: 预售商品ID
  20632. in: query
  20633. name: goodsid
  20634. type: integer
  20635. - description: 预售市场ID
  20636. in: query
  20637. name: marketid
  20638. type: integer
  20639. - description: 预售商品ID列表 - 格式:1,2,3
  20640. in: query
  20641. name: goodsids
  20642. type: string
  20643. produces:
  20644. - application/json
  20645. responses:
  20646. "200":
  20647. description: OK
  20648. schema:
  20649. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20650. "500":
  20651. description: Internal Server Error
  20652. schema:
  20653. $ref: '#/definitions/app.Response'
  20654. security:
  20655. - ApiKeyAuth: []
  20656. summary: 查询产能预售委托单信息
  20657. tags:
  20658. - 产能预售
  20659. /CPTrade/QueryMyCPTradeGoods:
  20660. get:
  20661. parameters:
  20662. - description: 资金账户
  20663. in: query
  20664. name: accountid
  20665. required: true
  20666. type: integer
  20667. produces:
  20668. - application/json
  20669. responses:
  20670. "200":
  20671. description: OK
  20672. schema:
  20673. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20674. "500":
  20675. description: Internal Server Error
  20676. schema:
  20677. $ref: '#/definitions/app.Response'
  20678. security:
  20679. - ApiKeyAuth: []
  20680. summary: 查询我的预售信息
  20681. tags:
  20682. - 产能预售
  20683. /CPTrade/QueryPositionCancel:
  20684. get:
  20685. parameters:
  20686. - description: 账户ID
  20687. in: query
  20688. name: userid
  20689. required: true
  20690. type: integer
  20691. - description: 注销ID
  20692. in: query
  20693. name: cancelid
  20694. type: integer
  20695. - description: 资金账户ID
  20696. in: query
  20697. name: accountid
  20698. type: integer
  20699. produces:
  20700. - application/json
  20701. responses:
  20702. "200":
  20703. description: OK
  20704. schema:
  20705. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20706. "500":
  20707. description: Internal Server Error
  20708. schema:
  20709. $ref: '#/definitions/app.Response'
  20710. security:
  20711. - ApiKeyAuth: []
  20712. summary: 查询远期订单注销申请信息
  20713. tags:
  20714. - 产能预售
  20715. /CPTrade/QueryPreasleApply:
  20716. get:
  20717. parameters:
  20718. - description: 账户ID
  20719. in: query
  20720. name: userid
  20721. required: true
  20722. type: integer
  20723. - description: 申请ID
  20724. in: query
  20725. name: applyid
  20726. type: integer
  20727. - description: 资金账户ID
  20728. in: query
  20729. name: accountid
  20730. type: integer
  20731. produces:
  20732. - application/json
  20733. responses:
  20734. "200":
  20735. description: OK
  20736. schema:
  20737. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20738. "500":
  20739. description: Internal Server Error
  20740. schema:
  20741. $ref: '#/definitions/app.Response'
  20742. security:
  20743. - ApiKeyAuth: []
  20744. summary: 查询产能预售申请信息
  20745. tags:
  20746. - 产能预售
  20747. /CPTrade/QueryPresaleGoodsEx:
  20748. get:
  20749. parameters:
  20750. - description: 预售商品ID
  20751. in: query
  20752. name: goodsid
  20753. type: integer
  20754. - description: 预售市场ID
  20755. in: query
  20756. name: marketid
  20757. type: integer
  20758. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20759. in: query
  20760. name: presalemode
  20761. type: integer
  20762. - description: 预售商品ID列表 - 格式:1,2,3
  20763. in: query
  20764. name: goodsids
  20765. type: string
  20766. - description: 预售商品代码
  20767. in: query
  20768. name: goodscode
  20769. type: string
  20770. produces:
  20771. - application/json
  20772. responses:
  20773. "200":
  20774. description: OK
  20775. schema:
  20776. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20777. "500":
  20778. description: Internal Server Error
  20779. schema:
  20780. $ref: '#/definitions/app.Response'
  20781. security:
  20782. - ApiKeyAuth: []
  20783. summary: 查询产能预售商品扩展信息
  20784. tags:
  20785. - 产能预售
  20786. /CPTrade/QueryUserGoodsData:
  20787. get:
  20788. parameters:
  20789. - description: 资金账户ID
  20790. in: query
  20791. name: accountid
  20792. required: true
  20793. type: integer
  20794. produces:
  20795. - application/json
  20796. responses:
  20797. "200":
  20798. description: OK
  20799. schema:
  20800. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20801. "500":
  20802. description: Internal Server Error
  20803. schema:
  20804. $ref: '#/definitions/app.Response'
  20805. security:
  20806. - ApiKeyAuth: []
  20807. summary: 查询远期订单信息
  20808. tags:
  20809. - 产能预售
  20810. /Common/GetAllEnums:
  20811. get:
  20812. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20813. parameters:
  20814. - description: 起始自增ID
  20815. in: query
  20816. name: autoid
  20817. type: integer
  20818. produces:
  20819. - application/json
  20820. responses:
  20821. "200":
  20822. description: OK
  20823. schema:
  20824. $ref: '#/definitions/models.Enumdicitem'
  20825. "500":
  20826. description: Internal Server Error
  20827. schema:
  20828. $ref: '#/definitions/app.Response'
  20829. summary: 获取所有枚举信息
  20830. tags:
  20831. - 通用服务
  20832. /Common/GetClientMenus:
  20833. get:
  20834. parameters:
  20835. - description: 登录账号
  20836. in: query
  20837. name: loginID
  20838. required: true
  20839. type: integer
  20840. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20841. in: query
  20842. name: clientType
  20843. type: integer
  20844. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20845. in: query
  20846. name: name
  20847. type: string
  20848. produces:
  20849. - application/json
  20850. responses:
  20851. "200":
  20852. description: OK
  20853. schema:
  20854. items:
  20855. $ref: '#/definitions/common.ClientMenu'
  20856. type: array
  20857. "500":
  20858. description: Internal Server Error
  20859. schema:
  20860. $ref: '#/definitions/app.Response'
  20861. security:
  20862. - ApiKeyAuth: []
  20863. summary: 获取交易端菜单
  20864. tags:
  20865. - 通用服务
  20866. /Common/GetDivisions:
  20867. get:
  20868. produces:
  20869. - application/json
  20870. responses:
  20871. "200":
  20872. description: OK
  20873. schema:
  20874. $ref: '#/definitions/models.Division'
  20875. "500":
  20876. description: Internal Server Error
  20877. schema:
  20878. $ref: '#/definitions/app.Response'
  20879. summary: 查询区域信息
  20880. tags:
  20881. - 通用服务
  20882. /Common/GetPCWebMenus:
  20883. get:
  20884. parameters:
  20885. - description: 登录账号
  20886. in: query
  20887. name: loginID
  20888. required: true
  20889. type: integer
  20890. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20891. in: query
  20892. name: name
  20893. type: string
  20894. produces:
  20895. - application/json
  20896. responses:
  20897. "200":
  20898. description: OK
  20899. schema:
  20900. items:
  20901. $ref: '#/definitions/common.PCWebMenu'
  20902. type: array
  20903. "500":
  20904. description: Internal Server Error
  20905. schema:
  20906. $ref: '#/definitions/app.Response'
  20907. security:
  20908. - ApiKeyAuth: []
  20909. summary: 获取PCWeb交易端菜单
  20910. tags:
  20911. - 通用服务
  20912. /Common/GetServerTime:
  20913. get:
  20914. produces:
  20915. - application/json
  20916. responses:
  20917. "200":
  20918. description: OK
  20919. schema:
  20920. $ref: '#/definitions/app.Response'
  20921. "500":
  20922. description: Internal Server Error
  20923. schema:
  20924. $ref: '#/definitions/app.Response'
  20925. summary: 获取服务器时间
  20926. tags:
  20927. - 通用服务
  20928. /Common/NoticeReaded:
  20929. post:
  20930. parameters:
  20931. - description: 登录账号
  20932. in: query
  20933. name: loginID
  20934. required: true
  20935. type: integer
  20936. - description: 通知公告ID
  20937. in: query
  20938. name: noticeID
  20939. required: true
  20940. type: integer
  20941. produces:
  20942. - application/json
  20943. responses:
  20944. "200":
  20945. description: OK
  20946. schema:
  20947. $ref: '#/definitions/app.Response'
  20948. "500":
  20949. description: Internal Server Error
  20950. schema:
  20951. $ref: '#/definitions/app.Response'
  20952. security:
  20953. - ApiKeyAuth: []
  20954. summary: 通知公告设置已读请求
  20955. tags:
  20956. - 通用服务
  20957. /Common/QueryErrorInfos:
  20958. get:
  20959. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20960. parameters:
  20961. - description: 起始行号前索引
  20962. in: query
  20963. name: rowNumber
  20964. type: string
  20965. produces:
  20966. - application/json
  20967. responses:
  20968. "200":
  20969. description: OK
  20970. schema:
  20971. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20972. "500":
  20973. description: Internal Server Error
  20974. schema:
  20975. $ref: '#/definitions/app.Response'
  20976. summary: 获取数据库错误信息
  20977. tags:
  20978. - 通用服务
  20979. /Common/QueryImageConfigs:
  20980. get:
  20981. parameters:
  20982. - description: 用户id
  20983. in: query
  20984. name: userId
  20985. type: integer
  20986. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20987. in: query
  20988. name: imageType
  20989. type: integer
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. summary: 查询轮播图配置信息
  21002. tags:
  21003. - 通用服务
  21004. /Common/QueryNotice:
  21005. get:
  21006. parameters:
  21007. - description: 页码
  21008. in: query
  21009. name: page
  21010. type: integer
  21011. - description: 每页条数
  21012. in: query
  21013. name: pagesize
  21014. type: integer
  21015. - description: 登录账号
  21016. in: query
  21017. name: loginID
  21018. required: true
  21019. type: integer
  21020. - description: 消息类型 - 1:公告通知 2:系统消息
  21021. in: query
  21022. name: msgType
  21023. type: integer
  21024. - description: 是否只获取未读信息
  21025. in: query
  21026. name: onlyUnRead
  21027. type: boolean
  21028. - description: 自增ID,传入后会返回这个ID后面的记录
  21029. in: query
  21030. name: lastID
  21031. type: integer
  21032. produces:
  21033. - application/json
  21034. responses:
  21035. "200":
  21036. description: OK
  21037. schema:
  21038. $ref: '#/definitions/common.QueryNoticeRsp'
  21039. "500":
  21040. description: Internal Server Error
  21041. schema:
  21042. $ref: '#/definitions/app.Response'
  21043. security:
  21044. - ApiKeyAuth: []
  21045. summary: 通知公告系统消息查询
  21046. tags:
  21047. - 通用服务
  21048. /Common/QueryProvincesAndCities:
  21049. get:
  21050. parameters:
  21051. - description: 省ID
  21052. in: query
  21053. name: provinceID
  21054. type: integer
  21055. produces:
  21056. - application/json
  21057. responses:
  21058. "200":
  21059. description: OK
  21060. schema:
  21061. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21062. "500":
  21063. description: Internal Server Error
  21064. schema:
  21065. $ref: '#/definitions/app.Response'
  21066. summary: 查询省市信息(不包括区)
  21067. tags:
  21068. - 通用服务
  21069. /Common/QueryTableDefine:
  21070. get:
  21071. parameters:
  21072. - description: 表key
  21073. in: query
  21074. name: tableKey
  21075. type: string
  21076. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21077. in: query
  21078. name: tableType
  21079. type: integer
  21080. produces:
  21081. - application/json
  21082. responses:
  21083. "200":
  21084. description: OK
  21085. schema:
  21086. $ref: '#/definitions/common.QueryTableDefineRsp'
  21087. "500":
  21088. description: Internal Server Error
  21089. schema:
  21090. $ref: '#/definitions/app.Response'
  21091. summary: 查询交易端列表头信息
  21092. tags:
  21093. - 通用服务
  21094. /Common/QueryTraderMenu:
  21095. get:
  21096. parameters:
  21097. - description: 登录账号
  21098. in: query
  21099. name: loginid
  21100. required: true
  21101. type: integer
  21102. produces:
  21103. - application/json
  21104. responses:
  21105. "200":
  21106. description: OK
  21107. schema:
  21108. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21109. "500":
  21110. description: Internal Server Error
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. summary: 查询交易端菜单
  21114. tags:
  21115. - 通用服务
  21116. /Delivery/QueryDeliveryRelation:
  21117. get:
  21118. parameters:
  21119. - description: 商品ID
  21120. in: query
  21121. name: goodsid
  21122. type: integer
  21123. - description: 品种ID
  21124. in: query
  21125. name: deliverygoodsid
  21126. type: integer
  21127. - description: 市场ID
  21128. in: query
  21129. name: marketid
  21130. type: integer
  21131. produces:
  21132. - application/json
  21133. responses:
  21134. "200":
  21135. description: OK
  21136. schema:
  21137. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21138. "500":
  21139. description: Internal Server Error
  21140. schema:
  21141. $ref: '#/definitions/app.Response'
  21142. security:
  21143. - ApiKeyAuth: []
  21144. summary: 查询商品交割关系表
  21145. tags:
  21146. - 交割服务
  21147. /Ermcp/GetErmcpGoods:
  21148. get:
  21149. parameters:
  21150. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21151. in: query
  21152. name: userid
  21153. type: integer
  21154. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21155. in: query
  21156. name: lastUpdateTime
  21157. type: string
  21158. produces:
  21159. - application/json
  21160. responses:
  21161. "200":
  21162. description: OK
  21163. schema:
  21164. $ref: '#/definitions/models.ErmcpGoods'
  21165. "500":
  21166. description: Internal Server Error
  21167. schema:
  21168. $ref: '#/definitions/app.Response'
  21169. security:
  21170. - ApiKeyAuth: []
  21171. summary: 查询企业风管期货商品信息
  21172. tags:
  21173. - 企业风险管理(app)
  21174. /Ermcp/GetErmcpGoodsSortByPosition:
  21175. get:
  21176. parameters:
  21177. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21178. in: query
  21179. name: sortIndex
  21180. type: string
  21181. produces:
  21182. - application/json
  21183. responses:
  21184. "200":
  21185. description: OK
  21186. schema:
  21187. $ref: '#/definitions/models.Goodssortbypreposition'
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 查询企业风管期货主力、次主力商品信息
  21195. tags:
  21196. - 企业风险管理(app)
  21197. /Ermcp/GetErmcpOutAccountStatus:
  21198. get:
  21199. parameters:
  21200. - description: 登录账号
  21201. in: query
  21202. name: loginID
  21203. required: true
  21204. type: integer
  21205. produces:
  21206. - application/json
  21207. responses:
  21208. "200":
  21209. description: OK
  21210. schema:
  21211. $ref: '#/definitions/models.Hedgemarketopenlog'
  21212. "500":
  21213. description: Internal Server Error
  21214. schema:
  21215. $ref: '#/definitions/app.Response'
  21216. security:
  21217. - ApiKeyAuth: []
  21218. summary: 获取目标登录账号当前对冲账号在线状态
  21219. tags:
  21220. - 企业风险管理(app)
  21221. /Ermcp/GetErmcpRoleFuncMenuLists:
  21222. get:
  21223. parameters:
  21224. - description: 登录账号
  21225. in: query
  21226. name: loginID
  21227. required: true
  21228. type: integer
  21229. produces:
  21230. - application/json
  21231. responses:
  21232. "200":
  21233. description: OK
  21234. schema:
  21235. $ref: '#/definitions/models.Funcmenulist'
  21236. "500":
  21237. description: Internal Server Error
  21238. schema:
  21239. $ref: '#/definitions/app.Response'
  21240. security:
  21241. - ApiKeyAuth: []
  21242. summary: 获取企业风管终端权限
  21243. tags:
  21244. - 企业风险管理(app)
  21245. /Ermcp/QueryAccMgrBizGroupSet:
  21246. get:
  21247. parameters:
  21248. - description: 用户ID
  21249. in: query
  21250. name: userid
  21251. required: true
  21252. type: integer
  21253. - description: 现货商品id
  21254. in: query
  21255. name: deliverygoodsid
  21256. type: integer
  21257. produces:
  21258. - application/json
  21259. responses:
  21260. "200":
  21261. description: OK
  21262. schema:
  21263. items:
  21264. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21265. type: array
  21266. "500":
  21267. description: Internal Server Error
  21268. schema:
  21269. $ref: '#/definitions/app.Response'
  21270. security:
  21271. - ApiKeyAuth: []
  21272. summary: 查询业务类型分组(账户管理/账户设置)
  21273. tags:
  21274. - 企业风险管理(app)
  21275. /Ermcp/QueryAccMgrLoginUser:
  21276. get:
  21277. parameters:
  21278. - description: 用户ID
  21279. in: query
  21280. name: userid
  21281. required: true
  21282. type: integer
  21283. - description: 用户类型 2-机构 7-企业成员
  21284. in: query
  21285. name: usertype
  21286. type: integer
  21287. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21288. in: query
  21289. name: querytype
  21290. required: true
  21291. type: integer
  21292. produces:
  21293. - application/json
  21294. responses:
  21295. "200":
  21296. description: OK
  21297. schema:
  21298. items:
  21299. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21300. type: array
  21301. "500":
  21302. description: Internal Server Error
  21303. schema:
  21304. $ref: '#/definitions/app.Response'
  21305. security:
  21306. - ApiKeyAuth: []
  21307. summary: 查询账户管理登录账号(账户管理/登录账号)
  21308. tags:
  21309. - 企业风险管理(app)
  21310. /Ermcp/QueryAccMgrMainAccountInfo:
  21311. get:
  21312. parameters:
  21313. - description: 用户ID
  21314. in: query
  21315. name: userid
  21316. type: integer
  21317. - description: 主账号id
  21318. in: query
  21319. name: accountid
  21320. type: integer
  21321. produces:
  21322. - application/json
  21323. responses:
  21324. "200":
  21325. description: OK
  21326. schema:
  21327. items:
  21328. $ref: '#/definitions/models.MainAccountInfo'
  21329. type: array
  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/QueryAccMgrRole:
  21340. get:
  21341. parameters:
  21342. - description: 用户ID
  21343. in: query
  21344. name: userid
  21345. required: true
  21346. type: integer
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. items:
  21354. $ref: '#/definitions/models.ErmcpRole'
  21355. type: array
  21356. "500":
  21357. description: Internal Server Error
  21358. schema:
  21359. $ref: '#/definitions/app.Response'
  21360. security:
  21361. - ApiKeyAuth: []
  21362. summary: 查询账户管理角色设置(账户管理/角色设置)
  21363. tags:
  21364. - 企业风险管理(app)
  21365. /Ermcp/QueryAccMgrRoleMenu:
  21366. get:
  21367. parameters:
  21368. - description: 用户ID
  21369. in: query
  21370. name: userid
  21371. required: true
  21372. type: integer
  21373. - description: 角色id(可多个,逗号隔开)
  21374. in: query
  21375. name: roleid
  21376. type: string
  21377. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21378. in: query
  21379. name: menutype
  21380. type: integer
  21381. produces:
  21382. - application/json
  21383. responses:
  21384. "200":
  21385. description: OK
  21386. schema:
  21387. items:
  21388. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21389. type: array
  21390. "500":
  21391. description: Internal Server Error
  21392. schema:
  21393. $ref: '#/definitions/app.Response'
  21394. security:
  21395. - ApiKeyAuth: []
  21396. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21397. tags:
  21398. - 企业风险管理(app)
  21399. /Ermcp/QueryAccMgrTaAccountInfo:
  21400. get:
  21401. parameters:
  21402. - description: 用户ID
  21403. in: query
  21404. name: userid
  21405. required: true
  21406. type: integer
  21407. - description: 账号id
  21408. in: query
  21409. name: accountid
  21410. type: integer
  21411. produces:
  21412. - application/json
  21413. responses:
  21414. "200":
  21415. description: OK
  21416. schema:
  21417. items:
  21418. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21419. type: array
  21420. "500":
  21421. description: Internal Server Error
  21422. schema:
  21423. $ref: '#/definitions/app.Response'
  21424. security:
  21425. - ApiKeyAuth: []
  21426. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21427. tags:
  21428. - 企业风险管理(app)
  21429. /Ermcp/QueryAccMgrTaaccount:
  21430. get:
  21431. parameters:
  21432. - description: 用户ID
  21433. in: query
  21434. name: userid
  21435. required: true
  21436. type: integer
  21437. produces:
  21438. - application/json
  21439. responses:
  21440. "200":
  21441. description: OK
  21442. schema:
  21443. items:
  21444. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21445. type: array
  21446. "500":
  21447. description: Internal Server Error
  21448. schema:
  21449. $ref: '#/definitions/app.Response'
  21450. security:
  21451. - ApiKeyAuth: []
  21452. summary: 查询账户管理期货账号(账户管理/期货账号)
  21453. tags:
  21454. - 企业风险管理(app)
  21455. /Ermcp/QueryAvaildGoodsGroup:
  21456. get:
  21457. parameters:
  21458. - description: 所属机构ID
  21459. in: query
  21460. name: userid
  21461. required: true
  21462. type: integer
  21463. produces:
  21464. - application/json
  21465. responses:
  21466. "200":
  21467. description: OK
  21468. schema:
  21469. items:
  21470. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21471. type: array
  21472. "500":
  21473. description: Internal Server Error
  21474. schema:
  21475. $ref: '#/definitions/app.Response'
  21476. security:
  21477. - ApiKeyAuth: []
  21478. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21479. tags:
  21480. - 企业风险管理(app)
  21481. /Ermcp/QueryBusinessDj:
  21482. get:
  21483. parameters:
  21484. - description: 用户ID
  21485. in: query
  21486. name: UserId
  21487. required: true
  21488. type: integer
  21489. - description: 用户类型 2-机构 7-企业成员
  21490. in: query
  21491. name: usertype
  21492. type: integer
  21493. - description: 现货合同ID, 不填则查所有
  21494. in: query
  21495. name: relatedid
  21496. type: string
  21497. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21498. in: query
  21499. name: applystatus
  21500. type: string
  21501. produces:
  21502. - application/json
  21503. responses:
  21504. "200":
  21505. description: OK
  21506. schema:
  21507. items:
  21508. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21509. type: array
  21510. "500":
  21511. description: Internal Server Error
  21512. schema:
  21513. $ref: '#/definitions/app.Response'
  21514. security:
  21515. - ApiKeyAuth: []
  21516. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21517. tags:
  21518. - 企业风险管理(app)
  21519. /Ermcp/QueryBusinessFp:
  21520. get:
  21521. parameters:
  21522. - description: 用户ID
  21523. in: query
  21524. name: UserId
  21525. required: true
  21526. type: integer
  21527. - description: 用户类型 2-机构 7-企业成员
  21528. in: query
  21529. name: usertype
  21530. type: integer
  21531. - description: 现货合同ID, 不填则查所有
  21532. in: query
  21533. name: relatedid
  21534. type: string
  21535. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21536. in: query
  21537. name: applystatus
  21538. type: string
  21539. produces:
  21540. - application/json
  21541. responses:
  21542. "200":
  21543. description: OK
  21544. schema:
  21545. items:
  21546. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21547. type: array
  21548. "500":
  21549. description: Internal Server Error
  21550. schema:
  21551. $ref: '#/definitions/app.Response'
  21552. security:
  21553. - ApiKeyAuth: []
  21554. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21555. tags:
  21556. - 企业风险管理(app)
  21557. /Ermcp/QueryBusinessJs:
  21558. get:
  21559. parameters:
  21560. - description: 用户ID
  21561. in: query
  21562. name: UserId
  21563. required: true
  21564. type: integer
  21565. - description: 用户类型 2-机构 7-企业成员
  21566. in: query
  21567. name: usertype
  21568. type: integer
  21569. - description: 现货合同ID, 不填则查所有
  21570. in: query
  21571. name: relatedid
  21572. type: string
  21573. - description: 操作申请id
  21574. in: query
  21575. name: operateapplyid
  21576. type: string
  21577. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21578. in: query
  21579. name: applystatus
  21580. type: string
  21581. produces:
  21582. - application/json
  21583. responses:
  21584. "200":
  21585. description: OK
  21586. schema:
  21587. items:
  21588. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21589. type: array
  21590. "500":
  21591. description: Internal Server Error
  21592. schema:
  21593. $ref: '#/definitions/app.Response'
  21594. security:
  21595. - ApiKeyAuth: []
  21596. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21597. tags:
  21598. - 企业风险管理(app)
  21599. /Ermcp/QueryBusinessJsEx:
  21600. get:
  21601. parameters:
  21602. - description: 用户ID
  21603. in: query
  21604. name: UserId
  21605. required: true
  21606. type: integer
  21607. - description: 用户类型 2-机构 7-企业成员
  21608. in: query
  21609. name: usertype
  21610. type: integer
  21611. - description: 现货合同ID, 不填则查所有
  21612. in: query
  21613. name: relatedid
  21614. type: string
  21615. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21616. in: query
  21617. name: applystatus
  21618. type: string
  21619. produces:
  21620. - application/json
  21621. responses:
  21622. "200":
  21623. description: OK
  21624. schema:
  21625. items:
  21626. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21627. type: array
  21628. "500":
  21629. description: Internal Server Error
  21630. schema:
  21631. $ref: '#/definitions/app.Response'
  21632. security:
  21633. - ApiKeyAuth: []
  21634. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21635. tags:
  21636. - 企业风险管理(app)
  21637. /Ermcp/QueryBusinessKx:
  21638. get:
  21639. parameters:
  21640. - description: 用户ID
  21641. in: query
  21642. name: UserId
  21643. required: true
  21644. type: integer
  21645. - description: 用户类型 2-机构 7-企业成员
  21646. in: query
  21647. name: usertype
  21648. type: integer
  21649. - description: 现货合同ID, 不填则查所有
  21650. in: query
  21651. name: relatedid
  21652. type: string
  21653. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21654. in: query
  21655. name: applystatus
  21656. type: string
  21657. produces:
  21658. - application/json
  21659. responses:
  21660. "200":
  21661. description: OK
  21662. schema:
  21663. items:
  21664. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21665. type: array
  21666. "500":
  21667. description: Internal Server Error
  21668. schema:
  21669. $ref: '#/definitions/app.Response'
  21670. security:
  21671. - ApiKeyAuth: []
  21672. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21673. tags:
  21674. - 企业风险管理(app)
  21675. /Ermcp/QueryChangeLog:
  21676. get:
  21677. parameters:
  21678. - description: 合同ID
  21679. in: query
  21680. name: RelatedId
  21681. required: true
  21682. type: string
  21683. produces:
  21684. - application/json
  21685. responses:
  21686. "200":
  21687. description: OK
  21688. schema:
  21689. items:
  21690. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21691. type: array
  21692. "500":
  21693. description: Internal Server Error
  21694. schema:
  21695. $ref: '#/definitions/app.Response'
  21696. security:
  21697. - ApiKeyAuth: []
  21698. summary: 查询变更记录
  21699. tags:
  21700. - 企业风险管理(app)
  21701. /Ermcp/QueryErmcpHisOrderDetails:
  21702. get:
  21703. parameters:
  21704. - description: 资金账户ID
  21705. in: query
  21706. name: accountID
  21707. required: true
  21708. type: integer
  21709. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21710. in: query
  21711. name: startDate
  21712. type: string
  21713. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21714. in: query
  21715. name: endDate
  21716. type: string
  21717. produces:
  21718. - application/json
  21719. responses:
  21720. "200":
  21721. description: OK
  21722. schema:
  21723. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21724. "500":
  21725. description: Internal Server Error
  21726. schema:
  21727. $ref: '#/definitions/app.Response'
  21728. security:
  21729. - ApiKeyAuth: []
  21730. summary: 获取企业风管期货历史委托单信息
  21731. tags:
  21732. - 企业风险管理(app)
  21733. /Ermcp/QueryErmcpHisTradeDetails:
  21734. get:
  21735. parameters:
  21736. - description: 资金账户ID
  21737. in: query
  21738. name: accountID
  21739. required: true
  21740. type: integer
  21741. - description: 商品ID
  21742. in: query
  21743. name: goodsID
  21744. type: integer
  21745. - description: 买卖方向,0:买 1:卖
  21746. in: query
  21747. name: buyOrSell
  21748. type: integer
  21749. - description: 关联委托单号
  21750. in: query
  21751. name: orderID
  21752. type: integer
  21753. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21754. in: query
  21755. name: startDate
  21756. type: string
  21757. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21758. in: query
  21759. name: endDate
  21760. type: string
  21761. produces:
  21762. - application/json
  21763. responses:
  21764. "200":
  21765. description: OK
  21766. schema:
  21767. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21768. "500":
  21769. description: Internal Server Error
  21770. schema:
  21771. $ref: '#/definitions/app.Response'
  21772. security:
  21773. - ApiKeyAuth: []
  21774. summary: 获取企业风管期货历史成交单信息
  21775. tags:
  21776. - 企业风险管理(app)
  21777. /Ermcp/QueryErmcpInnerHolderDetails:
  21778. get:
  21779. parameters:
  21780. - description: 资金账户ID
  21781. in: query
  21782. name: accountID
  21783. required: true
  21784. type: integer
  21785. - description: 商品ID
  21786. in: query
  21787. name: goodsID
  21788. type: integer
  21789. - description: 买卖方向,0:买 1:卖
  21790. in: query
  21791. name: buyOrSell
  21792. type: integer
  21793. produces:
  21794. - application/json
  21795. responses:
  21796. "200":
  21797. description: OK
  21798. schema:
  21799. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21800. "500":
  21801. description: Internal Server Error
  21802. schema:
  21803. $ref: '#/definitions/app.Response'
  21804. security:
  21805. - ApiKeyAuth: []
  21806. summary: 获取企业风管期货内部持仓单信息
  21807. tags:
  21808. - 企业风险管理(app)
  21809. /Ermcp/QueryErmcpOrderDetails:
  21810. get:
  21811. parameters:
  21812. - description: 资金账户ID
  21813. in: query
  21814. name: accountID
  21815. required: true
  21816. type: integer
  21817. produces:
  21818. - application/json
  21819. responses:
  21820. "200":
  21821. description: OK
  21822. schema:
  21823. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21824. "500":
  21825. description: Internal Server Error
  21826. schema:
  21827. $ref: '#/definitions/app.Response'
  21828. security:
  21829. - ApiKeyAuth: []
  21830. summary: 获取企业风管期货委托单信息
  21831. tags:
  21832. - 企业风险管理(app)
  21833. /Ermcp/QueryErmcpTradeDetails:
  21834. get:
  21835. parameters:
  21836. - description: 资金账户ID
  21837. in: query
  21838. name: accountID
  21839. required: true
  21840. type: integer
  21841. - description: 商品ID
  21842. in: query
  21843. name: goodsID
  21844. type: integer
  21845. - description: 买卖方向,0:买 1:卖
  21846. in: query
  21847. name: buyOrSell
  21848. type: integer
  21849. - description: 关联委托单号
  21850. in: query
  21851. name: orderID
  21852. type: integer
  21853. produces:
  21854. - application/json
  21855. responses:
  21856. "200":
  21857. description: OK
  21858. schema:
  21859. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21860. "500":
  21861. description: Internal Server Error
  21862. schema:
  21863. $ref: '#/definitions/app.Response'
  21864. security:
  21865. - ApiKeyAuth: []
  21866. summary: 获取企业风管期货成交单信息
  21867. tags:
  21868. - 企业风险管理(app)
  21869. /Ermcp/QueryErmcpTradePosition:
  21870. get:
  21871. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21872. parameters:
  21873. - description: 资金账户ID
  21874. in: query
  21875. name: accountID
  21876. required: true
  21877. type: integer
  21878. - description: 所属市场ID
  21879. in: query
  21880. name: marketID
  21881. type: integer
  21882. produces:
  21883. - application/json
  21884. responses:
  21885. "200":
  21886. description: OK
  21887. schema:
  21888. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21889. "500":
  21890. description: Internal Server Error
  21891. schema:
  21892. $ref: '#/definitions/app.Response'
  21893. security:
  21894. - ApiKeyAuth: []
  21895. summary: 获取企业风管期货持仓头寸信息
  21896. tags:
  21897. - 企业风险管理(app)
  21898. /Ermcp/QueryExposureDetail:
  21899. get:
  21900. parameters:
  21901. - description: 所属机构ID
  21902. in: query
  21903. name: areaUserId
  21904. required: true
  21905. type: integer
  21906. - description: 套保商品
  21907. in: query
  21908. name: middleGoodsId
  21909. required: true
  21910. type: integer
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. items:
  21918. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21919. type: array
  21920. "500":
  21921. description: Internal Server Error
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. security:
  21925. - ApiKeyAuth: []
  21926. summary: 查询敞口现货明细
  21927. tags:
  21928. - 企业风险管理(app)
  21929. /Ermcp/QueryExposureGoods:
  21930. get:
  21931. parameters:
  21932. - description: 套保商品id
  21933. in: query
  21934. name: middlegoodsid
  21935. required: true
  21936. type: integer
  21937. produces:
  21938. - application/json
  21939. responses:
  21940. "200":
  21941. description: OK
  21942. schema:
  21943. items:
  21944. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21945. type: array
  21946. "500":
  21947. description: Internal Server Error
  21948. schema:
  21949. $ref: '#/definitions/app.Response'
  21950. security:
  21951. - ApiKeyAuth: []
  21952. summary: 查询敞口主力合约
  21953. tags:
  21954. - 企业风险管理(app)
  21955. /Ermcp/QueryExposureHedgePosition:
  21956. get:
  21957. parameters:
  21958. - description: 用户id
  21959. in: query
  21960. name: userid
  21961. required: true
  21962. type: integer
  21963. produces:
  21964. - application/json
  21965. responses:
  21966. "200":
  21967. description: OK
  21968. schema:
  21969. items:
  21970. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21971. type: array
  21972. "500":
  21973. description: Internal Server Error
  21974. schema:
  21975. $ref: '#/definitions/app.Response'
  21976. security:
  21977. - ApiKeyAuth: []
  21978. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21979. tags:
  21980. - 企业风险管理(app)
  21981. /Ermcp/QueryExposureHedgePositionDetail:
  21982. get:
  21983. parameters:
  21984. - description: 所属机构ID
  21985. in: query
  21986. name: userid
  21987. required: true
  21988. type: integer
  21989. - description: 商品id
  21990. in: query
  21991. name: goodsId
  21992. required: true
  21993. type: integer
  21994. produces:
  21995. - application/json
  21996. responses:
  21997. "200":
  21998. description: OK
  21999. schema:
  22000. items:
  22001. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22002. type: array
  22003. "500":
  22004. description: Internal Server Error
  22005. schema:
  22006. $ref: '#/definitions/app.Response'
  22007. security:
  22008. - ApiKeyAuth: []
  22009. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22010. tags:
  22011. - 企业风险管理(app)
  22012. /Ermcp/QueryExposureSpot:
  22013. get:
  22014. parameters:
  22015. - description: 所属机构ID
  22016. in: query
  22017. name: areaUserId
  22018. required: true
  22019. type: integer
  22020. produces:
  22021. - application/json
  22022. responses:
  22023. "200":
  22024. description: OK
  22025. schema:
  22026. items:
  22027. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22028. type: array
  22029. "500":
  22030. description: Internal Server Error
  22031. schema:
  22032. $ref: '#/definitions/app.Response'
  22033. security:
  22034. - ApiKeyAuth: []
  22035. summary: 查询敞口现货头寸(敞口/现货头寸)
  22036. tags:
  22037. - 企业风险管理(app)
  22038. /Ermcp/QueryExposureSpotDetail:
  22039. get:
  22040. parameters:
  22041. - description: 所属机构ID
  22042. in: query
  22043. name: areaUserId
  22044. required: true
  22045. type: integer
  22046. - description: 现货品种ID
  22047. in: query
  22048. name: wrstandardId
  22049. required: true
  22050. type: integer
  22051. produces:
  22052. - application/json
  22053. responses:
  22054. "200":
  22055. description: OK
  22056. schema:
  22057. items:
  22058. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22059. type: array
  22060. "500":
  22061. description: Internal Server Error
  22062. schema:
  22063. $ref: '#/definitions/app.Response'
  22064. security:
  22065. - ApiKeyAuth: []
  22066. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22067. tags:
  22068. - 企业风险管理(app)
  22069. /Ermcp/QueryFuturesCompany:
  22070. get:
  22071. produces:
  22072. - application/json
  22073. responses:
  22074. "200":
  22075. description: OK
  22076. schema:
  22077. items:
  22078. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22079. type: array
  22080. "500":
  22081. description: Internal Server Error
  22082. schema:
  22083. $ref: '#/definitions/app.Response'
  22084. security:
  22085. - ApiKeyAuth: []
  22086. summary: 查询期货公司
  22087. tags:
  22088. - 企业风险管理(app)
  22089. /Ermcp/QueryGGConvertConfig:
  22090. get:
  22091. parameters:
  22092. - description: 品种id(不填则查所有)
  22093. in: query
  22094. name: goodsgroupid
  22095. type: integer
  22096. produces:
  22097. - application/json
  22098. responses:
  22099. "200":
  22100. description: OK
  22101. schema:
  22102. items:
  22103. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22104. type: array
  22105. "500":
  22106. description: Internal Server Error
  22107. schema:
  22108. $ref: '#/definitions/app.Response'
  22109. security:
  22110. - ApiKeyAuth: []
  22111. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22112. tags:
  22113. - 企业风险管理(app)
  22114. /Ermcp/QueryGoodsBrand:
  22115. get:
  22116. parameters:
  22117. - description: 用户ID
  22118. in: query
  22119. name: userid
  22120. required: true
  22121. type: integer
  22122. - description: 现货商品ID
  22123. in: query
  22124. name: wrstandardid
  22125. type: integer
  22126. produces:
  22127. - application/json
  22128. responses:
  22129. "200":
  22130. description: OK
  22131. schema:
  22132. items:
  22133. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22134. type: array
  22135. "500":
  22136. description: Internal Server Error
  22137. schema:
  22138. $ref: '#/definitions/app.Response'
  22139. security:
  22140. - ApiKeyAuth: []
  22141. summary: 查询商品品牌
  22142. tags:
  22143. - 企业风险管理(app)
  22144. /Ermcp/QueryGoodsModel:
  22145. get:
  22146. parameters:
  22147. - description: 用户ID
  22148. in: query
  22149. name: userid
  22150. required: true
  22151. type: integer
  22152. produces:
  22153. - application/json
  22154. responses:
  22155. "200":
  22156. description: OK
  22157. schema:
  22158. items:
  22159. $ref: '#/definitions/models.ErmcpGoodsModel'
  22160. type: array
  22161. "500":
  22162. description: Internal Server Error
  22163. schema:
  22164. $ref: '#/definitions/app.Response'
  22165. security:
  22166. - ApiKeyAuth: []
  22167. summary: 查询商品型号
  22168. tags:
  22169. - 企业风险管理(app)
  22170. /Ermcp/QueryHisExposure:
  22171. get:
  22172. parameters:
  22173. - description: 用户id
  22174. in: query
  22175. name: userid
  22176. required: true
  22177. type: integer
  22178. - description: 每个品种记录数
  22179. in: query
  22180. name: lastNum
  22181. required: true
  22182. type: integer
  22183. produces:
  22184. - application/json
  22185. responses:
  22186. "200":
  22187. description: OK
  22188. schema:
  22189. items:
  22190. $ref: '#/definitions/ermcp.HisExposureRsp'
  22191. type: array
  22192. "500":
  22193. description: Internal Server Error
  22194. schema:
  22195. $ref: '#/definitions/app.Response'
  22196. security:
  22197. - ApiKeyAuth: []
  22198. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22199. tags:
  22200. - 企业风险管理(app)
  22201. /Ermcp/QueryMiddleGoods:
  22202. get:
  22203. parameters:
  22204. - description: 所属机构ID
  22205. in: query
  22206. name: userid
  22207. required: true
  22208. type: integer
  22209. - description: 状态 0-停用 1-正常
  22210. in: query
  22211. name: status
  22212. required: true
  22213. type: integer
  22214. produces:
  22215. - application/json
  22216. responses:
  22217. "200":
  22218. description: OK
  22219. schema:
  22220. items:
  22221. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22222. type: array
  22223. "500":
  22224. description: Internal Server Error
  22225. schema:
  22226. $ref: '#/definitions/app.Response'
  22227. security:
  22228. - ApiKeyAuth: []
  22229. summary: 查询套保品种(菜单:套保品种)
  22230. tags:
  22231. - 企业风险管理(app)
  22232. /Ermcp/QueryMiddleGoodsChangeLog:
  22233. get:
  22234. parameters:
  22235. - description: 所属机构ID
  22236. in: query
  22237. name: userid
  22238. required: true
  22239. type: integer
  22240. - description: 套保品种id
  22241. in: query
  22242. name: middlegoodsid
  22243. required: true
  22244. type: integer
  22245. produces:
  22246. - application/json
  22247. responses:
  22248. "200":
  22249. description: OK
  22250. schema:
  22251. items:
  22252. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22253. type: array
  22254. "500":
  22255. description: Internal Server Error
  22256. schema:
  22257. $ref: '#/definitions/app.Response'
  22258. security:
  22259. - ApiKeyAuth: []
  22260. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22261. tags:
  22262. - 企业风险管理(app)
  22263. /Ermcp/QueryMiddleGoodsDetail:
  22264. get:
  22265. parameters:
  22266. - description: 所属机构ID
  22267. in: query
  22268. name: userid
  22269. required: true
  22270. type: integer
  22271. - description: 套保品种id
  22272. in: query
  22273. name: middlegoodsid
  22274. type: integer
  22275. produces:
  22276. - application/json
  22277. responses:
  22278. "200":
  22279. description: OK
  22280. schema:
  22281. items:
  22282. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22283. type: array
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. security:
  22289. - ApiKeyAuth: []
  22290. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22291. tags:
  22292. - 企业风险管理(app)
  22293. /Ermcp/QueryPendingAuditInfo:
  22294. get:
  22295. parameters:
  22296. - description: 用户ID
  22297. in: query
  22298. name: UserId
  22299. required: true
  22300. type: integer
  22301. produces:
  22302. - application/json
  22303. responses:
  22304. "200":
  22305. description: OK
  22306. schema:
  22307. items:
  22308. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22309. type: array
  22310. "500":
  22311. description: Internal Server Error
  22312. schema:
  22313. $ref: '#/definitions/app.Response'
  22314. security:
  22315. - ApiKeyAuth: []
  22316. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22317. tags:
  22318. - 企业风险管理(app)
  22319. /Ermcp/QueryRealtimeExposure:
  22320. get:
  22321. parameters:
  22322. - description: 所属机构ID
  22323. in: query
  22324. name: userid
  22325. required: true
  22326. type: integer
  22327. produces:
  22328. - application/json
  22329. responses:
  22330. "200":
  22331. description: OK
  22332. schema:
  22333. items:
  22334. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22335. type: array
  22336. "500":
  22337. description: Internal Server Error
  22338. schema:
  22339. $ref: '#/definitions/app.Response'
  22340. security:
  22341. - ApiKeyAuth: []
  22342. summary: 查询实时敞口
  22343. tags:
  22344. - 企业风险管理(app)
  22345. /Ermcp/QueryRealtimeExposurePosition:
  22346. get:
  22347. parameters:
  22348. - description: 用户id
  22349. in: query
  22350. name: userid
  22351. required: true
  22352. type: integer
  22353. - description: 套保商品ID
  22354. in: query
  22355. name: middleGoodsId
  22356. required: true
  22357. type: integer
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. items:
  22365. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22366. type: array
  22367. "500":
  22368. description: Internal Server Error
  22369. schema:
  22370. $ref: '#/definitions/app.Response'
  22371. security:
  22372. - ApiKeyAuth: []
  22373. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22374. tags:
  22375. - 企业风险管理(app)
  22376. /Ermcp/QueryRoleMenu:
  22377. get:
  22378. parameters:
  22379. - description: 登录ID
  22380. in: query
  22381. name: loginid
  22382. required: true
  22383. type: integer
  22384. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22385. in: query
  22386. name: menutype
  22387. type: integer
  22388. produces:
  22389. - application/json
  22390. responses:
  22391. "200":
  22392. description: OK
  22393. schema:
  22394. items:
  22395. $ref: '#/definitions/models.RoleMenu'
  22396. type: array
  22397. "500":
  22398. description: Internal Server Error
  22399. schema:
  22400. $ref: '#/definitions/app.Response'
  22401. security:
  22402. - ApiKeyAuth: []
  22403. summary: 查询角色菜单和权限
  22404. tags:
  22405. - 企业风险管理(app)
  22406. /Ermcp/QueryTradeConfigTMP:
  22407. get:
  22408. parameters:
  22409. - description: 所属机构id
  22410. in: query
  22411. name: areauserid
  22412. type: integer
  22413. produces:
  22414. - application/json
  22415. responses:
  22416. "200":
  22417. description: OK
  22418. schema:
  22419. items:
  22420. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22421. type: array
  22422. "500":
  22423. description: Internal Server Error
  22424. schema:
  22425. $ref: '#/definitions/app.Response'
  22426. security:
  22427. - ApiKeyAuth: []
  22428. summary: 查询交易模板配置
  22429. tags:
  22430. - 企业风险管理(app)
  22431. /Ermcp/QueryUserInfo:
  22432. get:
  22433. parameters:
  22434. - description: 所属机构用户ID
  22435. in: query
  22436. name: MemberUserID
  22437. required: true
  22438. type: integer
  22439. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22440. in: query
  22441. name: queryType
  22442. required: true
  22443. type: integer
  22444. produces:
  22445. - application/json
  22446. responses:
  22447. "200":
  22448. description: OK
  22449. schema:
  22450. items:
  22451. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22452. type: array
  22453. "500":
  22454. description: Internal Server Error
  22455. schema:
  22456. $ref: '#/definitions/app.Response'
  22457. security:
  22458. - ApiKeyAuth: []
  22459. summary: 查询客户资料
  22460. tags:
  22461. - 企业风险管理(app)
  22462. /Ermcp/QueryWarehouseInfo:
  22463. get:
  22464. parameters:
  22465. - description: 用户ID
  22466. in: query
  22467. name: userid
  22468. required: true
  22469. type: integer
  22470. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22471. in: query
  22472. name: status
  22473. type: string
  22474. produces:
  22475. - application/json
  22476. responses:
  22477. "200":
  22478. description: OK
  22479. schema:
  22480. items:
  22481. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22482. type: array
  22483. "500":
  22484. description: Internal Server Error
  22485. schema:
  22486. $ref: '#/definitions/app.Response'
  22487. security:
  22488. - ApiKeyAuth: []
  22489. summary: 查询仓库信息
  22490. tags:
  22491. - 企业风险管理(app)
  22492. /Ermcp3/QryAreaExpourseContractDetail:
  22493. get:
  22494. parameters:
  22495. - description: 用户ID
  22496. in: query
  22497. name: userid
  22498. required: true
  22499. type: integer
  22500. - description: 套保商品id
  22501. in: query
  22502. name: middlegoodsid
  22503. required: true
  22504. type: integer
  22505. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22506. in: query
  22507. name: cycletype
  22508. required: true
  22509. type: integer
  22510. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22511. 全(0)【原值】
  22512. in: query
  22513. name: cycletime
  22514. required: true
  22515. type: string
  22516. produces:
  22517. - application/json
  22518. responses:
  22519. "200":
  22520. description: OK
  22521. schema:
  22522. items:
  22523. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22524. type: array
  22525. "500":
  22526. description: Internal Server Error
  22527. schema:
  22528. $ref: '#/definitions/app.Response'
  22529. security:
  22530. - ApiKeyAuth: []
  22531. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22532. tags:
  22533. - 企业风险管理v3(app)
  22534. /Ermcp3/QryAreaExpourseFutuDetail:
  22535. get:
  22536. parameters:
  22537. - description: 用户ID
  22538. in: query
  22539. name: userid
  22540. required: true
  22541. type: integer
  22542. - description: 套保商品id
  22543. in: query
  22544. name: middlegoodsid
  22545. required: true
  22546. type: integer
  22547. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22548. in: query
  22549. name: cycletype
  22550. required: true
  22551. type: integer
  22552. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22553. 全(0)【原值】
  22554. in: query
  22555. name: cycletime
  22556. required: true
  22557. type: string
  22558. produces:
  22559. - application/json
  22560. responses:
  22561. "200":
  22562. description: OK
  22563. schema:
  22564. items:
  22565. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22566. type: array
  22567. "500":
  22568. description: Internal Server Error
  22569. schema:
  22570. $ref: '#/definitions/app.Response'
  22571. security:
  22572. - ApiKeyAuth: []
  22573. summary: 查询敞口期货明细(敞口报表/期货明细)
  22574. tags:
  22575. - 企业风险管理v3(app)
  22576. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22577. get:
  22578. parameters:
  22579. - description: 用户ID
  22580. in: query
  22581. name: userid
  22582. required: true
  22583. type: integer
  22584. - description: 套保商品id
  22585. in: query
  22586. name: middlegoodsid
  22587. required: true
  22588. type: integer
  22589. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22590. in: query
  22591. name: cycletype
  22592. required: true
  22593. type: integer
  22594. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22595. 全(0)【原值】
  22596. in: query
  22597. name: cycletime
  22598. required: true
  22599. type: string
  22600. produces:
  22601. - application/json
  22602. responses:
  22603. "200":
  22604. description: OK
  22605. schema:
  22606. items:
  22607. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22608. type: array
  22609. "500":
  22610. description: Internal Server Error
  22611. schema:
  22612. $ref: '#/definitions/app.Response'
  22613. security:
  22614. - ApiKeyAuth: []
  22615. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22616. tags:
  22617. - 企业风险管理v3(app)
  22618. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22619. get:
  22620. parameters:
  22621. - description: 用户ID
  22622. in: query
  22623. name: userid
  22624. required: true
  22625. type: integer
  22626. - description: 套保商品id
  22627. in: query
  22628. name: middlegoodsid
  22629. required: true
  22630. type: integer
  22631. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22632. in: query
  22633. name: cycletype
  22634. required: true
  22635. type: integer
  22636. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22637. 全(0)【原值】
  22638. in: query
  22639. name: cycletime
  22640. required: true
  22641. type: string
  22642. produces:
  22643. - application/json
  22644. responses:
  22645. "200":
  22646. description: OK
  22647. schema:
  22648. items:
  22649. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22650. type: array
  22651. "500":
  22652. description: Internal Server Error
  22653. schema:
  22654. $ref: '#/definitions/app.Response'
  22655. security:
  22656. - ApiKeyAuth: []
  22657. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22658. tags:
  22659. - 企业风险管理v3(app)
  22660. /Ermcp3/QryAreaExpourseReport:
  22661. get:
  22662. parameters:
  22663. - description: 用户ID
  22664. in: query
  22665. name: userid
  22666. required: true
  22667. type: integer
  22668. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22669. in: query
  22670. name: querytype
  22671. required: true
  22672. type: integer
  22673. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22674. in: query
  22675. name: cycletype
  22676. required: true
  22677. type: integer
  22678. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22679. 全(0)【原值】
  22680. in: query
  22681. name: cycletime
  22682. required: true
  22683. type: string
  22684. produces:
  22685. - application/json
  22686. responses:
  22687. "200":
  22688. description: OK
  22689. schema:
  22690. items:
  22691. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22692. type: array
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询敞口报表
  22700. tags:
  22701. - 企业风险管理v3(app)
  22702. /Ermcp3/QryAreaSpotplReport:
  22703. get:
  22704. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22705. parameters:
  22706. - description: 用户ID
  22707. in: query
  22708. name: userid
  22709. required: true
  22710. type: integer
  22711. - description: 查询类型 1-报表 2-报表明细
  22712. in: query
  22713. name: querytype
  22714. required: true
  22715. type: integer
  22716. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22717. in: query
  22718. name: cycletype
  22719. required: true
  22720. type: integer
  22721. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22722. 全(0)【原值】
  22723. in: query
  22724. name: cycletime
  22725. required: true
  22726. type: string
  22727. - description: 现货品种id(明细必填)
  22728. in: query
  22729. name: deliverygoodsid
  22730. type: integer
  22731. - description: 币种id(明细必填)
  22732. in: query
  22733. name: currencyid
  22734. type: integer
  22735. - description: 日/周/月报表汇总维度 1:品种+品类
  22736. in: query
  22737. name: sumflag
  22738. type: integer
  22739. produces:
  22740. - application/json
  22741. responses:
  22742. "200":
  22743. description: OK
  22744. schema:
  22745. items:
  22746. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22747. type: array
  22748. "500":
  22749. description: Internal Server Error
  22750. schema:
  22751. $ref: '#/definitions/app.Response'
  22752. security:
  22753. - ApiKeyAuth: []
  22754. summary: 查询现货报表
  22755. tags:
  22756. - 企业风险管理v3(app)
  22757. /Ermcp3/QryAreaStockReport:
  22758. get:
  22759. parameters:
  22760. - description: 用户ID
  22761. in: query
  22762. name: userid
  22763. required: true
  22764. type: integer
  22765. - description: 查询类型 1-报表 2-报表明细
  22766. in: query
  22767. name: querytype
  22768. required: true
  22769. type: integer
  22770. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22771. in: query
  22772. name: cycletype
  22773. required: true
  22774. type: integer
  22775. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22776. 全(0)【原值】
  22777. in: query
  22778. name: cycletime
  22779. required: true
  22780. type: string
  22781. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22782. in: query
  22783. name: sumfields
  22784. type: string
  22785. - description: 品种ID
  22786. in: query
  22787. name: deliverygoodsid
  22788. type: integer
  22789. - description: 品类ID
  22790. in: query
  22791. name: wrstandardid
  22792. type: integer
  22793. - description: 品牌ID
  22794. in: query
  22795. name: spotgoodsbrandid
  22796. type: integer
  22797. - description: 仓库ID
  22798. in: query
  22799. name: warehouseinfoid
  22800. type: integer
  22801. produces:
  22802. - application/json
  22803. responses:
  22804. "200":
  22805. description: OK
  22806. schema:
  22807. items:
  22808. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22809. type: array
  22810. "500":
  22811. description: Internal Server Error
  22812. schema:
  22813. $ref: '#/definitions/app.Response'
  22814. security:
  22815. - ApiKeyAuth: []
  22816. summary: 查询库存报表
  22817. tags:
  22818. - 企业风险管理v3(app)
  22819. /Ermcp3/QryAreaSumPL:
  22820. get:
  22821. parameters:
  22822. - description: 用户ID
  22823. in: query
  22824. name: userid
  22825. required: true
  22826. type: integer
  22827. - description: 查询类型 1-报表 2-报表明细
  22828. in: query
  22829. name: querytype
  22830. required: true
  22831. type: integer
  22832. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22833. in: query
  22834. name: cycletype
  22835. required: true
  22836. type: integer
  22837. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22838. 全(0)【原值】
  22839. in: query
  22840. name: cycletime
  22841. required: true
  22842. type: string
  22843. - description: 币种id(明细必填)
  22844. in: query
  22845. name: currencyid
  22846. type: integer
  22847. produces:
  22848. - application/json
  22849. responses:
  22850. "200":
  22851. description: OK
  22852. schema:
  22853. items:
  22854. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22855. type: array
  22856. "500":
  22857. description: Internal Server Error
  22858. schema:
  22859. $ref: '#/definitions/app.Response'
  22860. security:
  22861. - ApiKeyAuth: []
  22862. summary: 查询汇总损益表
  22863. tags:
  22864. - 企业风险管理v3(app)
  22865. /Ermcp3/QryFinanceReport:
  22866. get:
  22867. parameters:
  22868. - description: 用户ID
  22869. in: query
  22870. name: userid
  22871. required: true
  22872. type: integer
  22873. - description: 查询类型 1-报表 2-报表明细
  22874. in: query
  22875. name: querytype
  22876. required: true
  22877. type: integer
  22878. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22879. in: query
  22880. name: cycletype
  22881. required: true
  22882. type: integer
  22883. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22884. 全(0)【原值】
  22885. in: query
  22886. name: cycletime
  22887. required: true
  22888. type: string
  22889. - description: 币种id(报表明细必填)
  22890. in: query
  22891. name: currencyid
  22892. type: integer
  22893. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22894. in: query
  22895. name: sumfields
  22896. type: string
  22897. produces:
  22898. - application/json
  22899. responses:
  22900. "200":
  22901. description: OK
  22902. schema:
  22903. items:
  22904. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22905. type: array
  22906. "500":
  22907. description: Internal Server Error
  22908. schema:
  22909. $ref: '#/definitions/app.Response'
  22910. security:
  22911. - ApiKeyAuth: []
  22912. summary: 查询财务报表
  22913. tags:
  22914. - 企业风险管理v3(app)
  22915. /Ermcp3/QrySCMiddleGoodsReport:
  22916. get:
  22917. parameters:
  22918. - description: 用户ID
  22919. in: query
  22920. name: userid
  22921. required: true
  22922. type: integer
  22923. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22924. in: query
  22925. name: cycletype
  22926. required: true
  22927. type: integer
  22928. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22929. 全(0)【原值】
  22930. in: query
  22931. name: cycletime
  22932. required: true
  22933. type: string
  22934. - description: 合同id
  22935. in: query
  22936. name: spotcontractid
  22937. type: integer
  22938. - description: 套保品种id
  22939. in: query
  22940. name: middlegoodsid
  22941. type: integer
  22942. - description: 现货品种id
  22943. in: query
  22944. name: deliverygoodsid
  22945. type: integer
  22946. - description: 现货商品id
  22947. in: query
  22948. name: wrstandardid
  22949. type: integer
  22950. - description: 合同编号(模糊匹配)
  22951. in: query
  22952. name: contractno
  22953. type: string
  22954. produces:
  22955. - application/json
  22956. responses:
  22957. "200":
  22958. description: OK
  22959. schema:
  22960. items:
  22961. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22962. type: array
  22963. "500":
  22964. description: Internal Server Error
  22965. schema:
  22966. $ref: '#/definitions/app.Response'
  22967. security:
  22968. - ApiKeyAuth: []
  22969. summary: 查询定价报表
  22970. tags:
  22971. - 企业风险管理v3(app)
  22972. /Ermcp3/QryTaFutureDataReport:
  22973. get:
  22974. parameters:
  22975. - description: 用户ID
  22976. in: query
  22977. name: userid
  22978. required: true
  22979. type: integer
  22980. - description: 查询类型 1-报表 2-报表明细
  22981. in: query
  22982. name: querytype
  22983. required: true
  22984. type: integer
  22985. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22986. in: query
  22987. name: cycletype
  22988. required: true
  22989. type: integer
  22990. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22991. 全(0)【原值】
  22992. in: query
  22993. name: cycletime
  22994. required: true
  22995. type: string
  22996. - description: 币种id(查明细必填)
  22997. in: query
  22998. name: currencyid
  22999. type: integer
  23000. - description: 品种id(查明细必填)
  23001. in: query
  23002. name: goodsgroupid
  23003. type: integer
  23004. - description: 商品id(查明细必填)
  23005. in: query
  23006. name: goodsid
  23007. type: integer
  23008. - description: 买卖方向(查明细必填)
  23009. in: query
  23010. name: buyorsell
  23011. type: integer
  23012. produces:
  23013. - application/json
  23014. responses:
  23015. "200":
  23016. description: OK
  23017. schema:
  23018. items:
  23019. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23020. type: array
  23021. "500":
  23022. description: Internal Server Error
  23023. schema:
  23024. $ref: '#/definitions/app.Response'
  23025. security:
  23026. - ApiKeyAuth: []
  23027. summary: 查询期货报表
  23028. tags:
  23029. - 企业风险管理v3(app)
  23030. /Ermcp3/QueryAreaStock:
  23031. get:
  23032. parameters:
  23033. - description: 用户ID
  23034. in: query
  23035. name: userid
  23036. required: true
  23037. type: integer
  23038. produces:
  23039. - application/json
  23040. responses:
  23041. "200":
  23042. description: OK
  23043. schema:
  23044. items:
  23045. $ref: '#/definitions/models.Ermcp3AreaStock'
  23046. type: array
  23047. "500":
  23048. description: Internal Server Error
  23049. schema:
  23050. $ref: '#/definitions/app.Response'
  23051. security:
  23052. - ApiKeyAuth: []
  23053. summary: 查询机构库存(库存管理/当前库存)
  23054. tags:
  23055. - 企业风险管理v3(app)
  23056. /Ermcp3/QueryAreaStockApply:
  23057. get:
  23058. parameters:
  23059. - description: 用户ID
  23060. in: query
  23061. name: userid
  23062. required: true
  23063. type: integer
  23064. - description: 用户类型 2-机构 7-企业成员
  23065. in: query
  23066. name: usertype
  23067. type: integer
  23068. - description: 现货商品ID
  23069. in: query
  23070. name: deliverygoodsid
  23071. type: integer
  23072. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23073. in: query
  23074. name: inouttype
  23075. type: string
  23076. - description: 合同ID
  23077. in: query
  23078. name: spotcontractid
  23079. type: integer
  23080. - description: 品类ID
  23081. in: query
  23082. name: wrstandardid
  23083. type: integer
  23084. - description: 品牌ID
  23085. in: query
  23086. name: spotgoodsbrandid
  23087. type: integer
  23088. - description: 仓库ID
  23089. in: query
  23090. name: warehouseinfoid
  23091. type: integer
  23092. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23093. in: query
  23094. name: applystatus
  23095. type: string
  23096. produces:
  23097. - application/json
  23098. responses:
  23099. "200":
  23100. description: OK
  23101. schema:
  23102. items:
  23103. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23104. type: array
  23105. "500":
  23106. description: Internal Server Error
  23107. schema:
  23108. $ref: '#/definitions/app.Response'
  23109. security:
  23110. - ApiKeyAuth: []
  23111. summary: 查询库存申请(出入库记录|库存审核)
  23112. tags:
  23113. - 企业风险管理v3(app)
  23114. /Ermcp3/QueryAreaStockApplySum:
  23115. get:
  23116. parameters:
  23117. - description: 合同ID
  23118. in: query
  23119. name: spotcontractid
  23120. required: true
  23121. type: integer
  23122. produces:
  23123. - application/json
  23124. responses:
  23125. "200":
  23126. description: OK
  23127. schema:
  23128. items:
  23129. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23130. type: array
  23131. "500":
  23132. description: Internal Server Error
  23133. schema:
  23134. $ref: '#/definitions/app.Response'
  23135. security:
  23136. - ApiKeyAuth: []
  23137. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23138. tags:
  23139. - 企业风险管理v3(app)
  23140. /Ermcp3/QueryDGFactoryItem:
  23141. get:
  23142. parameters:
  23143. - description: 用户id
  23144. in: query
  23145. name: userid
  23146. type: integer
  23147. - description: 用户类型 2-机构 7-企业成员
  23148. in: query
  23149. name: usertype
  23150. type: integer
  23151. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23152. in: query
  23153. name: dgfactoryitemid
  23154. type: integer
  23155. - description: 现货品种ID
  23156. in: query
  23157. name: deliverygoodsid
  23158. type: integer
  23159. - description: 要素项类型
  23160. in: query
  23161. name: dgfactoryitemtypeid
  23162. type: integer
  23163. - description: 顺序
  23164. in: query
  23165. name: orderindex
  23166. type: integer
  23167. produces:
  23168. - application/json
  23169. responses:
  23170. "200":
  23171. description: OK
  23172. schema:
  23173. items:
  23174. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23175. type: array
  23176. "500":
  23177. description: Internal Server Error
  23178. schema:
  23179. $ref: '#/definitions/app.Response'
  23180. security:
  23181. - ApiKeyAuth: []
  23182. summary: 查询品种要素定义项
  23183. tags:
  23184. - 企业风险管理v3(app)
  23185. /Ermcp3/QueryDeliveryGoods:
  23186. get:
  23187. parameters:
  23188. - description: 用户id
  23189. in: query
  23190. name: userid
  23191. required: true
  23192. type: integer
  23193. - description: 用户类型 2-机构 7-企业成员
  23194. in: query
  23195. name: usertype
  23196. type: integer
  23197. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23198. in: query
  23199. name: excludecfg
  23200. type: integer
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. items:
  23208. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23209. type: array
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 查询现货商品
  23217. tags:
  23218. - 企业风险管理v3(app)
  23219. /Ermcp3/QueryDeliveryGoodsDetail:
  23220. get:
  23221. parameters:
  23222. - description: 用户id
  23223. in: query
  23224. name: userid
  23225. required: true
  23226. type: integer
  23227. - description: 用户类型 2-机构 7-企业成员
  23228. in: query
  23229. name: usertype
  23230. type: integer
  23231. - description: 现货商品id
  23232. in: query
  23233. name: deliverygoodsid
  23234. type: integer
  23235. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23236. in: query
  23237. name: filtersubempty
  23238. type: integer
  23239. produces:
  23240. - application/json
  23241. responses:
  23242. "200":
  23243. description: OK
  23244. schema:
  23245. items:
  23246. $ref: '#/definitions/models.XHDeliveryGoods'
  23247. type: array
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. security:
  23253. - ApiKeyAuth: []
  23254. summary: 查询现货商品详情
  23255. tags:
  23256. - 企业风险管理v3(app)
  23257. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23258. get:
  23259. parameters:
  23260. - description: 合同id
  23261. in: query
  23262. name: spotcontractid
  23263. required: true
  23264. type: string
  23265. produces:
  23266. - application/json
  23267. responses:
  23268. "200":
  23269. description: OK
  23270. schema:
  23271. items:
  23272. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23273. type: array
  23274. "500":
  23275. description: Internal Server Error
  23276. schema:
  23277. $ref: '#/definitions/app.Response'
  23278. security:
  23279. - ApiKeyAuth: []
  23280. summary: 查询现货合同期现配置信息
  23281. tags:
  23282. - 企业风险管理v3(app)
  23283. /Ermcp3/QueryExposureDetail:
  23284. get:
  23285. parameters:
  23286. - description: 用户id
  23287. in: query
  23288. name: userid
  23289. required: true
  23290. type: integer
  23291. - description: 用户类型 2-机构 7-企业成员
  23292. in: query
  23293. name: usertype
  23294. type: integer
  23295. - description: 套保商品
  23296. in: query
  23297. name: middlegoodsid
  23298. required: true
  23299. type: integer
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. items:
  23307. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23308. type: array
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 查询敞口现货明细
  23316. tags:
  23317. - 企业风险管理v3(app)
  23318. /Ermcp3/QueryExposureSpot:
  23319. get:
  23320. parameters:
  23321. - description: 用户id
  23322. in: query
  23323. name: userid
  23324. required: true
  23325. type: integer
  23326. - description: 用户类型 2-机构 7-企业成员
  23327. in: query
  23328. name: usertype
  23329. type: integer
  23330. produces:
  23331. - application/json
  23332. responses:
  23333. "200":
  23334. description: OK
  23335. schema:
  23336. items:
  23337. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23338. type: array
  23339. "500":
  23340. description: Internal Server Error
  23341. schema:
  23342. $ref: '#/definitions/app.Response'
  23343. security:
  23344. - ApiKeyAuth: []
  23345. summary: 查询敞口现货头寸(敞口/现货头寸)
  23346. tags:
  23347. - 企业风险管理v3(app)
  23348. /Ermcp3/QueryExposureSpotDetail:
  23349. get:
  23350. parameters:
  23351. - description: 用户id
  23352. in: query
  23353. name: userid
  23354. required: true
  23355. type: integer
  23356. - description: 用户类型 2-机构 7-企业成员
  23357. in: query
  23358. name: usertype
  23359. type: integer
  23360. - description: 现货商品ID
  23361. in: query
  23362. name: wrstandardid
  23363. required: true
  23364. type: integer
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. items:
  23372. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23373. type: array
  23374. "500":
  23375. description: Internal Server Error
  23376. schema:
  23377. $ref: '#/definitions/app.Response'
  23378. security:
  23379. - ApiKeyAuth: []
  23380. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23381. tags:
  23382. - 企业风险管理v3(app)
  23383. /Ermcp3/QueryGoodsGroup:
  23384. get:
  23385. parameters:
  23386. - description: 用户id
  23387. in: query
  23388. name: userid
  23389. required: true
  23390. type: integer
  23391. - description: 用户类型 2-机构 7-企业成员
  23392. in: query
  23393. name: usertype
  23394. type: integer
  23395. - description: 排除套保品中已关联的商品组 1-排除
  23396. in: query
  23397. name: excludecfg
  23398. type: integer
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. items:
  23406. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23407. type: array
  23408. "500":
  23409. description: Internal Server Error
  23410. schema:
  23411. $ref: '#/definitions/app.Response'
  23412. security:
  23413. - ApiKeyAuth: []
  23414. summary: 查询期货商品组
  23415. tags:
  23416. - 企业风险管理v3(app)
  23417. /Ermcp3/QueryGoodsWrstandard:
  23418. get:
  23419. parameters:
  23420. - description: 用户id
  23421. in: query
  23422. name: userid
  23423. required: true
  23424. type: integer
  23425. - description: 用户类型 2-机构 7-企业成员
  23426. in: query
  23427. name: usertype
  23428. type: integer
  23429. - description: 现货商品id
  23430. in: query
  23431. name: deliverygoodsid
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. items:
  23440. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23441. type: array
  23442. "500":
  23443. description: Internal Server Error
  23444. schema:
  23445. $ref: '#/definitions/app.Response'
  23446. security:
  23447. - ApiKeyAuth: []
  23448. summary: 查询商品品类
  23449. tags:
  23450. - 企业风险管理v3(app)
  23451. /Ermcp3/QueryGoodsbrand:
  23452. get:
  23453. parameters:
  23454. - description: 用户id
  23455. in: query
  23456. name: userid
  23457. required: true
  23458. type: integer
  23459. - description: 用户类型 2-机构 7-企业成员
  23460. in: query
  23461. name: usertype
  23462. type: integer
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. items:
  23470. $ref: '#/definitions/models.Ermcp3Brand'
  23471. type: array
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 查询商品品牌
  23479. tags:
  23480. - 企业风险管理v3(app)
  23481. /Ermcp3/QueryHPMiddleGoods:
  23482. get:
  23483. parameters:
  23484. - description: 用户ID(填登录用户的userid)
  23485. in: query
  23486. name: userid
  23487. required: true
  23488. type: integer
  23489. - description: 买卖方向 0-买 1-卖
  23490. in: query
  23491. name: buyorsell
  23492. required: true
  23493. type: integer
  23494. - description: 商品组id
  23495. in: query
  23496. name: goodsgroupid
  23497. required: true
  23498. type: integer
  23499. - description: 套保计划编号(模糊匹配)
  23500. in: query
  23501. name: hedgeplanno
  23502. type: string
  23503. - description: 现货商品名称(模糊匹配)
  23504. in: query
  23505. name: wrstandardname
  23506. type: string
  23507. produces:
  23508. - application/json
  23509. responses:
  23510. "200":
  23511. description: OK
  23512. schema:
  23513. items:
  23514. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23515. type: array
  23516. "500":
  23517. description: Internal Server Error
  23518. schema:
  23519. $ref: '#/definitions/app.Response'
  23520. security:
  23521. - ApiKeyAuth: []
  23522. summary: 查询可关联套保计划
  23523. tags:
  23524. - 企业风险管理v3(app)
  23525. /Ermcp3/QueryHedgePlan:
  23526. get:
  23527. parameters:
  23528. - description: 用户ID
  23529. in: query
  23530. name: userid
  23531. required: true
  23532. type: integer
  23533. - description: 用户类型 2-机构 7-企业成员
  23534. in: query
  23535. name: usertype
  23536. type: integer
  23537. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23538. in: query
  23539. name: hedgeplanstatus
  23540. required: true
  23541. type: string
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. items:
  23549. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23550. type: array
  23551. "500":
  23552. description: Internal Server Error
  23553. schema:
  23554. $ref: '#/definitions/app.Response'
  23555. security:
  23556. - ApiKeyAuth: []
  23557. summary: 查询套保计划
  23558. tags:
  23559. - 企业风险管理v3(app)
  23560. /Ermcp3/QueryInnerTradeLink:
  23561. get:
  23562. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23563. parameters:
  23564. - description: 外部成交单号
  23565. in: query
  23566. name: outtradeid
  23567. required: true
  23568. type: integer
  23569. produces:
  23570. - application/json
  23571. responses:
  23572. "200":
  23573. description: OK
  23574. schema:
  23575. items:
  23576. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23577. type: array
  23578. "500":
  23579. description: Internal Server Error
  23580. schema:
  23581. $ref: '#/definitions/app.Response'
  23582. security:
  23583. - ApiKeyAuth: []
  23584. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23585. tags:
  23586. - 企业风险管理v3(app)
  23587. /Ermcp3/QueryMiddleGoodsDetail:
  23588. get:
  23589. parameters:
  23590. - description: 用户id
  23591. in: query
  23592. name: userid
  23593. required: true
  23594. type: integer
  23595. - description: 用户类型 2-机构 7-企业成员
  23596. in: query
  23597. name: usertype
  23598. type: integer
  23599. - description: 套保品种id
  23600. in: query
  23601. name: middlegoodsid
  23602. type: integer
  23603. produces:
  23604. - application/json
  23605. responses:
  23606. "200":
  23607. description: OK
  23608. schema:
  23609. items:
  23610. $ref: '#/definitions/models.TBMiddleGoods'
  23611. type: array
  23612. "500":
  23613. description: Internal Server Error
  23614. schema:
  23615. $ref: '#/definitions/app.Response'
  23616. security:
  23617. - ApiKeyAuth: []
  23618. summary: 查询套保品种详情(套保品种/商品详情)
  23619. tags:
  23620. - 企业风险管理v3(app)
  23621. /Ermcp3/QueryOutTradeLink:
  23622. get:
  23623. description: 页面 app 现货->期现关联->外部成交单关联
  23624. parameters:
  23625. - description: 用户ID(填登录用户的userid)
  23626. in: query
  23627. name: userid
  23628. required: true
  23629. type: integer
  23630. - description: 外部订单号(模糊匹配)
  23631. in: query
  23632. name: outtradeid
  23633. type: string
  23634. - description: 合约名称/代码(模糊匹配)
  23635. in: query
  23636. name: goodsname
  23637. type: string
  23638. - description: 关联状态 0-未关联 1-已关联
  23639. in: query
  23640. name: hasinnerorder
  23641. type: integer
  23642. produces:
  23643. - application/json
  23644. responses:
  23645. "200":
  23646. description: OK
  23647. schema:
  23648. items:
  23649. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23650. type: array
  23651. "500":
  23652. description: Internal Server Error
  23653. schema:
  23654. $ref: '#/definitions/app.Response'
  23655. security:
  23656. - ApiKeyAuth: []
  23657. summary: 查询外部成交单关联
  23658. tags:
  23659. - 企业风险管理v3(app)
  23660. /Ermcp3/QueryPaAreaAuditCfg:
  23661. get:
  23662. parameters:
  23663. - description: 用户id
  23664. in: query
  23665. name: userid
  23666. required: true
  23667. type: integer
  23668. produces:
  23669. - application/json
  23670. responses:
  23671. "200":
  23672. description: OK
  23673. schema:
  23674. items:
  23675. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23676. type: array
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 查询审核设置
  23684. tags:
  23685. - 企业风险管理v3(app)
  23686. /Ermcp3/QueryPaAreaSubject:
  23687. get:
  23688. parameters:
  23689. - description: 用户id
  23690. in: query
  23691. name: userid
  23692. required: true
  23693. type: integer
  23694. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23695. in: query
  23696. name: subjectid
  23697. type: integer
  23698. - description: 主体类型 - 1:交易主体 2:业务部门
  23699. in: query
  23700. name: subjecttype
  23701. type: integer
  23702. - description: '主体状态 - 1:正常 2: 停用'
  23703. in: query
  23704. name: subjectstatus
  23705. type: integer
  23706. produces:
  23707. - application/json
  23708. responses:
  23709. "200":
  23710. description: OK
  23711. schema:
  23712. items:
  23713. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23714. type: array
  23715. "500":
  23716. description: Internal Server Error
  23717. schema:
  23718. $ref: '#/definitions/app.Response'
  23719. security:
  23720. - ApiKeyAuth: []
  23721. summary: 查询交易主体
  23722. tags:
  23723. - 企业风险管理v3(app)
  23724. /Ermcp3/QueryPaTradeLink:
  23725. get:
  23726. description: 页面 app 现货->期现关联->期现单据关联
  23727. parameters:
  23728. - description: 用户ID
  23729. in: query
  23730. name: userid
  23731. required: true
  23732. type: integer
  23733. produces:
  23734. - application/json
  23735. responses:
  23736. "200":
  23737. description: OK
  23738. schema:
  23739. items:
  23740. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23741. type: array
  23742. "500":
  23743. description: Internal Server Error
  23744. schema:
  23745. $ref: '#/definitions/app.Response'
  23746. security:
  23747. - ApiKeyAuth: []
  23748. summary: 查询期现单据关联
  23749. tags:
  23750. - 企业风险管理v3(app)
  23751. /Ermcp3/QueryPaTradeLinkDetail:
  23752. get:
  23753. description: 页面 app 现货->期现关联->关联记录
  23754. parameters:
  23755. - description: 用户ID(填登录用户的userid)
  23756. in: query
  23757. name: userid
  23758. required: true
  23759. type: integer
  23760. - description: 关联状态 1:成功 2:失败 3:解绑
  23761. in: query
  23762. name: linkstatus
  23763. type: integer
  23764. - description: 期货订单号(模糊匹配)
  23765. in: query
  23766. name: tradeid
  23767. type: string
  23768. - description: 现货编号(模糊匹配)
  23769. in: query
  23770. name: contractno
  23771. type: string
  23772. - description: 期货账户(模糊匹配)
  23773. in: query
  23774. name: taname
  23775. type: string
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. items:
  23783. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23784. type: array
  23785. "500":
  23786. description: Internal Server Error
  23787. schema:
  23788. $ref: '#/definitions/app.Response'
  23789. security:
  23790. - ApiKeyAuth: []
  23791. summary: 查询期现关联记录
  23792. tags:
  23793. - 企业风险管理v3(app)
  23794. /Ermcp3/QueryParamChangeApp:
  23795. get:
  23796. description: |-
  23797. 原型页面:
  23798. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23799. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23800. parameters:
  23801. - description: 用户ID
  23802. in: query
  23803. name: userid
  23804. required: true
  23805. type: integer
  23806. - description: 现货品种id
  23807. in: query
  23808. name: deliverygoodsid
  23809. type: integer
  23810. - description: 现货商品id
  23811. in: query
  23812. name: wrstandardid
  23813. type: integer
  23814. - description: 套保商品id
  23815. in: query
  23816. name: middlegoodsid
  23817. type: integer
  23818. - description: 操作类型 1:新增 2:修改
  23819. in: query
  23820. name: operatetype
  23821. type: integer
  23822. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23823. in: query
  23824. name: paramchangetype
  23825. type: integer
  23826. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23827. in: query
  23828. name: ftstatus
  23829. type: string
  23830. produces:
  23831. - application/json
  23832. responses:
  23833. "200":
  23834. description: OK
  23835. schema:
  23836. items:
  23837. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23838. type: array
  23839. "500":
  23840. description: Internal Server Error
  23841. schema:
  23842. $ref: '#/definitions/app.Response'
  23843. security:
  23844. - ApiKeyAuth: []
  23845. summary: 查询现货商品参数变更申请(流水)
  23846. tags:
  23847. - 企业风险管理v3(app)
  23848. /Ermcp3/QueryRootUserAccount:
  23849. get:
  23850. parameters:
  23851. - description: 用户ID
  23852. in: query
  23853. name: userid
  23854. required: true
  23855. type: integer
  23856. produces:
  23857. - application/json
  23858. responses:
  23859. "200":
  23860. description: OK
  23861. schema:
  23862. items:
  23863. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23864. type: array
  23865. "500":
  23866. description: Internal Server Error
  23867. schema:
  23868. $ref: '#/definitions/app.Response'
  23869. security:
  23870. - ApiKeyAuth: []
  23871. summary: 查询顶级用户信息
  23872. tags:
  23873. - 企业风险管理v3(app)
  23874. /Ermcp3/QuerySCMiddleGoods:
  23875. get:
  23876. description: |-
  23877. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23878. 现货编号 即 合同编号
  23879. parameters:
  23880. - description: 用户ID(填登录用户的userid)
  23881. in: query
  23882. name: userid
  23883. required: true
  23884. type: integer
  23885. - description: 买卖方向 0-买 1-卖
  23886. in: query
  23887. name: buyorsell
  23888. required: true
  23889. type: integer
  23890. - description: 商品组id
  23891. in: query
  23892. name: goodsgroupid
  23893. required: true
  23894. type: integer
  23895. - description: 业务类型 1:套保 2:套利
  23896. in: query
  23897. name: biztype
  23898. type: integer
  23899. - description: 现货编号(模糊匹配)
  23900. in: query
  23901. name: contractno
  23902. type: string
  23903. - description: 对手方(模糊匹配)
  23904. in: query
  23905. name: customername
  23906. type: string
  23907. - description: 现货商品名称(模糊匹配)
  23908. in: query
  23909. name: wrstandardname
  23910. type: string
  23911. produces:
  23912. - application/json
  23913. responses:
  23914. "200":
  23915. description: OK
  23916. schema:
  23917. items:
  23918. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23919. type: array
  23920. "500":
  23921. description: Internal Server Error
  23922. schema:
  23923. $ref: '#/definitions/app.Response'
  23924. security:
  23925. - ApiKeyAuth: []
  23926. summary: 查询现货订单
  23927. tags:
  23928. - 企业风险管理v3(app)
  23929. /Ermcp3/QuerySpotContract:
  23930. get:
  23931. parameters:
  23932. - description: 用户id(当指定contractid, userid可不填)
  23933. in: query
  23934. name: userid
  23935. required: true
  23936. type: integer
  23937. - description: 用户类型 2-机构 7-企业成员
  23938. in: query
  23939. name: usertype
  23940. type: integer
  23941. - description: 合同类型 1-采购, -1-销售
  23942. in: query
  23943. name: contracttype
  23944. type: integer
  23945. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23946. in: query
  23947. name: querytype
  23948. type: string
  23949. - description: 合同ID(SpotContractId)
  23950. in: query
  23951. name: contractid
  23952. type: string
  23953. - description: 合同编号(模糊匹配)
  23954. in: query
  23955. name: contractno
  23956. type: string
  23957. - description: 商品名称(模糊匹配)
  23958. in: query
  23959. name: wrstandardname
  23960. type: string
  23961. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23962. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23963. in: query
  23964. name: status
  23965. type: string
  23966. - description: 是否只查今日的合同 1-查今日合同
  23967. in: query
  23968. name: istoday
  23969. type: integer
  23970. produces:
  23971. - application/json
  23972. responses:
  23973. "200":
  23974. description: OK
  23975. schema:
  23976. items:
  23977. $ref: '#/definitions/models.Ermcp3Contract'
  23978. type: array
  23979. "500":
  23980. description: Internal Server Error
  23981. schema:
  23982. $ref: '#/definitions/app.Response'
  23983. security:
  23984. - ApiKeyAuth: []
  23985. summary: 查询现货合同
  23986. tags:
  23987. - 企业风险管理v3(app)
  23988. /Ermcp3/QuerySpotContractBS:
  23989. get:
  23990. parameters:
  23991. - description: 用户id
  23992. in: query
  23993. name: userid
  23994. required: true
  23995. type: integer
  23996. - description: 用户类型 2-机构 7-企业成员
  23997. in: query
  23998. name: usertype
  23999. type: integer
  24000. - description: 合同类型 1-采购, -1-销售
  24001. in: query
  24002. name: contracttype
  24003. required: true
  24004. type: integer
  24005. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24006. in: query
  24007. name: querytype
  24008. type: integer
  24009. - description: 合同ID(SpotContractId)
  24010. in: query
  24011. name: contractid
  24012. type: string
  24013. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24014. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24015. in: query
  24016. name: status
  24017. type: string
  24018. - description: 是否只查今日的合同 1-查今日合同
  24019. in: query
  24020. name: istoday
  24021. type: integer
  24022. produces:
  24023. - application/json
  24024. responses:
  24025. "200":
  24026. description: OK
  24027. schema:
  24028. items:
  24029. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24030. type: array
  24031. "500":
  24032. description: Internal Server Error
  24033. schema:
  24034. $ref: '#/definitions/app.Response'
  24035. security:
  24036. - ApiKeyAuth: []
  24037. summary: 查询合同(采购/销售)
  24038. tags:
  24039. - 企业风险管理v3(app)
  24040. /Ermcp3/QuerySpotGoodsPrice:
  24041. get:
  24042. parameters:
  24043. - description: 用户ID
  24044. in: query
  24045. name: userid
  24046. required: true
  24047. type: integer
  24048. produces:
  24049. - application/json
  24050. responses:
  24051. "200":
  24052. description: OK
  24053. schema:
  24054. items:
  24055. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24056. type: array
  24057. "500":
  24058. description: Internal Server Error
  24059. schema:
  24060. $ref: '#/definitions/app.Response'
  24061. security:
  24062. - ApiKeyAuth: []
  24063. summary: 查询现货市价(现货市价)
  24064. tags:
  24065. - 企业风险管理v3(app)
  24066. /Ermcp3/QuerySpotGoodsPriceLog:
  24067. get:
  24068. parameters:
  24069. - description: 用户ID
  24070. in: query
  24071. name: userid
  24072. required: true
  24073. type: integer
  24074. - description: 现货商品ID
  24075. in: query
  24076. name: deliverygoodsid
  24077. required: true
  24078. type: integer
  24079. - description: 品牌ID
  24080. in: query
  24081. name: brandid
  24082. type: integer
  24083. - description: 品类ID
  24084. in: query
  24085. name: wrstandardid
  24086. type: integer
  24087. produces:
  24088. - application/json
  24089. responses:
  24090. "200":
  24091. description: OK
  24092. schema:
  24093. items:
  24094. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24095. type: array
  24096. "500":
  24097. description: Internal Server Error
  24098. schema:
  24099. $ref: '#/definitions/app.Response'
  24100. security:
  24101. - ApiKeyAuth: []
  24102. summary: 查询现货市价详情(现货市价/详情)
  24103. tags:
  24104. - 企业风险管理v3(app)
  24105. /Ermcp3/QuerySubTaaccount:
  24106. get:
  24107. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24108. parameters:
  24109. - description: 母账号id
  24110. in: query
  24111. name: parentaccountid
  24112. type: integer
  24113. - description: 母账号代码
  24114. in: query
  24115. name: parentaccountcode
  24116. type: string
  24117. produces:
  24118. - application/json
  24119. responses:
  24120. "200":
  24121. description: OK
  24122. schema:
  24123. items:
  24124. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24125. type: array
  24126. "500":
  24127. description: Internal Server Error
  24128. schema:
  24129. $ref: '#/definitions/app.Response'
  24130. security:
  24131. - ApiKeyAuth: []
  24132. summary: 查询期货子账户
  24133. tags:
  24134. - 企业风险管理v3(app)
  24135. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24136. get:
  24137. parameters:
  24138. - description: 套期项目ID
  24139. in: query
  24140. name: hedgeditemid
  24141. required: true
  24142. type: integer
  24143. produces:
  24144. - application/json
  24145. responses:
  24146. "200":
  24147. description: OK
  24148. schema:
  24149. items:
  24150. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24151. type: array
  24152. "500":
  24153. description: Internal Server Error
  24154. schema:
  24155. $ref: '#/definitions/app.Response'
  24156. security:
  24157. - ApiKeyAuth: []
  24158. summary: 现货成交明细查询
  24159. tags:
  24160. - 企业风险管理v8
  24161. /Ermcp8/QueryERMCP2HedgedItemspot:
  24162. get:
  24163. parameters:
  24164. - description: 套期项目ID
  24165. in: query
  24166. name: hedgeditemid
  24167. required: true
  24168. type: integer
  24169. produces:
  24170. - application/json
  24171. responses:
  24172. "200":
  24173. description: OK
  24174. schema:
  24175. items:
  24176. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24177. type: array
  24178. "500":
  24179. description: Internal Server Error
  24180. schema:
  24181. $ref: '#/definitions/app.Response'
  24182. security:
  24183. - ApiKeyAuth: []
  24184. summary: 套期计划明细查询
  24185. tags:
  24186. - 企业风险管理v8
  24187. /Ermcp8/QueryERMCPJRLinkPos:
  24188. get:
  24189. parameters:
  24190. - description: 套期项目ID
  24191. in: query
  24192. name: hedgeditemid
  24193. required: true
  24194. type: integer
  24195. produces:
  24196. - application/json
  24197. responses:
  24198. "200":
  24199. description: OK
  24200. schema:
  24201. items:
  24202. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24203. type: array
  24204. "500":
  24205. description: Internal Server Error
  24206. schema:
  24207. $ref: '#/definitions/app.Response'
  24208. security:
  24209. - ApiKeyAuth: []
  24210. summary: 期货持仓明细查询
  24211. tags:
  24212. - 企业风险管理v8
  24213. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24214. get:
  24215. parameters:
  24216. - description: 套期项目ID
  24217. in: query
  24218. name: hedgeditemid
  24219. required: true
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. items:
  24228. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24229. type: array
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 期货成交单明细查询
  24237. tags:
  24238. - 企业风险管理v8
  24239. /Ermcp8/QueryErmcp2HedgedItem:
  24240. get:
  24241. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24242. parameters:
  24243. - description: 用户ID
  24244. in: query
  24245. name: userid
  24246. required: true
  24247. type: string
  24248. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24249. in: query
  24250. name: hedgedtype
  24251. type: integer
  24252. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24253. in: query
  24254. name: hedgeditemstatus
  24255. type: integer
  24256. produces:
  24257. - application/json
  24258. responses:
  24259. "200":
  24260. description: OK
  24261. schema:
  24262. items:
  24263. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24264. type: array
  24265. "500":
  24266. description: Internal Server Error
  24267. schema:
  24268. $ref: '#/definitions/app.Response'
  24269. security:
  24270. - ApiKeyAuth: []
  24271. summary: 查询被套期项目信息
  24272. tags:
  24273. - 企业风险管理v8
  24274. /Erms2/QueryArbitrageStrategy:
  24275. get:
  24276. parameters:
  24277. - description: 账户ID
  24278. in: query
  24279. name: userid
  24280. required: true
  24281. type: integer
  24282. - description: 商品组ID(品种ID)
  24283. in: query
  24284. name: goodsgroupid
  24285. type: string
  24286. produces:
  24287. - application/json
  24288. responses:
  24289. "200":
  24290. description: OK
  24291. schema:
  24292. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  24293. "500":
  24294. description: Internal Server Error
  24295. schema:
  24296. $ref: '#/definitions/app.Response'
  24297. security:
  24298. - ApiKeyAuth: []
  24299. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  24300. tags:
  24301. - 风险管理
  24302. /Erms2/QueryInnerTradeDetail:
  24303. get:
  24304. parameters:
  24305. - description: 资金账户
  24306. in: query
  24307. name: accountid
  24308. required: true
  24309. type: integer
  24310. produces:
  24311. - application/json
  24312. responses:
  24313. "200":
  24314. description: OK
  24315. schema:
  24316. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  24317. "500":
  24318. description: Internal Server Error
  24319. schema:
  24320. $ref: '#/definitions/app.Response'
  24321. security:
  24322. - ApiKeyAuth: []
  24323. summary: 查询内部成交单信息
  24324. tags:
  24325. - 风险管理
  24326. /Erms2/QuerySpotContract:
  24327. get:
  24328. parameters:
  24329. - description: 策略申请ID
  24330. in: query
  24331. name: asapplyid
  24332. required: true
  24333. type: integer
  24334. - description: 现货合同ID
  24335. in: query
  24336. name: spotcontractid
  24337. type: integer
  24338. produces:
  24339. - application/json
  24340. responses:
  24341. "200":
  24342. description: OK
  24343. schema:
  24344. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24345. "500":
  24346. description: Internal Server Error
  24347. schema:
  24348. $ref: '#/definitions/app.Response'
  24349. security:
  24350. - ApiKeyAuth: []
  24351. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24352. tags:
  24353. - 风险管理
  24354. /Erms3/AddErms2ASApply:
  24355. post:
  24356. parameters:
  24357. - description: 申请参数
  24358. in: body
  24359. name: jsonBody
  24360. required: true
  24361. schema:
  24362. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. $ref: '#/definitions/app.Response'
  24370. "500":
  24371. description: Internal Server Error
  24372. schema:
  24373. $ref: '#/definitions/app.Response'
  24374. security:
  24375. - ApiKeyAuth: []
  24376. summary: 新增期现套利业务申请
  24377. tags:
  24378. - 风险管理v3
  24379. /Erms3/AddErms2SpotTradeApply:
  24380. post:
  24381. parameters:
  24382. - description: 申请参数
  24383. in: body
  24384. name: jsonBody
  24385. required: true
  24386. schema:
  24387. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24388. produces:
  24389. - application/json
  24390. responses:
  24391. "200":
  24392. description: OK
  24393. schema:
  24394. $ref: '#/definitions/app.Response'
  24395. "500":
  24396. description: Internal Server Error
  24397. schema:
  24398. $ref: '#/definitions/app.Response'
  24399. security:
  24400. - ApiKeyAuth: []
  24401. summary: 新增现货贸易业务申请
  24402. tags:
  24403. - 风险管理v3
  24404. /Erms3/AddSpotContractApply:
  24405. post:
  24406. parameters:
  24407. - description: 申请参数
  24408. in: body
  24409. name: jsonBody
  24410. required: true
  24411. schema:
  24412. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  24420. "500":
  24421. description: Internal Server Error
  24422. schema:
  24423. $ref: '#/definitions/app.Response'
  24424. security:
  24425. - ApiKeyAuth: []
  24426. summary: 新增现货合同申请
  24427. tags:
  24428. - 风险管理v3
  24429. /Erms3/AddUserInfoApply:
  24430. post:
  24431. parameters:
  24432. - description: 用户信息
  24433. in: body
  24434. name: jsonBody
  24435. required: true
  24436. schema:
  24437. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  24438. produces:
  24439. - application/json
  24440. responses:
  24441. "200":
  24442. description: OK
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. "500":
  24446. description: Internal Server Error
  24447. schema:
  24448. $ref: '#/definitions/app.Response'
  24449. security:
  24450. - ApiKeyAuth: []
  24451. summary: 新增客户申请
  24452. tags:
  24453. - 风险管理v3
  24454. /Erms3/DeleteUserInfoApply:
  24455. get:
  24456. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  24457. parameters:
  24458. - description: 用户ID
  24459. in: query
  24460. name: userID
  24461. required: true
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. $ref: '#/definitions/app.Response'
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 删除客户申请
  24477. tags:
  24478. - 风险管理v3
  24479. /Erms3/ModifyUserInfoApply:
  24480. post:
  24481. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  24482. int, "userstate": 2 }'
  24483. parameters:
  24484. - description: 用户信息
  24485. in: body
  24486. name: jsonBody
  24487. required: true
  24488. schema:
  24489. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  24490. produces:
  24491. - application/json
  24492. responses:
  24493. "200":
  24494. description: OK
  24495. schema:
  24496. $ref: '#/definitions/app.Response'
  24497. "500":
  24498. description: Internal Server Error
  24499. schema:
  24500. $ref: '#/definitions/app.Response'
  24501. security:
  24502. - ApiKeyAuth: []
  24503. summary: 修改客户申请
  24504. tags:
  24505. - 风险管理v3
  24506. /Erms3/QueryBusinessInfo:
  24507. get:
  24508. parameters:
  24509. - description: 资金账号ID列表,用逗号分隔
  24510. in: query
  24511. name: accountids
  24512. required: true
  24513. type: string
  24514. - description: 状态,0为未结束 1为已结束
  24515. in: query
  24516. name: status
  24517. required: true
  24518. type: integer
  24519. produces:
  24520. - application/json
  24521. responses:
  24522. "200":
  24523. description: OK
  24524. schema:
  24525. items:
  24526. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24527. type: array
  24528. "500":
  24529. description: Internal Server Error
  24530. schema:
  24531. $ref: '#/definitions/app.Response'
  24532. security:
  24533. - ApiKeyAuth: []
  24534. summary: 查询业务表单数据
  24535. tags:
  24536. - 风险管理v3
  24537. /Erms3/QueryPendingAuditContract:
  24538. get:
  24539. parameters:
  24540. - description: 资金账号ID列表,逗号隔开
  24541. in: query
  24542. name: accountids
  24543. required: true
  24544. type: string
  24545. - description: 合同类型 1-采购 -1-销售
  24546. in: query
  24547. name: contracttype
  24548. required: true
  24549. type: integer
  24550. - description: 合同模式 1-普通 2-回购
  24551. in: query
  24552. name: contractmode
  24553. required: true
  24554. type: integer
  24555. produces:
  24556. - application/json
  24557. responses:
  24558. "200":
  24559. description: OK
  24560. schema:
  24561. items:
  24562. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24563. type: array
  24564. "500":
  24565. description: Internal Server Error
  24566. schema:
  24567. $ref: '#/definitions/app.Response'
  24568. security:
  24569. - ApiKeyAuth: []
  24570. summary: 查询待审核合同
  24571. tags:
  24572. - 风险管理v3
  24573. /Erms3/QueryPendingBusiness:
  24574. get:
  24575. parameters:
  24576. - description: 资金账号ID列表,逗号隔开
  24577. in: query
  24578. name: accountids
  24579. required: true
  24580. type: string
  24581. produces:
  24582. - application/json
  24583. responses:
  24584. "200":
  24585. description: OK
  24586. schema:
  24587. items:
  24588. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24589. type: array
  24590. "500":
  24591. description: Internal Server Error
  24592. schema:
  24593. $ref: '#/definitions/app.Response'
  24594. security:
  24595. - ApiKeyAuth: []
  24596. summary: 查询待审核基差贸易业务
  24597. tags:
  24598. - 风险管理v3
  24599. /Erms3/QuerySpotContractAppleForm:
  24600. get:
  24601. parameters:
  24602. - description: 登录账号
  24603. in: query
  24604. name: loginID
  24605. required: true
  24606. type: integer
  24607. produces:
  24608. - application/json
  24609. responses:
  24610. "200":
  24611. description: OK
  24612. schema:
  24613. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24614. "500":
  24615. description: Internal Server Error
  24616. schema:
  24617. $ref: '#/definitions/app.Response'
  24618. security:
  24619. - ApiKeyAuth: []
  24620. summary: 查询合同申请表单数据
  24621. tags:
  24622. - 风险管理v3
  24623. /Erms3/QuerySpotContractDetail:
  24624. get:
  24625. parameters:
  24626. - description: 资金账号ID列表,用逗号分隔
  24627. in: query
  24628. name: accountids
  24629. required: true
  24630. type: string
  24631. - description: 合同类型,1为采购合同 -1为销售合同
  24632. in: query
  24633. name: contracttype
  24634. required: true
  24635. type: integer
  24636. - description: 合同模式,1为普通合同 2为回购销售合同
  24637. in: query
  24638. name: contractmode
  24639. required: true
  24640. type: integer
  24641. - description: 状态,0为履约中 1为已完成
  24642. in: query
  24643. name: status
  24644. required: true
  24645. type: integer
  24646. produces:
  24647. - application/json
  24648. responses:
  24649. "200":
  24650. description: OK
  24651. schema:
  24652. items:
  24653. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24654. type: array
  24655. "500":
  24656. description: Internal Server Error
  24657. schema:
  24658. $ref: '#/definitions/app.Response'
  24659. security:
  24660. - ApiKeyAuth: []
  24661. summary: 查询合同详细信息
  24662. tags:
  24663. - 风险管理v3
  24664. /Erms3/QueryUserInfoApplies:
  24665. get:
  24666. parameters:
  24667. - description: 页码
  24668. in: query
  24669. name: page
  24670. type: integer
  24671. - description: 每页条数
  24672. in: query
  24673. name: pagesize
  24674. type: integer
  24675. - description: 客户名称,支持模糊查询
  24676. in: query
  24677. name: userName
  24678. type: string
  24679. produces:
  24680. - application/json
  24681. responses:
  24682. "200":
  24683. description: OK
  24684. schema:
  24685. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24686. "500":
  24687. description: Internal Server Error
  24688. schema:
  24689. $ref: '#/definitions/app.Response'
  24690. security:
  24691. - ApiKeyAuth: []
  24692. summary: 客户申请信息查询
  24693. tags:
  24694. - 风险管理v3
  24695. /Erms3/QueryUserInfos:
  24696. get:
  24697. parameters:
  24698. - description: 页码
  24699. in: query
  24700. name: page
  24701. type: integer
  24702. - description: 每页条数
  24703. in: query
  24704. name: pagesize
  24705. type: integer
  24706. - description: 客户名称,支持模糊查询
  24707. in: query
  24708. name: userName
  24709. type: string
  24710. produces:
  24711. - application/json
  24712. responses:
  24713. "200":
  24714. description: OK
  24715. schema:
  24716. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 客户信息查询
  24724. tags:
  24725. - 风险管理v3
  24726. /HSBY/GetHsbyMyCount:
  24727. get:
  24728. description: 说明: 不包括已完成的数量。
  24729. parameters:
  24730. - description: 资金账户列表,格式:1,2,3
  24731. in: query
  24732. name: accountIDs
  24733. required: true
  24734. type: string
  24735. produces:
  24736. - application/json
  24737. responses:
  24738. "200":
  24739. description: OK
  24740. schema:
  24741. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  24742. "500":
  24743. description: Internal Server Error
  24744. schema:
  24745. $ref: '#/definitions/app.Response'
  24746. security:
  24747. - ApiKeyAuth: []
  24748. summary: 获取我的订单与包裹数量
  24749. tags:
  24750. - 定制【海商报业】
  24751. /HSBY/QueryClientFixedADConfigs:
  24752. get:
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. $ref: '#/definitions/models.Clientfixedadconfig'
  24760. "500":
  24761. description: Internal Server Error
  24762. schema:
  24763. $ref: '#/definitions/app.Response'
  24764. security:
  24765. - ApiKeyAuth: []
  24766. summary: 获取终端固定广告配置
  24767. tags:
  24768. - 定制【海商报业】
  24769. /HSBY/QueryHsbyBuyMyTradeDetail:
  24770. get:
  24771. parameters:
  24772. - description: 页码
  24773. in: query
  24774. name: page
  24775. type: integer
  24776. - description: 每页条数
  24777. in: query
  24778. name: pagesize
  24779. type: integer
  24780. - description: 资金账户列表,格式:1,2,3
  24781. in: query
  24782. name: accountIDs
  24783. required: true
  24784. type: string
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24792. "500":
  24793. description: Internal Server Error
  24794. schema:
  24795. $ref: '#/definitions/app.Response'
  24796. security:
  24797. - ApiKeyAuth: []
  24798. summary: 查询"我的订单 - 已完成"单据信息
  24799. tags:
  24800. - 定制【海商报业】
  24801. /HSBY/QueryHsbyGoodsOrderDetails:
  24802. get:
  24803. description: 说明:查询结果已按委托价格和委托时间排序
  24804. parameters:
  24805. - description: 商品ID
  24806. in: query
  24807. name: goodsID
  24808. required: true
  24809. type: integer
  24810. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24811. in: query
  24812. name: accountIDs
  24813. type: string
  24814. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24815. in: query
  24816. name: buyOrSell
  24817. type: integer
  24818. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24819. in: query
  24820. name: price
  24821. type: number
  24822. - description: 档位,不传则默认为3档
  24823. in: query
  24824. name: speed
  24825. type: integer
  24826. produces:
  24827. - application/json
  24828. responses:
  24829. "200":
  24830. description: OK
  24831. schema:
  24832. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24833. "500":
  24834. description: Internal Server Error
  24835. schema:
  24836. $ref: '#/definitions/app.Response'
  24837. security:
  24838. - ApiKeyAuth: []
  24839. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24840. tags:
  24841. - 定制【海商报业】
  24842. /HSBY/QueryHsbyListingGoodsDetail:
  24843. get:
  24844. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24845. parameters:
  24846. - description: 商品ID
  24847. in: query
  24848. name: goodsID
  24849. required: true
  24850. type: integer
  24851. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24852. in: query
  24853. name: accountID
  24854. type: integer
  24855. produces:
  24856. - application/json
  24857. responses:
  24858. "200":
  24859. description: OK
  24860. schema:
  24861. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24862. "500":
  24863. description: Internal Server Error
  24864. schema:
  24865. $ref: '#/definitions/app.Response'
  24866. security:
  24867. - ApiKeyAuth: []
  24868. summary: 查询二级市场(挂牌点选)商品信息详情
  24869. tags:
  24870. - 定制【海商报业】
  24871. /HSBY/QueryHsbyMarketGoodsDetail:
  24872. get:
  24873. parameters:
  24874. - description: 委托单号
  24875. in: query
  24876. name: orderID
  24877. required: true
  24878. type: integer
  24879. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24880. in: query
  24881. name: accountID
  24882. type: integer
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  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/QueryHsbyMarketGoodses:
  24900. get:
  24901. parameters:
  24902. - description: 页码
  24903. in: query
  24904. name: page
  24905. type: integer
  24906. - description: 每页条数
  24907. in: query
  24908. name: pagesize
  24909. type: integer
  24910. - description: 市场ID列表,格式:1,2,3
  24911. in: query
  24912. name: marketIDs
  24913. required: true
  24914. type: string
  24915. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24916. in: query
  24917. name: accountID
  24918. required: true
  24919. type: integer
  24920. - description: 类别ID
  24921. in: query
  24922. name: categoryID
  24923. type: integer
  24924. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24925. in: query
  24926. name: goodsIDs
  24927. type: string
  24928. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24929. in: query
  24930. name: couponTypeID
  24931. type: integer
  24932. produces:
  24933. - application/json
  24934. responses:
  24935. "200":
  24936. description: OK
  24937. schema:
  24938. $ref: '#/definitions/models.HsbyMarketGoods'
  24939. "500":
  24940. description: Internal Server Error
  24941. schema:
  24942. $ref: '#/definitions/app.Response'
  24943. security:
  24944. - ApiKeyAuth: []
  24945. summary: 查询特卖商品列表(三级商城)
  24946. tags:
  24947. - 定制【海商报业】
  24948. /HSBY/QueryHsbyMarkets:
  24949. get:
  24950. produces:
  24951. - application/json
  24952. responses:
  24953. "200":
  24954. description: OK
  24955. schema:
  24956. $ref: '#/definitions/models.HsbyMarketInfo'
  24957. "500":
  24958. description: Internal Server Error
  24959. schema:
  24960. $ref: '#/definitions/app.Response'
  24961. security:
  24962. - ApiKeyAuth: []
  24963. summary: 查询海商报业相关市场信息
  24964. tags:
  24965. - 定制【海商报业】
  24966. /HSBY/QueryHsbyMyBuyOrderDetails:
  24967. get:
  24968. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24969. parameters:
  24970. - description: 资金账户列表,格式:1,2,3
  24971. in: query
  24972. name: accountIDs
  24973. required: true
  24974. type: string
  24975. produces:
  24976. - application/json
  24977. responses:
  24978. "200":
  24979. description: OK
  24980. schema:
  24981. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24982. "500":
  24983. description: Internal Server Error
  24984. schema:
  24985. $ref: '#/definitions/app.Response'
  24986. security:
  24987. - ApiKeyAuth: []
  24988. summary: 查询“我的订单”信息
  24989. tags:
  24990. - 定制【海商报业】
  24991. /HSBY/QueryHsbyMyGoods:
  24992. get:
  24993. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24994. parameters:
  24995. - description: 资金账户列表,格式:1,2,3
  24996. in: query
  24997. name: accountIDs
  24998. required: true
  24999. type: string
  25000. produces:
  25001. - application/json
  25002. responses:
  25003. "200":
  25004. description: OK
  25005. schema:
  25006. $ref: '#/definitions/models.HsbyMyGoods'
  25007. "500":
  25008. description: Internal Server Error
  25009. schema:
  25010. $ref: '#/definitions/app.Response'
  25011. security:
  25012. - ApiKeyAuth: []
  25013. summary: 查询“我的商品”信息
  25014. tags:
  25015. - 定制【海商报业】
  25016. /HSBY/QueryHsbyMyPackages:
  25017. get:
  25018. parameters:
  25019. - description: 资金账户列表,格式:1,2,3
  25020. in: query
  25021. name: accountIDs
  25022. required: true
  25023. type: string
  25024. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25025. in: query
  25026. name: takeOrderStatus
  25027. type: integer
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. $ref: '#/definitions/models.HsbyMyPackage'
  25035. "500":
  25036. description: Internal Server Error
  25037. schema:
  25038. $ref: '#/definitions/app.Response'
  25039. security:
  25040. - ApiKeyAuth: []
  25041. summary: 查询我的包裹信息
  25042. tags:
  25043. - 定制【海商报业】
  25044. /HSBY/QueryHsbyPreGoodsDetail:
  25045. get:
  25046. parameters:
  25047. - description: 商品ID
  25048. in: query
  25049. name: goodsID
  25050. required: true
  25051. type: integer
  25052. - description: 资金账户,主要用于获取预售商品购买上限
  25053. in: query
  25054. name: accountID
  25055. type: integer
  25056. produces:
  25057. - application/json
  25058. responses:
  25059. "200":
  25060. description: OK
  25061. schema:
  25062. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25063. "500":
  25064. description: Internal Server Error
  25065. schema:
  25066. $ref: '#/definitions/app.Response'
  25067. security:
  25068. - ApiKeyAuth: []
  25069. summary: 查询一级市场(预售)商品信息详情
  25070. tags:
  25071. - 定制【海商报业】
  25072. /HSBY/QueryHsbyPreGoodses:
  25073. get:
  25074. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25075. parameters:
  25076. - description: 页码
  25077. in: query
  25078. name: page
  25079. type: integer
  25080. - description: 每页条数
  25081. in: query
  25082. name: pagesize
  25083. type: integer
  25084. - description: 市场ID列表,格式:1,2,3
  25085. in: query
  25086. name: marketIDs
  25087. required: true
  25088. type: string
  25089. - description: 目的地(省)ID
  25090. in: query
  25091. name: descProvinceID
  25092. type: integer
  25093. - description: 目的地(市)ID
  25094. in: query
  25095. name: descCityID
  25096. type: integer
  25097. produces:
  25098. - application/json
  25099. responses:
  25100. "200":
  25101. description: OK
  25102. schema:
  25103. $ref: '#/definitions/models.HsbyPreGoods'
  25104. "500":
  25105. description: Internal Server Error
  25106. schema:
  25107. $ref: '#/definitions/app.Response'
  25108. security:
  25109. - ApiKeyAuth: []
  25110. summary: 查询新品上市商品列表(一级市场预售)
  25111. tags:
  25112. - 定制【海商报业】
  25113. /HSBY/QueryHsbySellMyDetails:
  25114. get:
  25115. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25116. parameters:
  25117. - description: 页码
  25118. in: query
  25119. name: page
  25120. type: integer
  25121. - description: 每页条数
  25122. in: query
  25123. name: pagesize
  25124. type: integer
  25125. - description: 资金账户列表,格式:1,2,3
  25126. in: query
  25127. name: accountIDs
  25128. required: true
  25129. type: string
  25130. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25131. in: query
  25132. name: orderType
  25133. type: integer
  25134. produces:
  25135. - application/json
  25136. responses:
  25137. "200":
  25138. description: OK
  25139. schema:
  25140. $ref: '#/definitions/models.HsbySellMyDetail'
  25141. "500":
  25142. description: Internal Server Error
  25143. schema:
  25144. $ref: '#/definitions/app.Response'
  25145. security:
  25146. - ApiKeyAuth: []
  25147. summary: 查询"我的闲置"单据信息
  25148. tags:
  25149. - 定制【海商报业】
  25150. /HSBY/QueryHsbyTopGoodses:
  25151. get:
  25152. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  25153. parameters:
  25154. - description: 页码
  25155. in: query
  25156. name: page
  25157. type: integer
  25158. - description: 每页条数
  25159. in: query
  25160. name: pagesize
  25161. type: integer
  25162. - description: 市场ID列表,格式:1,2,3
  25163. in: query
  25164. name: marketIDs
  25165. required: true
  25166. type: string
  25167. - description: 目的地(省)ID
  25168. in: query
  25169. name: descProvinceID
  25170. type: integer
  25171. - description: 目的地(市)ID
  25172. in: query
  25173. name: descCityID
  25174. type: integer
  25175. produces:
  25176. - application/json
  25177. responses:
  25178. "200":
  25179. description: OK
  25180. schema:
  25181. $ref: '#/definitions/models.HsbyTopGoods'
  25182. "500":
  25183. description: Internal Server Error
  25184. schema:
  25185. $ref: '#/definitions/app.Response'
  25186. security:
  25187. - ApiKeyAuth: []
  25188. summary: 查询热卖商品列表(二级市场挂牌点选)
  25189. tags:
  25190. - 定制【海商报业】
  25191. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  25192. get:
  25193. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  25194. parameters:
  25195. - description: 商品ID
  25196. in: query
  25197. name: goodsID
  25198. required: true
  25199. type: integer
  25200. produces:
  25201. - application/json
  25202. responses:
  25203. "200":
  25204. description: OK
  25205. schema:
  25206. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25207. "500":
  25208. description: Internal Server Error
  25209. schema:
  25210. $ref: '#/definitions/app.Response'
  25211. security:
  25212. - ApiKeyAuth: []
  25213. summary: 查询游客三级市场(商城)商品信息详情
  25214. tags:
  25215. - 定制【海商报业】
  25216. /HSBY/QueryHsbyVisitorMarketGoodses:
  25217. get:
  25218. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  25219. parameters:
  25220. - description: 页码
  25221. in: query
  25222. name: page
  25223. type: integer
  25224. - description: 每页条数
  25225. in: query
  25226. name: pagesize
  25227. type: integer
  25228. - description: 市场ID列表,格式:1,2,3
  25229. in: query
  25230. name: marketIDs
  25231. required: true
  25232. type: string
  25233. - description: 类别ID
  25234. in: query
  25235. name: categoryID
  25236. type: integer
  25237. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25238. in: query
  25239. name: goodsIDs
  25240. type: string
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. $ref: '#/definitions/models.HsbyMarketGoods'
  25248. "500":
  25249. description: Internal Server Error
  25250. schema:
  25251. $ref: '#/definitions/app.Response'
  25252. security:
  25253. - ApiKeyAuth: []
  25254. summary: 查询游客特卖商品列表(三级商城)
  25255. tags:
  25256. - 定制【海商报业】
  25257. /HSBY/QueryMyCollectionOrders:
  25258. get:
  25259. parameters:
  25260. - description: 页码
  25261. in: query
  25262. name: page
  25263. type: integer
  25264. - description: 每页条数
  25265. in: query
  25266. name: pagesize
  25267. type: integer
  25268. - description: 资金账户,格式:1,2,3
  25269. in: query
  25270. name: accountIDs
  25271. required: true
  25272. type: string
  25273. produces:
  25274. - application/json
  25275. responses:
  25276. "200":
  25277. description: OK
  25278. schema:
  25279. $ref: '#/definitions/models.HsbySellCollectionOrder'
  25280. "500":
  25281. description: Internal Server Error
  25282. schema:
  25283. $ref: '#/definitions/app.Response'
  25284. security:
  25285. - ApiKeyAuth: []
  25286. summary: 我的闲置中收款信息查询
  25287. tags:
  25288. - 定制【海商报业】
  25289. /HSBY/QueryMyCouponHolds:
  25290. get:
  25291. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  25292. parameters:
  25293. - description: 资金账户列表,格式:1,2,3
  25294. in: query
  25295. name: accountIDs
  25296. required: true
  25297. type: string
  25298. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  25299. in: query
  25300. name: holdStatus
  25301. type: string
  25302. produces:
  25303. - application/json
  25304. responses:
  25305. "200":
  25306. description: OK
  25307. schema:
  25308. $ref: '#/definitions/models.MyCouponHold'
  25309. "500":
  25310. description: Internal Server Error
  25311. schema:
  25312. $ref: '#/definitions/app.Response'
  25313. security:
  25314. - ApiKeyAuth: []
  25315. summary: 我的优惠卷持仓查询
  25316. tags:
  25317. - 定制【海商报业】
  25318. /HSBY/QueryMyCoupons:
  25319. get:
  25320. parameters:
  25321. - description: 资金账户列表,格式:1,2,3
  25322. in: query
  25323. name: accountIDs
  25324. required: true
  25325. type: string
  25326. - description: 商品ID, 一般与sellUserID配套传入
  25327. in: query
  25328. name: goodsID
  25329. type: integer
  25330. - description: 卖方UserID
  25331. in: query
  25332. name: sellUserID
  25333. type: integer
  25334. produces:
  25335. - application/json
  25336. responses:
  25337. "200":
  25338. description: OK
  25339. schema:
  25340. $ref: '#/definitions/models.MyCoupon'
  25341. "500":
  25342. description: Internal Server Error
  25343. schema:
  25344. $ref: '#/definitions/app.Response'
  25345. security:
  25346. - ApiKeyAuth: []
  25347. summary: 我的优惠卷查询
  25348. tags:
  25349. - 定制【海商报业】
  25350. /HSBY/QueryMyPayOrders:
  25351. get:
  25352. parameters:
  25353. - description: 页码
  25354. in: query
  25355. name: page
  25356. type: integer
  25357. - description: 每页条数
  25358. in: query
  25359. name: pagesize
  25360. type: integer
  25361. - description: 资金账户列表,格式:1,2,3
  25362. in: query
  25363. name: accountIDs
  25364. required: true
  25365. type: string
  25366. - description: 买方委托单号
  25367. in: query
  25368. name: buyOrderID
  25369. type: integer
  25370. - description: 卖方委托单号
  25371. in: query
  25372. name: sellOrderID
  25373. type: integer
  25374. produces:
  25375. - application/json
  25376. responses:
  25377. "200":
  25378. description: OK
  25379. schema:
  25380. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25381. "500":
  25382. description: Internal Server Error
  25383. schema:
  25384. $ref: '#/definitions/app.Response'
  25385. security:
  25386. - ApiKeyAuth: []
  25387. summary: 获取我的订单中待付款信息
  25388. tags:
  25389. - 定制【海商报业】
  25390. /HSBY/QueryMyUsedCoupon:
  25391. get:
  25392. parameters:
  25393. - description: 资金账户列表,格式:1,2,3
  25394. in: query
  25395. name: accountIDs
  25396. required: true
  25397. type: string
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. $ref: '#/definitions/models.MyUsedCoupon'
  25405. "500":
  25406. description: Internal Server Error
  25407. schema:
  25408. $ref: '#/definitions/app.Response'
  25409. security:
  25410. - ApiKeyAuth: []
  25411. summary: 已使用优惠卷查询
  25412. tags:
  25413. - 定制【海商报业】
  25414. /HSBY/QueryProvincesAndCities:
  25415. get:
  25416. description: 查询结果只包括二级市场商品已关连的省市信息。
  25417. parameters:
  25418. - description: 省ID
  25419. in: query
  25420. name: provinceID
  25421. type: integer
  25422. produces:
  25423. - application/json
  25424. responses:
  25425. "200":
  25426. description: OK
  25427. schema:
  25428. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  25429. "500":
  25430. description: Internal Server Error
  25431. schema:
  25432. $ref: '#/definitions/app.Response'
  25433. security:
  25434. - ApiKeyAuth: []
  25435. summary: 查询省市信息(不包括区)
  25436. tags:
  25437. - 定制【海商报业】
  25438. /HSBY/SetHsbyMyPackagesStatus:
  25439. post:
  25440. parameters:
  25441. - description: 提货单号
  25442. in: query
  25443. name: takeOrderID
  25444. required: true
  25445. type: string
  25446. - description: 资金账号
  25447. in: query
  25448. name: accountID
  25449. required: true
  25450. type: integer
  25451. produces:
  25452. - application/json
  25453. responses:
  25454. "200":
  25455. description: OK
  25456. schema:
  25457. $ref: '#/definitions/app.Response'
  25458. "500":
  25459. description: Internal Server Error
  25460. schema:
  25461. $ref: '#/definitions/app.Response'
  25462. security:
  25463. - ApiKeyAuth: []
  25464. summary: 设置我的包裹已收货状态
  25465. tags:
  25466. - 定制【海商报业】
  25467. /Market/GetAllExExchanges:
  25468. get:
  25469. produces:
  25470. - application/json
  25471. responses:
  25472. "200":
  25473. description: OK
  25474. schema:
  25475. $ref: '#/definitions/models.Goods'
  25476. "500":
  25477. description: Internal Server Error
  25478. schema:
  25479. $ref: '#/definitions/app.Response'
  25480. security:
  25481. - ApiKeyAuth: []
  25482. summary: 获取所有外部交易所信息
  25483. tags:
  25484. - 通用市场
  25485. /Market/QueryGoodsesByLoginID:
  25486. get:
  25487. parameters:
  25488. - description: 登录账号
  25489. in: query
  25490. name: loginID
  25491. required: true
  25492. type: integer
  25493. - description: 市场ID列表,格式:1,2,3
  25494. in: query
  25495. name: marketIDs
  25496. type: string
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. $ref: '#/definitions/models.Goods'
  25504. "500":
  25505. description: Internal Server Error
  25506. schema:
  25507. $ref: '#/definitions/app.Response'
  25508. security:
  25509. - ApiKeyAuth: []
  25510. summary: 获取登录账号有权限的商品信息
  25511. tags:
  25512. - 通用市场
  25513. /Market/QueryMarketRun:
  25514. get:
  25515. parameters:
  25516. - description: 市场ID,不传返回所有
  25517. in: query
  25518. name: marketID
  25519. type: integer
  25520. produces:
  25521. - application/json
  25522. responses:
  25523. "200":
  25524. description: OK
  25525. schema:
  25526. $ref: '#/definitions/models.Marketrun'
  25527. "500":
  25528. description: Internal Server Error
  25529. schema:
  25530. $ref: '#/definitions/app.Response'
  25531. security:
  25532. - ApiKeyAuth: []
  25533. summary: 查询市场运行信息
  25534. tags:
  25535. - 通用市场
  25536. /Market/QueryMarketsByLoginID:
  25537. get:
  25538. parameters:
  25539. - description: 登录账号
  25540. in: query
  25541. name: loginID
  25542. required: true
  25543. type: integer
  25544. produces:
  25545. - application/json
  25546. responses:
  25547. "200":
  25548. description: OK
  25549. schema:
  25550. $ref: '#/definitions/models.Market'
  25551. "500":
  25552. description: Internal Server Error
  25553. schema:
  25554. $ref: '#/definitions/app.Response'
  25555. security:
  25556. - ApiKeyAuth: []
  25557. summary: 获取登录账号有权限的市场信息
  25558. tags:
  25559. - 通用市场
  25560. /Order/QueryHisTradeDetail:
  25561. get:
  25562. parameters:
  25563. - description: 资金账户 - 格式:1,2,3
  25564. in: query
  25565. name: accountID
  25566. required: true
  25567. type: string
  25568. - description: 成交单号
  25569. in: query
  25570. name: tradeID
  25571. type: integer
  25572. - description: 委托单号
  25573. in: query
  25574. name: orderID
  25575. type: integer
  25576. - description: 商品ID
  25577. in: query
  25578. name: goodsID
  25579. type: integer
  25580. - description: 交易模式 - 格式:1,2,3
  25581. in: query
  25582. name: tradeMode
  25583. type: string
  25584. - description: 委托单据类型
  25585. in: query
  25586. name: buildType
  25587. type: integer
  25588. - description: 成交类别 - 格式:1,2,3
  25589. in: query
  25590. name: tradeType
  25591. type: string
  25592. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25593. in: query
  25594. name: startDate
  25595. type: string
  25596. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25597. in: query
  25598. name: endDate
  25599. type: string
  25600. produces:
  25601. - application/json
  25602. responses:
  25603. "200":
  25604. description: OK
  25605. schema:
  25606. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25607. "500":
  25608. description: Internal Server Error
  25609. schema:
  25610. $ref: '#/definitions/app.Response'
  25611. security:
  25612. - ApiKeyAuth: []
  25613. summary: 历史成交单查询(合约市场)
  25614. tags:
  25615. - 通用单据
  25616. /Order/QueryHisTradeOrderDetail:
  25617. get:
  25618. parameters:
  25619. - description: 资金账户 - 格式:1,2,3
  25620. in: query
  25621. name: accountID
  25622. required: true
  25623. type: string
  25624. - description: 交易模式 - 格式:1,2,3
  25625. in: query
  25626. name: tradeMode
  25627. type: string
  25628. - description: 委托状态 - 格式:1,2,3
  25629. in: query
  25630. name: orderStatus
  25631. type: string
  25632. - description: 委托单号
  25633. in: query
  25634. name: orderID
  25635. type: integer
  25636. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25637. in: query
  25638. name: startDate
  25639. type: string
  25640. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25641. in: query
  25642. name: endDate
  25643. type: string
  25644. produces:
  25645. - application/json
  25646. responses:
  25647. "200":
  25648. description: OK
  25649. schema:
  25650. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  25651. "500":
  25652. description: Internal Server Error
  25653. schema:
  25654. $ref: '#/definitions/app.Response'
  25655. security:
  25656. - ApiKeyAuth: []
  25657. summary: 历史委托单查询请求(合约市场)
  25658. tags:
  25659. - 通用单据
  25660. /Order/QueryTradeDetail:
  25661. get:
  25662. parameters:
  25663. - description: 资金账户 - 格式:1,2,3
  25664. in: query
  25665. name: accountID
  25666. required: true
  25667. type: string
  25668. - description: 成交单号
  25669. in: query
  25670. name: tradeID
  25671. type: integer
  25672. - description: 委托单号
  25673. in: query
  25674. name: orderID
  25675. type: integer
  25676. - description: 交易模式 - 格式:1,2,3
  25677. in: query
  25678. name: tradeMode
  25679. type: string
  25680. - description: 委托单据类型
  25681. in: query
  25682. name: buildType
  25683. type: integer
  25684. - description: 成交类别 - 格式:1,2,3
  25685. in: query
  25686. name: tradeType
  25687. type: string
  25688. - description: 商品ID
  25689. in: query
  25690. name: goodsID
  25691. type: integer
  25692. produces:
  25693. - application/json
  25694. responses:
  25695. "200":
  25696. description: OK
  25697. schema:
  25698. $ref: '#/definitions/order.QueryTradeDetailRsp'
  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/QueryTradeHolderDetail:
  25709. get:
  25710. parameters:
  25711. - description: 用户id
  25712. in: query
  25713. name: userid
  25714. type: integer
  25715. - description: 资金账号, 格式 1,2,3
  25716. in: query
  25717. name: accids
  25718. type: string
  25719. - description: 交易模式, 格式 1,2,3
  25720. in: query
  25721. name: trademodes
  25722. type: string
  25723. - description: 市场id, 格式 1,2,3
  25724. in: query
  25725. name: marketids
  25726. type: string
  25727. - description: 商品id
  25728. in: query
  25729. name: goodsid
  25730. type: integer
  25731. - description: 买卖方向 0-买 1-卖
  25732. in: query
  25733. name: buyorsell
  25734. type: integer
  25735. produces:
  25736. - application/json
  25737. responses:
  25738. "200":
  25739. description: OK
  25740. schema:
  25741. items:
  25742. $ref: '#/definitions/models.TradeHolderDetail'
  25743. type: array
  25744. "500":
  25745. description: Internal Server Error
  25746. schema:
  25747. $ref: '#/definitions/app.Response'
  25748. security:
  25749. - ApiKeyAuth: []
  25750. summary: 查询持仓明细
  25751. tags:
  25752. - 通用单据
  25753. /Order/QueryTradeOrderDetail:
  25754. get:
  25755. parameters:
  25756. - description: 资金账户 - 格式:1,2,3
  25757. in: query
  25758. name: accountID
  25759. required: true
  25760. type: string
  25761. - description: 交易模式 - 格式:1,2,3
  25762. in: query
  25763. name: tradeMode
  25764. type: string
  25765. - description: 委托状态 - 格式:1,2,3
  25766. in: query
  25767. name: orderStatus
  25768. type: string
  25769. - description: 委托单号
  25770. in: query
  25771. name: orderID
  25772. type: integer
  25773. produces:
  25774. - application/json
  25775. responses:
  25776. "200":
  25777. description: OK
  25778. schema:
  25779. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25780. "500":
  25781. description: Internal Server Error
  25782. schema:
  25783. $ref: '#/definitions/app.Response'
  25784. security:
  25785. - ApiKeyAuth: []
  25786. summary: 委托单查询请求(合约市场)
  25787. tags:
  25788. - 通用单据
  25789. /Order/QueryTradePosition:
  25790. get:
  25791. parameters:
  25792. - description: 资金账户 - 格式:1,2,3
  25793. in: query
  25794. name: accountID
  25795. required: true
  25796. type: string
  25797. - description: 交易模式 - 格式:1,2,3
  25798. in: query
  25799. name: tradeMode
  25800. type: string
  25801. produces:
  25802. - application/json
  25803. responses:
  25804. "200":
  25805. description: OK
  25806. schema:
  25807. $ref: '#/definitions/order.QueryTradePositionRsp'
  25808. "500":
  25809. description: Internal Server Error
  25810. schema:
  25811. $ref: '#/definitions/app.Response'
  25812. security:
  25813. - ApiKeyAuth: []
  25814. summary: 持仓汇总查询(合约市场)
  25815. tags:
  25816. - 通用单据
  25817. /Qhj/QueryAccountInOutApply:
  25818. get:
  25819. parameters:
  25820. - description: 用户ID
  25821. in: query
  25822. name: userid
  25823. required: true
  25824. type: integer
  25825. - description: 申请起始日期(格式yyyymmdd)
  25826. in: query
  25827. name: begindate
  25828. type: string
  25829. - description: 申请截止日期(格式yyyymmdd)
  25830. in: query
  25831. name: enddate
  25832. type: string
  25833. - description: 模糊搜索名称
  25834. in: query
  25835. name: likename
  25836. type: string
  25837. produces:
  25838. - application/json
  25839. responses:
  25840. "200":
  25841. description: OK
  25842. schema:
  25843. items:
  25844. $ref: '#/definitions/models.QhjAccountOutInApply'
  25845. type: array
  25846. "500":
  25847. description: Internal Server Error
  25848. schema:
  25849. $ref: '#/definitions/app.Response'
  25850. security:
  25851. - ApiKeyAuth: []
  25852. summary: 查询充值提现
  25853. tags:
  25854. - 大连千海金
  25855. /Qhj/QueryAreaFinanceConfig:
  25856. get:
  25857. parameters:
  25858. - description: 机构用户ID 其他做市关系,都设置为 1
  25859. in: query
  25860. name: userid
  25861. type: integer
  25862. produces:
  25863. - application/json
  25864. responses:
  25865. "200":
  25866. description: OK
  25867. schema:
  25868. items:
  25869. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25870. type: array
  25871. "500":
  25872. description: Internal Server Error
  25873. schema:
  25874. $ref: '#/definitions/app.Response'
  25875. security:
  25876. - ApiKeyAuth: []
  25877. summary: 查询企业配置表
  25878. tags:
  25879. - 大连千海金
  25880. /Qhj/QueryBankAccountSign:
  25881. get:
  25882. parameters:
  25883. - description: 用户ID
  25884. in: query
  25885. name: userid
  25886. required: true
  25887. type: integer
  25888. produces:
  25889. - application/json
  25890. responses:
  25891. "200":
  25892. description: OK
  25893. schema:
  25894. items:
  25895. $ref: '#/definitions/models.QhjBankAccountSign'
  25896. type: array
  25897. "500":
  25898. description: Internal Server Error
  25899. schema:
  25900. $ref: '#/definitions/app.Response'
  25901. security:
  25902. - ApiKeyAuth: []
  25903. summary: 查询签约银行信息(提现账户管理)
  25904. tags:
  25905. - 大连千海金
  25906. /Qhj/QueryBankInfo:
  25907. get:
  25908. produces:
  25909. - application/json
  25910. responses:
  25911. "200":
  25912. description: OK
  25913. schema:
  25914. items:
  25915. $ref: '#/definitions/models.QhjBankInfo'
  25916. type: array
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. security:
  25922. - ApiKeyAuth: []
  25923. summary: 查询开户行
  25924. tags:
  25925. - 大连千海金
  25926. /Qhj/QueryBrokerApply:
  25927. get:
  25928. parameters:
  25929. - description: 所属机构ID
  25930. in: query
  25931. name: userid
  25932. type: integer
  25933. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25934. in: query
  25935. name: filterstatus
  25936. type: string
  25937. produces:
  25938. - application/json
  25939. responses:
  25940. "200":
  25941. description: OK
  25942. schema:
  25943. items:
  25944. $ref: '#/definitions/models.QhjBrokerApply'
  25945. type: array
  25946. "500":
  25947. description: Internal Server Error
  25948. schema:
  25949. $ref: '#/definitions/app.Response'
  25950. security:
  25951. - ApiKeyAuth: []
  25952. summary: 查询经纪人申请
  25953. tags:
  25954. - 大连千海金
  25955. /Qhj/QueryBrokerApplyEx:
  25956. get:
  25957. parameters:
  25958. - description: 所属机构ID
  25959. in: query
  25960. name: userid
  25961. type: integer
  25962. produces:
  25963. - application/json
  25964. responses:
  25965. "200":
  25966. description: OK
  25967. schema:
  25968. items:
  25969. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25970. type: array
  25971. "500":
  25972. description: Internal Server Error
  25973. schema:
  25974. $ref: '#/definitions/app.Response'
  25975. security:
  25976. - ApiKeyAuth: []
  25977. summary: 查询经纪人信息和申请记录
  25978. tags:
  25979. - 大连千海金
  25980. /Qhj/QueryBrokerRewardLog:
  25981. get:
  25982. parameters:
  25983. - description: 用户ID
  25984. in: query
  25985. name: userid
  25986. required: true
  25987. type: integer
  25988. - description: 开始交易日(yyyymmdd)
  25989. in: query
  25990. name: begindate
  25991. type: string
  25992. - description: 结束交易日(yyyymmdd)
  25993. in: query
  25994. name: enddate
  25995. type: string
  25996. produces:
  25997. - application/json
  25998. responses:
  25999. "200":
  26000. description: OK
  26001. schema:
  26002. items:
  26003. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26004. type: array
  26005. "500":
  26006. description: Internal Server Error
  26007. schema:
  26008. $ref: '#/definitions/app.Response'
  26009. security:
  26010. - ApiKeyAuth: []
  26011. summary: 查询奖励流水(我的奖励)
  26012. tags:
  26013. - 大连千海金
  26014. /Qhj/QueryContract:
  26015. get:
  26016. parameters:
  26017. - description: 用户ID
  26018. in: query
  26019. name: userid
  26020. type: integer
  26021. - description: scf合同id
  26022. in: query
  26023. name: scfcontractid
  26024. type: integer
  26025. produces:
  26026. - application/json
  26027. responses:
  26028. "200":
  26029. description: OK
  26030. schema:
  26031. items:
  26032. $ref: '#/definitions/models.QhjContract'
  26033. type: array
  26034. "500":
  26035. description: Internal Server Error
  26036. schema:
  26037. $ref: '#/definitions/app.Response'
  26038. security:
  26039. - ApiKeyAuth: []
  26040. summary: 查询融资明细(合同)
  26041. tags:
  26042. - 大连千海金
  26043. /Qhj/QueryContractLog:
  26044. get:
  26045. parameters:
  26046. - description: scf合同id
  26047. in: query
  26048. name: scfcontractid
  26049. required: true
  26050. type: integer
  26051. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26052. in: query
  26053. name: amounttype
  26054. type: string
  26055. produces:
  26056. - application/json
  26057. responses:
  26058. "200":
  26059. description: OK
  26060. schema:
  26061. items:
  26062. $ref: '#/definitions/models.QhjContractLog'
  26063. type: array
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 查询融资明细流水(融资明细详情页中的流水)
  26071. tags:
  26072. - 大连千海金
  26073. /Qhj/QueryCusBankSignBank:
  26074. get:
  26075. produces:
  26076. - application/json
  26077. responses:
  26078. "200":
  26079. description: OK
  26080. schema:
  26081. items:
  26082. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26083. type: array
  26084. "500":
  26085. description: Internal Server Error
  26086. schema:
  26087. $ref: '#/definitions/app.Response'
  26088. security:
  26089. - ApiKeyAuth: []
  26090. summary: 查询托管银行
  26091. tags:
  26092. - 大连千海金
  26093. /Qhj/QueryCustomerInfo:
  26094. get:
  26095. parameters:
  26096. - description: 用户ID
  26097. in: query
  26098. name: userid
  26099. required: true
  26100. type: integer
  26101. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26102. in: query
  26103. name: querytype
  26104. required: true
  26105. type: integer
  26106. - description: 客户类型 1-个人 2-企业
  26107. in: query
  26108. name: userinfotype
  26109. type: integer
  26110. - description: 客户名称(模糊匹配)
  26111. in: query
  26112. name: customername
  26113. type: string
  26114. - description: 昵称(模糊匹配)
  26115. in: query
  26116. name: nickname
  26117. type: string
  26118. - description: 是否包含子级 1-包含
  26119. in: query
  26120. name: includesub
  26121. type: integer
  26122. produces:
  26123. - application/json
  26124. responses:
  26125. "200":
  26126. description: OK
  26127. schema:
  26128. items:
  26129. $ref: '#/definitions/models.QhjCustomer'
  26130. type: array
  26131. "500":
  26132. description: Internal Server Error
  26133. schema:
  26134. $ref: '#/definitions/app.Response'
  26135. security:
  26136. - ApiKeyAuth: []
  26137. summary: 查询客户资料
  26138. tags:
  26139. - 大连千海金
  26140. /Qhj/QueryGoodsEx:
  26141. get:
  26142. parameters:
  26143. - description: 商品id
  26144. in: query
  26145. name: goodsid
  26146. type: integer
  26147. produces:
  26148. - application/json
  26149. responses:
  26150. "200":
  26151. description: OK
  26152. schema:
  26153. items:
  26154. $ref: '#/definitions/models.Qhjgoodsex'
  26155. type: array
  26156. "500":
  26157. description: Internal Server Error
  26158. schema:
  26159. $ref: '#/definitions/app.Response'
  26160. security:
  26161. - ApiKeyAuth: []
  26162. summary: 交易商品扩展表
  26163. tags:
  26164. - 大连千海金
  26165. /Qhj/QueryMyTeam:
  26166. get:
  26167. parameters:
  26168. - description: 用户ID
  26169. in: query
  26170. name: userid
  26171. required: true
  26172. type: integer
  26173. produces:
  26174. - application/json
  26175. responses:
  26176. "200":
  26177. description: OK
  26178. schema:
  26179. items:
  26180. $ref: '#/definitions/models.QhjMyTeamEx'
  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/QueryMyTeamOrder:
  26192. get:
  26193. parameters:
  26194. - description: 页码
  26195. in: query
  26196. name: page
  26197. type: integer
  26198. - description: 每页条数
  26199. in: query
  26200. name: pagesize
  26201. type: integer
  26202. - description: 用户ID
  26203. in: query
  26204. name: userid
  26205. required: true
  26206. type: integer
  26207. - description: 交易模式
  26208. in: query
  26209. name: trademode
  26210. type: integer
  26211. - description: 名称(模糊搜索账户)
  26212. in: query
  26213. name: filtername
  26214. type: string
  26215. produces:
  26216. - application/json
  26217. responses:
  26218. "200":
  26219. description: OK
  26220. schema:
  26221. items:
  26222. $ref: '#/definitions/models.QhjTeamOrder'
  26223. type: array
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. security:
  26229. - ApiKeyAuth: []
  26230. summary: 查询团队订单(我的团队/团队订单)
  26231. tags:
  26232. - 大连千海金
  26233. /Qhj/QueryParentAreaList:
  26234. get:
  26235. parameters:
  26236. - description: 用户ID
  26237. in: query
  26238. name: userid
  26239. required: true
  26240. type: integer
  26241. produces:
  26242. - application/json
  26243. responses:
  26244. "200":
  26245. description: OK
  26246. schema:
  26247. items:
  26248. $ref: '#/definitions/models.QhjParentAreaList'
  26249. type: array
  26250. "500":
  26251. description: Internal Server Error
  26252. schema:
  26253. $ref: '#/definitions/app.Response'
  26254. security:
  26255. - ApiKeyAuth: []
  26256. summary: 查询所属机构列表
  26257. tags:
  26258. - 大连千海金
  26259. /Qhj/QueryPayOrder:
  26260. get:
  26261. parameters:
  26262. - description: 资金账号id
  26263. in: query
  26264. name: accountid
  26265. required: true
  26266. type: integer
  26267. - description: 成交单号
  26268. in: query
  26269. name: tradeid
  26270. type: integer
  26271. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26272. in: query
  26273. name: payflag
  26274. type: string
  26275. produces:
  26276. - application/json
  26277. responses:
  26278. "200":
  26279. description: OK
  26280. schema:
  26281. items:
  26282. $ref: '#/definitions/models.QhjPayOrder'
  26283. type: array
  26284. "500":
  26285. description: Internal Server Error
  26286. schema:
  26287. $ref: '#/definitions/app.Response'
  26288. security:
  26289. - ApiKeyAuth: []
  26290. summary: 查询待付款单据
  26291. tags:
  26292. - 大连千海金
  26293. /Qhj/QueryPickArea:
  26294. get:
  26295. parameters:
  26296. - description: 用户ID
  26297. in: query
  26298. name: userid
  26299. type: integer
  26300. produces:
  26301. - application/json
  26302. responses:
  26303. "200":
  26304. description: OK
  26305. schema:
  26306. items:
  26307. $ref: '#/definitions/models.QhjPickArea'
  26308. type: array
  26309. "500":
  26310. description: Internal Server Error
  26311. schema:
  26312. $ref: '#/definitions/app.Response'
  26313. security:
  26314. - ApiKeyAuth: []
  26315. summary: 查询提货门店
  26316. tags:
  26317. - 大连千海金
  26318. /Qhj/QueryPickGoods:
  26319. get:
  26320. parameters:
  26321. - description: 交易商品id
  26322. in: query
  26323. name: goodsid
  26324. required: true
  26325. type: integer
  26326. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26327. in: query
  26328. name: status
  26329. type: string
  26330. produces:
  26331. - application/json
  26332. responses:
  26333. "200":
  26334. description: OK
  26335. schema:
  26336. items:
  26337. $ref: '#/definitions/models.QhjPickGoods'
  26338. type: array
  26339. "500":
  26340. description: Internal Server Error
  26341. schema:
  26342. $ref: '#/definitions/app.Response'
  26343. security:
  26344. - ApiKeyAuth: []
  26345. summary: 查询提货商品
  26346. tags:
  26347. - 大连千海金
  26348. /Qhj/QueryRSTriggerLog:
  26349. get:
  26350. parameters:
  26351. - description: 用户ID
  26352. in: query
  26353. name: userid
  26354. type: integer
  26355. - description: 定投策略id
  26356. in: query
  26357. name: regularlystrategyid
  26358. type: integer
  26359. - description: 商品id
  26360. in: query
  26361. name: goodsid
  26362. type: integer
  26363. - description: 开始交易日(yyyymmdd)
  26364. in: query
  26365. name: begindate
  26366. type: string
  26367. - description: 结束交易日(yyyymmdd)
  26368. in: query
  26369. name: enddate
  26370. type: string
  26371. - description: 名称(模糊搜索账户)
  26372. in: query
  26373. name: filtername
  26374. type: string
  26375. produces:
  26376. - application/json
  26377. responses:
  26378. "200":
  26379. description: OK
  26380. schema:
  26381. items:
  26382. $ref: '#/definitions/models.QhjRSTriggerLog'
  26383. type: array
  26384. "500":
  26385. description: Internal Server Error
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. security:
  26389. - ApiKeyAuth: []
  26390. summary: 查询定投记录(定投管理/详情/定投记录)
  26391. tags:
  26392. - 大连千海金
  26393. /Qhj/QueryRStrategy:
  26394. get:
  26395. parameters:
  26396. - description: 用户ID
  26397. in: query
  26398. name: userid
  26399. type: integer
  26400. - description: 商品id
  26401. in: query
  26402. name: goodsid
  26403. type: integer
  26404. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  26405. in: query
  26406. name: status
  26407. type: string
  26408. - description: 名称(模糊搜索账户)
  26409. in: query
  26410. name: filtername
  26411. type: string
  26412. produces:
  26413. - application/json
  26414. responses:
  26415. "200":
  26416. description: OK
  26417. schema:
  26418. items:
  26419. $ref: '#/definitions/models.QhjRStrategy'
  26420. type: array
  26421. "500":
  26422. description: Internal Server Error
  26423. schema:
  26424. $ref: '#/definitions/app.Response'
  26425. security:
  26426. - ApiKeyAuth: []
  26427. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  26428. tags:
  26429. - 大连千海金
  26430. /Qhj/QueryReckonPriceLog:
  26431. get:
  26432. parameters:
  26433. - description: 商品ID
  26434. in: query
  26435. name: goodsid
  26436. type: integer
  26437. - description: 交易日 格式(yyyymmdd)
  26438. in: query
  26439. name: tradedate
  26440. type: string
  26441. produces:
  26442. - application/json
  26443. responses:
  26444. "200":
  26445. description: OK
  26446. schema:
  26447. items:
  26448. $ref: '#/definitions/models.QhjReckonPriceLog'
  26449. type: array
  26450. "500":
  26451. description: Internal Server Error
  26452. schema:
  26453. $ref: '#/definitions/app.Response'
  26454. security:
  26455. - ApiKeyAuth: []
  26456. summary: 查询定投价(结算价)
  26457. tags:
  26458. - 大连千海金
  26459. /Qhj/QueryScoreLog:
  26460. get:
  26461. parameters:
  26462. - description: 用户ID
  26463. in: query
  26464. name: userid
  26465. required: true
  26466. type: integer
  26467. - description: 开始交易日(yyyymmdd)
  26468. in: query
  26469. name: begindate
  26470. type: string
  26471. - description: 结束交易日(yyyymmdd)
  26472. in: query
  26473. name: enddate
  26474. type: string
  26475. - description: 最近多少条
  26476. in: query
  26477. name: lastnum
  26478. type: integer
  26479. produces:
  26480. - application/json
  26481. responses:
  26482. "200":
  26483. description: OK
  26484. schema:
  26485. items:
  26486. $ref: '#/definitions/models.QhjScoreLog'
  26487. type: array
  26488. "500":
  26489. description: Internal Server Error
  26490. schema:
  26491. $ref: '#/definitions/app.Response'
  26492. security:
  26493. - ApiKeyAuth: []
  26494. summary: 查询积分流水(我的积分)
  26495. tags:
  26496. - 大连千海金
  26497. /Qhj/QuerySiteColumnDetail:
  26498. get:
  26499. parameters:
  26500. - description: 用户ID
  26501. in: query
  26502. name: userid
  26503. required: true
  26504. type: integer
  26505. produces:
  26506. - application/json
  26507. responses:
  26508. "200":
  26509. description: OK
  26510. schema:
  26511. items:
  26512. $ref: '#/definitions/models.QhjSiteColumnDetail'
  26513. type: array
  26514. "500":
  26515. description: Internal Server Error
  26516. schema:
  26517. $ref: '#/definitions/app.Response'
  26518. security:
  26519. - ApiKeyAuth: []
  26520. summary: 查询资讯
  26521. tags:
  26522. - 大连千海金
  26523. /Qhj/QueryTradeGoodsPickup:
  26524. get:
  26525. parameters:
  26526. - description: 用户ID
  26527. in: query
  26528. name: userid
  26529. required: true
  26530. type: integer
  26531. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26532. 7:已拒绝 8:已撤销
  26533. in: query
  26534. name: takeorderstatus
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. items:
  26543. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26544. type: array
  26545. "500":
  26546. description: Internal Server Error
  26547. schema:
  26548. $ref: '#/definitions/app.Response'
  26549. security:
  26550. - ApiKeyAuth: []
  26551. summary: 查询提货
  26552. tags:
  26553. - 大连千海金
  26554. /Qhj/QueryUserCollectConfig:
  26555. get:
  26556. parameters:
  26557. - description: 用户ID
  26558. in: query
  26559. name: userid
  26560. required: true
  26561. type: integer
  26562. produces:
  26563. - application/json
  26564. responses:
  26565. "200":
  26566. description: OK
  26567. schema:
  26568. items:
  26569. $ref: '#/definitions/models.UserCollectConfig'
  26570. type: array
  26571. "500":
  26572. description: Internal Server Error
  26573. schema:
  26574. $ref: '#/definitions/app.Response'
  26575. security:
  26576. - ApiKeyAuth: []
  26577. summary: 查询提现账户设置
  26578. tags:
  26579. - 大连千海金
  26580. /Qhj/QueryUserReceiveInfo:
  26581. get:
  26582. parameters:
  26583. - description: 用户ID
  26584. in: query
  26585. name: userid
  26586. required: true
  26587. type: integer
  26588. produces:
  26589. - application/json
  26590. responses:
  26591. "200":
  26592. description: OK
  26593. schema:
  26594. items:
  26595. $ref: '#/definitions/models.UserReceiveInfo'
  26596. type: array
  26597. "500":
  26598. description: Internal Server Error
  26599. schema:
  26600. $ref: '#/definitions/app.Response'
  26601. security:
  26602. - ApiKeyAuth: []
  26603. summary: 查询收货地址信息
  26604. tags:
  26605. - 大连千海金
  26606. /QhjMgr/QueryAccountInOutApply:
  26607. get:
  26608. parameters:
  26609. - description: 查询类型 1-提现(出金) 2-充值(出金)
  26610. in: query
  26611. name: querytype
  26612. required: true
  26613. type: integer
  26614. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  26615. in: query
  26616. name: applystatus
  26617. type: integer
  26618. - description: 申请起始日期(格式yyyymmdd)
  26619. in: query
  26620. name: begindate
  26621. type: string
  26622. - description: 申请截止日期(格式yyyymmdd)
  26623. in: query
  26624. name: enddate
  26625. type: string
  26626. - description: 模糊搜索名称
  26627. in: query
  26628. name: likename
  26629. type: string
  26630. produces:
  26631. - application/json
  26632. responses:
  26633. "200":
  26634. description: OK
  26635. schema:
  26636. items:
  26637. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  26638. type: array
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. security:
  26644. - ApiKeyAuth: []
  26645. summary: 查询充值提现
  26646. tags:
  26647. - 大连千海金(PCWeb)
  26648. /QhjMgr/QueryBrokerApply:
  26649. get:
  26650. parameters:
  26651. - description: 所属机构ID
  26652. in: query
  26653. name: userid
  26654. type: integer
  26655. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26656. in: query
  26657. name: filterstatus
  26658. type: string
  26659. - description: 名称(模糊匹配)
  26660. in: query
  26661. name: filtername
  26662. type: string
  26663. - description: 是否包含子级 1-包含
  26664. in: query
  26665. name: includesub
  26666. type: integer
  26667. produces:
  26668. - application/json
  26669. responses:
  26670. "200":
  26671. description: OK
  26672. schema:
  26673. items:
  26674. $ref: '#/definitions/models.QhjMgrBrokerApply'
  26675. type: array
  26676. "500":
  26677. description: Internal Server Error
  26678. schema:
  26679. $ref: '#/definitions/app.Response'
  26680. security:
  26681. - ApiKeyAuth: []
  26682. summary: 查询经纪人申请
  26683. tags:
  26684. - 大连千海金(PCWeb)
  26685. /QhjMgr/QueryBrokerRewardReport:
  26686. get:
  26687. parameters:
  26688. - description: 所属机构ID
  26689. in: query
  26690. name: userid
  26691. required: true
  26692. type: integer
  26693. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26694. in: query
  26695. name: cycletype
  26696. required: true
  26697. type: integer
  26698. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  26699. in: query
  26700. name: cycletime
  26701. required: true
  26702. type: string
  26703. - description: 名称(模糊匹配)
  26704. in: query
  26705. name: filtername
  26706. type: string
  26707. - description: 是否包含子级 1-包含
  26708. in: query
  26709. name: includesub
  26710. type: integer
  26711. produces:
  26712. - application/json
  26713. responses:
  26714. "200":
  26715. description: OK
  26716. schema:
  26717. items:
  26718. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  26719. type: array
  26720. "500":
  26721. description: Internal Server Error
  26722. schema:
  26723. $ref: '#/definitions/app.Response'
  26724. security:
  26725. - ApiKeyAuth: []
  26726. summary: 查询经纪人奖励报表(废弃)
  26727. tags:
  26728. - 大连千海金(PCWeb)
  26729. /QhjMgr/QueryContract:
  26730. get:
  26731. parameters:
  26732. - description: 用户ID
  26733. in: query
  26734. name: userid
  26735. type: integer
  26736. - description: 商品id
  26737. in: query
  26738. name: goodsid
  26739. type: integer
  26740. - description: 名称(模糊搜索账户)
  26741. in: query
  26742. name: filtername
  26743. type: string
  26744. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  26745. in: query
  26746. name: risklevel
  26747. type: string
  26748. - description: 开始交易日(yyyymmdd)
  26749. in: query
  26750. name: begindate
  26751. type: string
  26752. - description: 结束交易日(yyyymmdd)
  26753. in: query
  26754. name: enddate
  26755. type: string
  26756. produces:
  26757. - application/json
  26758. responses:
  26759. "200":
  26760. description: OK
  26761. schema:
  26762. items:
  26763. $ref: '#/definitions/models.QhjMgrContract'
  26764. type: array
  26765. "500":
  26766. description: Internal Server Error
  26767. schema:
  26768. $ref: '#/definitions/app.Response'
  26769. security:
  26770. - ApiKeyAuth: []
  26771. summary: 查询融资信息(合同)
  26772. tags:
  26773. - 大连千海金(PCWeb)
  26774. /QhjMgr/QueryCustomerInfo:
  26775. get:
  26776. parameters:
  26777. - description: 用户ID
  26778. in: query
  26779. name: userid
  26780. required: true
  26781. type: integer
  26782. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26783. in: query
  26784. name: querytype
  26785. required: true
  26786. type: integer
  26787. - description: 客户类型 1-个人 2-企业
  26788. in: query
  26789. name: userinfotype
  26790. type: integer
  26791. - description: 客户名称(模糊匹配)
  26792. in: query
  26793. name: customername
  26794. type: string
  26795. - description: 昵称(模糊匹配)
  26796. in: query
  26797. name: nickname
  26798. type: string
  26799. - description: 所属客户经理(模糊匹配)
  26800. in: query
  26801. name: brokername
  26802. type: string
  26803. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26804. 如0503 -5月3日)
  26805. in: query
  26806. name: birthday
  26807. type: string
  26808. - description: 是否包含子级 1-包含
  26809. in: query
  26810. name: includesub
  26811. type: integer
  26812. produces:
  26813. - application/json
  26814. responses:
  26815. "200":
  26816. description: OK
  26817. schema:
  26818. items:
  26819. $ref: '#/definitions/models.QhjMgrCustomer'
  26820. type: array
  26821. "500":
  26822. description: Internal Server Error
  26823. schema:
  26824. $ref: '#/definitions/app.Response'
  26825. security:
  26826. - ApiKeyAuth: []
  26827. summary: 查询客户资料
  26828. tags:
  26829. - 大连千海金(PCWeb)
  26830. /QhjMgr/QueryPickGoods:
  26831. get:
  26832. parameters:
  26833. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26834. in: query
  26835. name: status
  26836. type: string
  26837. produces:
  26838. - application/json
  26839. responses:
  26840. "200":
  26841. description: OK
  26842. schema:
  26843. items:
  26844. $ref: '#/definitions/models.QhjMgrPickGoods'
  26845. type: array
  26846. "500":
  26847. description: Internal Server Error
  26848. schema:
  26849. $ref: '#/definitions/app.Response'
  26850. security:
  26851. - ApiKeyAuth: []
  26852. summary: 查询提货商品
  26853. tags:
  26854. - 大连千海金(PCWeb)
  26855. /QhjMgr/QuerySubArea:
  26856. get:
  26857. parameters:
  26858. - description: 用户ID
  26859. in: query
  26860. name: userid
  26861. required: true
  26862. type: integer
  26863. produces:
  26864. - application/json
  26865. responses:
  26866. "200":
  26867. description: OK
  26868. schema:
  26869. items:
  26870. $ref: '#/definitions/models.QhjMgrSubArea'
  26871. type: array
  26872. "500":
  26873. description: Internal Server Error
  26874. schema:
  26875. $ref: '#/definitions/app.Response'
  26876. security:
  26877. - ApiKeyAuth: []
  26878. summary: 查询子机构列表
  26879. tags:
  26880. - 大连千海金(PCWeb)
  26881. /QhjMgr/QueryTradeDetail:
  26882. get:
  26883. parameters:
  26884. - description: 用户ID
  26885. in: query
  26886. name: userid
  26887. required: true
  26888. type: integer
  26889. - description: 用户类型 1-个人 2-企业
  26890. in: query
  26891. name: userinfotype
  26892. type: integer
  26893. - description: 交易模式
  26894. in: query
  26895. name: trademode
  26896. type: integer
  26897. - description: 商品id
  26898. in: query
  26899. name: goodsid
  26900. type: integer
  26901. - description: 名称(模糊搜索账户)
  26902. in: query
  26903. name: filtername
  26904. type: string
  26905. - description: 开始交易日(yyyymmdd)
  26906. in: query
  26907. name: begindate
  26908. type: string
  26909. - description: 结束交易日(yyyymmdd)
  26910. in: query
  26911. name: enddate
  26912. type: string
  26913. - description: 是否包含子级 1-包含
  26914. in: query
  26915. name: includesub
  26916. type: integer
  26917. produces:
  26918. - application/json
  26919. responses:
  26920. "200":
  26921. description: OK
  26922. schema:
  26923. items:
  26924. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26925. type: array
  26926. "500":
  26927. description: Internal Server Error
  26928. schema:
  26929. $ref: '#/definitions/app.Response'
  26930. security:
  26931. - ApiKeyAuth: []
  26932. summary: 查询成交明细
  26933. tags:
  26934. - 大连千海金(PCWeb)
  26935. /QhjMgr/QueryTradeOrderDetail:
  26936. get:
  26937. parameters:
  26938. - description: 用户ID
  26939. in: query
  26940. name: userid
  26941. required: true
  26942. type: integer
  26943. - description: 用户类型 1-个人 2-企业
  26944. in: query
  26945. name: userinfotype
  26946. type: integer
  26947. - description: 交易模式
  26948. in: query
  26949. name: trademode
  26950. type: integer
  26951. - description: 商品id
  26952. in: query
  26953. name: goodsid
  26954. type: integer
  26955. - description: 名称(模糊搜索账户)
  26956. in: query
  26957. name: filtername
  26958. type: string
  26959. - description: 开始交易日(yyyymmdd)
  26960. in: query
  26961. name: begindate
  26962. type: string
  26963. - description: 结束交易日(yyyymmdd)
  26964. in: query
  26965. name: enddate
  26966. type: string
  26967. - description: 是否包含子级 1-包含
  26968. in: query
  26969. name: includesub
  26970. type: integer
  26971. produces:
  26972. - application/json
  26973. responses:
  26974. "200":
  26975. description: OK
  26976. schema:
  26977. items:
  26978. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26979. type: array
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 查询委托明细
  26987. tags:
  26988. - 大连千海金(PCWeb)
  26989. /QhjMgr/QueryTradePayOrder:
  26990. get:
  26991. parameters:
  26992. - description: 用户ID
  26993. in: query
  26994. name: userid
  26995. required: true
  26996. type: integer
  26997. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26998. in: query
  26999. name: payflag
  27000. type: string
  27001. - description: 用户类型 1-个人 2-企业
  27002. in: query
  27003. name: userinfotype
  27004. type: integer
  27005. - description: 交易模式
  27006. in: query
  27007. name: trademode
  27008. type: integer
  27009. - description: 商品id
  27010. in: query
  27011. name: goodsid
  27012. type: integer
  27013. - description: 名称(模糊搜索账户)
  27014. in: query
  27015. name: filtername
  27016. type: string
  27017. - description: 开始交易日(yyyymmdd)
  27018. in: query
  27019. name: begindate
  27020. type: string
  27021. - description: 结束交易日(yyyymmdd)
  27022. in: query
  27023. name: enddate
  27024. type: string
  27025. - description: 是否包含子级 1-包含
  27026. in: query
  27027. name: includesub
  27028. type: integer
  27029. produces:
  27030. - application/json
  27031. responses:
  27032. "200":
  27033. description: OK
  27034. schema:
  27035. items:
  27036. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27037. type: array
  27038. "500":
  27039. description: Internal Server Error
  27040. schema:
  27041. $ref: '#/definitions/app.Response'
  27042. security:
  27043. - ApiKeyAuth: []
  27044. summary: 查询待付款单
  27045. tags:
  27046. - 大连千海金(PCWeb)
  27047. /QhjMgr/QueryTradePosition:
  27048. get:
  27049. parameters:
  27050. - description: 用户ID
  27051. in: query
  27052. name: userid
  27053. required: true
  27054. type: integer
  27055. - description: 用户类型 1-个人 2-企业
  27056. in: query
  27057. name: userinfotype
  27058. type: integer
  27059. - description: 交易模式
  27060. in: query
  27061. name: trademode
  27062. type: integer
  27063. - description: 商品id
  27064. in: query
  27065. name: goodsid
  27066. type: integer
  27067. - description: 名称(模糊搜索账户)
  27068. in: query
  27069. name: filtername
  27070. type: string
  27071. - description: 是否包含子级 1-包含
  27072. in: query
  27073. name: includesub
  27074. type: integer
  27075. produces:
  27076. - application/json
  27077. responses:
  27078. "200":
  27079. description: OK
  27080. schema:
  27081. items:
  27082. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27083. type: array
  27084. "500":
  27085. description: Internal Server Error
  27086. schema:
  27087. $ref: '#/definitions/app.Response'
  27088. security:
  27089. - ApiKeyAuth: []
  27090. summary: 查询持仓汇总
  27091. tags:
  27092. - 大连千海金(PCWeb)
  27093. /QhjSys/QueryAgreementChangeLog:
  27094. get:
  27095. parameters:
  27096. - description: 协议ID
  27097. in: query
  27098. name: agreementid
  27099. type: integer
  27100. - description: 协议版本号
  27101. in: query
  27102. name: agreementversion
  27103. type: integer
  27104. - description: 协议类型 - 1:注册 2:登录 3:交易
  27105. in: query
  27106. name: agreementtype
  27107. type: integer
  27108. - description: 协议编号(模糊匹配)
  27109. in: query
  27110. name: agreementno
  27111. type: string
  27112. - description: 协议名称(模糊匹配)
  27113. in: query
  27114. name: agreementname
  27115. type: string
  27116. produces:
  27117. - application/json
  27118. responses:
  27119. "200":
  27120. description: OK
  27121. schema:
  27122. items:
  27123. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27124. type: array
  27125. "500":
  27126. description: Internal Server Error
  27127. schema:
  27128. $ref: '#/definitions/app.Response'
  27129. security:
  27130. - ApiKeyAuth: []
  27131. summary: 查询协议配置变更流水
  27132. tags:
  27133. - 大连千海金(协议和签约信息)
  27134. /QhjSys/QueryAgreementConfig:
  27135. get:
  27136. parameters:
  27137. - description: 协议ID
  27138. in: query
  27139. name: agreementid
  27140. type: integer
  27141. - description: 协议版本号
  27142. in: query
  27143. name: agreementversion
  27144. type: integer
  27145. - description: 协议类型 - 1:注册 2:登录 3:交易
  27146. in: query
  27147. name: agreementtype
  27148. type: integer
  27149. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  27150. in: query
  27151. name: isvalid
  27152. type: integer
  27153. - description: 协议编号(模糊匹配)
  27154. in: query
  27155. name: agreementno
  27156. type: string
  27157. - description: 协议名称(模糊匹配)
  27158. in: query
  27159. name: agreementname
  27160. type: string
  27161. produces:
  27162. - application/json
  27163. responses:
  27164. "200":
  27165. description: OK
  27166. schema:
  27167. items:
  27168. $ref: '#/definitions/models.QhjAgreementConfig'
  27169. type: array
  27170. "500":
  27171. description: Internal Server Error
  27172. schema:
  27173. $ref: '#/definitions/app.Response'
  27174. security:
  27175. - ApiKeyAuth: []
  27176. summary: 查询协议配置
  27177. tags:
  27178. - 大连千海金(协议和签约信息)
  27179. /QhjSys/QueryCustomerSignStatus:
  27180. get:
  27181. parameters:
  27182. - description: 客户ID
  27183. in: query
  27184. name: userid
  27185. type: integer
  27186. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  27187. in: query
  27188. name: nodetype
  27189. type: integer
  27190. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27191. in: query
  27192. name: goodsid
  27193. type: integer
  27194. - description: 创建交易日(yyyyMMdd)
  27195. in: query
  27196. name: tradedate
  27197. type: string
  27198. - description: 用户名称(模糊匹配)
  27199. in: query
  27200. name: username
  27201. type: string
  27202. produces:
  27203. - application/json
  27204. responses:
  27205. "200":
  27206. description: OK
  27207. schema:
  27208. items:
  27209. $ref: '#/definitions/models.QhjCustomerSignStatus'
  27210. type: array
  27211. "500":
  27212. description: Internal Server Error
  27213. schema:
  27214. $ref: '#/definitions/app.Response'
  27215. security:
  27216. - ApiKeyAuth: []
  27217. summary: 查询客户协议签约状态
  27218. tags:
  27219. - 大连千海金(协议和签约信息)
  27220. /QhjSys/QueryNodeAgreementConfig:
  27221. get:
  27222. parameters:
  27223. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27224. in: query
  27225. name: configid
  27226. type: integer
  27227. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27228. in: query
  27229. name: nodetype
  27230. type: integer
  27231. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27232. in: query
  27233. name: goodsid
  27234. type: integer
  27235. - description: 协议ID
  27236. in: query
  27237. name: agreementid
  27238. type: integer
  27239. - description: 协议类型 - 1:注册 2:登录 3:交易
  27240. in: query
  27241. name: agreementtype
  27242. type: integer
  27243. - description: 协议版本号
  27244. in: query
  27245. name: agreementversion
  27246. type: integer
  27247. - description: 协议编号(模糊匹配)
  27248. in: query
  27249. name: agreementno
  27250. type: string
  27251. - description: 协议名称(模糊匹配)
  27252. in: query
  27253. name: agreementname
  27254. type: string
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. items:
  27262. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  27263. type: array
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 查询协议节点配置
  27271. tags:
  27272. - 大连千海金(协议和签约信息)
  27273. /QhjSys/QueryQhjCustomerSignLog:
  27274. get:
  27275. parameters:
  27276. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  27277. in: query
  27278. name: logid
  27279. type: integer
  27280. - description: 客户ID
  27281. in: query
  27282. name: userid
  27283. type: integer
  27284. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27285. in: query
  27286. name: nodetype
  27287. type: integer
  27288. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27289. in: query
  27290. name: goodsid
  27291. type: integer
  27292. - description: 协议ID
  27293. in: query
  27294. name: agreementid
  27295. type: integer
  27296. - description: 用户名称(模糊匹配)
  27297. in: query
  27298. name: username
  27299. type: string
  27300. - description: 协议编号(模糊匹配)
  27301. in: query
  27302. name: agreementno
  27303. type: string
  27304. - description: 协议名称(模糊匹配)
  27305. in: query
  27306. name: agreementname
  27307. type: string
  27308. produces:
  27309. - application/json
  27310. responses:
  27311. "200":
  27312. description: OK
  27313. schema:
  27314. items:
  27315. $ref: '#/definitions/models.QhjCustomerSignLog'
  27316. type: array
  27317. "500":
  27318. description: Internal Server Error
  27319. schema:
  27320. $ref: '#/definitions/app.Response'
  27321. security:
  27322. - ApiKeyAuth: []
  27323. summary: 查询客户协议签约流水
  27324. tags:
  27325. - 大连千海金(协议和签约信息)
  27326. /QhjSys/QueryUserNodeCfgAndStatus:
  27327. get:
  27328. parameters:
  27329. - description: 客户ID
  27330. in: query
  27331. name: userid
  27332. type: integer
  27333. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27334. in: query
  27335. name: configid
  27336. type: integer
  27337. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27338. in: query
  27339. name: nodetype
  27340. type: string
  27341. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27342. in: query
  27343. name: goodsid
  27344. type: integer
  27345. - description: 协议ID
  27346. in: query
  27347. name: agreementid
  27348. type: integer
  27349. - description: 协议类型 - 1:注册 2:登录 3:交易
  27350. in: query
  27351. name: agreementtype
  27352. type: integer
  27353. - description: 协议版本号
  27354. in: query
  27355. name: agreementversion
  27356. type: integer
  27357. - description: 协议编号(模糊匹配)
  27358. in: query
  27359. name: agreementno
  27360. type: string
  27361. - description: 协议名称(模糊匹配)
  27362. in: query
  27363. name: agreementname
  27364. type: string
  27365. produces:
  27366. - application/json
  27367. responses:
  27368. "200":
  27369. description: OK
  27370. schema:
  27371. items:
  27372. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27373. type: array
  27374. "500":
  27375. description: Internal Server Error
  27376. schema:
  27377. $ref: '#/definitions/app.Response'
  27378. security:
  27379. - ApiKeyAuth: []
  27380. summary: 查询用户协议节点配置和状态
  27381. tags:
  27382. - 大连千海金(协议和签约信息)
  27383. /Quote/QueryHistoryDatas:
  27384. get:
  27385. parameters:
  27386. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27387. 日线 12:周线 13:月线 14:年线'
  27388. in: query
  27389. name: cycleType
  27390. required: true
  27391. type: integer
  27392. - description: 商品代码
  27393. in: query
  27394. name: goodsCode
  27395. required: true
  27396. type: string
  27397. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27398. in: query
  27399. name: startTime
  27400. type: string
  27401. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27402. in: query
  27403. name: endTime
  27404. type: string
  27405. - description: 条数
  27406. in: query
  27407. name: count
  27408. type: integer
  27409. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27410. in: query
  27411. name: isAsc
  27412. type: boolean
  27413. produces:
  27414. - application/json
  27415. responses:
  27416. "200":
  27417. description: OK
  27418. schema:
  27419. $ref: '#/definitions/quote.HistoryData'
  27420. "500":
  27421. description: Internal Server Error
  27422. schema:
  27423. $ref: '#/definitions/app.Response'
  27424. security:
  27425. - ApiKeyAuth: []
  27426. summary: 查询行情历史数据
  27427. tags:
  27428. - 行情服务
  27429. /Quote/QueryHistoryTikDatas:
  27430. get:
  27431. parameters:
  27432. - description: 商品代码
  27433. in: query
  27434. name: goodsCode
  27435. required: true
  27436. type: string
  27437. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27438. in: query
  27439. name: startTime
  27440. type: string
  27441. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27442. in: query
  27443. name: endTime
  27444. type: string
  27445. - description: 条数
  27446. in: query
  27447. name: count
  27448. type: integer
  27449. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27450. in: query
  27451. name: isAsc
  27452. type: boolean
  27453. produces:
  27454. - application/json
  27455. responses:
  27456. "200":
  27457. description: OK
  27458. schema:
  27459. $ref: '#/definitions/quote.HistoryTikData'
  27460. "500":
  27461. description: Internal Server Error
  27462. schema:
  27463. $ref: '#/definitions/app.Response'
  27464. security:
  27465. - ApiKeyAuth: []
  27466. summary: 查询行情Tik数据
  27467. tags:
  27468. - 行情服务
  27469. /Quote/QueryQuoteDay:
  27470. get:
  27471. parameters:
  27472. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  27473. in: query
  27474. name: goodsCodes
  27475. type: string
  27476. produces:
  27477. - application/json
  27478. responses:
  27479. "200":
  27480. description: OK
  27481. schema:
  27482. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  27483. "500":
  27484. description: Internal Server Error
  27485. schema:
  27486. $ref: '#/definitions/app.Response'
  27487. security:
  27488. - ApiKeyAuth: []
  27489. summary: 获取商品盘面信息
  27490. tags:
  27491. - 行情服务
  27492. /Quote/QueryTSData:
  27493. get:
  27494. parameters:
  27495. - description: 商品代码
  27496. in: query
  27497. name: goodsCode
  27498. required: true
  27499. type: string
  27500. produces:
  27501. - application/json
  27502. responses:
  27503. "200":
  27504. description: OK
  27505. schema:
  27506. $ref: '#/definitions/quote.QueryTSDataRsp'
  27507. "500":
  27508. description: Internal Server Error
  27509. schema:
  27510. $ref: '#/definitions/app.Response'
  27511. security:
  27512. - ApiKeyAuth: []
  27513. summary: 分时图数据查询
  27514. tags:
  27515. - 行情服务
  27516. /SZDZ/QueryConvertConfig:
  27517. get:
  27518. parameters:
  27519. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27520. 6:交易转花生米(不设置)
  27521. in: query
  27522. name: convertType
  27523. type: integer
  27524. - description: 外部商品代码[JD\PD]
  27525. in: query
  27526. name: outerGoodsCode
  27527. type: string
  27528. - description: 内部商品ID列表[交易],格式:1,2,3
  27529. in: query
  27530. name: innerGoodsIDs
  27531. type: string
  27532. produces:
  27533. - application/json
  27534. responses:
  27535. "200":
  27536. description: OK
  27537. schema:
  27538. $ref: '#/definitions/models.Szdz3convertconfig'
  27539. "500":
  27540. description: Internal Server Error
  27541. schema:
  27542. $ref: '#/definitions/app.Response'
  27543. security:
  27544. - ApiKeyAuth: []
  27545. summary: 查询交易系统转换设置
  27546. tags:
  27547. - 定制【尚志大宗】
  27548. /SZDZ/QueryConvertLog:
  27549. get:
  27550. parameters:
  27551. - description: 资金账户 - 格式:1,2,3
  27552. in: query
  27553. name: accountID
  27554. required: true
  27555. type: string
  27556. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27557. in: query
  27558. name: startDate
  27559. type: string
  27560. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27561. in: query
  27562. name: endDate
  27563. type: string
  27564. produces:
  27565. - application/json
  27566. responses:
  27567. "200":
  27568. description: OK
  27569. schema:
  27570. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27571. "500":
  27572. description: Internal Server Error
  27573. schema:
  27574. $ref: '#/definitions/app.Response'
  27575. security:
  27576. - ApiKeyAuth: []
  27577. summary: 交易系统转换流水查询
  27578. tags:
  27579. - 定制【尚志大宗】
  27580. /SZDZ/QueryGoodsPickup:
  27581. get:
  27582. parameters:
  27583. - description: 资金账户 - 格式:1,2,3
  27584. in: query
  27585. name: accountID
  27586. required: true
  27587. type: string
  27588. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27589. in: query
  27590. name: takeOrderStatus
  27591. type: integer
  27592. produces:
  27593. - application/json
  27594. responses:
  27595. "200":
  27596. description: OK
  27597. schema:
  27598. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27599. "500":
  27600. description: Internal Server Error
  27601. schema:
  27602. $ref: '#/definitions/app.Response'
  27603. security:
  27604. - ApiKeyAuth: []
  27605. summary: 商品提货单查询
  27606. tags:
  27607. - 定制【尚志大宗】
  27608. /SZDZ/QueryRecieptOrder:
  27609. get:
  27610. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27611. parameters:
  27612. - description: 页码
  27613. in: query
  27614. name: page
  27615. type: integer
  27616. - description: 每页条数
  27617. in: query
  27618. name: pagesize
  27619. type: integer
  27620. - description: 商品ID
  27621. in: query
  27622. name: goodsID
  27623. required: true
  27624. type: integer
  27625. - description: 所属账户名称
  27626. in: query
  27627. name: accountName
  27628. type: string
  27629. - description: 市场ID
  27630. in: query
  27631. name: marketID
  27632. type: integer
  27633. - description: 方向 - 0:买 1:卖
  27634. in: query
  27635. name: buyorsell
  27636. required: true
  27637. type: integer
  27638. produces:
  27639. - application/json
  27640. responses:
  27641. "200":
  27642. description: OK
  27643. schema:
  27644. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  27645. "500":
  27646. description: Internal Server Error
  27647. schema:
  27648. $ref: '#/definitions/app.Response'
  27649. security:
  27650. - ApiKeyAuth: []
  27651. summary: 点选挂牌委托单据查询(摘牌大厅)
  27652. tags:
  27653. - 定制【尚志大宗】
  27654. /SZDZ/QuerySZDZTradePosition:
  27655. get:
  27656. parameters:
  27657. - description: 资金账户
  27658. in: query
  27659. name: accountID
  27660. required: true
  27661. type: integer
  27662. produces:
  27663. - application/json
  27664. responses:
  27665. "200":
  27666. description: OK
  27667. schema:
  27668. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  27669. "500":
  27670. description: Internal Server Error
  27671. schema:
  27672. $ref: '#/definitions/app.Response'
  27673. security:
  27674. - ApiKeyAuth: []
  27675. summary: 持仓汇总查询(尚志大宗)
  27676. tags:
  27677. - 定制【尚志大宗】
  27678. /SZDZ/SearchWhite:
  27679. get:
  27680. parameters:
  27681. - description: 用户ID
  27682. in: query
  27683. name: userID
  27684. required: true
  27685. type: integer
  27686. produces:
  27687. - application/json
  27688. responses:
  27689. "200":
  27690. description: OK
  27691. schema:
  27692. $ref: '#/definitions/models.Szdz3searchwhitelist'
  27693. "500":
  27694. description: Internal Server Error
  27695. schema:
  27696. $ref: '#/definitions/app.Response'
  27697. security:
  27698. - ApiKeyAuth: []
  27699. summary: 搜索白名单
  27700. tags:
  27701. - 定制【尚志大宗】
  27702. /Search/SearchGoodses:
  27703. get:
  27704. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  27705. parameters:
  27706. - description: 检索内容
  27707. in: query
  27708. name: content
  27709. required: true
  27710. type: string
  27711. - description: 交易模式,格式:1,2,3
  27712. in: query
  27713. name: tradeModes
  27714. type: string
  27715. produces:
  27716. - application/json
  27717. responses:
  27718. "200":
  27719. description: OK
  27720. schema:
  27721. $ref: '#/definitions/models.SearchGoods'
  27722. "500":
  27723. description: Internal Server Error
  27724. schema:
  27725. $ref: '#/definitions/app.Response'
  27726. summary: 检索商品信息
  27727. tags:
  27728. - 检索服务
  27729. /TaAccount/GetTaAccounts:
  27730. get:
  27731. parameters:
  27732. - description: 登录账户
  27733. in: query
  27734. name: loginID
  27735. required: true
  27736. type: integer
  27737. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  27738. in: query
  27739. name: taAccountType
  27740. type: integer
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. $ref: '#/definitions/models.Taaccount'
  27748. "500":
  27749. description: Internal Server Error
  27750. schema:
  27751. $ref: '#/definitions/app.Response'
  27752. security:
  27753. - ApiKeyAuth: []
  27754. summary: 获取资金账户信息
  27755. tags:
  27756. - 资金账户
  27757. /TaAccount/QueryAmountLog:
  27758. get:
  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: 资金账户 - 格式:1,2,3
  27769. in: query
  27770. name: accountID
  27771. required: true
  27772. type: string
  27773. - description: 资金操作类型 - 格式:1,2,3
  27774. in: query
  27775. name: OperateType
  27776. type: string
  27777. produces:
  27778. - application/json
  27779. responses:
  27780. "200":
  27781. description: OK
  27782. schema:
  27783. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27784. "500":
  27785. description: Internal Server Error
  27786. schema:
  27787. $ref: '#/definitions/app.Response'
  27788. security:
  27789. - ApiKeyAuth: []
  27790. summary: 资金流水查询(当前)
  27791. tags:
  27792. - 资金账户
  27793. /TaAccount/QueryHisAmountLog:
  27794. get:
  27795. parameters:
  27796. - description: 页码
  27797. in: query
  27798. name: page
  27799. type: integer
  27800. - description: 每页条数
  27801. in: query
  27802. name: pagesize
  27803. type: integer
  27804. - description: 资金账户 - 格式:1,2,3
  27805. in: query
  27806. name: accountID
  27807. required: true
  27808. type: string
  27809. - description: 资金操作类型 - 格式:1,2,3
  27810. in: query
  27811. name: OperateType
  27812. type: string
  27813. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27814. in: query
  27815. name: startDate
  27816. type: string
  27817. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27818. in: query
  27819. name: endDate
  27820. type: string
  27821. produces:
  27822. - application/json
  27823. responses:
  27824. "200":
  27825. description: OK
  27826. schema:
  27827. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27828. "500":
  27829. description: Internal Server Error
  27830. schema:
  27831. $ref: '#/definitions/app.Response'
  27832. security:
  27833. - ApiKeyAuth: []
  27834. summary: 资金流水查询(历史)
  27835. tags:
  27836. - 资金账户
  27837. /TaAccount/QueryRelatedTaAccount:
  27838. get:
  27839. parameters:
  27840. - description: 关联UserID
  27841. in: query
  27842. name: relateduserid
  27843. required: true
  27844. type: integer
  27845. produces:
  27846. - application/json
  27847. responses:
  27848. "200":
  27849. description: OK
  27850. schema:
  27851. items:
  27852. $ref: '#/definitions/models.RelatedTaAccount'
  27853. type: array
  27854. "500":
  27855. description: Internal Server Error
  27856. schema:
  27857. $ref: '#/definitions/app.Response'
  27858. security:
  27859. - ApiKeyAuth: []
  27860. summary: 查询关联资金账户信息
  27861. tags:
  27862. - 资金账户
  27863. /Tjmd/QueryQuoteGoodsList:
  27864. get:
  27865. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27866. parameters:
  27867. - description: 用户类型
  27868. in: query
  27869. name: usertype
  27870. required: true
  27871. type: integer
  27872. - description: 市场id, 格式 1,2,3
  27873. in: query
  27874. name: marketids
  27875. type: string
  27876. - description: 商品组id
  27877. in: query
  27878. name: goodsgroupid
  27879. type: integer
  27880. - description: 商品id
  27881. in: query
  27882. name: goodsid
  27883. type: integer
  27884. produces:
  27885. - application/json
  27886. responses:
  27887. "200":
  27888. description: OK
  27889. schema:
  27890. items:
  27891. $ref: '#/definitions/models.TjmdQuoteGoods'
  27892. type: array
  27893. "500":
  27894. description: Internal Server Error
  27895. schema:
  27896. $ref: '#/definitions/app.Response'
  27897. security:
  27898. - ApiKeyAuth: []
  27899. summary: 查询掉期报价列表
  27900. tags:
  27901. - 天津麦顿
  27902. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  27903. get:
  27904. parameters:
  27905. - description: 成交单号
  27906. in: query
  27907. name: tradeid
  27908. required: true
  27909. type: string
  27910. produces:
  27911. - application/json
  27912. responses:
  27913. "200":
  27914. description: OK
  27915. schema:
  27916. items:
  27917. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27918. type: array
  27919. "500":
  27920. description: Internal Server Error
  27921. schema:
  27922. $ref: '#/definitions/app.Response'
  27923. security:
  27924. - ApiKeyAuth: []
  27925. summary: 掉期商品订单详情(交易确认书)
  27926. tags:
  27927. - 天津麦顿
  27928. /Tjmd/QueryTjmdMarketSection:
  27929. get:
  27930. produces:
  27931. - application/json
  27932. responses:
  27933. "200":
  27934. description: OK
  27935. schema:
  27936. items:
  27937. $ref: '#/definitions/models.TjmdMarketSection'
  27938. type: array
  27939. "500":
  27940. description: Internal Server Error
  27941. schema:
  27942. $ref: '#/definitions/app.Response'
  27943. security:
  27944. - ApiKeyAuth: []
  27945. summary: 查询市场板块
  27946. tags:
  27947. - 天津麦顿
  27948. /Tjmd/QueryTjmdTodayAccountMargin:
  27949. get:
  27950. parameters:
  27951. - description: 市场id
  27952. in: query
  27953. name: marketid
  27954. type: string
  27955. - description: 商品id
  27956. in: query
  27957. name: goodsid
  27958. type: string
  27959. - description: 资金账号
  27960. in: query
  27961. name: accountid
  27962. type: string
  27963. produces:
  27964. - application/json
  27965. responses:
  27966. "200":
  27967. description: OK
  27968. schema:
  27969. items:
  27970. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27971. type: array
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 查询今日账户保证金配置
  27979. tags:
  27980. - 天津麦顿
  27981. /Tjmd/QueryTjmdTradeOrderDetail:
  27982. get:
  27983. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27984. parameters:
  27985. - description: 页码
  27986. in: query
  27987. name: page
  27988. type: integer
  27989. - description: 每页条数
  27990. in: query
  27991. name: pagesize
  27992. type: integer
  27993. - description: 用户id
  27994. in: query
  27995. name: userid
  27996. required: true
  27997. type: integer
  27998. - description: 用户类型
  27999. in: query
  28000. name: usertype
  28001. required: true
  28002. type: integer
  28003. - description: 市场id, 格式 1,2,3
  28004. in: query
  28005. name: marketids
  28006. type: string
  28007. - description: 商品id
  28008. in: query
  28009. name: goodsid
  28010. required: true
  28011. type: integer
  28012. - description: 买卖方向 0-买 1-卖
  28013. in: query
  28014. name: buyorsell
  28015. required: true
  28016. type: integer
  28017. produces:
  28018. - application/json
  28019. responses:
  28020. "200":
  28021. description: OK
  28022. schema:
  28023. items:
  28024. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28025. type: array
  28026. "500":
  28027. description: Internal Server Error
  28028. schema:
  28029. $ref: '#/definitions/app.Response'
  28030. security:
  28031. - ApiKeyAuth: []
  28032. summary: 查询掉期买卖大厅
  28033. tags:
  28034. - 天津麦顿
  28035. /Tjmd/QueryTjmdTransferApply:
  28036. get:
  28037. parameters:
  28038. - description: 类型 1-我的申请 2-对方申请
  28039. in: query
  28040. name: applytype
  28041. required: true
  28042. type: integer
  28043. - description: 市场id, 格式 1,2,3
  28044. in: query
  28045. name: marketids
  28046. type: string
  28047. - description: 资金账号, 格式 25000000001,25000000003
  28048. in: query
  28049. name: accountids
  28050. type: string
  28051. - description: 开始交易日(yyyymmdd)
  28052. in: query
  28053. name: begindate
  28054. type: string
  28055. - description: 结束交易日(yyyymmdd)
  28056. in: query
  28057. name: enddate
  28058. type: string
  28059. produces:
  28060. - application/json
  28061. responses:
  28062. "200":
  28063. description: OK
  28064. schema:
  28065. items:
  28066. $ref: '#/definitions/models.TjmdTransferApply'
  28067. type: array
  28068. "500":
  28069. description: Internal Server Error
  28070. schema:
  28071. $ref: '#/definitions/app.Response'
  28072. security:
  28073. - ApiKeyAuth: []
  28074. summary: 查询掉期协议单
  28075. tags:
  28076. - 天津麦顿
  28077. /Trade/QueryRecieptOrder:
  28078. get:
  28079. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28080. parameters:
  28081. - description: 页码
  28082. in: query
  28083. name: page
  28084. type: integer
  28085. - description: 每页条数
  28086. in: query
  28087. name: pagesize
  28088. type: integer
  28089. - description: 商品ID
  28090. in: query
  28091. name: goodsID
  28092. required: true
  28093. type: integer
  28094. - description: 所属账户名称
  28095. in: query
  28096. name: accountName
  28097. type: string
  28098. - description: 市场ID
  28099. in: query
  28100. name: marketID
  28101. type: integer
  28102. - description: 方向 - 0:买 1:卖
  28103. in: query
  28104. name: buyorsell
  28105. required: true
  28106. type: integer
  28107. produces:
  28108. - application/json
  28109. responses:
  28110. "200":
  28111. description: OK
  28112. schema:
  28113. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28114. "500":
  28115. description: Internal Server Error
  28116. schema:
  28117. $ref: '#/definitions/app.Response'
  28118. security:
  28119. - ApiKeyAuth: []
  28120. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28121. tags:
  28122. - 通用交易
  28123. /User/AddMessageBoard:
  28124. post:
  28125. parameters:
  28126. - description: 用户ID
  28127. in: query
  28128. name: userID
  28129. required: true
  28130. type: integer
  28131. - description: 留言信息
  28132. in: query
  28133. name: message
  28134. required: true
  28135. type: string
  28136. - description: 联系电话
  28137. in: query
  28138. name: contactNum
  28139. required: true
  28140. type: string
  28141. produces:
  28142. - application/json
  28143. responses:
  28144. "200":
  28145. description: OK
  28146. schema:
  28147. $ref: '#/definitions/app.Response'
  28148. "500":
  28149. description: Internal Server Error
  28150. schema:
  28151. $ref: '#/definitions/app.Response'
  28152. security:
  28153. - ApiKeyAuth: []
  28154. summary: 添加用户留言板信息
  28155. tags:
  28156. - 用户信息
  28157. /User/AddUserFavoriteGoods:
  28158. post:
  28159. parameters:
  28160. - description: 用户ID
  28161. in: query
  28162. name: userID
  28163. required: true
  28164. type: integer
  28165. - description: 商品ID
  28166. in: query
  28167. name: goodsID
  28168. required: true
  28169. type: integer
  28170. produces:
  28171. - application/json
  28172. responses:
  28173. "200":
  28174. description: OK
  28175. schema:
  28176. $ref: '#/definitions/app.Response'
  28177. "500":
  28178. description: Internal Server Error
  28179. schema:
  28180. $ref: '#/definitions/app.Response'
  28181. security:
  28182. - ApiKeyAuth: []
  28183. summary: 添加用户商品收藏信息
  28184. tags:
  28185. - 用户信息
  28186. /User/GetLoginID:
  28187. get:
  28188. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  28189. parameters:
  28190. - description: 登录代码
  28191. in: query
  28192. name: username
  28193. required: true
  28194. type: string
  28195. produces:
  28196. - application/json
  28197. responses:
  28198. "200":
  28199. description: OK
  28200. schema:
  28201. $ref: '#/definitions/app.Response'
  28202. "500":
  28203. description: Internal Server Error
  28204. schema:
  28205. $ref: '#/definitions/app.Response'
  28206. summary: 获取登录ID
  28207. tags:
  28208. - 用户信息
  28209. /User/GetUserAccount:
  28210. get:
  28211. parameters:
  28212. - description: 用户ID
  28213. in: query
  28214. name: userID
  28215. required: true
  28216. type: integer
  28217. produces:
  28218. - application/json
  28219. responses:
  28220. "200":
  28221. description: OK
  28222. schema:
  28223. $ref: '#/definitions/models.Useraccount'
  28224. "500":
  28225. description: Internal Server Error
  28226. schema:
  28227. $ref: '#/definitions/app.Response'
  28228. security:
  28229. - ApiKeyAuth: []
  28230. summary: 获取用户账号信息
  28231. tags:
  28232. - 用户信息
  28233. /User/GetUserAuthStatus:
  28234. get:
  28235. parameters:
  28236. - description: 用户ID
  28237. in: query
  28238. name: userID
  28239. required: true
  28240. type: integer
  28241. produces:
  28242. - application/json
  28243. responses:
  28244. "200":
  28245. description: OK
  28246. schema:
  28247. $ref: '#/definitions/app.Response'
  28248. "500":
  28249. description: Internal Server Error
  28250. schema:
  28251. $ref: '#/definitions/app.Response'
  28252. security:
  28253. - ApiKeyAuth: []
  28254. summary: 获取用户实名认证状态
  28255. tags:
  28256. - 用户信息
  28257. /User/LoginQuery:
  28258. get:
  28259. parameters:
  28260. - description: 登录账号
  28261. in: query
  28262. name: loginID
  28263. required: true
  28264. type: integer
  28265. produces:
  28266. - application/json
  28267. responses:
  28268. "200":
  28269. description: OK
  28270. schema:
  28271. $ref: '#/definitions/user.LoginQueryRsp'
  28272. "500":
  28273. description: Internal Server Error
  28274. schema:
  28275. $ref: '#/definitions/app.Response'
  28276. security:
  28277. - ApiKeyAuth: []
  28278. summary: 账户登录后信息查询
  28279. tags:
  28280. - 用户信息
  28281. /User/QueryMessageBoard:
  28282. get:
  28283. parameters:
  28284. - description: 用户ID
  28285. in: query
  28286. name: userID
  28287. required: true
  28288. type: integer
  28289. produces:
  28290. - application/json
  28291. responses:
  28292. "200":
  28293. description: OK
  28294. schema:
  28295. $ref: '#/definitions/models.Messageboard'
  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/QueryUserFavoriteGoodses:
  28306. get:
  28307. parameters:
  28308. - description: 用户ID
  28309. in: query
  28310. name: userID
  28311. required: true
  28312. type: integer
  28313. produces:
  28314. - application/json
  28315. responses:
  28316. "200":
  28317. description: OK
  28318. schema:
  28319. $ref: '#/definitions/models.Userfavoritegoods'
  28320. "500":
  28321. description: Internal Server Error
  28322. schema:
  28323. $ref: '#/definitions/app.Response'
  28324. security:
  28325. - ApiKeyAuth: []
  28326. summary: 获取用户商品收藏信息
  28327. tags:
  28328. - 用户信息
  28329. /User/QueryUserInfo:
  28330. get:
  28331. parameters:
  28332. - description: 用户ID
  28333. in: query
  28334. name: userID
  28335. required: true
  28336. type: integer
  28337. - description: 是否解密
  28338. in: query
  28339. name: isDecrypt
  28340. type: boolean
  28341. produces:
  28342. - application/json
  28343. responses:
  28344. "200":
  28345. description: OK
  28346. schema:
  28347. $ref: '#/definitions/models.Userinfo'
  28348. "500":
  28349. description: Internal Server Error
  28350. schema:
  28351. $ref: '#/definitions/app.Response'
  28352. security:
  28353. - ApiKeyAuth: []
  28354. summary: 获取用户信息
  28355. tags:
  28356. - 用户信息
  28357. /User/QueryUserReferNum:
  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/app.Response'
  28372. "500":
  28373. description: Internal Server Error
  28374. schema:
  28375. $ref: '#/definitions/app.Response'
  28376. summary: 获取用户邀请码
  28377. tags:
  28378. - 用户信息
  28379. /User/RemoveUserFavoriteGoods:
  28380. post:
  28381. parameters:
  28382. - description: 用户ID
  28383. in: query
  28384. name: userID
  28385. required: true
  28386. type: integer
  28387. - description: 商品ID
  28388. in: query
  28389. name: goodsID
  28390. required: true
  28391. type: integer
  28392. produces:
  28393. - application/json
  28394. responses:
  28395. "200":
  28396. description: OK
  28397. schema:
  28398. $ref: '#/definitions/app.Response'
  28399. "500":
  28400. description: Internal Server Error
  28401. schema:
  28402. $ref: '#/definitions/app.Response'
  28403. security:
  28404. - ApiKeyAuth: []
  28405. summary: 移除用户商品收藏信息
  28406. tags:
  28407. - 用户信息
  28408. /User/UpdateUserAccountStatus:
  28409. post:
  28410. parameters:
  28411. - description: 用户ID
  28412. in: query
  28413. name: userID
  28414. required: true
  28415. type: integer
  28416. - description: 账户状态 - 4:正常 6:注销(停用)
  28417. in: query
  28418. name: accountStatus
  28419. required: true
  28420. type: integer
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. $ref: '#/definitions/app.Response'
  28428. "500":
  28429. description: Internal Server Error
  28430. schema:
  28431. $ref: '#/definitions/app.Response'
  28432. security:
  28433. - ApiKeyAuth: []
  28434. summary: 更新用户状态
  28435. tags:
  28436. - 用户信息
  28437. /WRTrade/GetAllDeliveryGoods:
  28438. get:
  28439. produces:
  28440. - application/json
  28441. responses:
  28442. "200":
  28443. description: OK
  28444. schema:
  28445. $ref: '#/definitions/app.Response'
  28446. "500":
  28447. description: Internal Server Error
  28448. schema:
  28449. $ref: '#/definitions/app.Response'
  28450. security:
  28451. - ApiKeyAuth: []
  28452. summary: 获取带仓单分类的种类信息
  28453. tags:
  28454. - 仓单贸易
  28455. - 仓单贸易
  28456. /WrTrade2/InsertXhcpSellBackApply:
  28457. post:
  28458. parameters:
  28459. - description: 回收申请
  28460. in: body
  28461. name: jsonBody
  28462. required: true
  28463. schema:
  28464. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  28465. produces:
  28466. - application/json
  28467. responses:
  28468. "200":
  28469. description: OK
  28470. schema:
  28471. $ref: '#/definitions/app.Response'
  28472. "500":
  28473. description: Internal Server Error
  28474. schema:
  28475. $ref: '#/definitions/app.Response'
  28476. security:
  28477. - ApiKeyAuth: []
  28478. summary: 新增回收申请(新会陈皮)
  28479. tags:
  28480. - 仓单贸易v2
  28481. /WrTrade2/QueryDeliveryGoodsSection:
  28482. get:
  28483. produces:
  28484. - application/json
  28485. responses:
  28486. "200":
  28487. description: OK
  28488. schema:
  28489. items:
  28490. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  28491. type: array
  28492. "500":
  28493. description: Internal Server Error
  28494. schema:
  28495. $ref: '#/definitions/app.Response'
  28496. security:
  28497. - ApiKeyAuth: []
  28498. summary: 查询板块(分类)
  28499. tags:
  28500. - 仓单贸易v2
  28501. /WrTrade2/QueryFaProductDetail:
  28502. get:
  28503. description: 页面 买卖大厅 -> 选择融资方案
  28504. parameters:
  28505. - description: 仓单要素id
  28506. in: query
  28507. name: wrfactortypeid
  28508. required: true
  28509. type: integer
  28510. produces:
  28511. - application/json
  28512. responses:
  28513. "200":
  28514. description: OK
  28515. schema:
  28516. items:
  28517. $ref: '#/definitions/models.WrFAProductDetail'
  28518. type: array
  28519. "500":
  28520. description: Internal Server Error
  28521. schema:
  28522. $ref: '#/definitions/app.Response'
  28523. security:
  28524. - ApiKeyAuth: []
  28525. summary: 查询融资产品列表
  28526. tags:
  28527. - 仓单贸易v2
  28528. /WrTrade2/QueryFilterItem:
  28529. get:
  28530. parameters:
  28531. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  28532. in: query
  28533. name: itype
  28534. required: true
  28535. type: string
  28536. produces:
  28537. - application/json
  28538. responses:
  28539. "200":
  28540. description: OK
  28541. schema:
  28542. items:
  28543. $ref: '#/definitions/models.WrFilterItem'
  28544. type: array
  28545. "500":
  28546. description: Internal Server Error
  28547. schema:
  28548. $ref: '#/definitions/app.Response'
  28549. security:
  28550. - ApiKeyAuth: []
  28551. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28552. tags:
  28553. - 仓单贸易v2
  28554. /WrTrade2/QueryFtDeliveryGoods:
  28555. get:
  28556. produces:
  28557. - application/json
  28558. responses:
  28559. "200":
  28560. description: OK
  28561. schema:
  28562. items:
  28563. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28564. type: array
  28565. "500":
  28566. description: Internal Server Error
  28567. schema:
  28568. $ref: '#/definitions/app.Response'
  28569. security:
  28570. - ApiKeyAuth: []
  28571. summary: 查询品种品类筛选框列表
  28572. tags:
  28573. - 仓单贸易v2
  28574. /WrTrade2/QueryHoldLB:
  28575. get:
  28576. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28577. parameters:
  28578. - description: 资金账号
  28579. in: query
  28580. name: accountid
  28581. required: true
  28582. type: integer
  28583. - description: 仓库id
  28584. in: query
  28585. name: warehouseid
  28586. type: integer
  28587. - description: 品种id
  28588. in: query
  28589. name: deliverygoodsid
  28590. type: integer
  28591. - description: 品类id
  28592. in: query
  28593. name: wrstandardid
  28594. type: integer
  28595. - description: 仓单要素id
  28596. in: query
  28597. name: wrfactortypeid
  28598. type: integer
  28599. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28600. in: query
  28601. name: dgitemname
  28602. type: string
  28603. produces:
  28604. - application/json
  28605. responses:
  28606. "200":
  28607. description: OK
  28608. schema:
  28609. items:
  28610. $ref: '#/definitions/models.WrHoldLB'
  28611. type: array
  28612. "500":
  28613. description: Internal Server Error
  28614. schema:
  28615. $ref: '#/definitions/app.Response'
  28616. security:
  28617. - ApiKeyAuth: []
  28618. summary: 查询仓单持有记录
  28619. tags:
  28620. - 仓单贸易v2
  28621. /WrTrade2/QueryOrderQuote:
  28622. get:
  28623. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  28624. 唯一确定1条记录
  28625. parameters:
  28626. - description: 页码
  28627. in: query
  28628. name: page
  28629. type: integer
  28630. - description: 每页条数
  28631. in: query
  28632. name: pagesize
  28633. type: integer
  28634. - description: 仓单贸易市场id
  28635. in: query
  28636. name: marketid
  28637. type: integer
  28638. - description: 价格方式 - 1:固定价 2-浮动价
  28639. in: query
  28640. name: wrpricetype
  28641. required: true
  28642. type: integer
  28643. - description: 0:仓单预售 1:仓单贸易
  28644. in: query
  28645. name: haswr
  28646. type: integer
  28647. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28648. in: query
  28649. name: dgitemname
  28650. type: string
  28651. - description: 仓库id(筛选条件)
  28652. in: query
  28653. name: warehouseid
  28654. type: integer
  28655. - description: 品种id
  28656. in: query
  28657. name: deliverygoodsid
  28658. type: integer
  28659. - description: 品类id
  28660. in: query
  28661. name: wrstandardid
  28662. type: integer
  28663. - description: 品牌id(dgfactoryitemid)
  28664. in: query
  28665. name: brandid
  28666. type: integer
  28667. - description: 年份id(dgfactoryitemid)
  28668. in: query
  28669. name: yearsid
  28670. type: integer
  28671. - description: 仓单要素id
  28672. in: query
  28673. name: wrfactortypeid
  28674. type: integer
  28675. - description: 交收月(yyyy-mm) 仓单预售填写
  28676. in: query
  28677. name: deliverymonth
  28678. type: string
  28679. produces:
  28680. - application/json
  28681. responses:
  28682. "200":
  28683. description: OK
  28684. schema:
  28685. items:
  28686. $ref: '#/definitions/models.WrOrderQuote'
  28687. type: array
  28688. "500":
  28689. description: Internal Server Error
  28690. schema:
  28691. $ref: '#/definitions/app.Response'
  28692. security:
  28693. - ApiKeyAuth: []
  28694. summary: 查询大厅行情列表
  28695. tags:
  28696. - 仓单贸易v2
  28697. /WrTrade2/QueryOrderQuoteDetail:
  28698. get:
  28699. parameters:
  28700. - description: 页码
  28701. in: query
  28702. name: page
  28703. type: integer
  28704. - description: 每页条数
  28705. in: query
  28706. name: pagesize
  28707. type: integer
  28708. - description: 仓单贸易市场id
  28709. in: query
  28710. name: marketid
  28711. type: integer
  28712. - description: 价格方式 - 1:固定价 2-浮动价
  28713. in: query
  28714. name: wrpricetype
  28715. required: true
  28716. type: integer
  28717. - description: 0:仓单预售 1:仓单贸易
  28718. in: query
  28719. name: haswr
  28720. type: integer
  28721. - description: 仓单要素id
  28722. in: query
  28723. name: wrfactortypeid
  28724. required: true
  28725. type: integer
  28726. - description: 期货商品id(浮动价方式时填)
  28727. in: query
  28728. name: goodsid
  28729. type: integer
  28730. - description: 买卖方向 0-买 1-卖
  28731. in: query
  28732. name: buyorsell
  28733. required: true
  28734. type: integer
  28735. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  28736. in: query
  28737. name: deliverymonth
  28738. type: string
  28739. produces:
  28740. - application/json
  28741. responses:
  28742. "200":
  28743. description: OK
  28744. schema:
  28745. items:
  28746. $ref: '#/definitions/models.WrOrderQuoteDetail'
  28747. type: array
  28748. "500":
  28749. description: Internal Server Error
  28750. schema:
  28751. $ref: '#/definitions/app.Response'
  28752. security:
  28753. - ApiKeyAuth: []
  28754. summary: 查询买卖大厅
  28755. tags:
  28756. - 仓单贸易v2
  28757. /WrTrade2/QueryOrderQuoteMyq:
  28758. get:
  28759. parameters:
  28760. - description: 页码
  28761. in: query
  28762. name: page
  28763. type: integer
  28764. - description: 每页条数
  28765. in: query
  28766. name: pagesize
  28767. type: integer
  28768. - description: 用户id
  28769. in: query
  28770. name: userid
  28771. required: true
  28772. type: integer
  28773. - description: 仓单贸易市场id
  28774. in: query
  28775. name: marketid
  28776. type: integer
  28777. - description: 0:仓单预售 1:仓单贸易
  28778. in: query
  28779. name: haswr
  28780. type: integer
  28781. - description: 买卖方向 0-买 1-卖
  28782. in: query
  28783. name: buyorsell
  28784. required: true
  28785. type: integer
  28786. - description: 品种id
  28787. in: query
  28788. name: deliverygoodsid
  28789. type: integer
  28790. - description: 品类id
  28791. in: query
  28792. name: wrstandardid
  28793. type: integer
  28794. - description: 交收月(yyyy-mm) 仓单预售填写
  28795. in: query
  28796. name: deliverymonth
  28797. type: string
  28798. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28799. in: query
  28800. name: dgitemname
  28801. type: string
  28802. produces:
  28803. - application/json
  28804. responses:
  28805. "200":
  28806. description: OK
  28807. schema:
  28808. items:
  28809. $ref: '#/definitions/models.WrQuoteOrderMyq'
  28810. type: array
  28811. "500":
  28812. description: Internal Server Error
  28813. schema:
  28814. $ref: '#/definitions/app.Response'
  28815. security:
  28816. - ApiKeyAuth: []
  28817. summary: 查询贸易圈挂牌大厅
  28818. tags:
  28819. - 仓单贸易v2
  28820. /WrTrade2/QueryPerformancePlan:
  28821. get:
  28822. parameters:
  28823. - description: 用户id
  28824. in: query
  28825. name: userid
  28826. required: true
  28827. type: integer
  28828. - description: 买卖方向 0-买 1-卖
  28829. in: query
  28830. name: buyorsell
  28831. required: true
  28832. type: integer
  28833. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28834. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28835. in: query
  28836. name: status
  28837. type: string
  28838. - description: 开始交易日(yyyymmdd)
  28839. in: query
  28840. name: begindate
  28841. type: string
  28842. - description: 结束交易日(yyyymmdd)
  28843. in: query
  28844. name: enddate
  28845. type: string
  28846. produces:
  28847. - application/json
  28848. responses:
  28849. "200":
  28850. description: OK
  28851. schema:
  28852. items:
  28853. $ref: '#/definitions/models.WrPerformancePlan'
  28854. type: array
  28855. "500":
  28856. description: Internal Server Error
  28857. schema:
  28858. $ref: '#/definitions/app.Response'
  28859. security:
  28860. - ApiKeyAuth: []
  28861. summary: 查询履约信息
  28862. tags:
  28863. - 仓单贸易v2
  28864. /WrTrade2/QueryPermancePlanTmp:
  28865. get:
  28866. description: |-
  28867. 返回指定用户的模板和公共模板(用户id为空)
  28868. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28869. parameters:
  28870. - description: 用户id
  28871. in: query
  28872. name: userid
  28873. type: integer
  28874. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28875. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28876. in: query
  28877. name: tmptype
  28878. type: string
  28879. - description: 是否包含公共模板(用户id为空的) 1-包含
  28880. in: query
  28881. name: includepub
  28882. type: integer
  28883. - description: 市场id(天津麦顿指定此参数,其它不用)
  28884. in: query
  28885. name: marketid
  28886. type: integer
  28887. produces:
  28888. - application/json
  28889. responses:
  28890. "200":
  28891. description: OK
  28892. schema:
  28893. items:
  28894. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  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/QuerySiteColumnDetail:
  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: columnid
  28919. type: integer
  28920. produces:
  28921. - application/json
  28922. responses:
  28923. "200":
  28924. description: OK
  28925. schema:
  28926. items:
  28927. $ref: '#/definitions/models.WrSiteColumnDetail'
  28928. type: array
  28929. "500":
  28930. description: Internal Server Error
  28931. schema:
  28932. $ref: '#/definitions/app.Response'
  28933. security:
  28934. - ApiKeyAuth: []
  28935. summary: 查询资讯
  28936. tags:
  28937. - 仓单贸易v2
  28938. /WrTrade2/QuerySpotGroupTradeSum:
  28939. get:
  28940. produces:
  28941. - application/json
  28942. responses:
  28943. "200":
  28944. description: OK
  28945. schema:
  28946. items:
  28947. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28948. type: array
  28949. "500":
  28950. description: Internal Server Error
  28951. schema:
  28952. $ref: '#/definitions/app.Response'
  28953. security:
  28954. - ApiKeyAuth: []
  28955. summary: 查询指数
  28956. tags:
  28957. - 仓单贸易v2
  28958. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28959. get:
  28960. description: 查询的结果将会按日期 从小到大 排序
  28961. parameters:
  28962. - description: 现货商品id
  28963. in: query
  28964. name: deliverygoodsid
  28965. required: true
  28966. type: integer
  28967. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28968. in: query
  28969. name: lastnum
  28970. type: integer
  28971. produces:
  28972. - application/json
  28973. responses:
  28974. "200":
  28975. description: OK
  28976. schema:
  28977. items:
  28978. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28979. type: array
  28980. "500":
  28981. description: Internal Server Error
  28982. schema:
  28983. $ref: '#/definitions/app.Response'
  28984. security:
  28985. - ApiKeyAuth: []
  28986. summary: 查询指数详细(价格走势图)
  28987. tags:
  28988. - 仓单贸易v2
  28989. /WrTrade2/QueryWrAverageTradePrice:
  28990. get:
  28991. parameters:
  28992. - description: 页码
  28993. in: query
  28994. name: page
  28995. type: integer
  28996. - description: 每页条数
  28997. in: query
  28998. name: pagesize
  28999. type: integer
  29000. - description: 0:仓单预售 1:仓单贸易
  29001. in: query
  29002. name: haswr
  29003. required: true
  29004. type: integer
  29005. - description: 仓单要素id
  29006. in: query
  29007. name: wrfactortypeid
  29008. required: true
  29009. type: integer
  29010. produces:
  29011. - application/json
  29012. responses:
  29013. "200":
  29014. description: OK
  29015. schema:
  29016. items:
  29017. $ref: '#/definitions/models.WrAverageTradePrice'
  29018. type: array
  29019. "500":
  29020. description: Internal Server Error
  29021. schema:
  29022. $ref: '#/definitions/app.Response'
  29023. security:
  29024. - ApiKeyAuth: []
  29025. summary: 查询成交价(历史走势)
  29026. tags:
  29027. - 仓单贸易v2
  29028. /WrTrade2/QueryWrBrandAndYears:
  29029. get:
  29030. produces:
  29031. - application/json
  29032. responses:
  29033. "200":
  29034. description: OK
  29035. schema:
  29036. items:
  29037. $ref: '#/definitions/models.WrBrandAndYears'
  29038. type: array
  29039. "500":
  29040. description: Internal Server Error
  29041. schema:
  29042. $ref: '#/definitions/app.Response'
  29043. security:
  29044. - ApiKeyAuth: []
  29045. summary: 查询品牌和年份
  29046. tags:
  29047. - 仓单贸易v2
  29048. /WrTrade2/QueryWrBsGoodsInfo:
  29049. get:
  29050. description: 合约交易/买卖大厅/详情
  29051. parameters:
  29052. - description: 商品id
  29053. in: query
  29054. name: goodsid
  29055. required: true
  29056. type: integer
  29057. produces:
  29058. - application/json
  29059. responses:
  29060. "200":
  29061. description: OK
  29062. schema:
  29063. items:
  29064. $ref: '#/definitions/models.WrBsGoodsInfo'
  29065. type: array
  29066. "500":
  29067. description: Internal Server Error
  29068. schema:
  29069. $ref: '#/definitions/app.Response'
  29070. security:
  29071. - ApiKeyAuth: []
  29072. summary: 查询合约交易买卖大厅详情
  29073. tags:
  29074. - 仓单贸易v2
  29075. /WrTrade2/QueryWrBuybackDetail:
  29076. get:
  29077. parameters:
  29078. - description: 融资合同id
  29079. in: query
  29080. name: scfcontractid
  29081. type: integer
  29082. produces:
  29083. - application/json
  29084. responses:
  29085. "200":
  29086. description: OK
  29087. schema:
  29088. items:
  29089. $ref: '#/definitions/models.WrBuybackDetail'
  29090. type: array
  29091. "500":
  29092. description: Internal Server Error
  29093. schema:
  29094. $ref: '#/definitions/app.Response'
  29095. security:
  29096. - ApiKeyAuth: []
  29097. summary: 查询仓单回购明细
  29098. tags:
  29099. - 仓单贸易v2
  29100. /WrTrade2/QueryWrClientAdSpaceConfig:
  29101. get:
  29102. produces:
  29103. - application/json
  29104. responses:
  29105. "200":
  29106. description: OK
  29107. schema:
  29108. items:
  29109. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29110. type: array
  29111. "500":
  29112. description: Internal Server Error
  29113. schema:
  29114. $ref: '#/definitions/app.Response'
  29115. security:
  29116. - ApiKeyAuth: []
  29117. summary: 查询固定广告配置
  29118. tags:
  29119. - 仓单贸易v2
  29120. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29121. get:
  29122. parameters:
  29123. - description: 资金账号
  29124. in: query
  29125. name: accountid
  29126. required: true
  29127. type: integer
  29128. - description: 商品id
  29129. in: query
  29130. name: goodsid
  29131. required: true
  29132. type: integer
  29133. produces:
  29134. - application/json
  29135. responses:
  29136. "200":
  29137. description: OK
  29138. schema:
  29139. items:
  29140. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29141. type: array
  29142. "500":
  29143. description: Internal Server Error
  29144. schema:
  29145. $ref: '#/definitions/app.Response'
  29146. security:
  29147. - ApiKeyAuth: []
  29148. summary: 查询合约交收可点选仓单
  29149. tags:
  29150. - 仓单贸易v2
  29151. /WrTrade2/QueryWrDeliveryDetail:
  29152. get:
  29153. parameters:
  29154. - description: 用户id
  29155. in: query
  29156. name: userid
  29157. required: true
  29158. type: integer
  29159. - description: 资金账号id
  29160. in: query
  29161. name: accountid
  29162. type: integer
  29163. - description: 开始交易日(yyyymmdd)
  29164. in: query
  29165. name: begindate
  29166. type: string
  29167. - description: 结束交易日(yyyymmdd)
  29168. in: query
  29169. name: enddate
  29170. type: string
  29171. produces:
  29172. - application/json
  29173. responses:
  29174. "200":
  29175. description: OK
  29176. schema:
  29177. items:
  29178. $ref: '#/definitions/models.WrDeliveryDetail'
  29179. type: array
  29180. "500":
  29181. description: Internal Server Error
  29182. schema:
  29183. $ref: '#/definitions/app.Response'
  29184. security:
  29185. - ApiKeyAuth: []
  29186. summary: 查询交收
  29187. tags:
  29188. - 仓单贸易v2
  29189. /WrTrade2/QueryWrDraftUserInfo:
  29190. get:
  29191. parameters:
  29192. - description: 用户ID
  29193. in: query
  29194. name: userid
  29195. required: true
  29196. type: integer
  29197. - description: 用户状态 1:正常 2:注销
  29198. in: query
  29199. name: userstatus
  29200. type: integer
  29201. produces:
  29202. - application/json
  29203. responses:
  29204. "200":
  29205. description: OK
  29206. schema:
  29207. items:
  29208. $ref: '#/definitions/models.WrDraftUserInfo'
  29209. type: array
  29210. "500":
  29211. description: Internal Server Error
  29212. schema:
  29213. $ref: '#/definitions/app.Response'
  29214. security:
  29215. - ApiKeyAuth: []
  29216. summary: 查询实名认证信息
  29217. tags:
  29218. - 仓单贸易v2
  29219. /WrTrade2/QueryWrFactorTypeInfo:
  29220. get:
  29221. parameters:
  29222. - description: 仓单要素id
  29223. in: query
  29224. name: wrfactortypeid
  29225. required: true
  29226. type: integer
  29227. produces:
  29228. - application/json
  29229. responses:
  29230. "200":
  29231. description: OK
  29232. schema:
  29233. items:
  29234. $ref: '#/definitions/models.WrFactorTypeInfo'
  29235. type: array
  29236. "500":
  29237. description: Internal Server Error
  29238. schema:
  29239. $ref: '#/definitions/app.Response'
  29240. security:
  29241. - ApiKeyAuth: []
  29242. summary: 查询仓单要素详细信息
  29243. tags:
  29244. - 仓单贸易v2
  29245. /WrTrade2/QueryWrFactorTypeInfoEx:
  29246. get:
  29247. parameters:
  29248. - description: 仓单要素id
  29249. in: query
  29250. name: wrfactortypeid
  29251. required: true
  29252. type: integer
  29253. produces:
  29254. - application/json
  29255. responses:
  29256. "200":
  29257. description: OK
  29258. schema:
  29259. items:
  29260. $ref: '#/definitions/models.WrTypeItem'
  29261. type: array
  29262. "500":
  29263. description: Internal Server Error
  29264. schema:
  29265. $ref: '#/definitions/app.Response'
  29266. security:
  29267. - ApiKeyAuth: []
  29268. summary: 查询仓单要素详细信息列表项
  29269. tags:
  29270. - 仓单贸易v2
  29271. /WrTrade2/QueryWrFinanceBuyApply:
  29272. get:
  29273. description: 页面 融资信息+ / 申请单
  29274. parameters:
  29275. - description: 用户id
  29276. in: query
  29277. name: userid
  29278. required: true
  29279. type: integer
  29280. produces:
  29281. - application/json
  29282. responses:
  29283. "200":
  29284. description: OK
  29285. schema:
  29286. items:
  29287. $ref: '#/definitions/models.WrFinanceBuyApply'
  29288. type: array
  29289. "500":
  29290. description: Internal Server Error
  29291. schema:
  29292. $ref: '#/definitions/app.Response'
  29293. security:
  29294. - ApiKeyAuth: []
  29295. summary: 查询融资购买申请
  29296. tags:
  29297. - 仓单贸易v2
  29298. /WrTrade2/QueryWrFriendApply:
  29299. get:
  29300. parameters:
  29301. - description: 用户id
  29302. in: query
  29303. name: userid
  29304. required: true
  29305. type: integer
  29306. produces:
  29307. - application/json
  29308. responses:
  29309. "200":
  29310. description: OK
  29311. schema:
  29312. items:
  29313. $ref: '#/definitions/models.WrFriendApply'
  29314. type: array
  29315. "500":
  29316. description: Internal Server Error
  29317. schema:
  29318. $ref: '#/definitions/app.Response'
  29319. security:
  29320. - ApiKeyAuth: []
  29321. summary: 查询好友申请记录
  29322. tags:
  29323. - 仓单贸易v2
  29324. /WrTrade2/QueryWrGoodsInfo:
  29325. get:
  29326. parameters:
  29327. - description: 仓单贸易市场id
  29328. in: query
  29329. name: marketid
  29330. type: integer
  29331. - description: 0:仓单预售 1:仓单贸易
  29332. in: query
  29333. name: haswr
  29334. required: true
  29335. type: integer
  29336. - description: 仓单要素id
  29337. in: query
  29338. name: wrfactortypeid
  29339. required: true
  29340. type: integer
  29341. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29342. in: query
  29343. name: tmplateid
  29344. type: integer
  29345. produces:
  29346. - application/json
  29347. responses:
  29348. "200":
  29349. description: OK
  29350. schema:
  29351. items:
  29352. $ref: '#/definitions/models.WrGoodsInfo'
  29353. type: array
  29354. "500":
  29355. description: Internal Server Error
  29356. schema:
  29357. $ref: '#/definitions/app.Response'
  29358. security:
  29359. - ApiKeyAuth: []
  29360. summary: 查询仓单商品信息
  29361. tags:
  29362. - 仓单贸易v2
  29363. /WrTrade2/QueryWrMarketTradeConfig:
  29364. get:
  29365. parameters:
  29366. - description: 市场id
  29367. in: query
  29368. name: marketid
  29369. type: integer
  29370. produces:
  29371. - application/json
  29372. responses:
  29373. "200":
  29374. description: OK
  29375. schema:
  29376. items:
  29377. $ref: '#/definitions/models.WrMarketTradeConfig'
  29378. type: array
  29379. "500":
  29380. description: Internal Server Error
  29381. schema:
  29382. $ref: '#/definitions/app.Response'
  29383. security:
  29384. - ApiKeyAuth: []
  29385. summary: 查询市场交易参数配置
  29386. tags:
  29387. - 仓单贸易v2
  29388. /WrTrade2/QueryWrOrderDetail:
  29389. get:
  29390. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29391. parameters:
  29392. - description: 页码
  29393. in: query
  29394. name: page
  29395. type: integer
  29396. - description: 每页条数
  29397. in: query
  29398. name: pagesize
  29399. type: integer
  29400. - description: 用户id
  29401. in: query
  29402. name: userid
  29403. required: true
  29404. type: integer
  29405. - description: 仓单贸易市场id
  29406. in: query
  29407. name: marketid
  29408. type: integer
  29409. - description: 0:仓单预售 1:仓单贸易
  29410. in: query
  29411. name: haswr
  29412. required: true
  29413. type: integer
  29414. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  29415. in: query
  29416. name: bcancel
  29417. type: integer
  29418. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  29419. in: query
  29420. name: wrtradetype
  29421. type: integer
  29422. - description: 开始交易日(yyyymmdd)
  29423. in: query
  29424. name: begindate
  29425. type: string
  29426. - description: 结束交易日(yyyymmdd)
  29427. in: query
  29428. name: enddate
  29429. type: string
  29430. produces:
  29431. - application/json
  29432. responses:
  29433. "200":
  29434. description: OK
  29435. schema:
  29436. items:
  29437. $ref: '#/definitions/models.WrOrderDetail'
  29438. type: array
  29439. "500":
  29440. description: Internal Server Error
  29441. schema:
  29442. $ref: '#/definitions/app.Response'
  29443. security:
  29444. - ApiKeyAuth: []
  29445. summary: 查询仓单委托单
  29446. tags:
  29447. - 仓单贸易v2
  29448. /WrTrade2/QueryWrOutInApply:
  29449. get:
  29450. parameters:
  29451. - description: 用户id
  29452. in: query
  29453. name: userid
  29454. required: true
  29455. type: integer
  29456. - description: 开始交易日(yyyymmdd)
  29457. in: query
  29458. name: begindate
  29459. type: string
  29460. - description: 结束交易日(yyyymmdd)
  29461. in: query
  29462. name: enddate
  29463. type: string
  29464. produces:
  29465. - application/json
  29466. responses:
  29467. "200":
  29468. description: OK
  29469. schema:
  29470. items:
  29471. $ref: '#/definitions/models.WrOutInApply'
  29472. type: array
  29473. "500":
  29474. description: Internal Server Error
  29475. schema:
  29476. $ref: '#/definitions/app.Response'
  29477. security:
  29478. - ApiKeyAuth: []
  29479. summary: 查询提货申请
  29480. tags:
  29481. - 仓单贸易v2
  29482. /WrTrade2/QueryWrPerformancePlanStep:
  29483. get:
  29484. parameters:
  29485. - description: 履约计划id(performanceplanid)
  29486. in: query
  29487. name: planid
  29488. required: true
  29489. type: integer
  29490. - description: 当前步骤id
  29491. in: query
  29492. name: curstepid
  29493. type: integer
  29494. produces:
  29495. - application/json
  29496. responses:
  29497. "200":
  29498. description: OK
  29499. schema:
  29500. items:
  29501. $ref: '#/definitions/models.WrPerformancePlanStep'
  29502. type: array
  29503. "500":
  29504. description: Internal Server Error
  29505. schema:
  29506. $ref: '#/definitions/app.Response'
  29507. security:
  29508. - ApiKeyAuth: []
  29509. summary: 查询履约信息详情
  29510. tags:
  29511. - 仓单贸易v2
  29512. /WrTrade2/QueryWrPerformanceStepType:
  29513. get:
  29514. produces:
  29515. - application/json
  29516. responses:
  29517. "200":
  29518. description: OK
  29519. schema:
  29520. items:
  29521. $ref: '#/definitions/models.WrPerformanceStepType'
  29522. type: array
  29523. "500":
  29524. description: Internal Server Error
  29525. schema:
  29526. $ref: '#/definitions/app.Response'
  29527. security:
  29528. - ApiKeyAuth: []
  29529. summary: 查询履约步骤枚举
  29530. tags:
  29531. - 仓单贸易v2
  29532. /WrTrade2/QueryWrPosition:
  29533. get:
  29534. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  29535. parameters:
  29536. - description: 用户id
  29537. in: query
  29538. name: userid
  29539. required: true
  29540. type: integer
  29541. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  29542. in: query
  29543. name: querytype
  29544. required: true
  29545. type: integer
  29546. - description: 0:仓单预售 1:仓单贸易
  29547. in: query
  29548. name: haswr
  29549. required: true
  29550. type: integer
  29551. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29552. in: query
  29553. name: dgitemname
  29554. type: string
  29555. - description: 仓库id(筛选条件)
  29556. in: query
  29557. name: warehouseid
  29558. type: integer
  29559. - description: 品种id
  29560. in: query
  29561. name: deliverygoodsid
  29562. type: integer
  29563. - description: 品类id
  29564. in: query
  29565. name: wrstandardid
  29566. type: integer
  29567. produces:
  29568. - application/json
  29569. responses:
  29570. "200":
  29571. description: OK
  29572. schema:
  29573. items:
  29574. $ref: '#/definitions/models.WrPosition'
  29575. type: array
  29576. "500":
  29577. description: Internal Server Error
  29578. schema:
  29579. $ref: '#/definitions/app.Response'
  29580. security:
  29581. - ApiKeyAuth: []
  29582. summary: 查询现货(预售)仓单持仓
  29583. tags:
  29584. - 仓单贸易v2
  29585. /WrTrade2/QueryWrPreSaleInfo:
  29586. get:
  29587. parameters:
  29588. - description: 市场id
  29589. in: query
  29590. name: marketid
  29591. type: integer
  29592. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29593. in: query
  29594. name: presalestatus
  29595. type: string
  29596. - description: 摇号标识 - 0:未摇号 1:已摇号
  29597. in: query
  29598. name: lotteryflag
  29599. type: integer
  29600. - description: 最近多少条记录(按创建时间倒序)
  29601. in: query
  29602. name: lastnum
  29603. type: integer
  29604. produces:
  29605. - application/json
  29606. responses:
  29607. "200":
  29608. description: OK
  29609. schema:
  29610. items:
  29611. $ref: '#/definitions/models.WrPreSaleInfo'
  29612. type: array
  29613. "500":
  29614. description: Internal Server Error
  29615. schema:
  29616. $ref: '#/definitions/app.Response'
  29617. security:
  29618. - ApiKeyAuth: []
  29619. summary: 查询新品发布
  29620. tags:
  29621. - 仓单贸易v2
  29622. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  29623. get:
  29624. parameters:
  29625. - description: 市场id
  29626. in: query
  29627. name: marketid
  29628. required: true
  29629. type: integer
  29630. - description: 现货商品id
  29631. in: query
  29632. name: wrstandardid
  29633. required: true
  29634. type: integer
  29635. - description: 开始交易日(yyyymmdd)
  29636. in: query
  29637. name: begindate
  29638. type: string
  29639. - description: 结束交易日(yyyymmdd)
  29640. in: query
  29641. name: enddate
  29642. type: string
  29643. - description: 最近多少条记录(按交易日倒序)
  29644. in: query
  29645. name: lastnum
  29646. type: integer
  29647. - description: 是否今日
  29648. in: query
  29649. name: istoday
  29650. type: boolean
  29651. produces:
  29652. - application/json
  29653. responses:
  29654. "200":
  29655. description: OK
  29656. schema:
  29657. items:
  29658. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  29659. type: array
  29660. "500":
  29661. description: Internal Server Error
  29662. schema:
  29663. $ref: '#/definitions/app.Response'
  29664. security:
  29665. - ApiKeyAuth: []
  29666. summary: 查询价格走势
  29667. tags:
  29668. - 仓单贸易v2
  29669. /WrTrade2/QueryWrScfContract:
  29670. get:
  29671. parameters:
  29672. - description: 用户id
  29673. in: query
  29674. name: userid
  29675. required: true
  29676. type: integer
  29677. - description: 融资合同id
  29678. in: query
  29679. name: scfcontractid
  29680. type: integer
  29681. produces:
  29682. - application/json
  29683. responses:
  29684. "200":
  29685. description: OK
  29686. schema:
  29687. items:
  29688. $ref: '#/definitions/models.WrScfContract'
  29689. type: array
  29690. "500":
  29691. description: Internal Server Error
  29692. schema:
  29693. $ref: '#/definitions/app.Response'
  29694. security:
  29695. - ApiKeyAuth: []
  29696. summary: 查询仓单贸易融资合同
  29697. tags:
  29698. - 仓单贸易v2
  29699. /WrTrade2/QueryWrScfContractInterest:
  29700. get:
  29701. parameters:
  29702. - description: 融资合同id
  29703. in: query
  29704. name: scfcontractid
  29705. type: integer
  29706. produces:
  29707. - application/json
  29708. responses:
  29709. "200":
  29710. description: OK
  29711. schema:
  29712. items:
  29713. $ref: '#/definitions/models.WrScfContractInterest'
  29714. type: array
  29715. "500":
  29716. description: Internal Server Error
  29717. schema:
  29718. $ref: '#/definitions/app.Response'
  29719. security:
  29720. - ApiKeyAuth: []
  29721. summary: 查询融资合同费用明细
  29722. tags:
  29723. - 仓单贸易v2
  29724. /WrTrade2/QueryWrSearchUser:
  29725. get:
  29726. parameters:
  29727. - description: 用户名称(模糊匹配)
  29728. in: query
  29729. name: username
  29730. required: true
  29731. type: string
  29732. produces:
  29733. - application/json
  29734. responses:
  29735. "200":
  29736. description: OK
  29737. schema:
  29738. items:
  29739. $ref: '#/definitions/models.WrSearchUser'
  29740. type: array
  29741. "500":
  29742. description: Internal Server Error
  29743. schema:
  29744. $ref: '#/definitions/app.Response'
  29745. security:
  29746. - ApiKeyAuth: []
  29747. summary: 查询用户
  29748. tags:
  29749. - 仓单贸易v2
  29750. /WrTrade2/QueryWrSpecialMatchOrder:
  29751. get:
  29752. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  29753. parameters:
  29754. - description: 页码
  29755. in: query
  29756. name: page
  29757. type: integer
  29758. - description: 每页条数
  29759. in: query
  29760. name: pagesize
  29761. type: integer
  29762. - description: 用户id
  29763. in: query
  29764. name: userid
  29765. required: true
  29766. type: integer
  29767. - description: 仓单贸易市场id
  29768. in: query
  29769. name: marketid
  29770. type: integer
  29771. - description: 0:仓单预售 1:仓单贸易
  29772. in: query
  29773. name: haswr
  29774. required: true
  29775. type: integer
  29776. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  29777. in: query
  29778. name: isspecified
  29779. type: integer
  29780. produces:
  29781. - application/json
  29782. responses:
  29783. "200":
  29784. description: OK
  29785. schema:
  29786. items:
  29787. $ref: '#/definitions/models.WrSpecialMatchOrder'
  29788. type: array
  29789. "500":
  29790. description: Internal Server Error
  29791. schema:
  29792. $ref: '#/definitions/app.Response'
  29793. security:
  29794. - ApiKeyAuth: []
  29795. summary: 查询指定成交
  29796. tags:
  29797. - 仓单贸易v2
  29798. /WrTrade2/QueryWrStandardFactoryItem:
  29799. get:
  29800. parameters:
  29801. - description: 品类id
  29802. in: query
  29803. name: wrstandardid
  29804. required: true
  29805. type: integer
  29806. produces:
  29807. - application/json
  29808. responses:
  29809. "200":
  29810. description: OK
  29811. schema:
  29812. items:
  29813. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  29814. type: array
  29815. "500":
  29816. description: Internal Server Error
  29817. schema:
  29818. $ref: '#/definitions/app.Response'
  29819. security:
  29820. - ApiKeyAuth: []
  29821. summary: 查询品类要素定义项
  29822. tags:
  29823. - 仓单贸易v2
  29824. /WrTrade2/QueryWrTradeBargainApply:
  29825. get:
  29826. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  29827. 议价->对方议价 填写matchuserid=登录用户id
  29828. parameters:
  29829. - description: 议价人id(摘牌方)
  29830. in: query
  29831. name: userid
  29832. type: integer
  29833. - description: 挂牌方id(查对方议价时,填写此项)
  29834. in: query
  29835. name: matchuserid
  29836. type: integer
  29837. - description: 关联委托单id
  29838. in: query
  29839. name: wrtradeorderid
  29840. type: integer
  29841. - description: 0:仓单预售 1:仓单贸易
  29842. in: query
  29843. name: haswr
  29844. required: true
  29845. type: integer
  29846. - description: 开始交易日(yyyymmdd)
  29847. in: query
  29848. name: begindate
  29849. type: string
  29850. - description: 结束交易日(yyyymmdd)
  29851. in: query
  29852. name: enddate
  29853. type: string
  29854. produces:
  29855. - application/json
  29856. responses:
  29857. "200":
  29858. description: OK
  29859. schema:
  29860. items:
  29861. $ref: '#/definitions/models.WRTradeBargainApply'
  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/QueryWrTradeDetail:
  29873. get:
  29874. parameters:
  29875. - description: 页码
  29876. in: query
  29877. name: page
  29878. type: integer
  29879. - description: 每页条数
  29880. in: query
  29881. name: pagesize
  29882. type: integer
  29883. - description: 用户id
  29884. in: query
  29885. name: userid
  29886. required: true
  29887. type: integer
  29888. - description: 仓单贸易市场id
  29889. in: query
  29890. name: marketid
  29891. type: integer
  29892. - description: 0:仓单预售 1:仓单贸易
  29893. in: query
  29894. name: haswr
  29895. required: true
  29896. type: integer
  29897. - description: 开始交易日(yyyymmdd)
  29898. in: query
  29899. name: begindate
  29900. type: string
  29901. - description: 结束交易日(yyyymmdd)
  29902. in: query
  29903. name: enddate
  29904. type: string
  29905. produces:
  29906. - application/json
  29907. responses:
  29908. "200":
  29909. description: OK
  29910. schema:
  29911. items:
  29912. $ref: '#/definitions/models.WrTradeDetail'
  29913. type: array
  29914. "500":
  29915. description: Internal Server Error
  29916. schema:
  29917. $ref: '#/definitions/app.Response'
  29918. security:
  29919. - ApiKeyAuth: []
  29920. summary: 查询仓单成交明细
  29921. tags:
  29922. - 仓单贸易v2
  29923. /WrTrade2/QueryWrTradeOrderDetail:
  29924. get:
  29925. parameters:
  29926. - description: 页码
  29927. in: query
  29928. name: page
  29929. type: integer
  29930. - description: 每页条数
  29931. in: query
  29932. name: pagesize
  29933. type: integer
  29934. - description: 商品id
  29935. in: query
  29936. name: goodsid
  29937. required: true
  29938. type: integer
  29939. - description: 买卖方向 0-买 1-卖
  29940. in: query
  29941. name: buyorsell
  29942. required: true
  29943. type: integer
  29944. produces:
  29945. - application/json
  29946. responses:
  29947. "200":
  29948. description: OK
  29949. schema:
  29950. items:
  29951. $ref: '#/definitions/models.WrTradeOrderDetail'
  29952. type: array
  29953. "500":
  29954. description: Internal Server Error
  29955. schema:
  29956. $ref: '#/definitions/app.Response'
  29957. security:
  29958. - ApiKeyAuth: []
  29959. summary: 查询合约交易买卖大厅
  29960. tags:
  29961. - 仓单贸易v2
  29962. /WrTrade2/QueryWrUserFriend:
  29963. get:
  29964. parameters:
  29965. - description: 用户id
  29966. in: query
  29967. name: userid
  29968. required: true
  29969. type: integer
  29970. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29971. in: query
  29972. name: newuserid
  29973. type: integer
  29974. produces:
  29975. - application/json
  29976. responses:
  29977. "200":
  29978. description: OK
  29979. schema:
  29980. items:
  29981. $ref: '#/definitions/models.WrUserFriend'
  29982. type: array
  29983. "500":
  29984. description: Internal Server Error
  29985. schema:
  29986. $ref: '#/definitions/app.Response'
  29987. security:
  29988. - ApiKeyAuth: []
  29989. summary: 查询我的朋友
  29990. tags:
  29991. - 仓单贸易v2
  29992. /WrTrade2/QueryWrUserReceiptInfo:
  29993. get:
  29994. parameters:
  29995. - description: 用户id
  29996. in: query
  29997. name: userid
  29998. type: integer
  29999. - description: 发票类型 - 1:个人 2:企业
  30000. in: query
  30001. name: receipttype
  30002. type: integer
  30003. produces:
  30004. - application/json
  30005. responses:
  30006. "200":
  30007. description: OK
  30008. schema:
  30009. items:
  30010. $ref: '#/definitions/models.WrUserReceiptInfo'
  30011. type: array
  30012. "500":
  30013. description: Internal Server Error
  30014. schema:
  30015. $ref: '#/definitions/app.Response'
  30016. security:
  30017. - ApiKeyAuth: []
  30018. summary: 查询发票信息
  30019. tags:
  30020. - 仓单贸易v2
  30021. /WrTrade2/QueryXhcpSellBackApply:
  30022. get:
  30023. parameters:
  30024. - description: 用户ID
  30025. in: query
  30026. name: userid
  30027. required: true
  30028. type: integer
  30029. produces:
  30030. - application/json
  30031. responses:
  30032. "200":
  30033. description: OK
  30034. schema:
  30035. items:
  30036. $ref: '#/definitions/models.Xhcpsellbackapply'
  30037. type: array
  30038. "500":
  30039. description: Internal Server Error
  30040. schema:
  30041. $ref: '#/definitions/app.Response'
  30042. security:
  30043. - ApiKeyAuth: []
  30044. summary: 查询我的回收申请(新会陈皮)
  30045. tags:
  30046. - 仓单贸易v2
  30047. /ZJ/GetBankTip:
  30048. get:
  30049. produces:
  30050. - application/json
  30051. responses:
  30052. "200":
  30053. description: OK
  30054. schema:
  30055. type: string
  30056. "500":
  30057. description: Internal Server Error
  30058. schema:
  30059. $ref: '#/definitions/app.Response'
  30060. summary: 获取中江网银端出入金提示信息
  30061. tags:
  30062. - 中江
  30063. /ZJ/GetCusBankChannels:
  30064. get:
  30065. produces:
  30066. - application/json
  30067. responses:
  30068. "200":
  30069. description: OK
  30070. schema:
  30071. items:
  30072. type: string
  30073. type: array
  30074. "500":
  30075. description: Internal Server Error
  30076. schema:
  30077. $ref: '#/definitions/app.Response'
  30078. summary: 获取中江出入金渠道显示列表
  30079. tags:
  30080. - 中江
  30081. securityDefinitions:
  30082. ApiKeyAuth:
  30083. in: header
  30084. name: Authorization
  30085. type: apiKey
  30086. swagger: "2.0"